/* =========================================================
   Resonance 2026 — landing
   Брейкпоинты по макетам: 390 (mobile, < 1024), 1200, 1440, 1920
   ========================================================= */

/* ---------- Fonts ----------
   Bounded (github.com/churkinvlad/Bounded, OFL) — файлы в /fonts */
@font-face { font-family: "Bounded"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../fonts/Bounded-Light.woff2") format("woff2"); }
@font-face { font-family: "Bounded"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/Bounded-Regular.woff2") format("woff2"); }
@font-face { font-family: "Bounded"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/Bounded-Medium.woff2") format("woff2"); }
@font-face { font-family: "Bounded"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/Bounded-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Bounded"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/Bounded-Bold.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: none; }
/* :where — внутри Яндекс Карт ресет не применяем (их кнопки рассчитаны на браузерные цвет и шрифт); специфичность не растёт */
button:where(:not(.location__map *)), input { font: inherit; color: inherit; }
button:where(:not(.location__map *)) { background: none; border: 0; padding: 0; cursor: pointer; }
a:where(:not(.location__map *)) { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  background: var(--resonance-surface-page);
  color: var(--resonance-text-primary);
  font-family: var(--resonance-font-family-bounded);
  font-weight: var(--resonance-font-style-regular);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
  min-width: 320px;
}

:focus-visible { outline: 2px solid var(--resonance-gradient-cta-end); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Переключатели для переносов/текстов, отличающихся в макетах */
.only-m { display: none; }
@media (max-width: 1023.98px) {
  .only-d { display: none; }
  .only-m { display: revert; }
  br.only-m { display: inline; }
}

/* ---------- Layout ---------- */
.container {
  /* 1200 → 1152, 1440 → 1302, ≥1661 → 1440 (как в макетах) */
  width: min(1440px, calc(100% - 48px), calc(62.5% + 402px));
  margin-inline: auto;
}
@media (max-width: 1023.98px) {
  .container { width: calc(100% - 32px); }
}

/* ---------- Page background ---------- */
.page-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: max(100svh, 900px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.page-bg__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-bg__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, var(--resonance-surface-page) 100%);
}
@media (max-width: 1023.98px) {                 /* 390 */
  .page-bg { height: max(100svh, 640px); }
}

/* ---------- Typography helpers ---------- */
.h2 {
  font-weight: var(--resonance-font-style-bold);
  font-size: var(--resonance-type-heading-size);
  line-height: var(--resonance-type-heading-lineheight);
  letter-spacing: var(--resonance-type-heading-tracking);
}
.lead {
  color: var(--resonance-text-secondary);
  font-size: var(--resonance-type-lead-size);
  line-height: var(--resonance-type-lead-lineheight);
}
.body-text {
  font-size: var(--resonance-type-body-size);
  line-height: var(--resonance-type-body-lineheight);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--resonance-space-scale-12);
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn__icon { width: 23px; height: 23px; flex-shrink: 0; }

/* Градиент нельзя анимировать через background — он лежит отдельным слоем, плавно меняется только opacity */
.btn--light, .btn--gradient { position: relative; isolation: isolate; }
.btn--light::before, .btn--gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(to right, var(--resonance-gradient-cta-start), var(--resonance-gradient-cta-end));
  transition: opacity .2s ease;
  pointer-events: none;
}

.btn--light {                      /* D-HeroCTA · header */
  height: 48px;
  padding: 0 var(--resonance-space-scale-21);
  border-radius: 20px;
  background-color: var(--resonance-surface-white);
  color: var(--resonance-text-black);
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-buttonsmall-size);
  line-height: var(--resonance-type-buttonsmall-lineheight);
}
.btn--light::before { opacity: 0; }
@media (hover: hover) { .btn--light:hover::before { opacity: 1; } }

.btn--gradient {                   /* D-HeroCTA · hero */
  height: 62px;
  padding: 0 var(--resonance-space-scale-24);
  border-radius: 24px;
  background-color: var(--resonance-gradient-cta-end);   /* цвет hover — под слоем градиента */
  color: var(--resonance-text-black);
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-button-size);
  line-height: var(--resonance-type-button-lineheight);
}
@media (hover: hover) { .btn--gradient:hover::before { opacity: 0; } }

.btn--dark {                       /* D-HeroCTA · чёрная */
  height: 62px;
  padding: 0 var(--resonance-space-scale-24);
  border-radius: 24px;
  background: var(--resonance-surface-page);
  color: var(--resonance-text-primary);
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-button-size);
  line-height: var(--resonance-type-button-lineheight);
}
@media (hover: hover) { .btn--dark:hover { background: var(--resonance-surface-line); } }

