/* Страница «Живой код — премия «Предприниматель года»» (codrosta.club/premiya).
   Общие переменные, шапка, футер, модалка — в css/styles.css; здесь только стиль премии.
   Фирменный стиль — «Код Роста. Форум развития предпринимательства» (Obsidian:
   02 Клуб/Форум — фирменный стиль): белое полотно, плоские заливки пяти цветов,
   эквалайзер, лучи, россыпь штрихов, бордюр из полос. Без градиентов, теней и скруглений.
   Шрифт Jeko недоступен в вебе — его замена Jost (как в презентации «Живой код»). */

.page-premiya {
  --navy: #001B7D;
  --red: #FF3624;
  --sky: #14B9FF;
  --mint: #8AF1AC;
  --grey: #E6E0DB;
  --p-ink: #001B7D;
  --font-display: 'Jost', 'Manrope', system-ui, sans-serif;
  --font-body: 'Jost', 'Manrope', system-ui, sans-serif;
  font-family: var(--font-body);
  color: var(--p-ink);
  background: #fff;
}
.page-premiya h1, .page-premiya h2, .page-premiya h3, .page-premiya h4 { font-weight: 700; letter-spacing: -0.015em; }
.page-premiya section[id] { scroll-margin-top: 84px; }

/* цвет элемента — одной переменной, чтобы красить полосы, плитки и подписи */
.c-n { --c: var(--navy); }
.c-r { --c: var(--red); }
.c-b { --c: var(--sky); }
.c-m { --c: var(--mint); }
.c-g { --c: var(--grey); }

