/* ============================================================
   PRO ГОРОД — Landing · Section 01
   ------------------------------------------------------------
   Стратегия отзывчивости:
   • Единицы — rem. Корневой размер (font-size у <html>) флюидный:
     он линейно растёт вместе с шириной вьюпорта, поэтому весь
     макет ПРОПОРЦИОНАЛЬНО увеличивается и заполняет экран целиком
     (полноэкранная вёрстка, без пустых полей по бокам).
   • Сетка — 12 колонок (поля 32px, gutter 16px): 6 (текст) + 6 (фото).
   • Реальные брейкпоинты перестраивают макет на планшете и телефоне
     (сетка складывается в одну колонку, размеры адаптируются).
   ============================================================ */

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Флюидный корень: 1rem = 16px при ширине 1440px, растёт до ~22px,
   не опускается ниже 12px. Так десктоп масштабируется пропорционально. */
html {
  font-size: clamp(12px, 1.111vw, 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #e8e8e8;
  overflow-x: clip;          /* защита от гориз. скролла; clip (не hidden!) не ломает position: sticky */
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1 { font-weight: inherit; }

/* Контейнер сетки: поля 32px, ширина 100% (полноэкранно) */
.container {
  width: 100%;
  padding-inline: 2rem;      /* 32px */
}

/* ============================================================
   Секция героя — полноэкранная (100svh)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;   /* фон даёт залипший .backdrop */
}

/* ============================================================
   Залипший (fixed) основной фон — единый для всей страницы
   ============================================================ */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #e8e8e8;
}
.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section > .header,
.hero-section > .hero { position: relative; z-index: 1; }

/* ============================================================
   Шапка
   ============================================================ */
.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem;        /* 16px / 32px */
}

.header__brand {
  display: flex;
  align-items: flex-start;
  gap: 2rem;                 /* 32px */
}

.logo img { height: 3.5rem; width: auto; }   /* 54×56 */

.header__divider {
  align-self: center;
  width: 1px;
  height: 3.5rem;            /* 56px */
  background: #1a1a1a;
  opacity: 0.4;
}

.header__tagline {
  max-width: 15rem;          /* 240px */
  font-size: 0.875rem;       /* 14px */
  line-height: 1.125rem;     /* 18px */
  letter-spacing: -0.6px;
  text-transform: uppercase;
}

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 1.125rem;             /* 18px */
  min-height: 3.5rem;
}

.nav__link {
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  border: 1px solid #1a1a1a;
  border-radius: 0.875rem;
  transition: opacity 0.2s ease;
}
.header__phone:hover { opacity: 0.7; }
.header__phone svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;     /* 16×20 */
  border-radius: 0.875rem;   /* 14px */
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.4px;
  white-space: nowrap;
  color: #fff;
  border: none;              /* сброс рамки нативной <button> */
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.9; }
.btn--dark   { background: #1a1a1a; }
.btn--accent { background: #727ef6; }
.btn--block  { width: 100%; }

/* ============================================================
   Контентная сетка героя: 12 колонок → 6 + 6
   ============================================================ */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;          /* gutter 16px */
  align-items: center;
  padding-block: 2rem 3rem;
}

.hero__content {
  grid-column: 1 / span 6;
  min-width: 0;              /* позволяет колонке сжиматься и переносить текст */
  display: flex;
  flex-direction: column;
  gap: 2.5rem;               /* воздух между блоком заголовка и описанием */
  max-width: 42.5rem;        /* 680px */
}

.hero__media {
  grid-column: 7 / span 6;
  min-width: 0;
}

/* --- Бейдж + заголовок --- */
.hero-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;                 /* 16px */
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem;          /* 12px */
  border: 1px solid #1a1a1a;
  border-radius: 100px;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.hero-title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 3.125rem;       /* 50px */
  line-height: 1.08;
  letter-spacing: -0.046em;
  overflow-wrap: break-word; /* длинные слова (нетворкинг-вечеринка) переносятся */
}

.hero-description__text { overflow-wrap: break-word; }

