/* =========================================================
   Trustee Awards 2026
   ========================================================= */

/* Фірмовий шрифт заголовків Kharkiv Tone (assets/fonts/KharkivTone.ttf).
   Unbounded з Google Fonts — запасний варіант. */
@font-face {
  font-family: 'Kharkiv Tone';
  src: url(../fonts/KharkivTone.ttf) format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Kharkiv Tone', 'Unbounded', 'Inter', sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --yellow: #FFB400;
  --yellow-dark: #F0A500;
  --yellow-text: #F2A900;
  --green: #1FA30E;
  --ink: #141414;
  --text: #2A2A2A;
  --muted: #8A8A8A;
  --line: #E9E6DE;
  --ring: #CFCBC3;
  --beige: #F9F8F4;
  --card: #FAF9F5;
  --card-border: #F6EAC6;
  --chip: #F5F4EF;
  --radius: 16px;
  --container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.45; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 16px; }
.section--beige { background: var(--beige); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 0 28px; height: 46px; font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--ink); white-space: nowrap; transition: background .2s, transform .2s, box-shadow .2s; }
.btn--primary { background: var(--yellow); }
.btn--primary:hover { background: var(--yellow-dark); box-shadow: 0 8px 24px -10px rgba(240, 165, 0, .7); }
.btn--ghost { background: #fff; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--outline { background: transparent; border: 1px solid var(--yellow); color: var(--yellow); }
.btn--outline:hover { background: rgba(255, 180, 0, .08); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 94px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: .01em; flex-shrink: 0; line-height: 1; }
.logo__img { height: 33px; width: auto; display: block; }
.logo__text { position: relative; top: 1px; }
.logo__mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo__star { width: 32px; height: 32px; margin: 0 4px; }
.logo--dark { color: #fff; }
.nav { display: flex; gap: 30px; font-size: 16px; color: var(--ink); }
.nav a:hover { color: var(--yellow-dark); }
.nav__cta-mobile { display: none !important; }
.header__right { display: flex; align-items: center; gap: 26px; }
.header__cta { min-width: 175px; }
.langsw { position: relative; }
.langsw__btn { display: inline-flex; padding: 4px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; transition: color .2s; }
.langsw__btn:hover, .langsw.is-open .langsw__btn { color: var(--yellow-dark); }
.langsw__panel { position: absolute; top: calc(100% + 12px); right: -10px; z-index: 60; min-width: 176px; padding: 6px 18px; background: #FAF9F5; border: 1px solid var(--yellow); border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .25); animation: pop .18s ease; }
.langsw__panel[hidden] { display: none; }
.langsw__item { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 16px; color: #7D7B76; white-space: nowrap; transition: color .2s; }
.langsw__item + .langsw__item { border-top: 1px dashed #DEDBD3; }
.langsw__item img { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.langsw__item:hover { color: var(--ink); }
.langsw__item.is-active { color: var(--yellow); }
.nav__langs { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section title ---------- */
.section-title { display: flex; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 400; font-size: 50px; line-height: 1.1; color: var(--ink); margin-bottom: 36px; }
.section-title img { width: 62px; height: 62px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; display: flex; align-items: center; min-height: 726px; }
.hero__content { position: relative; z-index: 2; max-width: 780px; padding: 60px 0 80px; }
/* Мета-рядок над заголовком: цифри шрифтом Kharkiv Tone, між пунктами — зірочка-орнамент */
.chips { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 0; list-style: none; padding: 0; margin: 0 0 30px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.15; color: var(--ink); }
.chips li + li::before { content: ''; flex: 0 0 20px; height: 20px; margin: 0 18px 0 8px; background: url(../img/star.svg) center / contain no-repeat; opacity: .9; }
.chips b { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.chips img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--card-border); }
.hero__title { max-width: 820px; font-family: var(--font-display); font-weight: 400; font-size: 62px; line-height: 1.17; text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.hero__star { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -.22em; }
.hero__lead { margin-top: 26px; font-size: 24px; line-height: 1.42; color: var(--ink); max-width: 690px; }
.hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.hero__note { position: relative; padding-left: 20px; font-size: 16px; color: var(--ink); }
.countdown { display: flex; flex-direction: column; gap: 4px; }
.countdown__label { font-size: 14px; color: var(--muted); }
.countdown__time { display: flex; gap: 12px; font-family: var(--font-display); color: var(--ink); }
.countdown__time span { display: inline-flex; align-items: baseline; gap: 3px; }
.countdown__time b { font-weight: 400; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__time small { font-family: var(--font); font-size: 13px; color: var(--muted); }
.countdown:not(:has(.countdown__time)) .countdown__label { font-size: 16px; color: var(--ink); }
.hero__note::before { content: ''; position: absolute; left: 0; top: -6px; bottom: -6px; width: 2px; background: var(--yellow); border-radius: 2px; }
.hero__visual { position: absolute; right: 16px; top: 10px; bottom: 0; width: 440px; background: url(../img/ornament.webp) center top / 421px auto repeat-y; }
.hero__trophy { position: absolute; left: -10px; top: 56px; width: 433px; height: auto; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatCard { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(-8px); } }

/* ---------- About ---------- */
.about { padding: 60px 0 60px; }
.about .section-title { margin-bottom: 30px; }
.about__grid { display: grid; grid-template-columns: 560px 1fr; gap: 40px; }
.about__lead { font-size: 22px; font-weight: 600; line-height: 1.42; color: var(--ink); }
.about__text { font-size: 18px; line-height: 1.4; color: var(--ink); max-width: 540px; }

/* ---------- Nomination cards ---------- */
.nominations { padding: 110px 0 110px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 20px 20px 18px; min-height: 237px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(120, 90, 0, .35); border-color: #EFD48A; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; height: 70px; }
.card__num { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1; color: #505050; margin-top: 8px; }
.card__icon { width: auto; height: 50px; max-width: 56px; object-fit: contain; margin: -4px -4px 0 0; }
.card__title { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 8px; }
.card__desc { font-size: 15.5px; line-height: 1.18; color: var(--ink); }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--yellow-text); font-weight: 600; font-size: 15px; }
.card__desc + .card__foot, .winner + .card__foot { margin-top: auto; }
.card > p, .card > .winner { margin-bottom: 14px; }
.card__arrow { transition: transform .25s; }
.card:hover .card__arrow { transform: translateX(4px); }
.card--voted .card__foot { color: var(--green); }

.winner { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--card-border); border-radius: 12px; }
.winner__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 15px; }
.winner__avatar img { width: 100%; height: 100%; object-fit: cover; }
.winner__info { display: flex; flex-direction: column; min-width: 0; }
.winner__info small { font-size: 12px; color: var(--yellow-text); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.winner__info b { font-size: 16px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.card--winner { background: linear-gradient(180deg, #FFF8E4 0%, var(--card) 60%); }

/* ---------- Stages ---------- */
.stages { position: relative; overflow: hidden; padding: 110px 0 60px; }
.stages__ornament { position: absolute; left: 100px; top: 40px; bottom: 0; width: 421px; background: url(../img/ornament.webp) center top / 421px auto repeat-y; opacity: .55; }
.stages__inner { position: relative; display: flex; align-items: center; min-height: 860px; }
.stages__badge { position: relative; flex: 0 0 370px; height: 370px; margin-right: 46px; }
.stages__badge-circle { position: absolute; inset: 0; border: 2px solid var(--ring); border-radius: 50%; display: grid; place-items: center; }
.stages__badge-circle::before { content: ''; position: absolute; inset: 15px; background: #fff; border-radius: 50%; }
.stages__badge-circle h2 { position: relative; font-family: var(--font-display); font-weight: 400; font-size: 43px; line-height: 1.22; text-align: center; color: var(--ink); max-width: 290px; }
.stages__badge-star { position: absolute; left: 50%; top: -30px; width: 86px; height: 86px; margin-left: -43px; z-index: 2; }
.stages__list { position: relative; flex: 1; padding: 20px 0; }
.stages__arc { position: absolute; left: -1077px; top: -220px; width: 1216px; height: 1216px; border: 2px solid var(--ring); border-radius: 50%; pointer-events: none; }
.step { position: relative; display: flex; align-items: flex-start; gap: 18px; height: 160px; }
.step--2, .step--4 { margin-left: 70px; }
.step--3 { margin-left: 91px; }
.step__num { position: relative; flex: 0 0 96px; height: 96px; border-radius: 50%; border: 2px solid var(--ring); background: var(--beige); display: grid; place-items: center; }
.step__num span { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 300; font-size: 28px; color: var(--yellow); }
.step__body { padding-top: 0; max-width: 640px; }
.step__title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 30px; font-weight: 600; line-height: 1.12; color: var(--ink); }
.step__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.pill { display: inline-block; background: #fff; border-radius: 20px; padding: 9px 20px; font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.2; }
.step__lead { margin-top: 10px; font-size: 19px; color: var(--ink); }
.step__text { margin-top: 6px; font-size: 16px; font-style: italic; color: var(--muted); line-height: 1.2; }
.step.is-active .step__title { color: var(--green); }
.step.is-active .pill { color: var(--green); }
.step.is-active .step__num { border-color: var(--yellow); }
.step.is-done .step__title { color: var(--muted); }

/* ---------- Jury ---------- */
.jury { padding: 110px 0 110px; }
.jury .section-title { margin-bottom: 26px; }
.jury__intro { font-size: 18px; line-height: 1.4; color: var(--ink); max-width: 1130px; margin-bottom: 34px; }
.placeholder { border: 1px dashed #9B9B9B; border-radius: var(--radius); background: var(--beige); padding: 48px 20px; text-align: center; font-size: 18px; color: var(--ink); }
.jury__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.juror { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid #F3DFA0; border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
a.juror:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(160, 110, 0, .45); }
.juror__photo { aspect-ratio: 268 / 250; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-size: 48px; color: var(--ink); }
.juror__photo img { width: 100%; height: 100%; object-fit: cover; }
.juror__body { display: flex; flex-direction: column; padding: 18px 20px 24px; }
.juror__name { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--ink); }
.juror__role { font-size: 16px; color: var(--muted); margin-top: 8px; }
.juror__bio { font-size: 14px; line-height: 1.3; color: var(--ink); margin-top: 10px; }

/* ---------- Media ---------- */
.media { padding: 100px 0 160px; }
.media__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.media__item { display: grid; place-items: center; height: 94px; background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 16px 24px; transition: transform .2s, box-shadow .2s; }
a.media__item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .3); }
.media__item img { max-height: 44px; max-width: 86%; object-fit: contain; }
.media__name { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }

/* ---------- Promo (Trustee Plus) ---------- */
.promo { position: relative; background: #000; color: #fff; overflow: hidden; }
.promo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 760px 300px at 70% 112%, rgba(255, 180, 0, .75) 0%, rgba(255, 180, 0, .22) 45%, transparent 72%); pointer-events: none; }
.promo__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 380px; }
.promo__text { position: relative; z-index: 2; padding: 56px 0; flex-shrink: 0; }
.promo__title { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: .005em; }
.promo__lead { margin-top: 20px; font-size: 22px; line-height: 1.35; font-weight: 500; }
.promo__actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: nowrap; }
.store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: #fff; font-size: 16px; font-weight: 600; line-height: 1; transition: background .2s; }
.store:hover { background: rgba(0, 0, 0, .6); }
.store span { display: flex; flex-direction: column; }
.store small { font-size: 8px; font-weight: 500; margin-bottom: 2px; }
/* Композиція: телефон «виростає» з нижнього краю банера, картка й монети навколо */
.promo__visual { position: relative; flex: 0 0 520px; align-self: stretch; min-height: 380px; }
.promo__stage { position: absolute; left: 0; bottom: 0; width: 520px; height: 380px; }
.promo__glow { position: absolute; left: 130px; bottom: -140px; width: 380px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 40, .85), rgba(255, 170, 0, .25) 60%, transparent); filter: blur(10px); }
.promo__phone { position: absolute; left: 200px; bottom: -120px; width: 290px; z-index: 2; transform: rotate(4deg); transform-origin: bottom center; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 90%); mask-image: linear-gradient(to bottom, #000 62%, transparent 90%); }
.promo__card { position: absolute; left: -90px; bottom: -70px; width: 480px; z-index: 3; transform: rotate(-14deg); filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .65)); animation: floatCard 8s ease-in-out infinite; }
.promo__coin { position: absolute; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.promo__coin--btc { left: 34px; top: 46px; width: 118px; z-index: 1; animation: float 7s ease-in-out infinite reverse; }
.promo__coin--eth { left: 200px; top: 6px; width: 84px; z-index: 1; animation: float 9s ease-in-out -3s infinite; }
.promo__coin--usdc { right: 0; top: 56px; width: 100px; z-index: 3; animation: float 6s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { background: #000; color: #fff; border-top: 1px solid #2A2A2A; }
.footer__grid { display: grid; grid-template-columns: 1.65fr .55fr .95fr 1fr .6fr; gap: 30px; padding-top: 42px; padding-bottom: 50px; }
.footer__brand p { margin-top: 20px; font-size: 16px; line-height: 1.3; color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.footer__col h4 { font-weight: 400; color: #A7A7A7; text-transform: uppercase; font-size: 16px; margin: 6px 0 0; }
.footer__col a:hover { color: var(--yellow); }
.ext { font-style: normal; margin-left: 4px; }
.footer__copy { background: #111; text-align: center; padding: 20px 16px; font-size: 16px; }

/* ---------- Cookie / toast ---------- */
.toast { position: fixed; top: 108px; left: 50%; transform: translateX(-50%); z-index: 90; padding: 14px 22px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); animation: toast 5s forwards; max-width: calc(100% - 32px); }
.toast--ok { background: var(--green); }
.toast--err { background: #D33A2C; }
@keyframes toast { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* ---------- Inner pages ---------- */
.page { padding: 60px 0 110px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.page__title { font-family: var(--font-display); font-weight: 300; font-size: 44px; line-height: 1.15; color: var(--ink); }
.page__sub { margin-top: 14px; font-size: 18px; color: var(--ink); max-width: 720px; }
.page__icon { width: 96px; height: 96px; border-radius: 24px; background: var(--card); border: 1px solid var(--card-border); display: grid; place-items: center; flex-shrink: 0; }
.page__icon img { max-width: 56px; max-height: 56px; }
.prose { max-width: 820px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.4em 0 .6em; }
.prose a { color: var(--yellow-dark); text-decoration: underline; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 180, 0, .18); }
.field .hint { font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .cf-turnstile { margin-bottom: 20px; }
.aside { background: var(--beige); border-radius: 20px; padding: 28px; }
.aside h3 { font-size: 20px; margin-bottom: 14px; color: var(--ink); }
.aside ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; }
.alert--err { background: #FDECEA; color: #A52A1F; }
.alert--ok { background: #E8F7E6; color: #17710B; }
.success { text-align: center; padding: 60px 20px; }
.success img { width: 86px; margin: 0 auto 24px; }
.success h2 { font-family: var(--font-display); font-weight: 300; font-size: 36px; color: var(--ink); margin-bottom: 14px; }
.success p { font-size: 18px; margin-bottom: 30px; }
.success .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Nominees list */
.nominees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nominee { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; }
.nominee__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.nominee__photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--ink); }
.nominee__photo img { width: 100%; height: 100%; object-fit: cover; }
.nominee__name { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.nominee__link { font-size: 14px; color: var(--yellow-dark); word-break: break-all; }
.nominee__link:hover { text-decoration: underline; }
.nominee__desc { font-size: 15px; line-height: 1.35; color: var(--ink); margin-bottom: 18px; }
.nominee__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.nominee__votes { font-size: 14px; color: var(--muted); }
.nominee__bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-top: 6px; width: 120px; }
.nominee__bar i { display: block; height: 100%; background: var(--yellow); border-radius: 6px; }
.nominee form { margin: 0; }
.nominee.is-mine { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 163, 14, .12); }
.nominee.is-winner { border-color: var(--yellow); background: linear-gradient(180deg, #FFF6DA 0%, var(--card) 70%); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.badge--green { background: #E8F7E6; color: var(--green); }
.badge--yellow { background: var(--yellow); color: var(--ink); }
.empty { padding: 48px 20px; text-align: center; border: 1px dashed #B5B5B5; border-radius: var(--radius); background: var(--beige); font-size: 17px; }
.vote-note { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px; background: var(--beige); margin-bottom: 30px; font-size: 15px; flex-wrap: wrap; }
.share { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); background: transparent; border: 0; padding: 0; }
.share:hover { color: var(--ink); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .hero__title { font-size: 50px; max-width: 640px; }
  .hero__content { max-width: 640px; }
  .hero__visual { width: 380px; right: -20px; }
  .hero__trophy { width: 380px; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 20px; }
  .header__cta { min-width: 0; }
  .stages__badge { flex-basis: 300px; height: 300px; margin-right: 24px; }
  .stages__badge-circle h2 { font-size: 34px; }
  .step__title { font-size: 28px; }
  .promo__title { font-size: 60px; }
  .promo__visual { flex-basis: 440px; }
  .promo__stage { transform: scale(.85); transform-origin: left bottom; }

  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 992px) and (max-width: 1140px) {
  .promo__visual { flex-basis: 360px; }
  .promo__stage { transform: scale(.68); }
}

@media (max-width: 991px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #FAF9F5; padding: 8px 16px 20px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .nav__cta-mobile { display: inline-flex !important; margin-top: 16px; border: 0; }
  .burger { display: flex; }
  .header__inner { height: 72px; }
  .header__cta, .langsw { display: none; }
  .nav .nav__langs { display: flex; gap: 10px; padding: 16px 0 4px; border-bottom: 0; }
  .nav__langs a { display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 14px !important; border: 1px solid var(--line) !important; border-radius: 30px; font-size: 15px !important; color: #7D7B76; }
  .nav__langs a.is-active { border-color: var(--yellow) !important; color: var(--yellow-dark); }
  .nav__langs img { width: 22px; height: 22px; border-radius: 50%; }
  .logo { font-size: 16px; gap: 6px; }
  .logo__star { width: 24px; height: 24px; }
  .logo__img { height: 27px; }

  .hero__inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__content { padding: 36px 0 0; max-width: none; }
  .hero__visual { position: relative; right: auto; top: auto; width: 100%; height: 440px; margin: 10px 0 0; background-position: center top; }
  .hero__trophy { left: 50%; top: 10px; width: 300px; margin-left: -150px; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .media__grid, .jury__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nominees { grid-template-columns: repeat(2, 1fr); }

  .stages { padding: 70px 0; }
  .stages__ornament { left: -100px; }
  .stages__inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .stages__badge { flex: none; width: 280px; height: 280px; margin: 30px auto 50px; }
  .stages__badge-circle h2 { font-size: 30px; max-width: 220px; }
  .stages__arc { display: none; }
  .stages__list::before { content: ''; position: absolute; left: 35px; top: 40px; bottom: 60px; width: 2px; background: var(--ring); }
  .step { height: auto; min-height: 0; padding-bottom: 36px; }
  .step--2, .step--3, .step--4 { margin-left: 0; }
  .step__num { flex-basis: 72px; height: 72px; }
  .step__num span { width: 52px; height: 52px; font-size: 22px; }

  .promo { margin-top: 0; }
  .promo__inner { flex-direction: column; align-items: stretch; }
  .promo__inner { gap: 0; min-height: 0; }
  .promo__visual { order: -1; flex: none; width: 100%; min-height: 0; height: 330px; }
  .promo__stage { left: 50%; transform: translateX(-50%) scale(.86); transform-origin: bottom center; }
  .promo__phone { bottom: -40px; }
  .promo__glow { bottom: -60px; }
  .promo__text { padding: 10px 0 48px; }
  .promo::before { background: radial-gradient(ellipse 500px 260px at 50% 330px, rgba(255, 180, 0, .55) 0%, rgba(255, 180, 0, .15) 50%, transparent 75%); }

  .form-wrap { grid-template-columns: 1fr; }
  .page__head { flex-direction: column-reverse; }
}

@media (max-width: 640px) {
  .section-title { font-size: 28px; gap: 12px; margin-bottom: 24px; }
  .section-title img { width: 40px; height: 40px; }
  .chips { margin-bottom: 22px; gap: 10px 18px; }
  .chips li { font-size: 14px; gap: 7px; }
  .chips li + li::before { display: none; }
  .chips b { font-size: 26px; }
  .chips img { width: 22px; height: 22px; }
  .hero__title { font-size: 31px; }
  .hero__lead { font-size: 18px; margin-top: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__note { align-self: flex-start; }
  .hero__visual { height: 380px; }
  .hero__trophy { width: 250px; margin-left: -125px; }

  .about { padding: 48px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 18px; }
  .about__lead { font-size: 19px; }
  .about__text { font-size: 16px; }

  .nominations, .jury { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; }
  .card__top { height: 56px; }
  .card__num { font-size: 34px; }

  .stages__badge { width: 240px; height: 240px; }
  .stages__badge-circle h2 { font-size: 26px; }
  .stages__badge-star { width: 64px; height: 64px; margin-left: -32px; top: -24px; }
  .step { gap: 14px; }
  .step__title { font-size: 22px; gap: 10px; }
  .pill { padding: 6px 12px; font-size: 12px; }
  .step__lead { font-size: 16px; }
  .step__text { font-size: 14px; }

  .jury__intro { font-size: 16px; }
  .placeholder { padding: 34px 16px; font-size: 16px; }
  .media { padding: 64px 0 100px; }
  .media__grid { gap: 12px; }
  .media__item { height: 72px; padding: 12px; }
  .media__name { font-size: 18px; }
  .jury__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .juror__photo { font-size: 32px; }
  .juror__body { padding: 12px 12px 16px; }
  .juror__name { font-size: 15px; }
  .juror__role { font-size: 13px; margin-top: 4px; }
  .juror__bio { font-size: 12.5px; }

  .promo__title { font-size: 42px; }
  .promo__visual { height: 250px; }
  .promo__stage { transform: translateX(-50%) scale(.64); }
  .promo::before { background: radial-gradient(ellipse 360px 200px at 50% 250px, rgba(255, 180, 0, .55) 0%, rgba(255, 180, 0, .15) 50%, transparent 75%); }
  .promo__lead { font-size: 17px; }
  .promo__lead br { display: none; }
  .promo__actions { gap: 12px; flex-wrap: wrap; }
  .promo__actions .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand p br { display: none; }

  .page { padding: 36px 0 70px; }
  .page__title { font-size: 30px; }
  .form { padding: 20px; }
  .nominees { grid-template-columns: 1fr; }
}

/* ---------- Cookie bar ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #1C1C1C; color: #fff; }
.cookie[hidden] { display: none; }
.cookie__inner { display: flex; align-items: center; justify-content: center; gap: 70px; min-height: 66px; padding-top: 10px; padding-bottom: 10px; }
.cookie p { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.cookie p img { width: 36px; height: 36px; flex-shrink: 0; }
.cookie a { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }
.cookie .btn { min-width: 176px; }

/* ---------- Modal ---------- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s ease; }
.modal__box { position: relative; width: 100%; max-width: 664px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: #F3F0E8; border-radius: 24px; padding: 28px 30px 30px; animation: pop .25s cubic-bezier(.2, .9, .3, 1.2); overscroll-behavior: contain; }
.modal__close { position: absolute; top: 30px; right: 30px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); z-index: 2; transition: transform .2s; }
.modal__close:hover { transform: rotate(90deg); }
.modal__title { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.15; color: var(--ink); margin: 0 50px 22px 0; }
.modal__view--done { padding: 2px 0 0; }
.modal__view--done .modal__title { font-size: 52px; margin-bottom: 20px; }
.modal__view--done p { font-size: 20px; line-height: 1.3; color: var(--ink); margin-bottom: 14px; }
.modal__view--done p:last-child { margin-bottom: 0; }
.modal:has(.modal__view--done:not([hidden])) .modal__box { max-width: 595px; background: var(--beige); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- Nomination form ---------- */
.nform { position: relative; }
.nf-field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.nf-label { font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.nf-label i { font-style: normal; color: #E5352B; }
.nf-input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 0 20px; height: 56px; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea.nf-input { height: 70px; min-height: 70px; padding: 14px 20px; resize: vertical; line-height: 1.35; }
.nf-input::placeholder { color: #8B8B8B; }
.nf-input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 180, 0, .18); }
.nf-row { display: grid; grid-template-columns: 228px 1fr; gap: 18px; }
.nf-error { display: none; font-size: 13px; color: #D33A2C; margin-top: 6px; }
.nf-field.has-error .nf-input, .nf-field.has-error .dd__btn { border-color: #E5352B; }
.nf-field.has-error .nf-error { display: block; }
.nf-alert { padding: 12px 16px; border-radius: 10px; background: #FDECEA; color: #A52A1F; font-size: 15px; margin-bottom: 16px; }
.nf-alert[hidden] { display: none; }
.nf-submit { width: 100%; margin-top: 12px; }
.nform .cf-turnstile { margin: 4px 0 6px; }
.nform.is-picking .nf-rest { display: none; }
.nform.is-loading .nf-submit { opacity: .6; pointer-events: none; }

/* Custom dropdown */
.dd { position: relative; }
.dd select { display: none; }
.dd__btn { width: 100%; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; background: #fff; border: 1px solid transparent; border-radius: 10px; font-size: 16px; color: var(--ink); text-align: left; transition: border-color .2s; }
.dd__btn:focus-visible { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 180, 0, .18); }
.dd__btn.is-empty { color: #8B8B8B; }
.dd__btn svg { flex-shrink: 0; transition: transform .2s; color: var(--ink); }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__panel { margin-top: 14px; background: #fff; border-radius: 10px; padding: 10px 14px 10px 20px; }
.dd__panel[hidden] { display: none; }
.dd__list { list-style: none; margin: 0; padding: 0 12px 0 0; max-height: 410px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--yellow) #F0EEE8; }
.dd__list::-webkit-scrollbar { width: 4px; }
.dd__list::-webkit-scrollbar-track { background: #F0EEE8; border-radius: 4px; }
.dd__list::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 4px; }
.dd__opt { padding: 10px 0; font-size: 16px; color: var(--ink); cursor: pointer; border-bottom: 1px dashed #DEDBD3; outline: none; }
.dd__opt:last-child { border-bottom: 0; }
.dd__opt:hover, .dd__opt:focus, .dd__opt.is-active { color: var(--yellow-dark); }
.dd__opt[aria-selected="true"] { color: var(--yellow); }

/* fallback page */
.form .nform .nf-input, .form .dd__btn { border-color: var(--line); }

@media (max-width: 991px) {
  .cookie__inner { gap: 24px; }
  .cookie p { font-size: 15px; }
}
@media (max-width: 640px) {
  .cookie__inner { flex-direction: column; gap: 12px; align-items: stretch; padding-top: 14px; padding-bottom: 14px; }
  .cookie .btn { width: 100%; height: 44px; }
  .modal { padding: 12px; align-items: flex-end; }
  .modal__box { padding: 22px 18px 20px; border-radius: 20px; max-height: calc(100dvh - 24px); }
  .modal__close { top: 24px; right: 18px; width: 26px; height: 26px; }
  .modal__close svg { width: 26px; height: 26px; }
  .modal__title { font-size: 28px; margin-bottom: 18px; }
  .modal__view--done .modal__title { font-size: 34px; }
  .modal__view--done p { font-size: 17px; }
  .nf-row { grid-template-columns: 1fr; gap: 0; }
  .nf-label { font-size: 15px; margin-bottom: 8px; }
  .nf-field { margin-bottom: 14px; }
  .nf-input, .dd__btn { height: 50px; font-size: 16px; padding: 0 16px; }
  textarea.nf-input { padding: 12px 16px; }
  .dd__list { max-height: 52vh; }
}

/* Юридичні сторінки */
.prose .muted { color: var(--muted); font-size: 15px; }
.prose h2 { font-family: var(--font); font-weight: 700; font-size: 22px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--beige); font-weight: 600; }
.prose code { font-size: 13px; background: var(--beige); padding: 2px 6px; border-radius: 6px; }

.nowrap { white-space: nowrap; }

/* EN-заголовок трохи довший — зменшуємо, щоб влізло в 3 рядки */
@media (min-width: 1200px) { .lang-en .hero__title { font-size: 59px; } }

/* ---------- Список кандидатів ---------- */
.vp__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.vp__meta i { width: 10px; height: 10px; border-radius: 50%; background: #8A8A8A; }
.vp__note { color: var(--muted); }
.vp__note.is-done { color: var(--green); }
.vp__empty { padding: 30px 0 40px; color: var(--muted); font-size: 18px; }
.vp__list { list-style: none; margin: 0; padding: 0; }
.vn { display: flex; align-items: center; gap: 22px; padding: 24px 0 28px; border-bottom: 1px dashed #DEDBD3; transition: opacity .25s; scroll-margin-top: 120px; }
.vn:last-child { border-bottom: 0; }
.vn.is-dim { opacity: .45; }
.vn.is-dim:hover { opacity: .8; }
.vn__avatar { position: relative; flex: 0 0 95px; align-self: flex-start; margin-top: 2px; }
.vn__photo { width: 95px; height: 95px; border-radius: 50%; overflow: hidden; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.vn__photo img { width: 100%; height: 100%; object-fit: cover; }
.vn.is-winner .vn__photo, .vn.is-mine .vn__photo { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--yellow); }
.vn.is-mine .vn__photo { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--green); }
.vn__star { position: absolute; right: -8px; bottom: -6px; width: 36px; height: 36px; }
.vn__body { flex: 1; min-width: 0; }
.vn__name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--ink); margin-bottom: 6px; }
.vn__name a:hover { color: var(--yellow-dark); }
.vn__votes { font-family: var(--font); font-size: 14px; line-height: 1; color: #8A8A8A; background: #F1EFE9; border-radius: 10px; padding: 6px 9px; white-space: nowrap; }
.vn__badge { font-family: var(--font); font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink); background: var(--yellow); border-radius: 10px; padding: 6px 10px; white-space: nowrap; }
.vn__desc { font-size: 16px; line-height: 1.3; color: var(--ink); margin-bottom: 6px; overflow-wrap: anywhere; }
.vn__link { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--yellow); word-break: break-all; }
.vn__link:hover { text-decoration: underline; }
.vn__link svg { flex-shrink: 0; }
.vn__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.vn__btn { flex: 0 0 auto; min-width: 141px; height: 53px; padding: 0 20px; font-size: 14px; background: transparent; border: 1px solid var(--yellow); color: var(--yellow); }
.vn__btn:hover:not([disabled]) { background: var(--yellow); color: var(--ink); }
.vn__btn[disabled] { opacity: 1; cursor: default; }
.vn__btn--mine { background: var(--green); border: 1px solid var(--green); color: var(--ink); cursor: default; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 53px; height: 53px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; transition: border-color .2s, color .2s; }
.iconbtn:hover { border-color: var(--yellow); color: var(--yellow-dark); }
.iconbtn svg { flex-shrink: 0; }

/* ---------- Вікно «Підтвердити голос?» ---------- */
.modal--confirm .modal__box { max-width: 795px; background: #FAF9F5; padding: 30px; }
.modal--confirm .modal__title { font-size: 52px; margin-bottom: 26px; }
.vm__text { font-size: 20px; line-height: 1.3; color: var(--ink); margin-bottom: 22px; }
.vm__who b { font-weight: 600; color: var(--yellow); }
.vm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm__form .cf-turnstile { margin-bottom: 16px; }
/* Вхід за кодом з пошти */
.vm__auth .cf-turnstile { margin-bottom: 16px; }
.vm__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.vm__field span { font-size: 15px; font-weight: 600; color: var(--ink); }
.vm__field input, .vm__code { width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; outline: none; transition: border-color .2s, box-shadow .2s; }
.vm__field input:focus, .vm__code:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 180, 0, .18); }
.vm__code { display: block; max-width: 330px; margin-bottom: 14px; font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: .32em; text-align: center; padding: 18px 10px 16px .32em; font-variant-numeric: tabular-nums; }
.vm__code::placeholder { color: #DEDAD0; }
.vm__email { font-weight: 600; color: var(--ink); word-break: break-all; }
.vm__error { margin: -4px 0 16px; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #B3261E; font-size: 15px; }
.vm__resend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.vm__link { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.vm__link:disabled { color: var(--muted); text-decoration-color: var(--ring); cursor: default; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2.5px solid rgba(20, 20, 20, .25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* «Ви голосуєте як …» */
.voterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 26px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 15px; color: var(--text); width: fit-content; max-width: 100%; }
.voterbar__who { display: inline-flex; align-items: center; gap: 9px; }
.voterbar__who svg { color: var(--yellow-dark); flex: 0 0 auto; }
.voterbar__who b { color: var(--ink); font-weight: 600; }
.voterbar__count { color: var(--muted); }
.voterbar__out button { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ring); }
.voterbar__out button:hover { text-decoration-color: var(--yellow); }

/* ---------- Сторінки номінації / кандидата / форми ---------- */
.flow__hero { position: relative; overflow: hidden; background: var(--beige); padding: 40px 0 50px; }
.flow__hero::after { content: ''; position: absolute; right: -60px; top: 0; bottom: 0; width: 421px; background: url(../img/ornament.webp) center top / 421px auto repeat-y; opacity: .45; pointer-events: none; }
.flow__hero .container { position: relative; z-index: 1; }
.flow__hero .crumbs { margin-bottom: 30px; }
.eyebrow { display: inline-flex; align-items: center; font-size: 15px; color: var(--ink); padding: 8px 16px; background: #fff; border: 1px solid var(--card-border); border-radius: 20px; margin-bottom: 20px; }
a.eyebrow:hover { border-color: var(--yellow); }
.flow__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.flow__title { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.flow__lead { margin-top: 16px; font-size: 20px; line-height: 1.4; max-width: 720px; color: var(--ink); }
.flow__icon { flex: 0 0 120px; height: 120px; border-radius: 28px; background: #fff; border: 1px solid var(--card-border); display: grid; place-items: center; }
.flow__icon img { max-width: 64px; max-height: 64px; }
.flow__body { padding: 50px 0 100px; }
.flow__card { background: var(--card); border: 1px solid var(--card-border); border-radius: 24px; padding: 30px 34px 10px; }
.flow__card--center { text-align: center; padding: 50px 30px; }
.flow__card--center img { margin: 0 auto 24px; }
.flow__card--center .btns { display: flex; justify-content: center; }
[data-nflow] { padding: 34px; }
[data-nflow] .nf-input, [data-nflow] .dd__btn { border-color: var(--line); }
.flow__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.flow__aside { position: sticky; top: 114px; background: var(--beige); border-radius: 24px; padding: 26px 28px 30px; }
.flow__trophy { width: 150px; height: auto; margin: -6px auto 14px; }
.flow__aside h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 16px; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.howto li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.35; color: var(--ink); }
.howto b { flex: 0 0 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--ring); display: grid; place-items: center; font-family: var(--font-display); font-weight: 400; font-size: 15px; color: var(--yellow); }
.flow__sharecat { margin-top: 22px; padding-top: 18px; border-top: 1px dashed #DEDBD3; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.flow__sharecat[hidden] { display: none; }
.flow__sharecat .iconbtn { width: 100%; height: 46px; }
.flow__done { text-align: center; padding: 20px 10px 16px; }
.flow__done img { margin: 0 auto 20px; }
.flow__done-title { font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1.1; color: var(--ink); margin-bottom: 18px; }
.flow__done p { font-size: 18px; line-height: 1.4; color: var(--ink); max-width: 520px; margin: 0 auto 10px; }
.flow__done p.muted { color: var(--muted); font-size: 16px; }
.flow__done .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Кроки */
.flowsteps { list-style: none; display: flex; margin: 40px 0 0; padding: 0; max-width: 900px; }
.flowsteps li { display: flex; align-items: center; gap: 14px; font-size: 18px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.flowsteps li:not(:last-child) { flex: 1; }
.flowsteps li:not(:last-child)::after { content: ''; flex: 1; min-width: 20px; border-top: 1px dashed var(--ring); margin: 0 18px 0 4px; }
.flowsteps b { position: relative; flex: 0 0 58px; height: 58px; border-radius: 50%; border: 2px solid var(--ring); background: var(--beige); display: grid; place-items: center; transition: border-color .2s; }
.flowsteps b span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--yellow); transition: background .2s; }
.flowsteps b svg { display: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--green); color: #fff; }
.flowsteps li.is-active { color: var(--ink); }
.flowsteps li.is-active b { border-color: var(--yellow); }
.flowsteps li.is-active b span { background: var(--yellow); color: var(--ink); }
.flowsteps li.is-done { color: var(--green); }
.flowsteps li.is-done b { border-color: var(--green); }
.flowsteps li.is-done b span { display: none; }
.flowsteps li.is-done b svg { display: block; }

/* Кандидат */
.cand { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 54px; align-items: center; }
.cand__avatar { position: relative; width: 240px; height: 240px; }
.cand__photo { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-size: 64px; color: var(--ink); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--card-border), 0 34px 60px -30px rgba(0, 0, 0, .4); }
.cand__photo img { width: 100%; height: 100%; object-fit: cover; }
.cand.is-winner .cand__photo { box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--yellow), 0 34px 60px -30px rgba(0, 0, 0, .4); }
.cand__star { position: absolute; right: 4px; bottom: 4px; width: 66px; height: 66px; }
.cand__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 0; }
.cand__desc { margin-top: 16px; font-size: 19px; line-height: 1.4; max-width: 680px; color: var(--ink); }
.cand__actions:not(:empty) { margin-top: 28px; }
.cand__actions .btn--primary { min-width: 280px; }
.cand__actions .vn__btn--mine { padding: 0 34px; }
.cand__voted { font-size: 16px; color: var(--muted); }
.sharebar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sharebar__label { font-size: 15px; color: var(--muted); margin-right: 4px; }
.sharebar .iconbtn { height: 46px; min-width: 46px; }

/* Інші номінації */
.catnav { margin-top: 60px; }
.catnav__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--ink); margin-bottom: 20px; }
.catnav__list { display: flex; flex-wrap: wrap; gap: 10px; }
.catnav__list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; color: var(--ink); transition: border-color .2s; }
.catnav__list a:hover { border-color: var(--yellow); }
.catnav__list a.is-current { border-color: var(--yellow); background: #FFF6DA; }
.catnav__list b { font-family: var(--font-display); font-weight: 400; color: var(--yellow); }

/* ---------- Переможці на головній ---------- */
.wcard { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 16px 18px 22px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.wcard:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 0 22px 40px -28px rgba(160, 110, 0, .45); }
.wcard__cat { align-self: stretch; text-align: left; font-family: var(--font-display); font-size: 13px; line-height: 1.3; color: var(--ink); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px dashed #E9DFC2; }
.wcard__avatar { position: relative; width: 124px; height: 124px; margin-bottom: 18px; }
.wcard__photo { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--yellow); font-family: var(--font-display); font-size: 34px; color: var(--ink); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--yellow), 0 20px 34px -20px rgba(0, 0, 0, .45); }
.wcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.wcard__star { position: absolute; right: -6px; bottom: -4px; width: 42px; height: 42px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.wcard--empty .wcard__photo { background: #fff; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.wcard__photo .wcard__ph { width: 46px; height: 46px; object-fit: contain; opacity: .3; }
.wcard__name { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.2; color: var(--ink); margin-bottom: 8px; }
.wcard--empty .wcard__name { font-family: var(--font); font-size: 15px; color: var(--muted); }
.wcard__hit::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.wcard__desc { font-size: 14px; line-height: 1.3; color: #7D7B76; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wcard__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; color: var(--yellow); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcard__link:hover { text-decoration: underline; }

/* ---------- Демо-перемикач станів ---------- */
.demobar { position: relative; z-index: 51; background: #141414; color: #fff; font-size: 13px; }
.demobar__inner { display: flex; align-items: center; justify-content: center; gap: 8px 16px; min-height: 42px; padding-top: 5px; padding-bottom: 5px; flex-wrap: wrap; }
.demobar__label { color: #8F8F8F; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.demobar__tabs { display: flex; gap: 3px; padding: 3px; background: #262626; border-radius: 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.demobar__tabs a { padding: 5px 12px; border-radius: 8px; color: #C9C9C9; white-space: nowrap; transition: background .2s, color .2s; }
.demobar__tabs a:hover { color: #fff; }
.demobar__tabs a.is-active { background: var(--yellow); color: var(--ink); }
.demobar__tabs i { font-style: normal; font-size: 9px; color: #3BD32A; vertical-align: 1px; }
.demobar__tabs a.is-active i { color: var(--green); }

.toast--js { animation: none; transition: opacity .3s, transform .3s; }
.toast--js.is-hide { opacity: 0; transform: translate(-50%, -10px); pointer-events: none; }

@media (max-width: 1100px) {
  .flow__grid { grid-template-columns: 1fr; }
  .flow__aside { position: static; }
  .flow__trophy { display: none; }
}
@media (max-width: 991px) {
  .cards--winners { grid-template-columns: repeat(2, 1fr); }
  .flow__title { font-size: 42px; }
  .cand { grid-template-columns: 1fr; gap: 30px; justify-items: start; }
  .cand__avatar { width: 180px; height: 180px; }
  .cand__photo { font-size: 48px; }
  .cand__star { width: 52px; height: 52px; }
}
@media (max-width: 640px) {
  .vp__meta { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 15px; }
  .vp__meta i { display: none; }
  .vn { flex-wrap: wrap; gap: 14px; padding: 18px 0 20px; }
  .vn__avatar { flex-basis: 56px; margin-top: 0; }
  .vn__photo { width: 56px; height: 56px; font-size: 18px; }
  .vn__star { width: 24px; height: 24px; right: -5px; bottom: -4px; }
  .vn__body { flex-basis: calc(100% - 70px); }
  .vn__name { font-size: 18px; gap: 4px 10px; }
  .vn__votes, .vn__badge { font-size: 12px; padding: 5px 7px; }
  .vn__desc, .vn__link { font-size: 15px; }
  .vn__actions { flex-basis: 100%; }
  .vn__btn { flex: 1; height: 46px; }
  .vn__actions .iconbtn { height: 46px; min-width: 46px; }
  .modal--confirm .modal__box { padding: 22px 18px 20px; }
  .modal--confirm .modal__title { font-size: 30px; margin-right: 40px; margin-bottom: 16px; }
  .vm__text { font-size: 17px; }
  .vm__actions { grid-template-columns: 1fr; gap: 10px; }
  .vm__actions [data-close] { order: 2; }
  .vm__code { max-width: none; font-size: 34px; }
  .voterbar { font-size: 14px; padding: 10px 14px; gap: 6px 16px; margin-top: 20px; }

  .flow__hero { padding: 24px 0 30px; }
  .flow__hero::after { opacity: .25; right: -220px; }
  .flow__hero .crumbs { margin-bottom: 20px; }
  .eyebrow { font-size: 13px; padding: 6px 12px; margin-bottom: 14px; }
  .flow__title { font-size: 32px; }
  .flow__lead { font-size: 16px; margin-top: 12px; }
  .flow__icon { display: none; }
  .flow__body { padding: 24px 0 60px; }
  .flow__card { padding: 18px 16px 4px; border-radius: 18px; }
  [data-nflow] { padding: 20px 16px; }
  .flow__done-title { font-size: 32px; }
  .flow__done p { font-size: 16px; }
  .flow__done .btns .btn { width: 100%; }
  .flowsteps { margin-top: 26px; }
  .flowsteps li { flex-direction: column; gap: 6px; font-size: 12px; text-align: center; white-space: normal; flex: 1; position: relative; }
  .flowsteps li:not(:last-child)::after { position: absolute; top: 20px; left: calc(50% + 26px); right: calc(-50% + 26px); margin: 0; min-width: 0; }
  .flowsteps b { flex: 0 0 40px; width: 40px; height: 40px; }
  .flowsteps b span, .flowsteps b svg { width: 30px; height: 30px; font-size: 15px; }
  .flowsteps b svg { padding: 7px; }
  .cand__avatar { width: 140px; height: 140px; }
  .cand__photo { font-size: 38px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--card-border), 0 24px 40px -24px rgba(0, 0, 0, .4); }
  .cand__star { width: 42px; height: 42px; right: 0; bottom: 0; }
  .cand__desc { font-size: 16px; }
  .cand__actions .btn { width: 100%; min-width: 0; }
  .sharebar__label { flex-basis: 100%; }
  .catnav { margin-top: 36px; }
  .catnav__title { font-size: 22px; }
  .catnav__list a { font-size: 14px; padding: 8px 12px; }
  .cards--winners { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wcard { padding: 12px 10px 16px; }
  .wcard__cat { font-size: 11px; padding-bottom: 10px; margin-bottom: 16px; }
  .wcard__avatar { width: 84px; height: 84px; margin-bottom: 12px; }
  .wcard__photo { font-size: 24px; }
  .wcard__star { width: 30px; height: 30px; }
  .wcard__name { font-size: 15px; }
  .wcard__desc { font-size: 12.5px; }
  .wcard__link { font-size: 12px; }
  .demobar__label { display: none; }
  .demobar__tabs { width: 100%; }
  .demobar__tabs a { flex: 1; text-align: center; padding: 5px 2px; font-size: 11.5px; }
}

/* Масштаб для десктопа: на 100% у браузері сайт виглядає як на 90% (просив замовник).
   На телефонах не чіпаємо, щоб текст і поля вводу лишалися читабельними. */
@media (min-width: 992px) { html { zoom: .9; } }