/* ---------- Шапка ---------- */
.page-premiya .site-header { background: #fff; backdrop-filter: none; border-bottom: 0; }
.page-premiya .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 20%, var(--red) 20% 40%, var(--sky) 40% 60%, var(--mint) 60% 80%, var(--grey) 80% 100%); } /* бордюр из пяти плоских цветов */
.page-premiya .nav-links a:hover, .page-premiya .nav-dropdown a:hover { color: var(--red); }
.page-premiya .nav-links a { color: var(--navy); font-weight: 600; }
.page-premiya .nav-dropdown { border-radius: 0; box-shadow: none; border: 2px solid var(--navy); }
.page-premiya .nav-dropdown a { border-radius: 0; color: var(--navy); }
.page-premiya .nav-dropdown a:hover { background: var(--grey); }
.page-premiya .burger { border-radius: 0; border-color: var(--navy); }
.page-premiya .burger span, .page-premiya .burger span::before, .page-premiya .burger span::after { background: var(--navy); }
.page-premiya .nav-dropdown .nav-only-menu a.menu-brand--kodrosta { color: #296EF7; }

/* Логотип — векторный файл из презентации айдентики форума (assets/premiya/logo-*.svg) */
.p-logo img { display: block; height: 34px; width: auto; }

/* ---------- Кнопки ---------- */
.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: .02em;
  padding: 17px 30px; border: 2px solid transparent; border-radius: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.p-btn:active { transform: translateY(1px); }
.p-btn--sm { padding: 11px 20px; font-size: 14px; }
.p-btn--lg { padding: 20px 38px; font-size: 18px; }
.p-btn--red { background: var(--red); color: #fff; }
.p-btn--red:hover { background: var(--navy); }
.p-btn--navy { background: var(--navy); color: #fff; }
.p-btn--navy:hover { background: var(--red); }
.p-btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.p-btn--outline:hover { background: var(--navy); color: #fff; }
.p-btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.p-btn--ghost:hover { background: var(--navy); color: #fff; }

.p-eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.p-eyebrow--mint { color: var(--mint); }

/* ---------- Первый экран ---------- */
.p-hero { position: relative; overflow: hidden; background: #fff; padding: 96px 0 0; }
.p-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; min-height: min(72vh, 640px); padding-top: 28px; padding-bottom: 56px; }
.p-kicker { font-size: clamp(12px, 1.2vw, 15px); font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
.p-title { font-size: clamp(64px, 9.6vw, 142px); line-height: .86; font-weight: 800; letter-spacing: -0.04em; margin: 0 0 26px; color: var(--navy); word-break: normal; overflow-wrap: normal; }
.p-title span { color: var(--red); }
.p-sub { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; }
.p-sub strong { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; color: var(--navy); line-height: 1.15; }
.p-sub span { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; color: var(--sky); letter-spacing: .02em; }
.p-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 520px; margin: 0 0 32px; color: var(--navy); }
.p-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ключевой визуальный идентификатор: звуковая дорожка «КОД РОСТА» — 30 полос из презентации айдентики; при загрузке «оживает» слева направо, как голос */
.p-eq { display: flex; align-items: center; justify-content: center; }
.p-wave { width: 100%; max-width: 660px; height: auto; overflow: visible; }
.p-wave rect { transform-box: fill-box; transform-origin: center; animation: wave-in .9s cubic-bezier(.2,.8,.2,1) both, wave-live 3.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 40ms), calc(1.4s + var(--i) * 90ms); }
@keyframes wave-in { from { transform: scaleY(.03); } to { transform: scaleY(1); } }
@keyframes wave-live { from { transform: scaleY(1); } to { transform: scaleY(.88); } }

/* россыпь штрихов — «воздух» вокруг основных элементов */
.p-ticks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.p-ticks i { position: absolute; width: 3px; background: var(--c); opacity: .9; }

/* бордюр из тонких полос */
.p-stripes { display: flex; height: 40px; position: relative; z-index: 1; }
.p-stripes i { flex: 1 1 0; background: var(--c); }

/* ---------- Мероприятие: одно большое событие ---------- */
.p-event { position: relative; overflow: hidden; background: var(--navy); padding: 92px 0 100px; color: var(--navy); }
.p-event .container { position: relative; z-index: 1; }
.p-rays { position: absolute; right: -180px; top: 50%; width: 720px; height: 720px; transform: translateY(-50%); pointer-events: none; z-index: 0; }
.p-rays i { position: absolute; left: 50%; top: 50%; width: 900px; height: var(--t); background: var(--c); transform: translate(-50%, -50%) rotate(var(--a)); }
.p-rays i:nth-child(1) { --a: 8deg;   --t: 20px; --c: var(--sky); }
.p-rays i:nth-child(2) { --a: -34deg; --t: 26px; --c: var(--red); }
.p-rays i:nth-child(3) { --a: 52deg;  --t: 16px; --c: var(--mint); }
.p-rays i:nth-child(4) { --a: 90deg;  --t: 24px; --c: var(--grey); }
.p-rays i:nth-child(5) { --a: -70deg; --t: 18px; --c: var(--sky); }
.p-rays i:nth-child(6) { --a: 28deg;  --t: 28px; --c: var(--red); }
.p-rays i:nth-child(7) { --a: -12deg; --t: 14px; --c: var(--mint); }

.p-event-card { display: grid; grid-template-columns: 250px minmax(0, 1fr); background: #fff; }
.p-event-date { background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 18px; text-align: center; }
.p-event-date .d { font-size: clamp(100px, 11vw, 150px); line-height: .85; font-weight: 800; letter-spacing: -0.04em; }
.p-event-date .m { font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 12px; }
.p-event-date .y { font-size: 22px; font-weight: 600; opacity: .85; margin-top: 4px; }
.p-event-info { padding: clamp(28px, 4vw, 56px); }
.p-tag { display: inline-block; background: var(--mint); color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; margin-bottom: 20px; }
.p-event-info h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.04; margin: 0 0 16px; color: var(--navy); }
.p-event-meta { font-size: 20px; font-weight: 700; color: var(--red); margin: 0 0 18px; }
.p-event-desc { font-size: 18px; line-height: 1.6; color: var(--navy); max-width: 720px; margin: 0 0 14px; }
.p-event-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Подкасты: студия «Голос Кода» ---------- */
.p-podcast { background: var(--grey); }
.p-podcast-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; align-items: stretch; margin-top: 8px; }
.p-podcast-visual { background: #fff; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 56px); border-top: 8px solid var(--sky); }
.p-podcast-visual img { width: 100%; max-width: 420px; height: auto; }
.p-podcast-card { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; border-top: 8px solid var(--red); }
.p-podcast-card .p-eyebrow { color: var(--mint); margin: 0; }
.p-podcast-lead { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; font-weight: 700; }
.p-podcast-p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); }
.p-podcast-tag { margin: auto 0 0; padding-top: 18px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }

/* ---------- Премия: номинации ---------- */
.p-awards { background: #fff; }
.p-awards-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; margin-top: 8px; }
.p-nom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.p-nom-list li { display: flex; align-items: center; gap: 14px; background: var(--grey); border-left: 8px solid var(--c); padding: 14px 18px; }
.p-nom-list b { flex: none; min-width: 2.2em; font-size: 22px; font-weight: 800; color: var(--navy); }
.p-nom-list span { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.p-nom-note { margin: 18px 0 0; font-size: 15px; color: var(--navy); opacity: .75; }
.p-awards-photo { margin: 0; position: relative; padding: 0 16px 16px 0; }
.p-awards-photo::before { content: ""; position: absolute; left: 16px; top: 16px; right: 0; bottom: 0; background: var(--mint); }
.p-awards-photo img { position: relative; display: block; width: 100%; height: auto; }

/* ---------- Билеты ---------- */
.p-tickets { background: var(--grey); }
.p-deadline { display: inline-block; margin: 0 0 32px; padding: 14px 22px; background: var(--red); color: #fff; font-size: 18px; line-height: 1.4; font-weight: 600; }
.p-deadline b { font-weight: 800; }
.p-ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.p-ticket { background: #fff; color: var(--navy); display: flex; flex-direction: column; padding-bottom: 28px; }
.p-ticket-label { display: block; padding: 14px 26px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: var(--c); color: var(--navy); }
.p-ticket.c-r .p-ticket-label { color: #fff; }
.p-ticket-price { margin: 24px 26px 8px; font-size: clamp(44px, 4.4vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.p-ticket h3 { margin: 0 26px 16px; font-size: 22px; line-height: 1.2; color: var(--navy); }
.p-ticket ul { list-style: none; margin: 0 26px; padding: 16px 0 0; border-top: 2px solid var(--grey); display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.p-ticket li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; }
.p-ticket li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--c); }
.p-ticket-btn { margin: 24px 26px 0; align-self: stretch; }
.p-ticket-note { margin: 22px 0 0; font-size: 16px; font-weight: 600; color: var(--navy); }
@media (min-width: 1041px) {
  @supports (grid-template-rows: subgrid) {
    .p-ticket { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; }
    .p-ticket-label { grid-row: 1; } .p-ticket-price { grid-row: 2; } .p-ticket h3 { grid-row: 3; }
    .p-ticket ul { grid-row: 4; align-self: start; } .p-ticket-btn { grid-row: 5; align-self: end; }
  }
}

/* ---------- Факт: премия уже проходила ---------- */
.p-proof { position: relative; background: #fff; }
.p-proof-fig { margin: 0; line-height: 0; overflow: hidden; }
.p-proof-fig img { width: 100%; height: clamp(360px, 60vw, 760px); object-fit: cover; object-position: 50% 30%; }
.p-proof .container { position: relative; margin-top: clamp(-150px, -12vw, -64px); }
.p-proof-card { position: relative; background: var(--navy); color: #fff; max-width: 620px; padding: clamp(26px, 3.4vw, 44px); }
.p-proof-card::after { content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--sky) 25% 50%, var(--mint) 50% 75%, var(--grey) 75% 100%); }
.p-proof-card h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 0 0 16px; }
.p-proof-card p { font-size: 18px; line-height: 1.6; margin: 0; color: rgba(255,255,255,.92); }

/* ---------- Блоки страницы ---------- */
.p-section { padding: 84px 0; }
.p-h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; margin: 0 0 14px; color: var(--navy); }
.p-sec-lead { font-size: 18px; max-width: 640px; color: var(--navy); margin: 0 0 40px; }

.p-numbers { padding-top: clamp(72px, 9vw, 120px); }
.p-num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.p-num { border-top: 10px solid var(--c); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.p-num b { font-size: clamp(64px, 9vw, 128px); line-height: .9; font-weight: 800; letter-spacing: -0.04em; color: var(--c); }
.p-num strong { font-size: 22px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.p-num span { font-size: 17px; color: var(--navy); }

/* ---------- Фото церемонии ---------- */
.p-photos { background: var(--grey); }
.p-gallery { column-count: 3; column-gap: 20px; }
.p-ph { margin: 0 0 20px; break-inside: avoid; cursor: zoom-in; background: #fff; }
.p-ph img { display: block; width: 100%; height: auto; transition: opacity .15s; }
.p-ph:hover img { opacity: .9; }
.p-ph figcaption { border-top: 6px solid var(--c); padding: 12px 14px 14px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

.p-lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(0, 27, 125, .96); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.p-lightbox[hidden] { display: none; }
.p-lightbox figure { margin: 0; max-width: 100%; text-align: center; }
.p-lightbox img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; }
.p-lightbox figcaption { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; }
.p-lb-close, .p-lb-nav { position: absolute; background: #fff; color: var(--navy); border: 0; border-radius: 0; cursor: pointer; font-family: var(--font-body); font-weight: 700; }
.p-lb-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 20px; }
.p-lb-nav { top: 50%; width: 44px; height: 64px; margin-top: -32px; font-size: 32px; line-height: 1; }
.p-lb-prev { left: 10px; }
.p-lb-next { right: 10px; }
.p-lb-close:hover, .p-lb-nav:hover { background: var(--mint); }

/* ---------- Партнёрам ---------- */
.p-partners { background: var(--navy); color: #fff; padding: 96px 0 100px; position: relative; overflow: hidden; }
.p-partners h2, .p-partners h3 { color: #fff; }
.p-partners-h { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; margin: 0 0 44px; }

.p-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.p-pack { background: #fff; color: var(--navy); display: flex; flex-direction: column; padding-bottom: 30px; }
.p-pack-label { display: block; padding: 14px 26px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.p-pack--b .p-pack-label { background: var(--sky); color: var(--navy); }
.p-pack--r .p-pack-label { background: var(--red); color: #fff; }
.p-pack--m .p-pack-label { background: var(--mint); color: var(--navy); }
.p-pack h3 { color: var(--navy); font-size: 28px; line-height: 1.1; margin: 26px 26px 10px; }
.p-pack-btn { margin: 26px 26px 0; align-self: stretch; }
.p-price { font-size: clamp(40px, 4vw, 54px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; margin: 0 26px 14px; color: var(--navy); }
.p-pack--r .p-price { color: var(--red); }
.p-charity { margin: 0 0 12px; padding: 9px 12px; background: var(--mint); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.p-pack-lead { font-size: 17px; line-height: 1.5; font-weight: 600; margin: 0 26px 18px; }
.p-pack ul { list-style: none; margin: 0 26px; padding: 18px 0 0; border-top: 2px solid var(--grey); display: flex; flex-direction: column; gap: 11px; flex: 1 1 auto; }
.p-pack li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; }
.p-pack li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--red); }
.p-pack--b li::before { background: var(--sky); }
.p-pack--m li::before { background: var(--mint); }

/* Три колонки: у всех карточек общие строки (подпись, название, цена, описание, список, примечание, кнопка) —
   цены, описания и кнопки стоят на одном горизонтальном уровне, даже если название переносится на две строки. */
@media (min-width: 1041px) {
  @supports (grid-template-rows: subgrid) {
    .p-pack-grid { grid-template-rows: auto; }
    .p-pack { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; align-content: start; }
    .p-pack-label { grid-row: 1; }
    .p-pack h3 { grid-row: 2; }
    .p-price { grid-row: 3; }
    .p-pack-lead { grid-row: 4; }
    .p-pack-more { grid-row: 5; align-self: start; }
    .p-pack-actions { grid-row: 6; align-self: end; }
  }
}

/* Карточки пакетов раскрываются: состав скрыт, пока не нажата «Что входит в пакет» */
.p-pack-more { display: none; }
.p-pack.is-open .p-pack-more { display: block; }
.p-pack-actions { margin: 22px 26px 0; display: flex; flex-direction: column; gap: 10px; }
.p-pack-actions .p-pack-btn { margin: 0; align-self: stretch; }
.p-pack-toggle { justify-content: space-between; }
.p-pack-toggle i::after { content: "+"; font-style: normal; font-size: 24px; line-height: 1; font-weight: 500; }
.p-pack.is-open .p-pack-toggle i::after { content: "\2212"; }
.p-pack-more ul { margin-top: 0; }
.p-sub-h { font-size: clamp(26px, 3vw, 38px); margin: 72px 0 24px; }
.p-table-wrap { overflow-x: auto; background: #fff; }
.p-table { width: 100%; min-width: 680px; border-collapse: collapse; color: var(--navy); font-size: 17px; }
.p-table th, .p-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--grey); }
.p-table thead th { font-size: 20px; font-weight: 800; color: var(--navy); border-bottom: 0; }
.p-table thead th:first-child { background: var(--navy); color: #fff; }
.p-table thead .h-b { background: var(--sky); }
.p-table thead .h-r { background: var(--red); color: #fff; }
.p-table thead .h-m { background: var(--mint); }
.p-table tbody th { font-weight: 800; white-space: nowrap; }
.p-note { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.7); max-width: 760px; margin: 18px 0 0; }

.p-offer { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; background: var(--grey); color: var(--navy); padding: clamp(28px, 4vw, 52px); margin-top: 260px; position: relative; min-height: 260px; }
.p-offer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--red); }
.p-offer-text { padding-left: 14px; }
.p-offer h2 { color: var(--navy); font-size: clamp(28px, 3vw, 48px); margin: 0 0 28px; max-width: 12em; }
.p-offer-btns { display: flex; flex-wrap: nowrap; gap: 14px; }
.p-offer-btns .p-btn { white-space: nowrap; padding-left: 28px; padding-right: 28px; }
.p-offer-img { position: absolute; right: clamp(8px, 3vw, 60px); bottom: 0; height: 165%; width: auto; max-width: none; object-fit: contain; object-position: right bottom; pointer-events: none; }

/* ---------- Игра «Совет директоров» ---------- */
.p-game { background: #fff; }
.p-game-top { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.p-game-sub { font-size: 20px; font-weight: 600; color: var(--navy); margin: 0 0 28px; max-width: 560px; }
.p-game-stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.p-game-stats li { border-top: 8px solid var(--c); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.p-game-stats b { font-size: clamp(52px, 6vw, 84px); line-height: .9; font-weight: 800; letter-spacing: -0.03em; color: var(--c); }
.p-game-stats span { font-size: 16px; font-weight: 700; color: var(--navy); }
.p-game-lead { font-size: 18px; line-height: 1.6; color: var(--navy); margin: 0; max-width: 600px; }
.p-game-photo { margin: 0; position: relative; padding: 0 18px 18px 0; }
.p-game-photo::before { content: ""; position: absolute; left: 18px; top: 18px; right: 0; bottom: 0; background: var(--red); }
.p-game-photo img { position: relative; display: block; width: 100%; height: auto; }
.p-game-author { display: flex; align-items: center; gap: 16px; margin-top: 24px; color: var(--navy); }
.p-game-author-frame { display: block; position: relative; flex: 0 0 auto; padding: 0 6px 6px 0; }
.p-game-author-frame::before { content: ""; position: absolute; left: 6px; top: 6px; right: 0; bottom: 0; background: var(--sky); }
.p-game-author-portrait { display: block; position: relative; width: 72px; height: 80px; overflow: hidden; }
.p-game-author-portrait img { display: block; width: 200px; max-width: none; height: auto; transform: translate(-59px, -53px); }
.p-game-author p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.p-game-author span { font-size: 13px; line-height: 1.4; }
.p-game-author strong { font-size: 18px; font-weight: 700; line-height: 1.25; }
.p-game-author .p-game-author-bio { max-width: 360px; margin-top: 3px; }
.p-game-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.p-game-cols > div { border-top: 8px solid var(--c); background: var(--grey); padding: 22px 24px 8px; }
.p-game-cols h3 { font-size: 22px; margin: 0 0 12px; color: var(--navy); }
.p-game-cols p { font-size: 16px; line-height: 1.55; color: var(--navy); }
.p-game-quote { margin: 40px 0 0; padding-left: 22px; border-left: 8px solid var(--red); font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.25; color: var(--navy); max-width: 860px; }

/* ---------- «Друг клуба»: позиционирование и своя механика ---------- */
.p-pack-foot { margin: 20px 26px 0; }
.p-pack-tag { margin: 0; font-size: 15px; line-height: 1.45; color: var(--navy); opacity: .8; }
.p-pack li.is-key { font-weight: 700; }
.p-friend { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; margin-top: 40px; background: var(--mint); color: var(--navy); position: relative; }
.p-friend::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--red); }
.p-friend-main { padding: clamp(28px, 4vw, 52px) clamp(24px, 3vw, 44px) clamp(28px, 4vw, 52px) clamp(32px, 4vw, 56px); }
.p-friend-main .p-eyebrow { color: var(--navy); }
.p-friend-main h3 { color: var(--navy); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 0 0 16px; }
.p-friend-main { display: flex; flex-direction: column; justify-content: center; }
.p-friend-main h3 { overflow-wrap: break-word; hyphens: auto; font-size: clamp(22px, 3.4vw, 44px); }
.p-friend-big { font-size: clamp(84px, 12vw, 160px); line-height: .9; font-weight: 700; color: var(--red); margin: 8px 0 12px; }
.p-friend-main .p-friend-note { font-size: 14px; line-height: 1.5; margin: 12px 0 0; max-width: 440px; opacity: .85; }
.p-friend-fig { margin: 0; background: var(--navy); color: #fff; display: flex; flex-direction: column; }
.p-friend-fig img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; flex: 1; }
.p-friend-fig figcaption { padding: 14px 20px; font-size: 15px; font-weight: 600; }

/* ---------- Футер — светлый, в стиле полотна ---------- */
.page-premiya .site-footer { background: var(--grey); color: var(--navy); position: relative; }
.page-premiya .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, var(--navy) 0 20%, var(--red) 20% 40%, var(--sky) 40% 60%, var(--mint) 60% 80%, #fff 80% 100%); }
.page-premiya .footer-brand .logo { color: var(--navy); gap: 12px; }
.page-premiya .footer-brand p { color: var(--navy); }
.page-premiya .footer-col h4 { color: var(--red); }
.page-premiya .footer-col a { color: var(--navy); }
.page-premiya .footer-col a:hover { color: var(--red); }
.page-premiya .footer-grid { border-bottom-color: rgba(0,27,125,.2); }
.page-premiya .footer-bottom, .page-premiya .footer-bottom a { color: rgba(0,27,125,.7); }

/* ---------- Форма записи — в стиле страницы ---------- */
.page-premiya .modal { border-radius: 0; border-top: 10px solid var(--red); color: var(--navy); }
.page-premiya .modal-close { border-radius: 0; background: var(--grey); color: var(--navy); }
.page-premiya .modal .modal-sub { color: var(--navy); opacity: .75; }
.page-premiya .form-field label { color: var(--navy); }
.page-premiya .form-field input, .page-premiya .form-field textarea { border-radius: 0; border: 2px solid var(--grey); color: var(--navy); }
.page-premiya .form-field input:focus, .page-premiya .form-field textarea:focus, .page-premiya .form-field select:focus { border-color: var(--navy); outline: none; }
.page-premiya .form-field select { width: 100%; padding: 13px 14px; border: 2px solid var(--grey); border-radius: 0; font-family: var(--font-body); font-size: 15px; color: var(--navy); background: #fff; }
.page-premiya .form-consent { color: var(--navy); opacity: .7; }
.page-premiya .form-consent a { color: var(--red); }
.page-premiya .btn { border-radius: 0; letter-spacing: .02em; box-shadow: none; }
.page-premiya .btn--primary { background: var(--red); border-color: var(--red); }
.page-premiya .btn--primary:hover { background: var(--navy); border-color: var(--navy); }
.page-premiya .btn--ghost { color: var(--navy); border-color: var(--navy); }
.page-premiya .form-status { border-radius: 0; }

/* ---------- Коктейльный дресс-код ---------- */
.p-dresscode { padding: 40px 0; background: #fff; }
.p-dresscode .container { max-width: 960px; }
.p-dresscode h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; color: var(--navy); }
.p-dresscode-icon { width: 36px; height: 40px; flex-shrink: 0; }
.p-dresscode-intro { max-width: 760px; margin: 0; font-size: 17px; line-height: 1.55; }
.p-dresscode-details { margin-top: 22px; border-top: 1px solid var(--grey); }
.p-dresscode-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; list-style: none; cursor: pointer; color: var(--navy); font-size: 16px; font-weight: 700; }
.p-dresscode-details summary::-webkit-details-marker { display: none; }
.p-dresscode-details summary::after { content: "+"; flex: 0 0 24px; font-size: 28px; line-height: 1; text-align: center; font-weight: 500; }
.p-dresscode-details[open] summary::after { content: "\2212"; }
.p-dresscode-details summary:hover { color: var(--red); }
.p-dresscode-details summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.p-dresscode-hide, .p-dresscode-details[open] .p-dresscode-show { display: none; }
.p-dresscode-details[open] .p-dresscode-hide { display: inline; }
.p-dresscode-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; padding-top: 16px; }
.p-dresscode-column h3 { margin: 0 0 20px; font-size: 22px; }
.p-dresscode-column ul { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.p-dresscode-column li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; }
.p-dresscode-column svg { display: block; width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p-dresscode-column:nth-child(2) svg { stroke: var(--red); }
.p-dresscode-column strong { display: block; font-size: 16px; line-height: 1.35; }
.p-dresscode-column li span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.p-dresscode-note { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--grey); font-size: 15px; line-height: 1.5; }

/* ---------- Организаторы и партнёры ---------- */
.page-premiya .p-organizers { padding: 32px 0; background: #fff; }
.p-organizers .container { max-width: 960px; }
.p-organizers-title { margin: 0 0 20px; font-size: 22px; line-height: 1.2; color: var(--navy); }
.p-organizers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 20px; border-top: 1px solid var(--grey); }
.p-organizer-role { margin: 0 0 12px; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.p-organizer-logo { display: flex; align-items: center; height: 64px; }
.p-organizer-logo img { display: block; width: 150px; max-width: 100%; height: auto; }
.p-organizer-logo--club { gap: 10px; }
.p-organizer-logo--club img { width: 57px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.p-organizer-name { font-size: 20px; font-weight: 700; line-height: 1.15; }
.p-organizer-logo--tsum img { width: 190px; }
.p-organizer-description { max-width: 300px; margin: 8px 0 0; color: var(--navy); font-size: 12px; line-height: 1.45; }

/* ---------- Адаптив ---------- */
@media (max-width: 1040px) {
  .p-organizers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-podcast-grid { grid-template-columns: 1fr; }
  .p-awards-grid { grid-template-columns: 1fr; gap: 36px; }
  .p-ticket-grid { grid-template-columns: 1fr; max-width: 640px; }
  .p-game-top { grid-template-columns: 1fr; gap: 36px; }
  .p-game-cols { grid-template-columns: 1fr; }
  .p-friend { grid-template-columns: minmax(0, 1fr); }
  .p-friend-fig img { height: auto; aspect-ratio: 1400 / 879; max-height: 440px; object-position: 50% 30%; }
  .p-pack-grid { grid-template-columns: 1fr; max-width: 640px; }
  .p-gallery { column-count: 2; }
}
@media (max-width: 860px) {
  .p-offer { grid-template-columns: minmax(0, 1fr); margin-top: 230px; }
  .p-offer-img { position: relative; right: auto; order: -1; height: auto; width: 88%; max-width: 360px; margin: -210px auto 16px; }
}
@media (max-width: 860px) {
  .p-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .p-eq { order: 2; }
  .p-event-card { grid-template-columns: 1fr; }
  .p-event-date { flex-direction: row; justify-content: flex-start; gap: 18px; padding: 22px 24px; text-align: left; align-items: baseline; }
  .p-event-date .d { font-size: 76px; }
  .p-event-date .m { font-size: 24px; margin: 0; }
  .p-event-date .y { margin: 0 0 0 auto; }
  .p-rays { right: -380px; opacity: .85; }
  .p-ticks { display: none; } /* на телефоне штрихи ложатся на текст */
  .p-num-grid { grid-template-columns: 1fr; gap: 28px; }
  .p-lightbox { padding: 56px 12px; }
  .p-lb-nav { width: 38px; height: 54px; margin-top: -27px; }
}
@media (max-width: 560px) {
  .p-dresscode-guide { grid-template-columns: 1fr; gap: 32px; }
  .p-organizers-grid { grid-template-columns: 1fr; gap: 24px; }
  .p-nom-list { grid-template-columns: 1fr; }
  .p-game-stats { grid-template-columns: 1fr; gap: 14px; }
  .p-game-stats li { flex-direction: row; align-items: baseline; gap: 14px; padding-top: 10px; }
  .p-game-stats b { font-size: 52px; min-width: 1.3em; }
  .p-game-stats span { font-size: 17px; }
  .p-section, .p-partners { padding-top: 64px; padding-bottom: 64px; }
  .p-event { padding: 64px 0 72px; }
  .p-btn--lg { padding: 18px 26px; font-size: 17px; }
  .p-event-actions .p-btn, .p-cta .p-btn { width: 100%; white-space: normal; }
  .p-gallery { column-gap: 12px; }
  .p-ph { margin-bottom: 12px; }
  .p-ph figcaption { padding: 9px 10px 11px; font-size: 12px; letter-spacing: .05em; }
  .p-stripes { height: 28px; }
  .p-offer-btns { gap: 10px; }
  .p-offer-btns .p-btn { flex: 1 1 0; width: auto; white-space: normal; text-align: center; padding: 16px 10px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-wave rect { animation: none; }
}
