@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;800&family=Onest:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ── Палитра нового макета ── */
  --ink: #0A0A0D;
  --ink-2: #101016;
  --panel: #16161E;
  --panel-2: #1D1D26;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.20);
  --gold: #E3B25C;
  --gold-hi: #F7D48C;
  --gold-dim: rgba(227,178,92,0.14);
  --pearl: #C6CAD3;
  --text: #F4F2ED;
  --muted: #A9A69C;
  --ok: #7FD1A6;
  --red: #E0736B;
  --green: #7FD1A6;

  /* ── Шрифты ── */
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ── Форма ── */
  --r: 14px;
  --r-sm: 10px;
  --r-pill: 100px;

  /* ── Алиасы для существующей разметки ── */
  --black: var(--ink);
  --deep: var(--ink-2);
  --surface: var(--panel);
  --card: var(--panel);
  --border: var(--line);
  --border-accent: rgba(227,178,92,0.45);
  --gold-light: var(--gold-hi);
  --white: var(--text);
  --muted2: rgba(169,166,156,0.55);
  --font-display: var(--display);
  --font-serif: var(--body);
  --font-mono: var(--mono);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; height: auto; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  font-size: 100%;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(44px, 7.4vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--text);
}
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }

/* Заголовки внутри текста кейсов (не как герой главной страницы) */
.case-richtext-body h2,
.case-richtext-preview h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.28;
}
.case-richtext-body h3,
.case-richtext-preview h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.32;
}
.case-richtext-body h4,
.case-richtext-preview h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: -0.005em;
  line-height: 1.35;
}

p { margin: 0 0 16px; }

.serif { font-family: var(--body); }
.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 62ch;
}

/* ── NAV (шапка: логотип + ссылки + outline CTA) ── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 70px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.page-home .nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  min-height: 68px;
  height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}
.page-home .nav-links {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px 20px;
  row-gap: 0;
}
.page-home .nav-links .nav-link {
  font-size: 14px;
  line-height: 1;
  padding: 8px 0;
}
.page-home .nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-home .nav-cabinet {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.page-home .nav-cabinet:hover { color: var(--white); }
.page-home .nav-cabinet-mobile { display: none; }
.page-home .nav-end .nav-cta {
  height: 40px;
  margin: 0;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-decoration: none;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
}
.nav-logo-geo {
  color: var(--text);
}
.nav-logo-aw {
  color: var(--gold);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 2;
  transition: border-color 0.2s, background 0.2s;
}
.nav-burger:hover {
  border-color: var(--border-accent);
  background: var(--gold-dim);
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s;
  transform-origin: center;
}
#nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-links {
  display: flex;
  gap: 8px 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 10px;
}
.nav-links .nav-link {
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-links .nav-link:hover {
  color: var(--white);
}
.nav-links .nav-link:hover::after {
  opacity: 0.5;
  transform: scaleX(1);
}
.nav-links .nav-link--active {
  color: var(--gold) !important;
}
.nav-links .nav-link--active::after {
  opacity: 0.35;
  transform: scaleX(1);
}
/* Основной CTA в шапке: золотая пилюля */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: #14100A !important;
  background: var(--gold) !important;
  border: 1px solid var(--gold) !important;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  margin-left: 8px;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  color: #14100A !important;
  border-color: var(--gold-hi) !important;
  background: var(--gold-hi) !important;
  transform: translateY(-2px);
}
.nav-cta.nav-cta-ticket {
  background: transparent !important;
  color: var(--gold-hi) !important;
  border-color: rgba(201, 162, 77, 0.55) !important;
}
.nav-cta.nav-cta-ticket:hover {
  color: var(--gold-hi) !important;
  background: rgba(201, 162, 77, 0.12) !important;
  border-color: var(--gold) !important;
}
.nom .nom-sponsor-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
}
.hero-cta .link-arrow {
  align-self: center;
  margin-left: 4px;
}
.nav-cta.is-off,
.nav-cta[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(235, 235, 237, 0.38) !important;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  filter: grayscale(0.25);
}
@media (min-width: 769px) {
  .nav-inner { flex-wrap: nowrap; }
  .nav-burger { display: none !important; }
  .nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: none;
  }
  .nav-links .nav-link {
    border: none !important;
  }
  .nav-links .nav-cta {
    margin: 0 0 0 8px;
    text-align: inherit;
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary,
.btn-gold {
  background: var(--gold);
  color: #14100A;
  border-color: var(--gold);
}
.btn-primary:hover,
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #14100A; }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold-dim); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-danger {
  background: transparent;
  color: var(--red);
  border-color: rgba(224,115,107,0.35);
}
.btn-danger:hover { background: rgba(224,115,107,0.12); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

.btn.is-off,
.btn[aria-disabled="true"],
.btn:disabled {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(235, 235, 237, 0.38) !important;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none;
  filter: grayscale(0.3);
  opacity: 1;
}
a.is-off,
.link-off {
  color: rgba(235, 235, 237, 0.35) !important;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
.auth-tab.is-off,
.auth-tab:disabled {
  opacity: 0.38;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.link-arrow {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(227,178,92,0.35);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--gold); }

/* ── CARDS ── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--line-strong); }
.card-gold { border-color: var(--border-accent); }
.card-hover { transition: border-color 0.2s, transform 0.2s; }
.card-hover:hover { border-color: var(--border-accent); transform: translateY(-2px); }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-input, .form-select, .form-textarea {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--ink-2); }

/* ── BADGE / TAG ── */
.badge,
.tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--muted);
  white-space: nowrap;
}
.badge-gold,
.tag-gp { color: #14100A; border-color: var(--gold); background: var(--gold); }
.badge-green { color: var(--green); border-color: rgba(127,209,166,0.35); background: rgba(127,209,166,0.10); }
.badge-red { color: var(--red); border-color: rgba(224,115,107,0.35); background: rgba(224,115,107,0.10); }
.badge-gray { color: var(--muted); border-color: var(--line); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-accent), transparent);
  margin: 32px 0;
}