/* --- Описание + CTA --- */
.hero-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;               /* 24px */
  max-width: 42.5rem;        /* ширина контентной колонки */
}

.hero-description__text {
  max-width: 28rem;
  font-size: 1.25rem;        /* 20px */
  line-height: 1.4;
  letter-spacing: -0.6px;
}

.hero-description__date {
  font-size: 1.5rem;         /* 24px */
  line-height: 1.333;
  font-weight: 600;
  letter-spacing: -0.384px;
  color: #161616;
}

.cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;               /* 8px */
}
.cta__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cta__actions .btn { width: 100%; }

.cta__note {
  text-align: center;
  font-size: 0.875rem;       /* 14px */
  line-height: 1.25rem;
  letter-spacing: -0.6px;
}

/* ============================================================
   Фотография
   ============================================================ */
.hero-image {
  width: 100%;
  aspect-ratio: 680 / 678;
  border-radius: 0.75rem;    /* 12px */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   ПЛАНШЕТ  (≤ 1024px) — сетка складывается в одну колонку
   ============================================================ */
@media (max-width: 1024px) {
  html { font-size: 16px; }

  /* Шапка: только логотип + «Зарегистрироваться», остальное прячем */
  .header { align-items: center; gap: 1rem; }
  .header__divider,
  .header__tagline,
  .nav__link { display: none; }
  .nav { gap: 0.75rem; }

  .hero {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
    align-items: start;
    padding-block: 1.5rem 3rem;
  }
  /* Контент и кнопки — на всю ширину */
  .hero__content { grid-column: 1 / -1; max-width: none; gap: 2rem; }
  .hero__media   { grid-column: 1 / -1; }

  .hero-title { font-size: 2.75rem; }             /* 44px */
  .hero-description { max-width: none; }
  .hero-image { aspect-ratio: 16 / 10; }
  .cta { max-width: none; }
}

/* ============================================================
   МОБИЛЬНЫЙ  (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  html { font-size: 15px; }

  .container,
  .header { padding-inline: 1.25rem; }            /* 20px поля */

  .header { padding-block: 0.875rem; }
  .header {
    align-items: center;
    flex-wrap: nowrap;
  }
  .header__brand { flex: none; }
  .nav {
    min-height: 0;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.5rem;
  }
  .header__phone {
    width: 2.85rem;
    height: 2.85rem;
  }
  .btn { padding: 0.75rem 1rem; }
  .header .btn { padding-inline: 0.75rem; font-size: 0.8125rem; }

  .hero { padding-block: 1rem 2.5rem; row-gap: 2rem; }
  .hero__content { gap: 1.5rem; }

  .hero-title { font-size: 2.125rem; letter-spacing: -0.03em; }   /* 32px */
  .hero-description__text { font-size: 1.125rem; }                /* 18px */
  .hero-description__date { font-size: 1.25rem; }                 /* 20px */
  .hero-image { aspect-ratio: 4 / 3; }
  .badge { font-size: 0.875rem; }
  .cta__actions { grid-template-columns: 1fr; }
}

/* Очень узкие экраны */
@media (max-width: 360px) {
  .header { gap: 0.5rem; }
  .header__phone {
    width: 2.5rem;
    height: 2.5rem;
  }
  .header .btn {
    padding-inline: 0.5rem;
    font-size: 0.72rem;
  }
  .nav { gap: 0.3rem; }
  .hero-title { font-size: 1.875rem; }            /* 30px */
}


/* ############################################################
   ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ 02+
   ############################################################ */

/* Контентная секция со светлым фоном */
.section--light {
  position: relative;
  z-index: 1;
  background: transparent;   /* просвечивает залипший .backdrop */
  padding-block: 4rem;       /* 64px */
}

/* Надзаголовок 24px */
.eyebrow {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: #161616;
}

/* Крупный заголовок секции (Golos 60px) */
.section-title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 3.75rem;        /* 60px */
  line-height: 1;
  letter-spacing: -0.038em;
  color: #1a1a1a;
  overflow-wrap: break-word;
}

/* ============================================================
   SECTION 02 — «Что за вечер»
   ============================================================ */
