/* ==========================================================================
   ЗНАК 2026 — основной стиль сайта
   Токены и значения взяты из design_handoff_znak_2026 (прототип 1440 px).
   ========================================================================== */

:root {
  --znak-blue-900: #2c2d6f;
  --znak-blue-700: #3b3c8c;
  --znak-blue-050: #d9d8ee;
  --znak-orange: #ff8324;
  --znak-orange-deep: #ee5a2a;
  --znak-paper: #f7f6f2;
  --znak-ink: #0b0a0a;
  --znak-lime: #f5f28e;
  --znak-page-bg: #1f2058;

  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-text: 'Manrope', 'Segoe UI', Arial, sans-serif;

  --r-pill: 800px;
  --r-xl: 40px;
  --r-lg: 32px;

  --container: 1440px;
  --gutter: 40px;
  --section-gap: 128px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 150ms;
  --t-base: 200ms;
}

/* --------------------------------------------------------------------------
   База
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body {
  margin: 0;
  background: var(--znak-page-bg);
  color: var(--znak-paper);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--znak-orange); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--znak-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  z-index: 100;
  background: var(--znak-orange); color: var(--znak-ink);
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 800;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 16px; color: var(--znak-ink); }

/* --------------------------------------------------------------------------
   Контейнер
   -------------------------------------------------------------------------- */
.page {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--znak-blue-900);
  padding: 0 var(--gutter) var(--gutter);
  overflow: hidden;   /* для старых браузеров */
  overflow: clip;     /* clip не создаёт область прокрутки — иначе position: sticky у шапки не работает */
}

.section { margin-top: var(--section-gap); }
.section--bleed {
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding: 88px var(--gutter);
}

/* --------------------------------------------------------------------------
   Типографика
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
}
.display--h1 { font-size: 148px; line-height: .9; }
.display--120 { font-size: 120px; line-height: .9; }
.display--128 { font-size: 128px; line-height: .9; }
.display--96 { font-size: 96px; }
.display--88 { font-size: 88px; }
.display--80 { font-size: 80px; }
.display--76 { font-size: 76px; }
.display--72 { font-size: 72px; line-height: .95; }
.display--64 { font-size: 64px; line-height: .95; }

.accent { color: var(--znak-orange); }
.accent--paper { color: var(--znak-paper); }

.lead { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.15; }
.text-20 { font-size: 20px; line-height: 1.45; }
.text-18 { font-size: 18px; line-height: 1.5; }
.text-17 { font-size: 17px; line-height: 1.5; }
.text-16 { font-size: 16px; line-height: 1.5; }
.text-15 { font-size: 15px; line-height: 1.55; }
.text-14 { font-size: 14px; line-height: 1.5; }
.muted { color: var(--znak-blue-050); }
.w600 { font-weight: 600; }
.w800 { font-weight: 800; }

.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
}
.card-title--56 { font-size: 56px; }
.card-title--40 { font-size: 40px; line-height: 1.05; }
.card-title--34 { font-size: 34px; }
.card-title--30 { font-size: 30px; }
.card-title--26 { font-size: 26px; line-height: 1.1; text-transform: none; }

.num {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--znak-orange);
  line-height: 1;
}

.big-number { font-family: var(--font-display); font-weight: 500; line-height: 1; font-size: 88px; }
.big-number--80 { font-size: 80px; }
.big-number--56 { font-size: 56px; }

/* --------------------------------------------------------------------------
   Кнопки, бейджи, пилюли
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  padding: 16px 32px;
  min-height: 48px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--znak-orange); color: var(--znak-ink); }
.btn--primary:hover { background: #eb7620; color: var(--znak-ink); }

.btn--blue { background: var(--znak-blue-900); color: var(--znak-paper); }
.btn--blue:hover { background: #262760; color: var(--znak-paper); }

.btn--outline { border: 1.5px solid currentColor; font-weight: 600; padding: 15px 28px; }
.btn--outline:hover { color: var(--znak-orange); }
.btn--outline.on-paper { color: var(--znak-blue-900); }
.btn--outline.on-paper:hover { color: var(--znak-orange-deep); }

.btn--small { font-size: 15px; padding: 12px 24px; min-height: 44px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.badge--orange { background: var(--znak-orange); color: var(--znak-ink); }
.badge--dotted { border: 1.5px dotted currentColor; }
.badge--blue { background: var(--znak-blue-900); color: var(--znak-paper); }
.badge--lime { background: var(--znak-lime); color: var(--znak-ink); padding: 4px 12px; font-size: 12px; }

.pill {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.pill--blue { background: var(--znak-blue-900); color: var(--znak-paper); }
.pill--paper { background: var(--znak-paper); color: var(--znak-ink); }
.pill--outline { border: 1.5px solid currentColor; padding: 8px 16px; font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   Карточки и поверхности
   -------------------------------------------------------------------------- */