/* ── NOISE OVERLAY ── */
.noise::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── LAYOUT HELPERS ── */
.container,
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* Секция с чуть более светлым фоном — как .sec-alt в макете */
.sec-alt { background: var(--ink-2); }

.sec-head { margin-bottom: 40px; }
.sec-head h2 { margin: 10px 0 14px; }

@media (max-width: 1024px) {
  .container, .wrap, .container-sm {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ── GOLD LINE ACCENT ── */
.gold-line {
  width: 40px; height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}

/* ── SECTION LABEL / EYEBROW ── */
.section-label,
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section-label::before,
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  flex-shrink: 0;
  background: var(--gold);
}

/* ── Организаторы ── */
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.org-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.org-card:hover {
  border-color: var(--line-strong);
}
.org-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
  flex-shrink: 0;
}
.org-card__logo-wrap {
  height: 40px;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}
.org-card__logo {
  max-height: 26px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.org-card__idx {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--gold);
  flex: 0 0 auto;
  min-width: 1.5em;
  text-align: right;
}
.org-card__divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0 20px;
  flex-shrink: 0;
}
.org-card__photo {
  margin: 0 0 22px;
  border-radius: calc(var(--r) - 4px);
  overflow: hidden;
  background: #0a0a0d;
  line-height: 0;
}
.org-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.org-card__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.org-card__agency {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.org-card__person {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 14px;
}
.org-card__role {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.org-card__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.org-card__link {
  margin-top: auto;
  padding-top: 24px;
  align-self: flex-start;
  font-size: 14px;
}
.org-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.org-principle {
  border-top: 2px solid var(--gold);
  padding-top: 16px;
}
.org-principle b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.org-principle span {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}
.org-note {
  margin-top: 32px;
  margin-bottom: 0;
}

/* Полоса «— ПАРТНЁРЫ И БРЕНДЫ» — больше воздуха от заголовка к сетке */
.partners-strip {
  --partner-logo-max-h: 48px;
  --partner-gap-y: 32px;
  --partner-gap-x: 36px;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 44px 0 52px;
}
.partners-strip .section-label--emdash {
  margin-bottom: 40px;
}
.section-label--emdash {
  margin-bottom: 24px;
  gap: 0.35em;
}
.section-label--emdash::before {
  content: '—';
  width: auto;
  height: auto;
  background: none;
  display: block;
  flex-shrink: 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--partner-gap-y, 32px) var(--partner-gap-x, 36px);
  align-items: center;
  justify-items: stretch;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.partner-card.partner-card--solo-last {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 360px;
}
/* Без «плиток»: ячейка сетки на всю высоту ряда, лого по центру */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  padding: 8px 10px;
  min-height: 72px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
}
a.partner-card:hover {
  background: transparent;
}
.partner-card:hover {
  transform: translateY(-2px);
}
.partner-card:hover .partner-logo-img {
  opacity: 1;
}

.partner-logo-img {
  max-height: var(--partner-logo-max-h, 48px);
  max-width: min(220px, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
/* Тёмный Георанк → белый на тёмном фоне секции */
.partner-card .partner-logo-img[src*="georank"] {
  filter: brightness(0) invert(1);
  opacity: 1;
}

@media (max-width: 899px) {
  .partners-strip {
    --partner-gap-y: 28px;
    --partner-gap-x: 24px;
  }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-card {
    min-height: 60px;
  }
}

#toast-container {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 16px 22px;
  font-size: 16px;
  min-width: 300px;
  animation: toastIn 0.3s ease;
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--panel);
  border: 1px solid var(--border-accent);
  border-radius: var(--r);
  padding: 40px;
  max-width: 560px; width: 90%;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* ── UPLOAD ZONE ── */
.upload-zone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ── TABS ── */
.tabs { display: flex; border-bottom: 1px solid var(--border); gap: 0; }
.tab-btn {
  padding: 15px 22px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-btn:hover { color: var(--text); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── SIDEBAR LAYOUT ── */
.layout-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--deep);
  border-right: 1px solid var(--border);
  padding: 0;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo a {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}
.sidebar-logo span { color: var(--gold); font-family: var(--mono); font-size: 10.5px; display: block; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 6px; }
.sidebar-nav { padding: 24px 0; }
.sidebar-nav-section {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: 8px 24px;
  margin-top: 16px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.sidebar-link.active { color: var(--gold); border-left-color: var(--gold); background: var(--gold-dim); }
.sidebar-link .icon { width: 18px; text-align: center; font-size: 16px; }
.sidebar-user {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.sidebar-user-name { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.sidebar-user-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.sidebar-logout {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; margin-top: 10px; display: block;
  transition: color 0.2s;
}
.sidebar-logout:hover { color: var(--red); }
.main-content { padding: 0; background: var(--ink); }
.page-header {
  padding: 44px 48px 36px;
  border-bottom: 1px solid var(--border);
}
.page-body { padding: 44px 48px; }

/* ── STAT CARD ── */
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.stat-card .stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}
.stat-card .stat-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 16px;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
tr:hover td { background: rgba(255,255,255,0.02); }

/* ── CASE CARD ── */
.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.case-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.case-card-top {
  height: 160px;
  background: linear-gradient(135deg, var(--deep), var(--surface));
  position: relative;
  display: flex; align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
/* Обложка в каталоге: 16:9, картинка целиком (contain) поверх размытой копии себя — ничего не обрезается */
.case-card-top--media {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0a0a0c;
  isolation: isolate;
}
.case-card-top--media::before {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-image: var(--case-cover, none);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15) brightness(0.55);
  transform: scale(1.1);
}
.case-card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
}
/* Дефолтная обложка отрисована под 16:9 — её можно заливать целиком */
.case-card-top--default .case-card-cover-img { object-fit: cover; }
.case-card-top--default::before { display: none; }
.case-card-top--default .case-card-top-shade {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.28) 100%);
}
.case-card-top--media .case-card-top-shade {
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.28) 100%);
}
@supports not (aspect-ratio: 16 / 9) {
  .case-card-top--media { height: 0; padding-bottom: 56.25%; }
}
.case-card-cover-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--deep), var(--surface));
}
.case-card-top-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.case-card-logo {
  width: 48px; height: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  position: relative;
  z-index: 2;
}
.case-card-logo--thumb {
  padding: 0;
  overflow: hidden;
  background: rgba(10,10,12,0.5);
  backdrop-filter: blur(6px);
}
.case-card-logo--thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.case-card-badge-slot {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}
.case-card-shortlist {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #14100A;
  background: linear-gradient(135deg, #f3dfa0 0%, #e3b25c 55%, #c9953a 100%);
  padding: 7px 11px;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  line-height: 1;
  pointer-events: none;
}
.case-article-shortlist {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #14100A;
  background: linear-gradient(135deg, #f3dfa0 0%, #e3b25c 55%, #c9953a 100%);
  padding: 8px 12px;
  border-radius: 2px;
}
.case-card-top--media .case-card-logo { z-index: 3; }
.case-card-body { padding: 20px; }
.case-card-title { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.case-card-company { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.case-card-cats { display: flex; flex-wrap: wrap; gap: 6px; }

/* Минимальная карточка в каталоге /cases: обложка + логотип компании + название + компания */
.case-card--minimal {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.case-card--minimal .case-card-logo--pub {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
}
.case-card-body--minimal {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 8px;
}
.case-card-body--minimal .case-card-title {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card-body--minimal .case-card-company {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── RATING STARS ── */
.stars { display: flex; gap: 3px; }
.star { color: var(--muted2); font-size: 18px; cursor: pointer; transition: color 0.15s; }
.star.active, .star:hover ~ .star { }
.star.active { color: var(--gold); }

/* ── PROGRESS ── */
.progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-hi));
  transition: width 0.4s ease;
}

/* ── HERO DECORATION ── */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(227,178,92,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,178,92,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,178,92,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .container, .wrap, .container-sm {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .section-label,
  .eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    gap: 8px;
    line-height: 1.35;
  }
  .partners-strip {
    padding: 28px 0 36px;
    --partner-gap-y: 20px;
    --partner-gap-x: 16px;
  }
  .partners-grid {
    gap: var(--partner-gap-y) var(--partner-gap-x);
  }
  .partner-card {
    padding: 6px 10px;
    min-height: 56px;
  }
  .footer-col a {
    padding: 6px 0;
    margin-bottom: 4px;
  }
  .price-value {
    word-break: break-word;
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .nav-inner {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav {
    background: rgba(10, 10, 13, 0.97);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav-logo {
    font-size: 16px;
    flex: 1;
    min-width: 0;
    line-height: 1.1;
  }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 8px 0 20px;
    margin: 0;
    background: linear-gradient(180deg, rgba(10, 10, 13, 0.99) 0%, rgba(16, 16, 22, 0.99) 100%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
    max-height: 75vh;
    max-height: min(75vh, calc(100dvh - 64px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links .nav-link,
  .nav-links .nav-cta {
    font-size: 15px;
    letter-spacing: 0;
    padding: 14px 20px;
    text-align: left;
  }
  .nav-links > a:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-link::after {
    display: none;
  }
  .nav-links .nav-link:hover {
    color: var(--gold);
    background: rgba(227, 178, 92, 0.05);
  }
  .nav-links .nav-cta {
    margin: 12px 16px 0;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }
  #nav-toggle:checked ~ .nav-links {
    display: flex;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }

  /* Кабинет: выезжающее меню (на мобильном не скрывать навигацию) */
  .mobile-sidebar-toggle {
    display: flex;
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    left: max(10px, env(safe-area-inset-left));
    z-index: 500;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 1px solid var(--border-accent);
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    -webkit-tap-highlight-color: transparent;
    padding: 0;
  }
  .mobile-sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 350;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  body.sidebar-nav-open .mobile-sidebar-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .layout-sidebar .main-content {
    padding-top: 56px;
    min-width: 0;
  }
  .layout-sidebar .sidebar {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 88vw);
    max-width: 100%;
    z-index: 400;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    height: 100vh;
    height: 100dvh;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
    border-right: 1px solid var(--border);
  }
  body.sidebar-nav-open .layout-sidebar .sidebar {
    transform: translateX(0);
  }
  #toast-container {
    left: 12px;
    right: 12px;
    bottom: max(20px, env(safe-area-inset-bottom));
    max-width: none;
  }
  .toast {
    min-width: 0;
  }
  .page-header, .page-body { padding: 24px 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

@media (min-width: 769px) {
  .mobile-sidebar-toggle,
  .mobile-sidebar-scrim { display: none !important; }
}

@media (max-width: 480px) {
  .container, .wrap, .container-sm {
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }
  .btn { padding: 14px 22px; font-size: 15px; }
  .modal {
    padding: 24px 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 8px;
    max-height: 92vh;
  }
  .case-card-title { word-break: break-word; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-fadeup { animation: fadeUp 0.6s ease both; }
.animate-fadein { animation: fadeIn 0.4s ease both; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--gold);
  height: 48px;
  display: flex;
  align-items: center;
}
.ticker {
  display: flex;
  align-items: center;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #14100A;
  padding: 0 24px;
}
.ticker-sep { color: rgba(0,0,0,0.3); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Главная: герой ── */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: var(--ink);
}
.page-home .hero > .hero-grid,
.page-home .hero > .hero-glow { z-index: 0; }
.page-home .hero .container { position: relative; z-index: 1; }
.about-quote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.about-quote .mark { color: var(--gold); }

/* ── FOOTER ── */
body > footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.footer-brand-desc {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.75;
}
.footer-col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--muted);
}

/* ── SPONSOR PACKAGES (главная + /sponsor) ── */
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}
.price-features li::before { content: '— '; color: var(--gold); }

.sponsor-packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 12px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .sponsor-packages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .sponsor-packages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sponsor-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transition: height 0.25s ease;
}
.sponsor-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.sponsor-card:hover::before { height: 100%; }
.sponsor-card.sponsor-card--booked {
  border-color: rgba(227, 178, 92, 0.35);
  background: linear-gradient(145deg, var(--panel), rgba(227, 178, 92, 0.03));
}
.sponsor-card.sponsor-card--booked .price-features { opacity: 1; }
.sponsor-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #14100A;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--r-pill);
  line-height: 1.2;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.sponsor-card.sponsor-card--booked .sponsor-name { padding-right: 6.5rem; }
.sponsor-card.sponsor-card--hero {
  border-color: var(--gold);
  background: linear-gradient(145deg, var(--panel), rgba(227, 178, 92, 0.06));
  box-shadow: inset 0 1px 0 rgba(227, 178, 92, 0.12);
}
.sponsor-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.sponsor-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin: 0 0 14px 0;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.sponsor-card .price-features { flex: 1 1 auto; font-size: 14px; line-height: 1.5; }
.sponsor-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.sponsor-limits { color: var(--muted); }
.sponsor-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sponsor-price span {
  font-size: 0.6em;
  color: var(--gold);
}
.sponsor-price--lg {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 4px 0 14px;
}
.sponsor-foot .sponsor-price { margin-bottom: 2px; }

.sponsor-packages-page .price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(240, 237, 232, 0.84);
  font-size: 14px;
  line-height: 1.62;
}
.sponsor-packages-page .price-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  width: 14px;
  line-height: 1.55;
}
.sponsor-packages-page .sponsor-card.sponsor-card--booked .price-features li {
  color: rgba(240, 237, 232, 0.62);
}

/* ── Публичные списки: кейсы, номинанты ── */
.pub-hero {
  padding: 56px 0 64px;
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pub-hero::before {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  color: rgba(227, 178, 92, 0.04);
  line-height: 1;
  pointer-events: none;
}
.pub-hero--cases::before {
  content: 'КЕЙСЫ';
  font-size: 18rem;
}
.pub-hero--nominees::before {
  content: 'УЧАСТНИКИ';
  font-size: 14rem;
}
.pub-filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 70px;
  z-index: 10;
}
.pub-filter-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--cases-layout-max, 1440px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.pub-filter-btn {
  padding: 8px 18px;
  min-height: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pub-filter-btn:hover {
  border-color: var(--border-accent);
  color: var(--white);
}
.pub-filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.pub-search {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 10px 16px;
  outline: none;
  width: 240px;
  margin-left: auto;
  transition: border-color 0.2s;
}
.pub-search:focus { border-color: var(--gold); }
.pub-search::placeholder { color: var(--muted2); }
.pub-main { padding: 48px 0; }
.pub-count {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.pub-grid-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}
.pub-grid-nominees {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.pub-no-results {
  text-align: center;
  padding: 80px;
  color: var(--muted);
  font-size: 14px;
}
.nom-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.nom-card:hover { border-color: var(--border-accent); }
.nom-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.nom-card-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
}
.nom-card-logo-ph {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  background: var(--deep);
  border: 1px solid var(--border);
}
.nom-card-body { padding: 16px 20px 20px; flex: 1; }
.nom-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}
.nom-card-sub { font-size: 13px; color: var(--muted); }
.nom-card-cats { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.nom-card-actions { padding: 0 20px 20px; }
@media (max-width: 768px) {
  .pub-filter-bar { top: calc(60px + env(safe-area-inset-top, 0px)); }
  .pub-hero { padding: 36px 0 40px; }
  .pub-hero--cases::before { font-size: clamp(4rem, 28vw, 10rem); right: -10px; }
  .pub-hero--nominees::before { font-size: clamp(3rem, 22vw, 8rem); right: -8px; }
  .pub-hero--cases h1 { font-size: clamp(2.25rem, 10vw, 4rem) !important; }
  .pub-hero--nominees h1 { font-size: clamp(2rem, 9vw, 3.5rem) !important; }
  .pub-filter-inner {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .pub-search { width: 100%; margin-left: 0; min-height: 44px; }
  .pub-grid-cases,
  .pub-grid-nominees { grid-template-columns: 1fr; }
  .pub-main { padding: 32px 0 48px; }
  .pub-no-results { padding: 48px 16px; }
  #cases-nominee-banner {
    padding: 0 max(16px, env(safe-area-inset-left, 0px)) 16px;
  }
}

/* ── Каталог и карточка кейса: широкая колонка контента (как в референсе) ── */
.page-cases {
  --cases-layout-max: 1440px;
}
.page-cases .pub-hero .container,
.page-cases .pub-main > .container,
.page-cases #cases-nominee-banner {
  max-width: var(--cases-layout-max);
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}
.page-cases #cases-nominee-banner {
  margin-left: auto;
  margin-right: auto;
}

.page-case {
  --cases-layout-max: 1440px;
}
.page-case .case-article-page > .container {
  max-width: var(--cases-layout-max);
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

/* ── Публичная страница кейса (/cases/{id}) ── */
.case-article-page {
  padding: 40px 0 80px;
}
.case-article-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
}
.case-article-loading,
.case-article-error {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.case-article-error a {
  color: var(--gold);
}
.case-article-cover {
  position: relative;
  margin-bottom: 32px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.case-article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center center;
}
.case-article-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.case-article-head-main {
  flex: 1 1 auto;
  min-width: 0;
}
.case-article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.case-article-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
  margin: 0 0 12px;
}
.case-article-meta,
.case-article-nominee {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.case-article-nominee {
  color: var(--gold);
  margin-top: 6px;
}
.case-article-score {
  flex-shrink: 0;
  text-align: center;
}
.case-article-score-num {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.case-article-score-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.case-article-body {
  max-width: none;
  width: 100%;
}
.case-article-section {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.case-article-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
}
.case-article-prose.case-richtext-body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.88;
  color: rgba(235, 235, 237, 0.95);
}
.case-article-prose.case-richtext-body p { margin: 0 0 1em; }
.case-article-prose.case-richtext-body h2,
.case-article-prose.case-richtext-body h3 {
  color: var(--white);
  margin-top: 1.65rem;
  margin-bottom: 0.45em;
}
.case-article-prose.case-richtext-body img,
.case-article-prose.case-richtext-body video,
.case-richtext-preview video {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.case-article-prose.case-richtext-body iframe,
.case-richtext-preview iframe {
  max-width: 100%;
  border: none;
  border-radius: 4px;
}

.case-article-prose.case-richtext-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 1.25rem 0;
}
.case-article-prose.case-richtext-body figure {
  margin: 1.5rem 0;
}
.case-article-prose.case-richtext-body figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.case-article-prose .case-bullet-list,
.case-richtext-body .case-bullet-list {
  margin: 0 0 1em;
  padding-left: 1.35em;
  list-style: disc;
}
.case-article-prose .case-bullet-list li,
.case-richtext-body .case-bullet-list li {
  margin: 0 0 0.55em;
}
.case-article-results {
  padding: clamp(28px, 4vw, 52px) clamp(24px, 3.5vw, 56px);
  background: rgba(227, 178, 92, 0.06);
  border: 1px solid var(--border-accent);
  border-radius: calc(var(--r) + 6px);
  box-sizing: border-box;
}
.case-article-section--desc .case-article-prose {
  padding: 0;
}
.case-article-tools {
  margin-top: 2rem;
  padding: clamp(20px, 3vw, 32px) clamp(22px, 3vw, 40px);
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  box-sizing: border-box;
}
.case-article-tools p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}
.case-article-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.case-article-footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
}
.case-article-footer p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .case-article-page { padding: 28px 0 56px; }
  .case-article-head { flex-direction: column; }
  .case-article-cover img { max-height: min(55vh, 480px); }
}

/* ── Страница /sponsor ── */
.sponsor-page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: var(--black);
}
.sponsor-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--deep), transparent);
  pointer-events: none;
}
.sponsor-page-hero .hero-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.92;
  margin-bottom: 8px;
}
.sponsor-page-hero .hero-subtitle { max-width: 640px; }
.sponsor-page-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .sponsor-page-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sponsor-page-stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.sponsor-page-stat .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}
.sponsor-page-stat .label {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sponsor-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .sponsor-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sponsor-perk {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--r);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}
.sponsor-perk::after {
  content: '✦';
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(227, 178, 92, 0.35);
  font-size: 14px;
}
.sponsor-perk h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--text);
}
.sponsor-perk p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.sponsor-packages-page {
  max-width: 1280px;
}
.sponsor-packages-page .sponsor-card--wide {
  grid-column: 1 / -1;
}
.sponsor-card-wide-inner {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .sponsor-card-wide-inner {
    grid-template-columns: minmax(220px, 300px) 1fr;
    align-items: start;
    gap: 32px;
  }
  .sponsor-features-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
  }
}
.sponsor-card-wide-head .sponsor-name {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 10px;
}
.sponsor-card-wide-tagline {
  font-family: var(--body);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sponsor-contact-panel {
  margin-top: 56px;
  padding: 44px 36px;
  border: 1px solid rgba(227, 178, 92, 0.35);
  border-radius: var(--r);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(227, 178, 92, 0.10) 0%, transparent 55%),
    linear-gradient(145deg, var(--panel), rgba(227, 178, 92, 0.03));
  text-align: center;
}
.sponsor-contact-panel h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sponsor-contact-panel p {
  font-family: var(--body);
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.sponsor-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
}
.sponsor-contact-actions .btn {
  min-height: 54px;
  min-width: 240px;
  justify-content: center;
  padding: 18px 28px;
  font-size: 14px;
  box-sizing: border-box;
}
.sponsor-section-lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 720px;
  line-height: 1.65;
}
@media (max-width: 1024px) {
  .sponsor-packages {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .sponsor-page-hero { padding: 36px 0 48px; }
  .sponsor-packages { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .sponsor-card.sponsor-card--booked .sponsor-name { padding-right: 0; padding-top: 28px; }
  .sponsor-contact-panel { padding: 28px 20px; }
  .sponsor-contact-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ════════════════════════════════════════════════════════════
   КОМПОНЕНТЫ НОВОГО МАКЕТА
   ════════════════════════════════════════════════════════════ */

/* ── Строка дедлайна над шапкой ── */
.deadline-bar {
  background: linear-gradient(90deg, rgba(227,178,92,0.16), rgba(227,178,92,0.04));
  border-bottom: 1px solid rgba(227,178,92,0.22);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.deadline-bar .wrap,
.deadline-bar .container {
  display: flex; gap: 16px;
  align-items: center; justify-content: center;
  padding: 11px 24px;
  flex-wrap: wrap; text-align: center;
}
.deadline-bar b { color: var(--gold-hi); font-weight: 500; }

/* ── Герой: две колонки + факты (главная) ── */
.page-home .hero-cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "kicker ."
    "left right"
    "facts facts";
  column-gap: 32px;
  row-gap: 24px;
  align-items: start;
}
.page-home .hero-kicker {
  grid-area: kicker;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.page-home .hero-kicker .eyebrow { margin: 0; }
.page-home .hero-date-badge {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-hi);
  border: 1px solid rgba(201, 162, 77, 0.45);
  border-radius: 8px;
  padding: 8px 12px;
  line-height: 1;
}

.page-home .hero-cols__eyebrow {
  grid-area: eyebrow;
  margin: 0;
  align-self: center;
  line-height: 1.2;
  min-height: 14px;
}

.page-home .hero-cols__answer-head {
  grid-area: answer-head;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.2;
  min-height: 14px;
  align-self: center;
}

.page-home .hero-cols__answer-head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.page-home .hero-cols__answer-head span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .hero-cols__left {
  grid-area: left;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
}

.page-home .hero-cols__right {
  grid-area: right;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: start;
}

.page-home .hero-cols__left .hero-title {
  margin: 0 0 16px;
  line-height: 0.92;
}

.page-home .hero-cols h1 em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 0.82em;
  line-height: 0.92;
}

.page-home .hero-cols__left .hero-sub {
  font-family: var(--body);
  font-size: 18px;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 32px;
  line-height: 1.5;
}

.page-home .hero-cols__left .hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 0;
}
.page-home .hero-cta .btn {
  height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1;
}

.page-home .hero-cols__left .hero-cta .link-arrow {
  flex-shrink: 0;
  white-space: nowrap;
}

.page-home .hero-cols__left .hero-note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: auto 0 0;
  padding-top: 24px;
  line-height: 1.5;
}