@media (max-width: 1023.98px) {
  .btn--gradient, .btn--dark {
    width: 100%;
    height: 56px;
    padding: 0 var(--resonance-space-scale-20);
    border-radius: 18px;
    justify-content: center;
    font-size: var(--resonance-type-button-size);
    line-height: var(--resonance-type-button-lineheight);
  }
  /* ширина лейбла на мобиле зафиксирована в макете */
  .btn[style*="--m-label"] .btn__label { flex: 0 1 var(--m-label); min-width: 0; white-space: normal; text-align: left; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  z-index: 50;
  top: 24px;
  left: 24px;
  right: 24px;
  transition: translate .25s ease;
}
.header.is-scrolled { translate: 0 -12px; }   /* после начала скролла шапка поднимается */
.header__bar {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--resonance-space-scale-16) var(--resonance-space-scale-16) var(--resonance-space-scale-16) var(--resonance-space-scale-32);
  border-radius: 28px;
  background: var(--resonance-surface-header);
  -webkit-backdrop-filter: blur(4.5px);
  backdrop-filter: blur(4.5px);
}
.header__logo { display: block; width: 169.927px; height: 28px; }
.header__logo img { width: 100%; height: 100%; }
.nav {
  position: absolute;
  top: 50%;
  left: calc(50% + 0.5px);
  translate: -50% -50%;
  display: flex;
  gap: var(--resonance-space-scale-28);
  font-size: var(--resonance-type-navigation-size);
  line-height: var(--resonance-type-navigation-lineheight);
  white-space: nowrap;
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--resonance-text-secondary); }
.header__burger { display: none; width: 24px; height: 24px; }
.header__menu { display: none; }

@media (max-width: 1319.98px) {
  .nav__item--wide { display: none; }          /* макет 1200: 3 пункта */
}

@media (max-width: 1023.98px) {
  .header { top: 16px; left: 16px; right: 16px; }
  .header__bar {
    height: 56px;
    padding: var(--resonance-space-scale-16) var(--resonance-space-scale-20);
    border-radius: 20px;
  }
  .header__logo { width: 145.652px; height: 24px; }
  .header .nav, .header__bar .btn--light { display: none; }
  .header__burger { display: block; }
  .header__menu {
    margin-top: 8px;
    padding: var(--resonance-space-scale-24);
    border-radius: 20px;
    background: var(--resonance-surface-header);
    -webkit-backdrop-filter: blur(4.5px);
    backdrop-filter: blur(4.5px);
    flex-direction: column;
    gap: var(--resonance-space-scale-24);
  }
  .header.is-open .header__menu { display: flex; }
  .header__menu-nav {
    display: flex;
    flex-direction: column;
    gap: var(--resonance-space-scale-24);
    font-size: var(--resonance-type-navigation-size);
    line-height: var(--resonance-type-navigation-lineheight);
  }
  .header__menu .btn--light { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  width: 1060px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding-top: 184px;                /* padding, а не margin: иначе отступ схлопывается с body и .page-bg съезжает вниз */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--resonance-space-scale-48);
  text-align: center;
}
.hero__text { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--resonance-space-scale-24); }
.hero__title {
  font-weight: var(--resonance-font-style-bold);
  font-size: var(--resonance-type-hero-size);
  line-height: var(--resonance-type-hero-lineheight);
  letter-spacing: var(--resonance-type-hero-tracking);
}
.hero__desc {
  width: 700px;
  max-width: 100%;
  font-size: var(--resonance-type-herobody-size);
  line-height: var(--resonance-type-herobody-lineheight);
}
.hero__actions {
  width: 565px;
  display: flex;
  align-items: center;
  gap: var(--resonance-space-scale-24);
  text-align: left;
}
.hero__date {
  color: var(--resonance-text-secondary);
  font-size: var(--resonance-type-eventdate-size);
  line-height: var(--resonance-type-eventdate-lineheight);
  white-space: nowrap;
}
@media (max-width: 1023.98px) {
  .hero {
    width: calc(100% - 32px);
    max-width: none;
    padding-top: 132px;
    gap: var(--resonance-space-scale-28);
  }
  .hero__text { gap: var(--resonance-space-scale-20); }
  .hero__actions { width: 100%; flex-direction: column; gap: var(--resonance-space-scale-16); text-align: center; }
  .hero__date { white-space: normal; }
}