.s02 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.s02__lead {
  grid-column: 1 / span 6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid #161616;
  border-radius: 0.75rem;
  padding: 1.5rem 1.5rem 2.5rem;   /* 24 / 24 / 40 */
}

.s02__lead-head {
  padding-bottom: 1rem;
  border-bottom: 1px solid #161616;
}

.s02__lead-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.s02__title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 3.75rem;        /* 60px */
  line-height: 1;
  letter-spacing: -0.038em;
  color: #161616;
  overflow-wrap: break-word;
}

.s02__desc {
  font-size: 1.25rem;        /* 20px */
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #161616;
}

.s02__grid {
  grid-column: 7 / span 6;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;                 /* 32px между номером и текстом */
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.feature-card__num {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #727ef6;
}

.feature-card__body { display: flex; flex-direction: column; gap: 1.125rem; }

.feature-card__title {
  font-size: 1.5rem;         /* 24px */
  line-height: 1.333;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: #161616;
}

.feature-card__desc {
  font-size: 1.25rem;        /* 20px */
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #161616;
}

/* ============================================================
   SECTION 03 — параллакс-имидж, залипает; секция 04 наезжает поверх
   Механика: .reveal (имидж) — position: sticky и «залипает» на весь
   экран. Следующая секция .section--over непрозрачная и с большим
   z-index — при скролле наезжает поверх залипшего имиджа.
   Обе внутри .pin-group, поэтому залипание держится только здесь.
   ============================================================ */
.pin-group {
  position: relative;
}

.reveal {
  position: sticky;
  top: 0;
  height: 100vh;             /* залипает на весь экран */
  z-index: 0;
  overflow: hidden;
}

.reveal__img {
  width: 100%;
  height: 112%;              /* небольшой запас для параллакс-сдвига */
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Секция, которая наезжает поверх залипшего имиджа.
   Фон — тот же залипший градиент (background-attachment: fixed),
   совпадает с .backdrop и «идёт» уже с Программы.
   Используем растровый PNG (не SVG) — вектор перерисовывался на
   каждом кадре скролла и тормозил; растр композитится дёшево. */
.section--over {
  position: relative;
  z-index: 1;
  background: #e8e8e8 url(../assets/images/bg-section1.png) center / cover no-repeat fixed;
}

/* ============================================================
   SECTION 04 — «Программа»
   ============================================================ */
.row-head {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1a1a1a;
}
.row-head .eyebrow { flex: 1; min-width: 0; }
.row-head__icon { width: 1.25rem; height: 1.25rem; flex: none; }

#section-04 .section-title { margin-top: 2.5rem; }

.program {
  margin-top: 3.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.program__row {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 2px solid #1a1a1a;
  color: #1a1a1a;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Ховер: заливка фиолетовым, белый текст */
.program__row:hover {
  background: #727ef6;
  color: #fff;
  border-color: transparent;
}

.program__time {
  flex: none;
  width: 13.5rem;            /* 216px */
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  font-size: 3.125rem;       /* 50px */
  line-height: 1.08;
  letter-spacing: -0.046em;
}

.program__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.program__row--wide .program__content { gap: 3rem; }

.program__text-block { display: flex; flex-direction: column; gap: 0.5rem; }

.program__title {
  font-size: 1.5rem;         /* 24px */
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.program__text {
  font-size: 1.25rem;        /* 20px */
  line-height: 1.4;
  letter-spacing: -0.03em;
}

/* Профиль спикера */
.profile { display: flex; flex-direction: column; gap: 1.5rem; max-width: 25rem; }

.profile__img {
  width: 6.125rem;           /* 98px */
  height: 6.125rem;
  border-radius: 100px;
  background-color: #fff;
  background-image: url(../assets/images/profile-burlakov.png);
  background-size: 380%;                 /* зум на лицо */
  background-position: 54% 34%;
  background-repeat: no-repeat;
}

.profile__info { display: flex; flex-direction: column; font-style: italic; }
.profile__name {
  font-size: 1.25rem; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em;
}
.profile__role {
  font-size: 1.25rem; line-height: 1.4; font-weight: 400; letter-spacing: -0.03em;
}

/* ============================================================
   SECTION 05 — «Кого вы встретите»
   ============================================================ */
.s05 { display: flex; flex-direction: column; gap: 2.25rem; }

.s05__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.s05__icon { width: 1.25rem; height: 1.25rem; }

.s05__title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 3.75rem;        /* 60px */
  line-height: 1;
  letter-spacing: -0.038em;
  color: #161616;
  overflow-wrap: break-word;
}

.s05__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.s05__media {
  grid-column: 1 / span 6;
  min-width: 0;
  border-radius: 0.75rem;
  overflow: hidden;
}
.s05__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.s05__stats {
  grid-column: 7 / span 6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  display: flex;
  gap: 2.5rem;               /* 40px */
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #161616;
  color: #161616;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover,
.stat-card--accent {
  background: #727ef6;
  color: #fff;
  border-color: transparent;
}

.stat-card__num {
  flex: none;
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  font-size: 3.125rem;       /* 50px */
  line-height: 1.08;
  letter-spacing: -0.046em;
}

.stat-card__body { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.stat-card__title {
  font-size: 1.5rem; line-height: 1.333; font-weight: 600; letter-spacing: -0.016em;
}
.stat-card__desc {
  font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.03em;
}

/* ============================================================
   АДАПТИВ секций 02–05
   ============================================================ */
@media (max-width: 1024px) {
  .s02 { grid-template-columns: 1fr; }
  .s02__lead { grid-column: 1 / -1; }
  .s02__grid { grid-column: 1 / -1; }
  .s02__title { font-size: 2.75rem; }

  #section-04 .section-title,
  .s05__title { font-size: 2.75rem; }

  .s05__body { grid-template-columns: 1fr; }
  .s05__media { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .s05__stats { grid-column: 1 / -1; }

  .program__time { width: 9rem; font-size: 2.5rem; }
}

@media (max-width: 640px) {
  .section--light { padding-block: 3rem; }

  .s02__title,
  #section-04 .section-title,
  .s05__title { font-size: 2.125rem; }

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

  .section--parallax { height: 22rem; }

  /* Программа: время над контентом */
  .program__row { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }
  .program__time { width: auto; font-size: 2.25rem; }
  .program__row--wide .program__content { gap: 2rem; }

  .feature-card__title,
  .program__title,
  .stat-card__title { font-size: 1.25rem; }
  .feature-card__desc,
  .s02__desc,
  .program__text,
  .stat-card__desc { font-size: 1.0625rem; }

  .stat-card { gap: 1.25rem; }
  .stat-card__num { font-size: 2.5rem; }
}


/* ############################################################
   SECTION 06 — участники (логотипы)
   ############################################################ */
.logos {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.logo-cell {
  height: 5rem;              /* 80px */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #1a1a1a;
  border-radius: 0.75rem;
}
.logo-cell img {
  max-height: 2.5rem;
  max-width: 78%;
  width: auto;
  object-fit: contain;
  filter: brightness(0.1);   /* белые лого → #1A1A1A */
}
.logo-cell--text {
  border: none;
  justify-content: flex-start;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}
.event-partners-block {
  margin-top: 5rem;
}
.event-partners {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.event-partner {
  flex: 0 1 calc((100% - 4rem) / 5);
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.event-partner img {
  width: auto;
  max-width: 86%;
  max-height: 4rem;
  object-fit: contain;
}
.event-partner--apkm img {
  transform: scale(2.2);
}
.event-partner--link {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.event-partner--link:hover {
  border-color: rgba(26, 26, 26, 0.3);
  box-shadow: 0 0.5rem 1.5rem rgba(26, 26, 26, 0.08);
  transform: translateY(-0.125rem);
}
.event-partner--link:focus-visible {
  outline: 2px solid #727ef6;
  outline-offset: 3px;
}

/* ############################################################
   SECTION 07 — площадка (тёмная карточка + фото)
   ############################################################ */
.venue {
  display: flex;
  gap: 4rem;
  align-items: center;       /* картинка не растягивает карточку в высоту */
  background: #1a1a1a;
  border-radius: 0.75rem;
  padding: 2rem;
}
.venue__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;                 /* отступ между блоками */
}
.venue__head { display: flex; flex-direction: column; gap: 0.75rem; }
.pills { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pill {
  border: 1px solid #fff;
  border-radius: 100px;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  white-space: nowrap;
}
.venue__title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 3.125rem;       /* 50px */
  line-height: 1.08;
  letter-spacing: -0.046em;
  color: #fff;
  overflow-wrap: break-word;
}
.venue__desc-block { display: flex; flex-direction: column; gap: 1.5rem; }
.venue__desc {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #fff;
}
.cta__note--light { color: #fff; }
.venue__media {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 12;     /* фикс. высота, не растягивается */
  border-radius: 0.75rem;
  overflow: hidden;
}
.venue__media img { width: 100%; height: 100%; object-fit: cover; }

/* Простая форма регистрации (в тёмной карточке площадки) */
.reg-form { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.reg-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.reg-form__input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.reg-form__input::placeholder { color: rgba(255, 255, 255, 0.55); }
.reg-form__input:focus { outline: none; border-color: #727ef6; }
.reg-form .btn--block { margin-top: 0.25rem; }
.reg-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.reg-form__check input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.0625rem;
  accent-color: #727ef6;
  cursor: pointer;
}
.reg-form__check a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; }
.reg-form__status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
}
.reg-form__status.is-success,
.reg-form__status.is-error { display: block; }
.reg-form__status.is-success { color: #d9ffe1; background: rgba(40, 167, 69, 0.2); }
.reg-form__status.is-error { color: #ffe0e0; background: rgba(220, 53, 69, 0.22); }
.reg-form .btn:disabled { cursor: wait; opacity: 0.65; }
.reg-form--closed .reg-form__fields { opacity: 0.48; }
.reg-form--closed .reg-form__input,
.reg-form--closed .reg-form__check,
.reg-form--closed .btn:disabled { cursor: not-allowed; }

/* ############################################################
   SECTION 08 — FAQ (аккордеон)
   ############################################################ */
#section-08 .section-title { margin-top: 2.5rem; }

.faq { margin-top: 3.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
.faq__item { border-bottom: 2px solid #1a1a1a; padding-bottom: 1.625rem; }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1.5rem;         /* 24px */
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__arrow {
  width: 2rem;
  height: 2rem;
  flex: none;
  transition: transform 0.25s ease;
}
.faq__item[open] .faq__arrow { transform: scaleY(-1); }
.faq__a {
  margin-top: 1rem;
  max-width: 60rem;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #161616;
}

/* ############################################################
   SECTION 09 — партнёрам (тёмная карточка + переключатель)
   ############################################################ */
.partner-card {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  border-radius: 1.5rem;
  padding: 2rem;
}
.partner-card__lead {
  flex: 0 1 58rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.partner-card__title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;         /* 40px */
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.partner-card__desc {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.64);
}
.partner-card__toggle {
  flex: 0 0 auto;
  margin-left: auto;        /* прижимаем к правому краю */
  min-width: 16rem;
  gap: 0.5rem;
  border: none;
  font-family: inherit;
}
.partner-card__toggle-arrow {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);   /* белая стрелка на фиолетовой кнопке */
  transition: transform 0.25s ease;
  transform: scaleY(-1);             /* раскрыто → стрелка вверх */
}
.partner-card__toggle[aria-expanded="false"] .partner-card__toggle-arrow { transform: none; }

/* ############################################################
   SECTION 10 — прайс (управляется кнопкой из секции 09)
   ############################################################ */
.pricing-wrap {
  overflow: hidden;
  max-height: 3000px;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}
#section-10.is-collapsed { padding-block: 0; }
#section-10.is-collapsed .pricing-wrap { max-height: 0; opacity: 0; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
}
.price-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.24);
}
.price-card__heading {
  font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.03em;
  color: rgba(26, 26, 26, 0.64);
}
.price-card__price {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 3.75rem;        /* 60px */
  line-height: 1;
  letter-spacing: -0.038em;
  color: #1a1a1a;
}
.price-card__note {
  font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.03em; color: #1a1a1a;
}
.price-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check__box {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.375rem;
  background: #727ef6;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check__box img { width: 1.125rem; height: 1.125rem; filter: brightness(0) invert(1); }
.check__text {
  font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.03em; color: #1a1a1a;
}
.price-card__footer { background: #727ef6; padding: 2rem; }
.price-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.75rem;
  background: #fff;
  border-radius: 0.625rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  width: 100%;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.price-card__btn:hover { opacity: 0.9; }
.price-card__btn img { width: 1.5rem; height: 1.5rem; }

/* ############################################################
   POP-UP — заявка на партнёрство
   ############################################################ */
body.is-modal-open { overflow: hidden; }
.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.partner-modal.is-open { display: flex; }
.partner-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(0.25rem);
}
.partner-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  max-height: calc(100svh - 3rem);
  overflow-y: auto;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #1a1a1a;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.32);
}
.partner-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 300 2rem/1 Inter, sans-serif;
  cursor: pointer;
}
.partner-modal__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 3.5rem;
  margin-bottom: 1.5rem;
}
.partner-modal__eyebrow {
  color: #727ef6;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.partner-modal__title {
  color: #fff;
  font-family: 'Golos Text', sans-serif;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.partner-modal__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.45;
}
.reg-form--modal { gap: 0.75rem; }

/* ############################################################
   SECTION 11 — контакты (футер)
   ############################################################ */
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.footer-title {
  margin-top: 4rem;
  max-width: 57rem;
  color: #161616;
}
.footer-links {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.625rem;
  border-bottom: 2px solid #1a1a1a;
}
.footer-link span {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link img { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.25rem; }
.footer-bottom {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: -0.04em;
  color: #1a1a1a;
}

/* ############################################################
   АДАПТИВ секций 06–11
   ############################################################ */
@media (max-width: 1024px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .event-partner { flex-basis: calc((100% - 2rem) / 3); }

  .venue { flex-direction: column; gap: 2rem; }
  .venue__info { gap: 2rem; }
  .venue__media { aspect-ratio: 16 / 10; }
  .venue__title { font-size: 2.5rem; }

  .partner-card { flex-direction: column; align-items: stretch; gap: 2rem; }
  .partner-card__lead { flex: 0 1 auto; }   /* сброс basis 58rem → не тянет высоту в колонке */
  .partner-card__title { font-size: 2.25rem; }
  .partner-card__toggle { width: 100%; margin-left: 0; min-width: 0; }

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

  .footer-title { font-size: 2.75rem; }
}

@media (max-width: 640px) {
  .logos { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .logo-cell { height: 4rem; padding: 0.75rem; }
  .logo-cell--text { grid-column: 1 / -1; height: auto; padding: 0.5rem 0; }
  .event-partners-block { margin-top: 3.5rem; }
  .event-partners { gap: 0.75rem; }
  .event-partner {
    flex-basis: calc((100% - 0.75rem) / 2);
    height: 5.5rem;
    padding: 1rem;
  }
  .event-partner img { max-height: 3.25rem; }

  .venue { padding: 1.5rem; }
  .venue__title { font-size: 2rem; }

  #section-08 .section-title,
  .footer-title { font-size: 2.125rem; }

  .faq__q { font-size: 1.25rem; }
  .faq__arrow { width: 1.5rem; height: 1.5rem; }
  .faq__a { font-size: 1.0625rem; }

  .partner-card { padding: 1.5rem; border-radius: 1.25rem; }
  .partner-card__title { font-size: 1.875rem; }
  .partner-card__toggle { width: 100%; min-width: 0; }

  .price-card__price { font-size: 2.75rem; }
  .price-card__heading,
  .price-card__note,
  .check__text { font-size: 1.0625rem; }

  .footer-brand { gap: 1.25rem; }
  .footer-link span { font-size: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }

  .partner-modal { padding: 0.75rem; }
  .partner-modal__dialog {
    max-height: calc(100svh - 1.5rem);
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
  .partner-modal__title { font-size: 2rem; }
}
