/* Финалы 8 декабря. Гамма и шрифты — от лендинга antifake (графит, бумага, лайм), фиолетовый — от neirocup.
   Один файл стилей: страница короткая, лишний запрос дороже пары килобайт. */

@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('../assets/fonts/manrope-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('../assets/fonts/manrope-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('../assets/fonts/manrope-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('../assets/fonts/manrope-normal-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-italic-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-normal-700.woff2') format('woff2'); }

:root {
  --ink: #202521; --night: #101413; --forest: #202922; --paper: #f5f6f1; --sage: #e8ecdf; --line: #cdd4c4;
  --lime: #cefa69; --lime-d: #b8e851; --muted: #5d6855; --violet: #493763; --violet-l: #ede7fb; --err: #b3261e;
  --head: 'Montserrat', Arial, sans-serif; --body: 'Manrope', Arial, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); font-synthesis: none; }
body.is-locked { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); margin: 0; }
h2 { font-size: clamp(34px, 4.4vw, 62px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #587329; outline-offset: 4px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 225px; min-height: 58px; padding: 18px 28px;
  border: 0; border-radius: 10px; background: var(--lime); color: var(--ink); font: 600 17px/1.2 var(--body); text-decoration: none;
  transition: background .2s, transform .2s; }
.btn:hover { background: var(--lime-d); }
.btn:active { transform: scale(.98); }
.btn--small { min-width: 0; min-height: 0; padding: 13px 20px; font-size: 14px; }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: #394632; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: #20252110; }
.btn--wide { width: 100%; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 10; height: 88px; padding: 0 4%; display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid #dde1d6; }
.brands { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.brands__rsv { width: 120px; height: 58px; object-fit: contain; }
.brands__mark { width: auto; height: 46px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- первый экран ---------- */
.hero { margin: 18px 22px 0; padding: 56px 5vw; border-radius: 22px; background: var(--night); color: #fff; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 5vw; align-items: center; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, #cefa6922, transparent); pointer-events: none; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 100px; background: #ffffff12;
  border: 1px solid #ffffff22; font-size: 14px; font-weight: 500; color: #e5ebe1; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #cefa6933; }
.hero h1 { margin: 26px 0 24px; font-size: clamp(36px, 4.1vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; }
.hero__lead { max-width: 560px; font-size: 18px; line-height: 1.55; color: #c8cfca; }
.hero__lead b { display: inline-block; margin-bottom: 4px; font-size: 1.15em; font-weight: 700; color: #fff; }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero__note { font-size: 14px; color: #a9b3ab; max-width: 200px; line-height: 1.4; }

/* Билет: дата и место — главное, что человек ищет на странице события */
.ticket { position: relative; z-index: 1; background: var(--lime); color: var(--ink); border-radius: 22px; padding: 30px 30px 26px; transform: rotate(3deg);
  box-shadow: 0 30px 80px #0008; max-width: 420px; justify-self: center; width: 100%; }
.ticket__top { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; }
.ticket__label { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.ticket__day { font: 700 clamp(110px, 11vw, 150px)/.85 var(--head); letter-spacing: -.06em; }
.ticket__month { font: 600 clamp(26px, 2.5vw, 34px)/1 var(--head); letter-spacing: -.03em; padding-bottom: 10px; }
.ticket__cut { position: relative; margin: 26px -30px 20px; border-top: 2px dashed #20252155; }
.ticket__cut::before, .ticket__cut::after { content: ''; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--night); }
.ticket__cut::before { left: -13px; } .ticket__cut::after { right: -13px; }
.ticket__rows { margin: 0; display: grid; gap: 12px; }
.ticket__rows div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.ticket__rows dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #20252199; padding-top: 3px; }
.ticket__rows dd { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.35; }
.ticket__stamp { position: absolute; right: 22px; top: 24px; width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center;
  font: 700 15px/1 var(--head); letter-spacing: .08em; transform: rotate(-14deg); opacity: .85; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 28px 6% 0; }
.facts span { border: 1px solid #aeb8a5; border-radius: 12px; padding: 20px 16px; text-align: center; font-size: 15px; color: var(--muted); line-height: 1.4; }
.facts b { display: block; font: 500 clamp(18px, 1.6vw, 23px)/1.25 var(--head); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }

.section { padding: 96px 6%; scroll-margin-top: 20px; }

/* ---------- для кого ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6%; align-items: start; }
.audience h2 { text-wrap: balance; }
.who { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.who li { padding: 12px 18px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.35; }
.perks { background: var(--sage); border-radius: 20px; padding: 36px; }
.perks__title { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 22px; }
.perks__list { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: p; display: grid; gap: 4px; }
.perks__list li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #20252115;
  font-size: 17px; font-weight: 500; line-height: 1.35; }
.perks__list li::before { content: counter(p); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; font: 600 16px/1 var(--head); }
.perks__list li.perks__hot::before { background: var(--lime); }
.perks__list li:last-child { border-bottom: 0; }

/* ---------- программа ---------- */
.program { background: var(--forest); color: #f5f6f1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 7%; align-items: start; }
.program__head { position: sticky; top: 120px; }
.program__head p { margin: 22px 0 32px; color: #c1cbbb; font-size: 17px; max-width: 380px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid #ffffff22; }
.timeline li:last-child { border-bottom: 1px solid #ffffff22; }
.timeline time { font: 600 19px/1.4 var(--head); color: var(--lime); letter-spacing: -.01em; font-variant-numeric: tabular-nums; padding-top: 2px; }
.timeline h3 { font-size: clamp(20px, 1.95vw, 27px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.timeline p { margin-top: 8px; font-size: 16px; color: #a9b6a3; }
.tag { display: inline-block; margin-bottom: 10px; padding: 5px 11px; border-radius: 6px; background: #ffffff14; font-size: 13px; font-weight: 600; color: #dfe8d6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tags .tag { margin: 0; }
.timeline__main .tag.tag--vote { background: var(--ink); color: var(--lime); }
/* Шоу: фото группы со ссылкой на клипы, блок выделен — «известную группу подсветить» (ТЗ) */
.party { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: center; }
.party__photo { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 640 / 513; background: #fff; }
.party__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.party__photo:hover img { transform: scale(1.04); }
.party__play { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 100px;
  background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; }
.timeline__main, .timeline__party { border-radius: 16px; padding: 26px 22px !important; margin: 10px -22px; border: 0 !important; }
.timeline__main { background: var(--lime); color: var(--ink); }
.timeline__main time, .timeline__main p { color: var(--ink); }
.timeline__main .tag { background: #2025211a; color: var(--ink); }
.timeline__party { background: var(--violet); box-shadow: 0 0 0 2px var(--lime), 0 18px 50px #cefa6926; }
.timeline__party time { color: #d8c9f5; }

/* ---------- место ---------- */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6%; align-items: center; }
.place h2 { text-wrap: balance; }
.place__addr { margin: 20px 0 26px; font: 500 22px/1.3 var(--head); letter-spacing: -.02em; }
.rules { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.rules li { position: relative; padding: 0 0 0 30px; font-size: 16px; color: var(--muted); }
.rules li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--lime); box-shadow: inset 0 0 0 1.5px #587329; }
.rules b { color: var(--ink); font-weight: 600; }
/* Фото зала Connect и настоящая Яндекс Карта (виджет, грузится только при прокрутке до блока) */
.place__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.place__photo { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 22px; }
.map { border-radius: 22px; overflow: hidden; background: #e3e8da; box-shadow: inset 0 0 0 1px var(--line); }
.map__frame { display: block; width: 100%; height: 300px; border: 0; }
.map__link { display: block; padding: 14px 20px; background: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.map__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- чемпионаты ---------- */
.champs { padding-top: 40px; }
.champs__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.champs__head h2 { max-width: 780px; text-wrap: balance; }
.champs__deadline { font-size: 18px; color: var(--muted); }
.champs__deadline b { color: var(--ink); background: var(--lime); padding: 2px 8px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.champs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
/* Чемпионаты: картинка с названием поверх, под ней кнопка «Подробнее» (ТЗ) */
.champ { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.champ__pic { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--night); }
.champ__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.champ:hover .champ__pic img { transform: scale(1.03); }
.champ__over { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 60px 26px 22px;
  background: linear-gradient(180deg, transparent, rgba(16, 20, 19, .88)); color: #fff; }
.champ__kicker { font-size: 14px; color: #dfe5dc; line-height: 1.4; }
.champ__title { font: 600 clamp(24px, 2.4vw, 34px)/1.1 var(--head); letter-spacing: -.035em; }
.champ__more { align-self: flex-start; }

.final { margin: 0 22px; padding: 80px 6%; border-radius: 22px; background: var(--lime); text-align: center; }
.final h2 { font-size: clamp(40px, 6vw, 86px); }
.final em { font-style: italic; font-weight: 500; }
.final p { margin: 20px auto 34px; max-width: 520px; font-size: 18px; }

/* Подвал: все логотипы чёрно-белые, со ссылками из ТЗ */
.footer { margin-top: 60px; background: #fff; color: var(--ink); padding: 50px 6% 44px; border-top: 1px solid #e3e6dd; text-align: center; }
.footer__title { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.footer__brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; max-width: 1180px; margin: 0 auto 34px; }
.footer__logo { display: flex; align-items: center; opacity: .9; transition: opacity .2s; }
.footer__logo:hover { opacity: 1; }
.footer__logo img { height: 46px; width: auto; }
.footer__logo--iri img { height: 30px; }
.footer__info p { font-size: 14px; margin-top: 8px; color: var(--muted); }
.footer a { color: var(--ink); }

/* ---------- форма ---------- */
.reg { padding: 0; border: 0; background: transparent; max-width: 640px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); color: var(--ink); overflow: visible; }
.reg::backdrop { background: #101413b3; backdrop-filter: blur(4px); }
.reg[open] { animation: reg-in .32s cubic-bezier(.2, .8, .25, 1); }
.reg[open]::backdrop { animation: fade .3s ease; }
@keyframes reg-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.reg__sheet { position: relative; background: var(--paper); border-radius: 24px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 36px 36px 30px; box-shadow: 0 40px 100px #0008; }
.reg__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sage); font-size: 26px; line-height: 1; z-index: 2; }
.reg__close:hover { background: #dbe1d1; }
.reg__kicker { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.reg__head h2 { font-size: clamp(30px, 4vw, 40px); margin: 6px 0 24px; }
.reg__alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #6c1712; font-size: 15px; font-weight: 500; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; position: relative; }
.field label, .field legend { display: block; padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.field input:not([type=radio]):not([type=checkbox]) { width: 100%; height: 56px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #c3cbb8; background: #fff;
  font: 500 17px/1 var(--body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:not([type=radio]):not([type=checkbox]):hover { border-color: #9fa996; }
.field input:not([type=radio]):not([type=checkbox]):focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px #cefa6999; }
.field.is-ok input:not([type=radio]):not([type=checkbox]) { border-color: #7d9b46; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23587329' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; padding-right: 44px; }
.field.is-bad input:not([type=radio]):not([type=checkbox]) { border-color: var(--err); box-shadow: 0 0 0 4px #b3261e1a; }
.field__hint { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.field__err { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--err); line-height: 1.35; }
.field__err:empty { display: none; }
.field__fix { margin-top: 8px; padding: 8px 12px; border-radius: 8px; border: 1px dashed #7d9b46; background: #f3fbe2; font-size: 14px; text-align: left; }
.field__fix b { text-decoration: underline; }
.field.is-bad .field__hint { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0 !important; font-weight: 500 !important; }
.chip input, .slot input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 100px; background: #fff; border: 1.5px solid #c3cbb8; font-size: 15px;
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s; user-select: none; }
.chips--small .chip span { min-height: 40px; padding: 0 14px; font-size: 14px; }
.chip:hover span { border-color: #9fa996; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before { content: '✓'; margin-right: 7px; color: var(--lime); font-weight: 700; }
.chip input:focus-visible + span, .slot input:focus-visible ~ .slot__time, .check input:focus-visible + span::before { outline: 3px solid #587329; outline-offset: 3px; }
.chip input:active + span { transform: scale(.97); }

.slots { display: grid; grid-template-columns: 1fr; gap: 10px; }
.slot__time b { font-weight: inherit; white-space: nowrap; }
.consent-who { font-style: normal; }
.check--optional { margin-top: 14px; font-weight: 400 !important; }
.consent-who[hidden] { display: none; }
.field .slot { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 18px 16px 16px; border-radius: 14px; background: #fff; border: 1.5px solid #c3cbb8;
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s; font-weight: 400; }
.slot:hover { border-color: #9fa996; }
.slot__time { font: 600 18px/1.2 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slot__what { font-size: 13px; line-height: 1.4; color: var(--muted); }
.slot__badge { position: absolute; top: -10px; right: 12px; padding: 3px 9px; border-radius: 100px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.slot:has(input:checked) { border-color: var(--ink); background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink) inset; }
.slot:has(input:checked) .slot__what { color: var(--ink); }
.slot:active { transform: scale(.985); }

.field.is-bad .chip span, .field.is-bad .slot { border-color: var(--err); }
.reg__doc { margin: 4px 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--sage); font-size: 14px; line-height: 1.45; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: 15px !important; cursor: pointer; position: relative; }
.check span::before { content: ''; flex: none; display: inline-block; width: 24px; height: 24px; margin: -1px 12px 0 0; vertical-align: -6px; border-radius: 7px; border: 1.5px solid #9fa996; background: #fff center / 16px no-repeat;
  transition: background-color .15s, border-color .15s; }
.check input:checked + span::before { background-color: var(--ink); border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23cefa69' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field.is-bad .check span::before { border-color: var(--err); }
.check a { text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.reg__submit { margin-top: 4px; }
/* Помощники формы (kit/form-kit.css) — в цветах лендинга */
.reg__form { --fk-ink: var(--ink); --fk-hover: var(--sage); --fk-muted: var(--muted); --fk-typo-bg: #f3fbd9; --fk-accent: var(--ink); --fk-radius: 10px; }
/* Значок SmartCaptcha скрыт (hideShield) — по условиям Яндекса вместо него строка со ссылкой */
.captcha-note { margin: 12px 0 0; font-size: 12px; line-height: 1.35; opacity: .6; text-align: center; }
.captcha-note a { color: inherit; text-underline-offset: 2px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #20252140; border-top-color: var(--ink); animation: spin .7s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending .reg__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Экран «Ты в списке» */
.done { text-align: center; padding: 10px 0 4px; }
.done__check svg { width: 84px; height: 84px; margin: 6px auto 16px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle { fill: var(--lime); stroke: var(--ink); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s ease-out forwards; }
.done__check path { stroke: var(--ink); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .45s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font-size: clamp(32px, 5vw, 44px); font-weight: 600; letter-spacing: -.035em; outline: 0; }
.done__text { margin: 10px auto 24px; color: var(--muted); max-width: 420px; }
/* Письмо сортируют в «Рассылки»/«Промоакции» (11.11.2026) — подсказка, где искать */
.done__mailhint { margin: -14px auto 22px; max-width: 420px; font-size: 13px; line-height: 1.4; color: var(--muted); opacity: .85; }
.pass { text-align: left; border-radius: 18px; background: var(--night); color: #fff; overflow: hidden; }
.pass__code { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; background: var(--lime); color: var(--ink); }
.pass__code span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pass__code b { font: 700 28px/1 var(--head); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.pass__rows { margin: 0; padding: 18px 22px 20px; display: grid; gap: 12px; }
.pass__rows div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
.pass__rows dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #a9b3ab; padding-top: 3px; }
.pass__rows dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
/* Выбор календаря на компьютере (Android — сразу Google, iPhone — сразу .ics) */
.cal-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cal-menu[hidden] { display: none; }
.cal-menu__item { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 10px;
  background: var(--sage); color: var(--ink); font: 600 15px/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.cal-menu__item:hover { background: var(--line); }
.done__actions .btn { min-width: 0; }
.link { margin-top: 18px; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); font-size: 15px; }

/* ---------- появление ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- планшет ---------- */
@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .ticket { justify-self: start; max-width: 460px; transform: rotate(-2deg); }
  .party { grid-template-columns: minmax(0, 1fr) 180px; }
}
@media (max-width: 900px) {
  .nav > a:not(.btn) { display: none; }
  .section { padding: 70px 5%; }
  .audience, .program, .place { grid-template-columns: 1fr; gap: 40px; }
  .program__head { position: static; }
}

/* ---------- телефон ---------- */
@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  /* На телефоне шапка не прилипает: при прокрутке она закрывала текст (замечание организаторов) */
  .header { position: static; height: 64px; padding: 0 12px; background: var(--paper); backdrop-filter: none; border-bottom: 0; }
  .brands { gap: 10px; }
  .brands__rsv { width: 72px; height: 40px; }
  .brands__mark { height: 32px; }
  .btn--small { padding: 12px 14px; font-size: 13px; }
  .hero { margin: 10px 10px 0; padding: 30px 22px 40px; border-radius: 18px; }
  .hero h1 { font-size: clamp(30px, 9vw, 44px); margin: 22px 0 18px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { display: grid; gap: 12px; margin-top: 26px; }
  .hero__actions .btn { width: 100%; }
  .hero__note { max-width: none; text-align: center; }
  .ticket { padding: 24px 22px 22px; transform: rotate(-1.5deg); justify-self: stretch; }
  .ticket__cut { margin: 20px -22px 16px; }
  .ticket__stamp { width: 62px; height: 62px; font-size: 13px; right: 18px; top: 20px; }
  .section { padding: 56px 16px; }
  h2 { font-size: 32px; line-height: 1.14; }
  .who li { font-size: 14px; padding: 10px 14px; }
  .perks { padding: 26px 20px; margin: 0 -6px; }
  .perks__list li { font-size: 16px; grid-template-columns: 34px 1fr; }
  .perks__list li::before { width: 34px; height: 34px; font-size: 14px; }
  .perks .btn { width: 100%; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .timeline__main, .timeline__party { margin: 10px -10px; padding: 22px 16px !important; }
  .timeline h3 { font-size: 19px; }
  .timeline p { font-size: 14px; }
  .party { grid-template-columns: 1fr; gap: 16px; }
  .program .btn, .place .btn { width: 100%; }
  .place__addr { font-size: 19px; }
  .map__frame { height: 260px; }
  .champs { padding-top: 20px; }
  .champs__head { margin-bottom: 26px; }
  .champs__grid { grid-template-columns: 1fr; gap: 26px; }
  .champ__over { padding: 40px 18px 16px; }
  .champ__title { font-size: 22px; }
  .champ__kicker { font-size: 13px; }
  .champ__more { width: 100%; }
  .final { margin: 0 10px; padding: 56px 20px; }
  .final h2 { font-size: 40px; }
  .final p { font-size: 16px; }
  .final .btn { width: 100%; }
  .footer { padding: 36px 16px; }
  .footer__brands { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; justify-items: center; }
  .footer__logo img { height: 34px; max-width: 100%; object-fit: contain; }
  .footer__logo--iri img { height: 22px; }

  /* Форма на телефоне — шторка снизу во весь экран */
  .reg { width: 100%; max-width: none; max-height: 100dvh; margin: auto 0 0; }
  .reg[open] { animation: sheet-in .34s cubic-bezier(.2, .8, .25, 1); }
  @keyframes sheet-in { from { transform: translateY(40%); opacity: 0; } }
  .reg__sheet { border-radius: 22px 22px 0 0; max-height: 96dvh; padding: 26px 16px calc(18px + env(safe-area-inset-bottom)); }
  .reg__close { right: 10px; top: 10px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .field .slot { padding: 14px; }
  .done__actions { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 28px; }
  .ticket__day { font-size: 96px; }
  .brands__mark { height: 28px; }
}
@media (min-width: 1600px) { body { max-width: 1800px; margin: 0 auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .done__check circle, .done__check path { stroke-dashoffset: 0; }
}