/* ---------- Content column ---------- */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--resonance-space-sectiongap);
  margin-top: var(--resonance-space-sectiongap);
  padding-bottom: 120px;
}
@media (min-width: 1680px) { .content { padding-bottom: 151px; } }
@media (max-width: 1023.98px) { .content { margin-top: 76px; padding-bottom: 85px; } }

.content > section, .content > div { scroll-margin-top: 128px; }
@media (max-width: 1023.98px) { .content > section, .content > div { scroll-margin-top: 88px; } }

.section { display: flex; flex-direction: column; gap: var(--resonance-space-scale-24); }
.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--resonance-space-scale-24);
  padding: 0 var(--resonance-space-scale-32);
}
@media (max-width: 1023.98px) {
  .section__head { flex-direction: column; align-items: flex-start; gap: var(--resonance-space-scale-12); padding: 0; }
}

/* ---------- Facts ---------- */
.facts { display: flex; gap: var(--resonance-space-scale-12); height: 225px; }
.fact {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--resonance-space-scale-40);
  border-radius: 40px;
  background: var(--resonance-surface-glass);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.fact__big {
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-fact-size);
  line-height: var(--resonance-type-fact-lineheight);
  letter-spacing: var(--resonance-type-fact-tracking);
  white-space: pre-wrap;
}
.fact__caption {
  font-weight: var(--resonance-font-style-medium);
  font-size: var(--resonance-type-factcaption-size);
  line-height: var(--resonance-type-factcaption-lineheight);
}
/* между мобилой и 1200 макета нет: 4 карточки не влезают — 2×2 */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .fact { height: 180px; }
}
@media (max-width: 1023.98px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .fact { height: 160px; padding: var(--resonance-space-scale-16); border-radius: 24px; }
}