.card {
  border-radius: var(--r-xl);
  padding: 36px;
  background: var(--znak-blue-700);
  color: var(--znak-paper);
}
.card--paper { background: var(--znak-paper); color: var(--znak-blue-900); }
.card--orange { background: var(--znak-orange); color: var(--znak-ink); }
.card--deep { background: var(--znak-orange-deep); color: var(--znak-ink); }
.card--stack { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card--p32 { padding: 32px; }
.card--p40 { padding: 40px; }
.card--p44 { padding: 44px; }
.card--p48 { padding: 48px; }
.card--p56 { padding: 56px; }
.card--r32 { border-radius: var(--r-lg); }

.halftone {
  background-color: var(--znak-orange);
  background-image: radial-gradient(circle at 3px 3px, rgba(44, 45, 111, .55) 1.4px, transparent 1.7px);
  background-size: 14px 14px;
  color: var(--znak-ink);
}

/* Списки с пунктирными разделителями */
.dotted-list { display: grid; gap: 12px; font-size: 16px; font-weight: 600; }
.dotted-list > li {
  display: flex; gap: 14px; align-items: baseline;
  border-bottom: 1.5px dotted currentColor;
  padding-bottom: 12px;
}
.dotted-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.dotted-list .bullet { color: var(--znak-orange); flex: none; }
.dotted-list .num { font-size: 26px; flex: none; }
.dotted-list--17 { font-size: 17px; }
.dotted-list--17 > li { gap: 16px; padding-bottom: 14px; }

/* Заглушки для фото (вместо <image-slot>) */
.slot {
  position: relative;
  display: flex; align-items: flex-end;
  width: 100%; height: 100%; min-height: 100%;
  background: var(--znak-blue-700);
  border-radius: inherit;
  overflow: hidden;
  padding: 18px 22px;
  color: var(--znak-blue-050);
  font-size: 14px; font-weight: 600; line-height: 1.3;
}
.slot::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 3px 3px, rgba(247, 246, 242, .12) 1.4px, transparent 1.7px);
  background-size: 14px 14px;
  opacity: .8;
}
.slot > span { position: relative; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Плитка работы с оверлеем */
.tile > img { width: 100%; height: 100%; object-fit: cover; }
.tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--znak-blue-700);
  transition: transform var(--t-base) var(--ease);
  display: block;
}
.tile img, .tile .slot { transition: transform var(--t-base) var(--ease); }
.tile:hover { transform: translateY(-2px); color: inherit; }
.tile:hover img, .tile:hover .slot { transform: scale(1.03); }
.tile__meta {
  position: absolute; inset: auto 0 0 0;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(11, 10, 10, 0) 0%, rgba(11, 10, 10, .72) 100%);
  color: var(--znak-paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  font-size: 13px; font-weight: 600; line-height: 1.4;
}
.tile__meta strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; text-transform: uppercase; line-height: 1.05; margin-bottom: 4px; }
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { opacity: 1; transform: none; }
/* На сенсорных экранах подпись не закрывает фото: появляется по касанию плитки, пропадает по касанию в любом другом месте (initTileTap в main.js) */
@media (hover: none) {
  .tile__meta { opacity: 0; transform: translateY(8px); pointer-events: none; }
  .tile.is-open .tile__meta { opacity: 1; transform: none; }
}

/* Презентационная плитка (секция 02 главной): без ссылок; на устройствах с мышью
   при наведении фото раскрывается на весь экран (см. initZoom в main.js) */