.page-home .hero-cols__right .answer {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 16px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.page-home .answer-top {
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.page-home .prompt {
  margin-bottom: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}
.page-home .answer-body {
  flex: 0 0 auto;
  min-height: 0;
  font-size: 15px;
  line-height: 1.55;
}
.page-home .answer-copy {
  margin: 0;
}
.page-home .answer-top .dot {
  background: rgba(235, 235, 237, 0.55);
}
.page-home .prompt::before {
  color: rgba(235, 235, 237, 0.45);
}
.page-home .answer-body .cursor {
  width: 7px;
  height: 16px;
  margin-left: 2px;
  background: rgba(235, 235, 237, 0.92);
  vertical-align: -2px;
}
.page-home .redact {
  display: inline-block;
  height: 0.72em;
  margin: 0 0.4em 0.12em 0;
  border-radius: 4px;
  background: #3a3a42;
  vertical-align: middle;
  animation: redact-pulse 2.6s ease-in-out infinite;
}
.page-home .redact:nth-of-type(2) { animation-delay: 0.35s; }
.page-home .redact:nth-of-type(3) { animation-delay: 0.7s; }
@keyframes redact-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .redact { animation: none; opacity: 0.7; }
}
.page-home .answer-when {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
  line-height: 1.4;
}
.page-home .answer-top span {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.page-home .hero-cols__right .answer-cap {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: left;
  line-height: 1.5;
}

.page-home .hero-cols__facts {
  grid-area: facts;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.page-home .hero-cols__facts .fact {
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.page-home .hero-cols__facts .fact:first-child {
  padding-left: 0;
  border-left: none;
}
.page-home .hero-cols__facts .fact .hint {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted2, rgba(235, 235, 237, 0.45));
}

.page-home .hero-cols__facts .fact b,
.page-home .hero-cols__facts .fact .num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
  min-height: 30px;
}

.page-home .hero-cols__facts .fact span,
.page-home .hero-cols__facts .fact .label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.3;
}

@media (min-width: 1081px) {
  .page-home .hero-cols__right .answer-top--in-card {
    display: none;
  }
}

@media (max-width: 1180px) {
  .page-home .nav-burger { display: flex !important; }
  .page-home .nav-inner {
    display: flex;
    height: auto;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .page-home .nav-links {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0;
    padding: 8px 0 16px;
    background: rgba(10, 10, 13, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .page-home #nav-toggle:checked ~ .nav-links { display: flex !important; }
  .page-home .nav-links .nav-link { padding: 14px 20px; }
  .page-home .nav-end .nav-cabinet { display: none; }
  .page-home .nav-cabinet-mobile { display: block; }
}
@media (max-width: 899px) {
  .page-home .hero-cols {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "left"
      "right"
      "facts";
    row-gap: 28px;
  }
  .page-home .hero-cols__right,
  .page-home .hero-cols__right .answer {
    width: 100%;
  }

  .page-home .hero-cols__left .hero-cta {
    flex-wrap: wrap;
  }

  .page-home .hero-cols__left .hero-note,
  .page-home .hero-cols__right .answer-cap {
    margin-top: 0;
    padding-top: 24px;
  }
}

@media (max-width: 760px) {
  .page-home .hero-cols__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .page-home .hero-cols__facts .fact {
    padding-left: 16px;
  }
  .page-home .hero-cols__left .hero-cta {
    flex-wrap: wrap;
  }
}

/* ── Герой (общие классы колонок, другие страницы) ── */
.hero-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 44px;
  row-gap: 24px;
  align-items: start;
}
.hero-cols h1 em { display: block; font-style: normal; color: var(--gold); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 24px; }

.facts {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.fact b {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: 30px; letter-spacing: -0.02em;
}
.fact span { font-size: 14px; color: var(--muted); }

/* ── Сигнатурный блок: ответ ИИ ── */
.answer {
  background: linear-gradient(180deg, var(--panel), #12121A);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9);
}
.answer-top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.answer-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.answer-top span {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.prompt {
  font-family: var(--mono); font-size: 13.5px;
  color: var(--pearl); margin-bottom: 20px; line-height: 1.7;
}
.prompt::before { content: '› '; color: var(--gold); }
.answer-body { font-size: 16px; line-height: 1.75; min-height: 132px; }
.answer-body .cursor {
  display: inline-block; width: 8px; height: 18px;
  background: var(--gold); vertical-align: -3px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.cites {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cite {
  font-family: var(--mono); font-size: 11.5px; color: var(--pearl);
  background: rgba(198,202,211,0.08);
  border: 1px solid rgba(198,202,211,0.18);
  padding: 6px 11px; border-radius: var(--r-pill);
}
.answer-cap { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; text-align: left; }

/* ── Сетка карточек-ценностей ── */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card-ico {
  display: block; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.16em; color: var(--gold);
}

/* ── Фильтры-пилюли ── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  font-family: var(--body); font-size: 14.5px; font-weight: 500;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 10px 20px; cursor: pointer;
  min-height: 44px;
  transition: all 0.18s ease;
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter[aria-pressed="true"],
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #14100A; }

/* ── Номинации ── */
.noms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nom {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nom:hover { border-color: var(--border-accent); background: var(--panel-2); }
.nom-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.nom-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.nom h3 { font-size: 19px; }
.nom p { font-size: 14.5px; color: var(--muted); margin: 0; flex-grow: 1; }
.nom a {
  font-size: 14px; font-weight: 600; color: var(--gold); text-decoration: none;
  margin-top: 6px; display: inline-flex; gap: 7px; align-items: center;
  transition: gap 0.18s ease;
}
.nom a:hover { gap: 11px; }
.nom .is-off {
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
  display: inline-flex;
}
.nom.grand {
  grid-column: span 3;
  background: linear-gradient(100deg, rgba(227,178,92,0.13), var(--panel) 55%);
  border-color: rgba(227,178,92,0.4);
}
.nom.grand h3 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 30px); }
.nom.grand p { font-size: 16px; max-width: 60ch; }
.noms-foot { margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--muted); }

/* ── Критерии ── */
.crit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.crit-item { border-top: 2px solid var(--gold); padding-top: 20px; }
.crit-item b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.crit-item h3 { font-size: 17px; margin: 6px 0 8px; }
.crit-item p { font-size: 14.5px; color: var(--muted); margin: 0; }
.note {
  margin-top: 32px; font-size: 14.5px; color: var(--muted);
  border-left: 2px solid var(--line-strong);
  padding: 4px 0 4px 18px; max-width: 70ch;
}

/* ── Жюри ── */
.jury { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.jury-rule {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}
.juror {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.juror:has(.juror-exclude) {
  grid-template-rows: auto 1fr auto;
}
.juror .ph {
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  background: linear-gradient(160deg, #22222C, #14141B);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 30px; color: rgba(227,178,92,0.35);
}
.juror .ph img { width: 100%; height: 100%; object-fit: cover; }
.juror-b {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  min-height: 0;
}
.juror-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  flex-shrink: 0;
  line-height: 1.25;
}
.juror-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 76px;
}
.juror-title {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.juror-org {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(227, 178, 92, 0.82);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.juror-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.juror-exclude {
  height: 32px;
  min-height: 32px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  box-sizing: border-box;
}
.juror-exclude span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(227, 178, 92, 0.88);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.juror.soon .ph {
  border: 1px dashed var(--line-strong); background: transparent;
  font-family: var(--mono); font-size: 14px; color: var(--muted);
  letter-spacing: 0.1em; text-align: center; padding: 16px;
}
.jury-foot { margin-top: 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.jury-block { margin-top: 36px; }
.jury-block:first-of-type { margin-top: 8px; }
.jury-block-title {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
  font-weight: 500;
}
.jury-block-desc {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 52ch;
}
.jury--cases-only { grid-template-columns: repeat(2, minmax(0, 280px)); }

/* ── Таймлайн ── */
.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 12px; }
.tl-i { padding: 28px 24px 0 0; border-top: 1px solid var(--line); position: relative; }
.tl-i::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong);
}
.tl-i.now { border-top-color: var(--gold); }
.tl-i.now::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(227,178,92,0.16); }
.tl-i .when {
  display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--gold);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.tl-i h3 { font-size: 18px; margin-bottom: 8px; }
.tl-i p { font-size: 14.5px; color: var(--muted); margin: 0; }
.now-badge {
  display: inline-block; vertical-align: 2px; margin-left: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  background: var(--gold); color: #14100A;
  padding: 3px 8px; border-radius: 4px;
}

/* ── Шаги участия ── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #14100A;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ── Тарифы ── */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tier {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; position: relative;
}
.tier.past { opacity: 0.42; }
.tier.past .price { text-decoration: line-through; text-decoration-thickness: 1px; }
.tier.active { border-color: var(--gold); background: linear-gradient(180deg, rgba(227,178,92,0.10), var(--panel) 60%); }
.tier-flag {
  position: absolute; top: -11px; left: 30px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  background: var(--gold); color: #14100A;
  padding: 4px 12px; border-radius: var(--r-pill); text-transform: uppercase;
}
.tier .when { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.price { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; margin: 14px 0 4px; }
.tier .per { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; }
.tier li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--line); }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-size: 13px; }
.tier .btn { width: 100%; }

.ticket {
  margin-top: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 30px;
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.ticket b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.ticket p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Церемония ── */
.ceremony {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}
.ceremony-info {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ceremony-facts {
  margin: 0;
  display: grid;
  gap: 18px;
}
.ceremony-fact { margin: 0; }
.ceremony-fact dt {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ceremony-fact dd {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.ceremony-fact:first-child dd {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  color: var(--gold);
}
.ceremony-note {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
}
.ceremony-note--sub {
  font-size: 13.5px;
  color: rgba(168, 164, 156, 0.82);
  max-width: 52ch;
}
.ceremony-actions {
  margin-top: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.ceremony-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
  min-height: 280px;
}
.ceremony-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* ── Спонсорские блоки макета ── */
.spon-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sponsor-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sponsor-mini div {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.sponsor-mini b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.sponsor-mini span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.spon {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; display: flex; flex-direction: column;
}
.spon.lead { border-color: var(--border-accent); background: linear-gradient(180deg, rgba(227,178,92,0.10), var(--panel) 60%); }
.spon .slots { font-family: var(--mono); font-size: 11.5px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.spon h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 16px; }
.spon ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 15px; color: var(--muted); flex-grow: 1; }
.spon li { padding: 8px 0 8px 22px; position: relative; }
.spon li::before { content: '—'; position: absolute; left: 0; color: var(--gold); opacity: 0.7; }

.spon-more { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spon-more summary {
  padding: 22px 30px; cursor: pointer; font-weight: 600; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  background: var(--panel);
}
.spon-more summary::-webkit-details-marker { display: none; }
.spon-more summary::after { content: '+'; color: var(--gold); font-size: 22px; font-family: var(--mono); }
.spon-more[open] summary::after { content: '–'; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mini-i { background: var(--ink-2); padding: 24px 30px; }
.mini-i b { display: block; font-size: 16px; margin-bottom: 8px; }
.mini-i p { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.mini-i span { font-family: var(--mono); font-size: 11.5px; color: var(--gold); }

/* ── FAQ ── */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 24px 40px 24px 0; cursor: pointer;
  font-size: 18px; font-weight: 600; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 24px;
  color: var(--gold); font-family: var(--mono); font-size: 20px;
}
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); font-size: 16px; padding: 0 40px 24px 0; margin: 0; }

/* ── Финальный блок ── */
.final { text-align: center; padding: 112px 0; }
.final h2 { font-size: clamp(38px, 6.6vw, 74px); line-height: 1; margin-bottom: 24px; }
.final .lead { margin: 0 auto 36px; }
.final-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Логотипы-чипы ── */
.logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.logo-chip {
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 12px 22px;
  font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
}

/* ── Мобильный CTA-бар ── */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  background: rgba(13,13,17,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  gap: 12px; align-items: center;
}
.mbar > div { flex-grow: 1; min-width: 0; }
.mbar b { display: block; font-size: 15px; }
.mbar span { font-family: var(--mono); font-size: 11.5px; color: var(--gold); }

/* ── Появление при скролле ── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ── Адаптив новых компонентов ── */
@media (max-width: 1080px) {
  .noms, .value-grid, .spon-top, .mini, .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nom.grand { grid-column: span 2; }
  .crit, .steps, .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .jury { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers { grid-template-columns: 1fr; }
  .sponsor-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier.past { display: none; }
  .ceremony { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .noms, .value-grid, .spon-top, .mini, .crit, .steps, .tl, .org-grid, .org-principles, .sponsor-mini { grid-template-columns: 1fr; }
  .nom.grand { grid-column: span 1; }
  .jury { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact b { font-size: 26px; }
  .tl-i { padding-right: 0; }
  .mbar { display: flex; }
  body.has-mbar { padding-bottom: 84px; }
  .hero-cta .btn { width: 100%; }
  .hero-sub { font-size: 17px; }
  .final { padding: 80px 0; }
  .answer { padding: 20px; border-radius: 16px; }
  .spon, .tier, .card, .org-card, .ceremony-info { padding: 24px 20px; }
  .ceremony-actions .btn { width: 100%; }
  .org-card { min-height: 0; }
  .org-card__divider { margin: 20px 0 24px; }
  .spon-more summary, .mini-i { padding-left: 20px; padding-right: 20px; }
  .deadline-bar { font-size: 12px; }
  .deadline-bar .wrap, .deadline-bar .container { padding: 10px 16px; gap: 8px; }
}
@media (max-width: 380px) {
  .jury { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