/* ---------- Why ---------- */
.why { display: flex; gap: var(--resonance-space-scale-12); height: 225px; }
.why__card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  padding: var(--resonance-space-scale-40);
  border-radius: 40px;
  color: var(--resonance-text-black);
}
.why__card--1 { background: linear-gradient(108.92deg, var(--resonance-gradient-cta-start) 4.0156%, var(--resonance-gradient-cta-end) 97.715%); }
.why__card--2 { background: linear-gradient(108.63deg, #bcdbf9 4.9108%, #d6b0f3 100%); }
.why__text {
  position: relative;
  z-index: 1;
  width: 390px;
  display: flex;
  flex-direction: column;
  gap: var(--resonance-space-scale-12);
}
.why__title {
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-cardtitle-size);
  line-height: var(--resonance-type-cardtitle-lineheight);
  letter-spacing: var(--resonance-type-cardtitle-tracking);
}
.why__obj { position: absolute; pointer-events: none; }
.why__obj img { position: absolute; }
/* 1200 */
.why__card--1 .why__obj { left: 411px; top: -24px; width: 286px; height: 286px; }
.why__card--1 .why__obj img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__card--2 .why__obj { left: 408px; top: -41px; width: 308px; height: 308px; }
.why__card--2 .why__obj img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 1440 / 1920 */
@media (min-width: 1320px) {
  .why__card--1 .why__obj img { inset: auto; left: 0; top: -43px; width: 372px; height: 372px; }
  .why__card--2 .why__obj { left: 430px; top: -60px; width: 346px; height: 346px; }
}
@media (max-width: 1023.98px) {
  .why { flex-direction: column; height: auto; }
  .why__card { flex: none; padding: var(--resonance-space-scale-24); border-radius: 24px; }
  .why__card--1 { background: linear-gradient(104.29deg, var(--resonance-gradient-cta-start) 4.0156%, var(--resonance-gradient-cta-end) 97.715%); }
  .why__card--2 { background: linear-gradient(102.12deg, #bcdbf9 4.9108%, #d6b0f3 100%); }
  .why__text { width: 100%; }
  .why__obj { display: none; }
}

/* ---------- Speakers ---------- */
.speakers__row {
  display: flex;
  gap: var(--resonance-space-scale-12);
  overflow-x: auto;
  scrollbar-width: none;
  /* выход ряда за правый край контейнера до края экрана */
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  scroll-snap-type: x proximity;
}
.speakers__row::-webkit-scrollbar { display: none; }
.speaker {
  position: relative;
  flex: 1 0 0;
  min-width: 250px;
  height: 434px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 40px;
  background: var(--resonance-surface-card);
  scroll-snap-align: start;
}
@media (max-width: 1319.98px) { .speaker { min-width: 267px; } }   /* 1200: 5 × 267 */
.speaker__photo {
  position: absolute;
  left: var(--l, -60px);
  top: var(--t, 0px);
  width: var(--w, 393px);
  height: var(--h, 434px);
  overflow: hidden;
}
@media (min-width: 1680px) {                    /* 1920: у части фото в макете свой размер */
  .speaker__photo {
    left: var(--xl-l, var(--l, -60px));
    top: var(--xl-t, var(--t, 0px));
    width: var(--xl-w, var(--w, 393px));
    height: var(--xl-h, var(--h, 434px));
  }
}
.speaker__photo img {
  position: absolute;
  left: var(--il, 0%);
  top: var(--it, 0%);
  width: 100%;
  height: var(--ih, 113.11%);
}
.speaker__photo--cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 27%; } /* в макете фото растянуто без пропорций — сохраняем пропорции и положение лица */
.speaker__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--resonance-space-scale-12);
  padding: var(--resonance-space-scale-32);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.speaker__name {
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-speakername-size);
  line-height: var(--resonance-type-speakername-lineheight);
  letter-spacing: var(--resonance-type-speakername-tracking);
}
.speaker__role {
  font-size: var(--resonance-type-speakerrole-size);
  line-height: var(--resonance-type-speakerrole-lineheight);
}
@media (max-width: 1023.98px) {
  .speaker { flex: 0 0 310.4px; min-width: 0; border-radius: 24px; }
  .speaker__photo { left: var(--ml, -17.5px); }
  .speaker__info { gap: var(--resonance-space-scale-8); padding: var(--resonance-space-scale-24); }
}

