/* ==========================================================================
   Премия «Геленджик на связи» — лендинг
   Палитра и шрифты взяты из фирменных материалов проекта.
   ========================================================================== */

@font-face {
  font-family: "Nozhik";
  src: url("../fonts/Nozhik-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos";
  src: url("../fonts/golostext_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos";
  src: url("../fonts/golostext_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos";
  src: url("../fonts/golostext_black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #122b51;
  --navy-deep: #071a33;
  --navy-800: #0c2141;
  --ink: #101f33;
  --text: #1a2a40;
  --muted: #5a6b81;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: rgba(18, 43, 81, 0.12);
  --line-soft: rgba(18, 43, 81, 0.07);
  --accent: #3b7de8;
  --accent-ink: #245fbe;
  --accent-bright: #7cc0f7;
  --gold: #f0bf77;
  --gold-light: #f8d9a4;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 30px 70px -40px rgba(11, 29, 58, 0.45);
  --font-display: "Nozhik", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Unbounded", "Golos", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Golos", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, dl, dd, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 4.2vw, 44px);
}

.container--narrow {
  max-width: 880px;
}

.section {
  padding-block: clamp(64px, 8vw, 116px);
  background: var(--paper);
}

section[id] {
  scroll-margin-top: 88px;
}

.section--white {
  background: var(--white);
}

.section--dark {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(59, 125, 232, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), #051326 70%);
  color: var(--white);
}

.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

.h2--light {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: var(--gold-light);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head__note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* --- кнопки ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn--lg {
  min-height: 58px;
  padding: 0 32px;
  font-size: 16.5px;
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--primary {
  background: linear-gradient(135deg, #4d90f4, #2b66d6);
  color: #fff;
  box-shadow: 0 18px 34px -20px rgba(43, 102, 214, 0.9);
}

.btn--primary:hover {
  color: #fff;
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  color: #fff;
  background: #173662;
  transform: translateY(-1px);
}

.btn--gold {
  background: linear-gradient(135deg, #f8d9a4, #e2ab60);
  color: #2c1c06;
  box-shadow: 0 18px 36px -22px rgba(240, 191, 119, 0.9);
}

.btn--gold:hover {
  color: #2c1c06;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn--pending {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  cursor: default;
  box-shadow: none;
}

.btn--pending:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transform: none;
}

.btn--pending-dark {
  border-color: var(--line);
  background: #eef2f8;
  color: #8a97a8;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--pending-dark:hover {
  background: #eef2f8;
  color: #8a97a8;
  transform: none;
}

.btn__soon {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn--pending-dark .btn__soon {
  background: rgba(18, 43, 81, 0.1);
}

/* --- плашка предпросмотра -------------------------------------------- */

.preview-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 44px;
  background: #fdf3e2;
  border-bottom: 1px solid rgba(201, 154, 85, 0.35);
  color: #6f4f1c;
  font-size: 13px;
  line-height: 1.4;
}

.preview-bar[hidden] {
  display: none;
}

.preview-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9a04d;
  flex: none;
}

.preview-bar p {
  margin: 0;
}

.preview-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a6526;
  cursor: pointer;
  line-height: 1;
}

.preview-bar__close:hover {
  background: rgba(201, 154, 85, 0.16);
}

/* --- шапка ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 19, 39, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  flex: none;
}

.brand__logo {
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-header__cta .btn {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

/* --- первый экран ---------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(calc(100svh - var(--preview-h, 0px)), 960px);
  margin-top: -80px;
  padding-top: 80px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #050f24;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero-bay.svg") center bottom / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 16, 35, 0.94) 0%, rgba(5, 16, 35, 0.84) 24%, rgba(5, 16, 35, 0.5) 50%, rgba(5, 16, 35, 0.14) 76%, rgba(5, 16, 35, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 13, 30, 0.82) 0%, rgba(4, 13, 30, 0.28) 26%, rgba(4, 13, 30, 0.02) 52%, rgba(4, 13, 30, 0.55) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/noise.png");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(calc(100svh - var(--preview-h, 0px)), 960px);
  padding-top: clamp(96px, 14vh, 150px);
  padding-bottom: clamp(72px, 10vh, 110px);
}

.hero__content {
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 2.4vw, 26px);
  color: var(--gold-light);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}

.hero__title {
  margin: 0 0 clamp(18px, 2.6vw, 26px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8.2vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero__title-mark {
  display: block;
  margin-bottom: 0.2em;
  color: var(--gold-light);
  font-size: 0.44em;
  line-height: 1;
  letter-spacing: 0.05em;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16.5px, 1.6vw, 20px);
  line-height: 1.58;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255, 255, 255, 0.92);
}

.hero__meta li {
  display: flex;
  align-items: center;
}

.hero__meta li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
}

.hero__meta-dot {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.hero__meta-city {
  color: rgba(255, 255, 255, 0.68);
}

.hero__stage {
  margin-top: clamp(20px, 2.6vw, 30px);
  min-height: 34px;
}

.stage-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 16px;
  border: 1px solid rgba(248, 217, 164, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.stage-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(240, 191, 119, 0.55);
  animation: pulse 2.6s ease-out infinite;
}

.stage-chip--waiting .stage-chip__dot {
  background: rgba(255, 255, 255, 0.45);
  animation: none;
  box-shadow: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 191, 119, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(240, 191, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 191, 119, 0); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.8vw, 32px);
}

.hero__note {
  margin-top: 14px;
  min-height: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13.5px;
  line-height: 1.5;
}

.hero__scroll {
  position: absolute;
  right: clamp(20px, 4.2vw, 44px);
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.85);
}

.hero__scroll-arrow {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

/* --- о премии -------------------------------------------------------- */

.about__top {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about__first {
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
  margin-bottom: 18px;
}

.about__text p:not(.about__first) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(44px, 6vw, 72px);
}

.step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}

.step__index {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.step__title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.step__note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.step__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 125, 232, 0.1);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step.is-done .step__index {
  color: var(--accent);
}

.step.is-done .step__title,
.step.is-done .step__note {
  opacity: 0.62;
}

.step__link {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step__link:hover {
  color: var(--accent);
}

.step.is-current {
  border-top-color: var(--navy);
}

.step.is-current .step__index {
  color: var(--gold);
}

.step.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), rgba(18, 43, 81, 0));
}

/* --- номинации ------------------------------------------------------- */

.stage-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px 24px;
  border: 1px solid rgba(59, 125, 232, 0.2);
  border-radius: var(--radius-sm);
  background: #edf3fd;
}