.tile--static { margin: 0; cursor: default; }
.zoom {
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;                 /* мышь остаётся над плиткой: ушла с неё — фото возвращается на место */
  visibility: hidden;
  background: rgba(11, 10, 10, 0);
  transition: background .4s var(--ease), visibility 0s linear .45s;
}
.zoom[data-open="true"] { visibility: visible; background: rgba(11, 10, 10, .9); transition-delay: 0s; }
.zoom__img {
  position: absolute; left: 0; top: 0; width: 0; height: 0;   /* геометрию задаёт JS: прямоугольник плитки → экран */
  max-width: none;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--znak-blue-700);
  box-shadow: 0 30px 80px rgba(11, 10, 10, .5);
  transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease);
}
.zoom__caption {
  position: absolute; left: 40px; right: 40px; bottom: 36px;
  text-align: center;
  color: var(--znak-paper);
  font-size: 15px; font-weight: 600; line-height: 1.4;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.zoom__caption strong {
  display: block;
  font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.zoom[data-open="true"] .zoom__caption { opacity: 1; transform: none; transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  .zoom, .zoom__img, .zoom__caption { transition: none; }
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */
.header-wrap {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding-top: 16px;
  margin-top: -16px;
}
.header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--znak-blue-700);
  border-radius: var(--r-pill);
  padding: 10px 12px 10px 28px;
  transition: box-shadow var(--t-base) var(--ease);
}
.header-wrap.is-stuck .header { box-shadow: 0 12px 32px rgba(11, 10, 10, .28); }
.header__logo { display: inline-flex; align-items: center; flex: none; }
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; gap: 6px; font-weight: 600; font-size: 15px; }
.header__nav a { padding: 8px 14px; border-radius: var(--r-pill); }
.header__nav a[aria-current="page"] { color: var(--znak-orange); }
.header__actions { display: flex; gap: 8px; align-items: center; }
.header__actions .badge { padding: 8px 14px; }
.header__ask { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.header__ask-text { margin: 0 2px 0 6px; }
.header__ask-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--znak-blue-900);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.header__ask-icon:hover { background: var(--znak-paper); color: var(--znak-blue-900); }
.header__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.header__burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  margin-top: 8px;
  background: var(--znak-blue-700);
  border-radius: 28px;
  padding: 16px;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 12px 16px; font-weight: 600; font-size: 17px; border-radius: 14px; }
.mobile-nav a:hover { background: var(--znak-blue-900); }
.mobile-nav .badge { margin: 12px 16px 0; }
.mobile-nav__ask { display: flex; align-items: center; gap: 8px; padding: 12px 16px 4px; font-weight: 600; font-size: 17px; }
.mobile-nav__ask span:first-child { margin-right: 4px; }
.mobile-nav .mobile-nav__ask a { display: inline-flex; padding: 0; border-radius: 50%; }

/* --------------------------------------------------------------------------
   Внутренние страницы: заголовок страницы, хлебные крошки, прозa
   -------------------------------------------------------------------------- */
.page-hero { padding-top: 64px; }
.page-hero .badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.page-hero h1 { margin-top: 24px; max-width: 1200px; }
.page-hero .page-hero__lead { margin-top: 28px; max-width: 800px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: end; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: var(--znak-blue-050); }
.breadcrumbs a:hover { color: var(--znak-orange); }
.breadcrumbs li + li::before { content: '·'; margin-right: 6px; }