/* ---------- Program ---------- */
.program { display: flex; flex-direction: column; gap: var(--resonance-space-scale-12); }
.agenda {
  padding: var(--resonance-space-panelpadding);
  border-radius: 40px;
  background: var(--resonance-surface-card);
}
.agenda__list { display: flex; flex-direction: column; gap: var(--resonance-space-scale-32); }
.agenda__line { height: 1px; background: var(--resonance-surface-line); }
.agenda__row { display: flex; align-items: flex-start; gap: var(--resonance-space-scale-48); }
.agenda__main { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-start; gap: var(--resonance-space-scale-48); }
.agenda__time {
  flex: 0 0 120px;
  font-weight: var(--resonance-font-style-medium);
  font-size: var(--resonance-type-agendatime-size);
  line-height: var(--resonance-type-agendatime-lineheight);
}
.agenda__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--resonance-space-scale-8); }
.agenda__title {
  font-weight: var(--resonance-font-style-medium);
  font-size: var(--resonance-type-agendatitle-size);
  line-height: var(--resonance-type-agendatitle-lineheight);
  letter-spacing: var(--resonance-type-agendatitle-tracking);
}
.agenda__speaker { display: flex; align-items: center; gap: var(--resonance-space-scale-12); }
.agenda__avatar {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--resonance-surface-card);
}
.agenda__avatar img { position: absolute; left: 0; top: 0; width: 32px; height: 39.986px; object-fit: cover; }
.agenda__avatar--bottom img { top: auto; bottom: -9px; }
.agenda__speaker-name {
  color: var(--resonance-text-secondary);
  font-size: var(--resonance-type-agendaspeaker-size);
  line-height: var(--resonance-type-agendaspeaker-lineheight);
  letter-spacing: var(--resonance-type-agendaspeaker-tracking);
  white-space: nowrap;
}
.agenda__index {
  flex: 0 0 32px;
  text-align: right;
  color: var(--resonance-text-secondary);
  font-size: var(--resonance-type-agendaindex-size);
  line-height: var(--resonance-type-agendaindex-lineheight);
}
.agenda__note {
  font-size: var(--resonance-type-agendanote-size);
  line-height: var(--resonance-type-agendanote-lineheight);
  letter-spacing: var(--resonance-type-agendanote-tracking);
  white-space: nowrap;
}
.agenda--final {
  position: relative;
  overflow: hidden;
  padding: var(--resonance-space-scale-32) var(--resonance-space-scale-64);
  border-radius: 32px;
  background: linear-gradient(to right, var(--resonance-gradient-cta-start), var(--resonance-gradient-cta-end));
  color: var(--resonance-text-black);
}
.agenda--final .agenda__row { position: relative; z-index: 1; }
.agenda--final .agenda__index { color: var(--resonance-text-black); }
.agenda__deco {
  position: absolute;
  left: calc(50% + 377.67px);
  top: calc(50% + 5.89px);
  width: 341px;
  height: 341px;
  translate: -50% -50%;
  rotate: 9.84deg;
  object-fit: cover;
  pointer-events: none;
}
@media (max-width: 1319.98px) {
  .agenda__speaker-name { white-space: normal; flex: 1 1 0; min-width: 0; }
}
@media (max-width: 1023.98px) {
  .agenda { border-radius: 24px; }
  .agenda__list { gap: var(--resonance-space-scale-24); }
  .agenda__row { position: relative; gap: 0; }
  .agenda__main { flex-direction: column; gap: var(--resonance-space-scale-8); }
  .agenda__time { flex: none; padding-right: 44px; }
  .agenda__body { width: 100%; flex: none; gap: var(--resonance-space-scale-12); }
  .agenda__speaker { gap: var(--resonance-space-scale-10); }
  .agenda__avatar--bottom img { top: 1.01px; bottom: auto; }
  .agenda__speaker-name { white-space: normal; flex: 1 1 0; min-width: 0; }
  .agenda__index { position: absolute; top: 0; right: 0; width: 24px; }
  .agenda__note { white-space: normal; }
  .agenda--final { padding: var(--resonance-space-scale-24); border-radius: 24px; }
  .agenda__deco { display: none; }
}

/* ---------- History (video) ---------- */
.history__lead { width: 487px; max-width: 100%; }
@media (min-width: 1680px) { .history__lead { width: 473px; } }   /* 1920 */
.video {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--resonance-surface-card);
}
.video__poster {
  position: absolute;
  left: 0;
  top: -94px;
  width: 1506px;
  height: 848px;
  object-fit: cover;
}
.video__play {
  position: absolute;
  left: calc(50% + 0.5px);
  top: calc(50% + 0.5px);
  translate: -50% -50%;
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  background: linear-gradient(to bottom, var(--resonance-play-start), var(--resonance-play-end));
  transition: transform .2s ease;
}
.video__play:hover { transform: scale(1.05); }
.video__play svg { width: 34px; height: 34px; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 1023.98px) {
  .history__lead { width: 100%; }
  .video { height: 230px; border-radius: 24px; }
  .video__poster { left: calc(50% - 225px); top: -12px; width: 450px; height: 253.386px; }
  .video__play { width: 64px; height: 64px; border-radius: 36.571px; }
  .video__play svg { width: 20.724px; height: 20.724px; }
}