.stage-note[hidden] {
  display: none;
}

.stage-note__icon {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.stage-note--waiting {
  border-color: var(--line);
  background: #f0f3f8;
}

.stage-note--waiting .stage-note__icon {
  background: var(--muted);
}

.stage-note--gold {
  border-color: rgba(201, 154, 85, 0.35);
  background: #fdf6ea;
}

.stage-note--gold .stage-note__icon {
  background: #d9a04d;
}

.stage-note__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.stage-note__text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 720px;
}

.stage-note__action {
  margin-top: 14px;
}

.nom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}

.nom {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nom:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 125, 232, 0.32);
  box-shadow: 0 26px 50px -34px rgba(16, 31, 51, 0.5);
}

.nom__index {
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.nom__title {
  margin-top: 10px;
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.nom__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.nom__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.nom__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
}

.nom__link:hover {
  color: var(--accent);
}

.nom__link--pending {
  color: #6c7a8c;
  cursor: not-allowed;
}

.nom__link-arrow::after {
  content: "→";
  transition: transform 0.18s ease;
}

.nom__link:hover .nom__link-arrow::after {
  transform: translateX(3px);
}

.nom__hint {
  color: var(--muted);
  font-size: 13.5px;
}

.finalists {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.finalist {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
}

.finalist:first-child {
  border-top: 0;
}

.finalist--photo {
  align-items: center;
}

.finalist__photo {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
}

.finalist__body {
  min-width: 0;
}

.finalist__num {
  flex: none;
  width: 18px;
  color: #78879a;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.finalist__name {
  font-weight: 700;
}

.finalist__desc {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.finalist--winner .finalist__name {
  color: var(--ink);
}

.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fdf1dd;
  color: #8a651f;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nom--winner {
  border-color: rgba(201, 154, 85, 0.55);
  background: linear-gradient(180deg, #fffdf8, #ffffff);
}

.special {
  margin-top: clamp(20px, 3vw, 28px);
}

.special__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(201, 154, 85, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffaf1, #fdf3e2);
}

.special__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a651f;
}

.special__title {
  margin-top: 10px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.special__name {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  color: var(--navy);
}

.special__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.action-cta {
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.action-cta[hidden] {
  display: none;
}

.action-cta__text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.6;
}

.action-cta__title {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.action-cta__meta {
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* --- церемония и билеты --------------------------------------------- */

.ceremony {
  overflow: hidden;
}

.ceremony__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.ceremony__aside {
  position: sticky;
  top: 110px;
}

.ceremony__directions-row {
  margin-top: 18px;
}

.ceremony__directions {
  color: var(--gold-light);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ceremony__directions:hover {
  color: #fff;
}

.ceremony__body {
  margin-top: 20px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.68;
}

.ceremony__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ceremony__facts dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ceremony__facts dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.5;
}

.ceremony__hint {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  line-height: 1.55;
}

.ticket-card {
  margin-top: 30px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ticket-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ticket-card__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.ticket-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-card__status--soon {
  background: rgba(240, 191, 119, 0.16);
  color: var(--gold-light);
}

.ticket-card__status--onSale {
  background: rgba(124, 192, 247, 0.18);
  color: #bfe2ff;
}

.ticket-card__status--soldout {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.ticket-card__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ticket-card__price {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.ticket-card__price-label {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticket-card__price-value {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: clamp(21px, 2.2vw, 27px);
  color: var(--gold);
  line-height: 1.2;
}

.ticket-card__price-note {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.ticket-card__includes {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.5;
}

.ticket-card__includes li {
  display: flex;
  gap: 10px;
}

.ticket-card__includes li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.ticket-card__includes-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.ticket-card__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ticket-card__actions .btn {
  flex: 1 1 200px;
}

.ticket-card__terms {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13.5px;
}

.ticket-card__terms:hover {
  color: #fff;
}

.ticket-card__note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.5px;
  line-height: 1.55;
}

.ceremony__schedule {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 13.5px;
}

/* --- встроенная форма голосования ----------------------------------- */

.vote-section[hidden] {
  display: none;
}

.vote-frame {
  margin-top: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.vote-frame__iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #fff;
}

.vote-frame.is-fallback .vote-frame__iframe {
  height: 1100px;
}

.vote-embed__links {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.6;
}

.vote-embed__privacy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .vote-frame__iframe {
    height: 1150px;
  }
}

/* --- о проекте ------------------------------------------------------- */

.project__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.project__body {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.channel:hover {
  color: var(--navy);
  border-color: rgba(59, 125, 232, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -24px rgba(16, 31, 51, 0.5);
}

.channel__arrow {
  color: var(--accent);
}

.facts {
  display: flex;
  flex-direction: column;
}

.fact {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: 1px solid var(--line);
}

.fact__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.fact__text {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* --- вопросы --------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq__item[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  background: rgba(59, 125, 232, 0.08);
}

.faq__answer {
  max-width: 740px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* --- контакты и документы ------------------------------------------- */

.contacts__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contacts__organizer {
  margin-top: 18px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-row__label {
  min-width: 120px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-row__value {
  color: var(--ink);
  font-size: 16px;
}

.contact-row__value--empty {
  color: #98a5b5;
  font-style: italic;
}

.contacts__requisites {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.contacts__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.legal {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.legal__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.legal__list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
}

.legal__list li {
  border-top: 1px solid var(--line-soft);
}

.legal__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.legal__link:hover {
  color: var(--accent-ink);
}

.legal__link span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.legal__tag {
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f6efe2;
  color: #8a651f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- подвал ---------------------------------------------------------- */

.site-footer {
  background: #061529;
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(40px, 5vw, 64px) 0 36px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.site-footer__brand img {
  height: 28px;
  width: auto;
  margin-bottom: 14px;
}

.site-footer__brand p {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.6;
}

.site-footer__org {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.44) !important;
  font-size: 12.5px;
  line-height: 1.6;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: flex-end;
  align-self: end;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__dot {
  opacity: 0.6;
}

/* --- мобильная панель ----------------------------------------------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 19, 39, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(120%);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mobile-bar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-bar .btn {
  flex: 1 1 0;
}

.mobile-bar .btn--ghost {
  flex: 0 0 auto;
}

/* --- служебное ------------------------------------------------------- */

.fatal {
  margin: 40px auto;
  max-width: 640px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.fatal h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--ink);
}

.fatal p {
  color: var(--muted);
  font-size: 15px;
}

.fatal code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef2f8;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- адаптив --------------------------------------------------------- */

@media (max-width: 1080px) {
  .nom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    gap: 20px;
  }

  .hero__title {
    font-size: clamp(3.4rem, 10vw, 6.6rem);
  }
}

@media (max-width: 860px) {
  .site-nav,
  .site-header__cta {
    display: none;
  }

  .site-header__inner {
    min-height: 68px;
    justify-content: space-between;
  }

  .hero {
    margin-top: -68px;
    padding-top: 68px;
    min-height: auto;
  }

  .hero__inner {
    min-height: 0;
    padding-top: clamp(26px, 5vh, 56px);
    padding-bottom: 104px;
    justify-content: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .hero__subtitle {
    max-width: 480px;
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .about__top,
  .project__grid,
  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .ceremony__grid {
    grid-template-columns: 1fr;
  }

  .ceremony__aside {
    position: static;
  }

  .ceremony__facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer__copy {
    justify-content: flex-start;
  }

  .special__card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nom-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(2.9rem, 14.4vw, 4.4rem);
    line-height: 0.88;
  }

  .hero__title-mark {
    font-size: 0.46em;
    margin-bottom: 0.24em;
  }

  .hero__eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.22em;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 14px;
  }

  .hero__meta li + li::before {
    display: none;
  }

  .hero__meta-dot {
    margin: 0 9px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__note {
    display: none;
  }

  .action-cta {
    padding: 22px;
  }

  .vote-cta .btn {
    width: 100%;
  }

  .ticket-card__actions .btn {
    flex-basis: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .preview-bar {
    font-size: 12px;
    padding-inline: 38px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- страница 404 ----------------------------------------------------- */

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page__eyebrow {
  justify-content: center;
}

.error-page__title {
  margin-bottom: 16px;
}

.error-page__text {
  margin-bottom: 28px;
  color: var(--muted);
}