.prose { max-width: 800px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.05; text-transform: uppercase; margin-top: 48px; }
.prose h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.1; text-transform: uppercase; margin-top: 32px; }
.prose p, .prose li { font-size: 17px; line-height: 1.55; }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: '●'; position: absolute; left: 0; top: 0; color: var(--znak-orange); font-size: 12px; line-height: 2.2; }
.prose ol { counter-reset: item; display: grid; gap: 12px; }
.prose ol li { position: relative; padding-left: 48px; counter-increment: item; }
.prose ol li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--font-display); font-size: 24px; color: var(--znak-orange); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Сетки */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--side { grid-template-columns: 440px 1fr; gap: 32px; align-items: start; }
.grid--gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 12px; }
.grid--jury { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* Карточка члена жюри */
.jury-card { display: flex; flex-direction: column; gap: 16px; }
.jury-card__photo { aspect-ratio: 3 / 4; border-radius: var(--r-pill); overflow: hidden; background: var(--znak-blue-700); }
.jury-card__photo .slot { padding: 0; align-items: center; justify-content: center; text-align: center; }
.jury-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.jury-card__name { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.jury-card__role { font-size: 14px; font-weight: 600; color: var(--znak-blue-050); margin-top: 6px; }

/* Аккордеон FAQ на внутренних страницах */
.faq-item { background: var(--znak-blue-700); border-radius: var(--r-lg); padding: 28px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.faq-item p { font-size: 16px; line-height: 1.5; }
.faq-list { display: grid; gap: 12px; }

/* Номинация в списке */
.nom { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; background: var(--znak-blue-700); border-radius: var(--r-lg); padding: 24px 32px; }
.nom .num { font-size: 32px; padding-top: 2px; }
.nom h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.nom p { font-size: 15px; line-height: 1.5; margin-top: 8px; color: var(--znak-blue-050); }
.nom small { display: block; font-size: 13px; line-height: 1.45; margin-top: 8px; color: var(--znak-blue-050); font-weight: 600; }
.nom--orange { background: var(--znak-orange); color: var(--znak-ink); }
.nom--orange p, .nom--orange small { color: var(--znak-ink); }
.nom--orange .num { color: var(--znak-blue-900); }

/* Тарифы */
.tier { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tier__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.tier__note { font-size: 16px; font-weight: 600; margin-top: 8px; }
.tier[data-state="active"] { background: var(--znak-orange-deep); color: var(--znak-ink); }
.tier[data-state="past"] { background: var(--znak-paper); color: var(--znak-blue-900); }
.tier[data-state="future"] { background: var(--znak-blue-700); color: var(--znak-paper); }
.tier .badge--lime { display: none; }
.tier[data-state="active"] .badge--lime { display: inline-flex; }

/* Шаги */
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: center; background: var(--znak-blue-700); border-radius: var(--r-pill); padding: 20px 32px; }
.step .num { font-size: 36px; }
.step span:last-child { font-size: 20px; font-weight: 600; }
.step--paper { background: var(--znak-paper); color: var(--znak-blue-900); }

/* Формы */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--znak-blue-050); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; font-weight: 500;
  color: var(--znak-paper);
  background: var(--znak-blue-900);
  border: 1.5px solid rgba(247, 246, 242, .25);
  border-radius: 20px;
  padding: 14px 18px;
  transition: border-color var(--t-fast) var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23f7f6f2' stroke-width='2'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option { color: var(--znak-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--znak-orange); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(217, 216, 238, .6); }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--znak-blue-050); }
.field--check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--znak-orange); padding: 0; border-radius: 4px; }
.field--check a { text-decoration: underline; }
.form__error { color: #ffd2b8; font-size: 14px; font-weight: 600; }
.form__status { display: none; border-radius: 20px; padding: 16px 20px; font-weight: 600; font-size: 15px; }
.form__status[data-type="ok"] { display: block; background: var(--znak-paper); color: var(--znak-blue-900); }
.form__status[data-type="error"] { display: block; background: var(--znak-orange-deep); color: var(--znak-ink); }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
/* Контакты, скрытые от скраперов (contact_link): до JS — <span class="cl">, после — <a class="cl cl--ready"> */
.cl { overflow-wrap: anywhere; }
span.cl { cursor: default; }
.u-link { text-decoration: underline; text-underline-offset: 3px; }
/* Подсказка, если почтовая программа не открылась по mailto: (showMailHint в main.js) */
.mail-hint {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 120; max-width: min(720px, calc(100vw - 32px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 14px 44px 14px 20px;
  background: var(--znak-paper); color: var(--znak-ink);
  border-radius: 20px; box-shadow: 0 16px 48px rgba(11, 10, 10, .35);
  font-size: 15px; line-height: 1.4;
}
.mail-hint strong { overflow-wrap: anywhere; }
.mail-hint__close { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 24px; line-height: 1; color: inherit; cursor: pointer; opacity: .6; }
.mail-hint__close:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   Финал и футер
   -------------------------------------------------------------------------- */
.final {
  margin: var(--section-gap) calc(-1 * var(--gutter)) calc(-1 * var(--gutter));
  padding: 96px var(--gutter) 80px;
}
.final__grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: end; }
.final__cta { display: flex; gap: 10px; margin-top: 40px; align-items: center; flex-wrap: wrap; }
.final__cta a:not(.btn) { font-size: 15px; font-weight: 600; }
.final__cta a:not(.btn) u { text-underline-offset: 3px; }
.final__cta a:not(.btn):hover { color: var(--znak-blue-900); }
.final .btn--blue:hover { color: var(--znak-paper); }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 80px; padding-top: 24px;
  border-top: 1.5px dotted var(--znak-ink);
  font-size: 13px; font-weight: 600;
}
.footer__logo img { height: 32px; width: auto; filter: brightness(0); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__links a:hover { color: var(--znak-blue-900); text-decoration: underline; }
.footer__line { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }

/* Компактный финал для внутренних страниц */
.final--compact { padding: 72px var(--gutter) 64px; }
.final--compact .display { font-size: 88px; }

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1439px) {
  /* шапке с «Задайте вопрос» тесно — сжимаем пункты меню раньше остального адаптива */
  .header__nav { gap: 0; }
  .header__nav a { padding: 8px 10px; font-size: 14px; }
  .header__ask-text { font-size: 13px; }
}
@media (max-width: 1279px) {
  .header__ask-text, .header__actions .badge { display: none; }
  :root { --section-gap: 96px; }
  .display--h1 { font-size: 110px; }
  .display--128 { font-size: 104px; }
  .display--120 { font-size: 96px; }
  .display--96 { font-size: 80px; }
  .display--88 { font-size: 72px; }
  .display--80 { font-size: 68px; }
  .display--76 { font-size: 64px; }
  .display--72 { font-size: 60px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--jury { grid-template-columns: repeat(3, 1fr); }
  .header__nav { gap: 0; }
  .header__nav a { padding: 8px 10px; font-size: 14px; }
  .final--compact .display { font-size: 72px; }
}

@media (max-width: 1023px) {
  .display--h1 { font-size: 72px; }
  .display--128 { font-size: 64px; }
  .display--120 { font-size: 60px; }
  .display--96, .display--88, .display--80, .display--76, .display--72, .display--64 { font-size: 52px; }
  .lead { font-size: 26px; }
  .card-title--56 { font-size: 40px; }
  .big-number { font-size: 64px; }
  .big-number--80 { font-size: 60px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--side { grid-template-columns: 1fr; }
  .grid--gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .grid--jury { grid-template-columns: repeat(3, 1fr); }
  .page-hero__grid, .final__grid { grid-template-columns: 1fr; }
  .final__grid > div:last-child { max-width: 440px; }
  .header__nav { display: none; }
  .header__actions .badge { display: none; }
  .header__ask { display: none; }
  .header__burger { display: inline-flex; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .form__row { grid-template-columns: 1fr; }
  .final--compact .display { font-size: 52px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --r-xl: 28px; --r-lg: 24px; --section-gap: 72px; }
  body { font-size: 15px; }
  .display--h1 { font-size: 48px; }
  .display--128, .display--120 { font-size: 40px; }
  .display--96, .display--88, .display--80, .display--76, .display--72, .display--64 { font-size: 34px; }
  .lead { font-size: 22px; }
  .text-20 { font-size: 17px; }
  .text-18 { font-size: 16px; }
  .text-15, .text-14 { font-size: 15px; }
  .card { padding: 24px; }
  .card--p32, .card--p40, .card--p44, .card--p48, .card--p56 { padding: 24px; }
  .card-title--56 { font-size: 34px; }
  .card-title--40, .card-title--34 { font-size: 28px; }
  .card-title--30 { font-size: 24px; }
  .big-number { font-size: 56px; }
  .big-number--80 { font-size: 52px; }
  .big-number--56 { font-size: 44px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .grid--jury { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section--bleed { padding: 56px var(--gutter); }
  .header { padding: 8px 8px 8px 18px; }
  .header__logo img { height: 32px; }
  .header__actions .btn { font-size: 15px; padding: 12px 18px; }
  .step { grid-template-columns: 48px 1fr; padding: 16px 22px; gap: 14px; border-radius: 28px; }
  .step .num { font-size: 28px; }
  .step span:last-child { font-size: 16px; }
  .nom { grid-template-columns: 48px 1fr; padding: 20px; gap: 12px; }
  .nom .num { font-size: 26px; }
  .nom h3 { font-size: 22px; }
  .faq-item { padding: 22px; }
  .faq-item h3 { font-size: 22px; }
  .final { padding: 64px var(--gutter) 48px; }
  .final--compact { padding: 56px var(--gutter) 48px; }
  .final--compact .display { font-size: 36px; }
  .footer { margin-top: 48px; }
  .btn { white-space: normal; text-align: center; }
  .prose h2 { font-size: 30px; }
  .prose h3 { font-size: 24px; }
  .jury-card__name { font-size: 20px; }
  .page-hero { padding-top: 40px; }
}

/* --------------------------------------------------------------------------
   Уведомление о cookie
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1360px; margin: 0 auto;
  background: var(--znak-paper); color: var(--znak-blue-900);
  border-radius: 28px; padding: 16px 20px 16px 24px;
  box-shadow: 0 12px 40px rgba(11, 10, 10, .35);
  font-size: 14px; line-height: 1.45; font-weight: 600;
}
.cookie-bar[data-open="true"] { display: flex; }
.cookie-bar p { margin: 0; flex: 1 1 420px; }
.cookie-bar a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar a:hover { color: var(--znak-orange-deep); }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; }
.cookie-bar .btn--outline { color: var(--znak-blue-900); }
@media (max-width: 767px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; border-radius: 22px; padding: 14px 16px; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1; }
}