/* ---------- Registration ---------- */
.panel-grad {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: var(--resonance-space-panelpadding);
  border-radius: 40px;
  color: var(--resonance-text-black);
}
.register { background: linear-gradient(118.25deg, var(--resonance-gradient-cta-start) 2.5019%, var(--resonance-gradient-cta-end) 97.498%); }
.register__info {
  align-self: stretch;
  width: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.register__text { display: flex; flex-direction: column; gap: var(--resonance-space-scale-24); }
.brands {
  display: flex;
  align-items: center;
  gap: var(--resonance-space-scale-16);
  font-weight: var(--resonance-font-style-bold);
  font-size: var(--resonance-type-brand-size);
  line-height: var(--resonance-type-brand-lineheight);
  letter-spacing: var(--resonance-type-brand-tracking);
  white-space: nowrap;
}
.brands svg { width: 24px; height: 24px; flex-shrink: 0; }

.form { width: 486px; display: flex; flex-direction: column; gap: var(--resonance-space-scale-16); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__input {
  width: 100%;
  height: 64px;
  padding: 0 var(--resonance-space-scale-22);
  border: 2px solid var(--resonance-text-black);
  border-radius: 24px;
  background: transparent;
  color: var(--resonance-text-black);
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-input-size);
  line-height: var(--resonance-type-input-lineheight);
  outline: none;
  transition: border-color .2s ease;
}
.field__input::placeholder { color: var(--resonance-text-placeholder); font-weight: var(--resonance-font-style-regular); opacity: 1; }
.field__input:focus-visible { box-shadow: 0 0 0 2px rgba(0, 0, 0, .15); }
.field__error {
  display: none;
  padding: 0 24px;
  color: var(--resonance-text-error);
  font-size: var(--resonance-type-speakerrole-size);
  line-height: var(--resonance-type-caption-lineheight);
}
.field.is-invalid .field__input { border-color: var(--resonance-text-error); color: var(--resonance-text-error); }
.field.is-invalid .field__input::placeholder { color: var(--resonance-text-error); }
.field.is-invalid .field__error { display: block; }

.btn--submit {
  width: 100%;
  height: 68px;
  padding: 0 var(--resonance-space-scale-27);
  justify-content: space-between;
  font-weight: var(--resonance-font-style-bold);
}
/* Отправка: стрелка меняется на три точки того же размера — кнопка не меняет ширину */
.btn__spinner {
  display: none;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}
.btn__spinner i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: btn-dots 1s ease-in-out infinite;
}
.btn__spinner i:nth-child(2) { animation-delay: .15s; }
.btn__spinner i:nth-child(3) { animation-delay: .3s; }
.btn--submit[aria-busy="true"] { cursor: progress; }
.btn--submit[aria-busy="true"] .btn__icon { display: none; }
.btn--submit[aria-busy="true"] .btn__spinner { display: flex; }
@media (hover: hover) { .btn--submit[aria-busy="true"]:hover { background: var(--resonance-surface-page); } }
@keyframes btn-dots {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.check {
  display: flex;
  align-items: center;
  gap: var(--resonance-space-scale-16);
  padding: 0 var(--resonance-space-scale-16);
  cursor: pointer;
  font-size: var(--resonance-type-caption-size);
  line-height: var(--resonance-type-caption-lineheight);
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--resonance-text-black);
  border-radius: 24px;
  transition: background-color .15s ease;
}
.check__box svg { width: 24px; height: 24px; opacity: 0; }
.check input:checked + .check__box { background: var(--resonance-surface-page); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--resonance-text-black); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--resonance-text-error); }

/* Thanks */
.thanks { background: linear-gradient(140.59deg, var(--resonance-gradient-cta-start) 2.5019%, var(--resonance-gradient-cta-end) 97.498%); }
.thanks__text { width: 390px; display: flex; flex-direction: column; gap: var(--resonance-space-scale-24); }
@media (min-width: 1680px) { .thanks__text { width: 505px; } }

@media (max-width: 1023.98px) {
  .panel-grad { flex-direction: column; gap: var(--resonance-space-scale-28); border-radius: 24px; }
  .register { background: linear-gradient(97.43deg, var(--resonance-gradient-cta-start) 2.5019%, var(--resonance-gradient-cta-end) 97.498%); }
  .thanks { background: linear-gradient(107.49deg, var(--resonance-gradient-cta-start) 2.5019%, var(--resonance-gradient-cta-end) 97.498%); }
  .register__info { width: 100%; gap: var(--resonance-space-scale-24); }
  .register__text, .thanks__text { width: 100%; gap: var(--resonance-space-scale-16); }
  .brands { gap: var(--resonance-space-scale-10); flex-wrap: wrap; }
  .brands svg { width: 18px; height: 18px; }
  .form { width: 100%; gap: var(--resonance-space-scale-12); }
  .field__input { height: 56px; padding: 0 var(--resonance-space-scale-16); border-radius: 16px; }
  .btn--submit { height: 56px; border-radius: 18px; padding: 0 var(--resonance-space-scale-20); justify-content: center; }
  .thanks .btn--dark { height: auto; padding: var(--resonance-space-scale-20); font-weight: var(--resonance-font-style-bold); }
  .check { align-items: flex-start; gap: var(--resonance-space-scale-12); padding: 0; }
  .check__box { width: 24px; height: 24px; }
  .check__box svg { width: 18px; height: 18px; }
}

/* ---------- Location ---------- */
.location {
  position: relative;
  height: 560px;
  overflow: hidden;
  padding: var(--resonance-space-scale-64);
  border-radius: 40px;
  background: var(--resonance-surface-card);
}
.location__map {
  position: absolute;
  inset: 0;
  z-index: 0;                /* z-index слоёв Яндекс Карт не выходит поверх карточки */
  filter: grayscale(100%);   /* неактивная карта — ч/б; фильтр только на карте, чтобы не красить .location__card */
  transition: filter .2s ease-in-out;
  border-radius: 40px;
  overflow: hidden;
  clip-path: inset(0 round 40px); /* Firefox не обрезает слои карты по border-radius без стекинг-контекста */
}
.location:hover .location__map { filter: grayscale(0); } /* не none — иначе в Firefox пропадает обрезка по радиусу */
.location__map-canvas { position: absolute; inset: 0; }
.map-pin {
  position: absolute;
  transform: translate(-50%, calc(-100% - 14px)); /* точка под плашкой — ровно на координате */
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(127.9deg, var(--resonance-gradient-cta-start) 1.3872%, var(--resonance-gradient-cta-end) 96.235%);
  color: var(--resonance-text-ongradient);
  font-weight: var(--resonance-font-style-semibold);
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--resonance-gradient-cta-end);
  border: 2px solid var(--resonance-surface-card);
  transform: translate(-50%, 7px);
}
.location__card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: var(--resonance-space-scale-28);
  padding: var(--resonance-space-scale-48);
  border-radius: 32px;
  background: linear-gradient(127.9deg, var(--resonance-gradient-cta-start) 1.3872%, var(--resonance-gradient-cta-end) 96.235%);
  color: var(--resonance-text-black);
}
.location__text { width: 390px; display: flex; flex-direction: column; gap: var(--resonance-space-scale-12); }
.location__title {
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-locationtitle-size);
  line-height: var(--resonance-type-locationtitle-lineheight);
  letter-spacing: var(--resonance-type-locationtitle-tracking);
}
.location__address { font-size: var(--resonance-type-address-size); line-height: var(--resonance-type-address-lineheight); }
.location .btn--dark {
  justify-content: space-between;
  font-size: var(--resonance-type-buttonroute-size);
  line-height: var(--resonance-type-buttonroute-lineheight);
}
.location__mhead { display: none; }
@media (max-width: 1023.98px) {
  .location-wrap { display: flex; flex-direction: column; gap: var(--resonance-space-scale-24); }
  .location__mhead { display: block; }
  .location {
    height: auto;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: none;
    display: flex;
    flex-direction: column;
    gap: var(--resonance-space-scale-12);
  }
  .location__card { display: flex; gap: var(--resonance-space-scale-20); padding: var(--resonance-space-scale-24); border-radius: 20px;
    background: linear-gradient(126.67deg, var(--resonance-gradient-cta-start) 1.3872%, var(--resonance-gradient-cta-end) 96.235%); }
  .location__text { width: 100%; }
  .location .btn--dark { justify-content: center; }
  .location__map {
    position: relative;
    order: 2;
    height: 268px;
    overflow: hidden;
    border-radius: 24px;
    clip-path: inset(0 round 24px);
    background: var(--resonance-surface-card);
  }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: flex; flex-direction: column; gap: var(--resonance-space-scale-16); }
.faq {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--resonance-space-scale-24);
  padding: var(--resonance-space-panelpadding);
  border-radius: 40px;
  background: var(--resonance-surface-card);
}
.faq__title { flex: 0 0 auto; }
.faq__list { flex: 0 1 701px; min-width: 0; }
.faq__item { padding: var(--resonance-space-scale-24) 0; border-bottom: 1px solid var(--resonance-surface-line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--resonance-space-scale-24);
  text-align: left;
  font-size: var(--resonance-type-faqquestion-size);
  line-height: var(--resonance-type-faqquestion-lineheight);
  color: var(--resonance-text-primary);
}
.faq__icon { width: 24px; height: 24px; flex-shrink: 0; }
.faq__icon .v { transition: opacity .2s ease; }
.faq__item.is-open .faq__icon .v { opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden;
  color: var(--resonance-text-secondary);
  font-weight: var(--resonance-font-style-light);
  font-size: var(--resonance-type-faqanswer-size);
  line-height: var(--resonance-type-faqanswer-lineheight);
}
.faq__a-inner > p:first-child { padding-top: var(--resonance-space-scale-24); }
.faq__a-inner > p + p { margin-top: var(--resonance-type-faqanswer-lineheight); }
.faq__a-inner a { color: var(--resonance-text-primary); text-decoration: underline; text-underline-offset: 3px; }

.contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--resonance-space-scale-48) var(--resonance-space-scale-64);
  border-radius: 40px;
  background: linear-gradient(to right, var(--resonance-gradient-cta-start), var(--resonance-gradient-cta-end));
  color: var(--resonance-text-black);
}
.contacts__text { width: 390px; display: flex; flex-direction: column; gap: var(--resonance-space-scale-12); }
.contacts__links { display: flex; align-items: center; gap: 48px; }
.contacts__link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--resonance-font-style-semibold);
  font-size: var(--resonance-type-contactlink-size);
  line-height: var(--resonance-type-contactlink-lineheight);
  letter-spacing: var(--resonance-type-contactlink-tracking);
  white-space: nowrap;
}
.contacts__link svg { width: 27px; height: 27px; flex-shrink: 0; }
.contacts__link span { transition: opacity .2s ease; }
.contacts__link:hover span { opacity: .6; }

@media (max-width: 1023.98px) {
  .faq { flex-direction: column; gap: var(--resonance-space-scale-24); border-radius: 24px; }
  .faq__title, .faq__list { width: 100%; }
  .faq__item { padding: var(--resonance-space-scale-20) 0; }
  .faq__q { align-items: flex-start; gap: var(--resonance-space-scale-12); }
  .faq__a-inner > p:first-child { padding-top: var(--resonance-space-scale-16); }
  .contacts { flex-direction: column; align-items: flex-start; gap: var(--resonance-space-scale-24); padding: var(--resonance-space-scale-24); border-radius: 24px; }
  .contacts__text { width: 100%; }
  .contacts__links { flex-direction: column; align-items: flex-start; gap: var(--resonance-space-scale-16); }
  .contacts__link svg { display: none; }
}

/* очень узкие экраны (< 360) */
@media (max-width: 359.98px) {
  .fact { padding: var(--resonance-space-scale-12); }
  .fact__big { font-size: 17px; letter-spacing: -1.2px; }
}
