/*
 * Стили варианта 5 — структура по мотивам страницы «Бизнес-Фест», цвета — фирменные ИНСТАЛЛБИЗ.
 *
 * Концепция раскладки: почти чёрный фон, крупный разделённый заголовок с датой и кнопкой
 * посередине, карточки с мягкими градиентами бренда (розово-пурпурный / голубой / смешанный),
 * программа списком «время — блок — спикер», FAQ-аккордеон, регистрация отдельным блоком.
 * Брендовые элементы референса (логотип, фирменный шрифт) не используются.
 * Страница намеренно однотемная (тёмная).
 */

/* ---------- Токены ---------- */
:root {
  /* Цвет — фирменная палитра ИНСТАЛЛБИЗ (installbiz.ru) */
  --bg: #07080C;            /* фон сайта компании */
  --surface: #0E0C15;       /* панели */
  --surface-2: #17141F;
  --line: rgba(255, 255, 255, .09);
  --text: #FFFFFF;
  --muted: #A7A3B3;
  --accent: #D7569C;        /* фирменный розово-пурпурный */
  --accent-hover: #C2468A;
  --accent-bright: #E570AF; /* светлый край фирменного градиента — акцентный текст */
  --blue: #63A6DF;          /* голубой из логотипа */
  --blue-mid: #768BC6;
  --blue-deep: #1A3394;
  --red: #FF5A5F;

  --grad-btn: linear-gradient(127deg, #E570AF 0%, #D7569C 45%, #B23C7C 100%);
  --grad-pink: linear-gradient(135deg, rgba(215, 86, 156, .45) 0%, rgba(215, 86, 156, .06) 100%);
  --grad-blue: linear-gradient(135deg, rgba(99, 166, 223, .42) 0%, rgba(26, 51, 148, .08) 100%);
  --grad-mix: linear-gradient(135deg, rgba(215, 86, 156, .32) 0%, rgba(99, 166, 223, .22) 100%);
  --grad-text: linear-gradient(90deg, #E570AF 0%, #B98FD3 50%, #63A6DF 100%);
  --grad-brand-dark: linear-gradient(45deg, #2D0119 0%, #1A3394 100%);

  /* Шрифт */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Шкала */
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.2rem, 1rem + .6vw, 1.45rem);
  --fs-xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-mega: clamp(2.6rem, 0.6rem + 10vw, 9.5rem);

  --radius: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --section-pad: clamp(64px, 8vw, 112px);

  color-scheme: dark;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 var(--fs-base)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--accent-bright); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * max(16px, env(safe-area-inset-left, 0px)));
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 var(--fs-sm)/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 4px 4px 20px rgba(99, 166, 223, .3); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 4px 4px 24px rgba(99, 166, 223, .45); }
.btn--sm { min-height: 40px; padding: 8px 18px; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent-bright); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn--muted { color: inherit; }
.placeholder-box { display: grid; place-items: center; padding: 8px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--muted); font-size: .8rem; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(7, 8, 12, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.header__brand { display: inline-flex; }
.brand__logo { display: block; height: 30px; width: auto; color: var(--text); }
.tabbar { display: none; gap: 4px; margin-left: auto; padding: 4px; border-radius: var(--radius-sm); background: var(--surface); }
.tabbar a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.tabbar a:hover { color: var(--text); background: var(--surface-2); }
.header .btn { margin-left: auto; }
@media (min-width: 980px) { .tabbar { display: flex; } .header .btn { margin-left: 0; } }

/* ---------- Обложка ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) var(--section-pad); }
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(40% 45% at 78% 30%, rgba(215, 86, 156, .30), transparent 70%),
    radial-gradient(35% 40% at 15% 75%, rgba(99, 166, 223, .22), transparent 70%),
    radial-gradient(30% 35% at 55% 85%, rgba(118, 139, 198, .18), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); }
.hero__badge {
  justify-self: start;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
}
.hero__title { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 40px; align-items: center; font-weight: 800; letter-spacing: -0.04em; }
@media (min-width: 900px) { .hero__title { grid-template-columns: auto minmax(0, 1fr); } }
.hero__word { font-size: var(--fs-mega); line-height: .95; min-width: 0; overflow-wrap: anywhere; }
.hero__word--accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
@media (min-width: 900px) { .hero__word--accent, .hero__tail { grid-column: 1 / -1; } }
.hero__tail { font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); line-height: 1; color: var(--muted); letter-spacing: -0.03em; }
.hero__meta { display: grid; gap: 8px; justify-items: start; letter-spacing: 0; }
.hero__date { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 700; }
.hero__place { font-size: var(--fs-lg); font-weight: 500; color: var(--muted); }
.hero__cta { margin-top: 10px; }
.hero__lead {
  display: grid;
  gap: 14px;
  max-width: 52rem;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 18, 21, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__headline { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.hero__text { font-size: var(--fs-lg); font-weight: 600; color: #D9DDE0; }

/* ---------- Секции ---------- */
.section { padding-block: var(--section-pad); }
.section + .section { padding-top: 0; }
.section__title { font-size: var(--fs-xl); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.section__lead { margin-top: 18px; max-width: 46rem; font-size: var(--fs-lg); font-weight: 600; color: #D9DDE0; }
.section__lead--muted { color: var(--muted); font-weight: 500; font-size: var(--fs-base); }

/* О вебинаре: карточки */
.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
}
.card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 200px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card--pink { background: var(--grad-pink), var(--surface); }
.card--blue { background: var(--grad-blue), var(--surface); }
.card--mix { background: var(--grad-mix), var(--surface); }
.card__title { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.card__text { font-size: 1.0625rem; font-weight: 600; color: #D9DDE0; }

/* Спикеры */
.speakers { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.speaker {
  display: grid;
  gap: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
@media (min-width: 560px) { .speaker { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } }
.speaker__media {
  aspect-ratio: 1;
  max-width: 100%;
  padding: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.speaker__media--pink { background: linear-gradient(160deg, #E570AF, #2D0119); }
.speaker__media--blue { background: linear-gradient(160deg, #63A6DF, #112B77); }
.speaker__photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.speaker__info { display: grid; gap: 10px; grid-template-rows: auto auto auto 1fr; align-self: stretch; padding: 8px 8px 8px 0; min-width: 0; }
.speaker__name { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.speaker__role { font-size: 1.125rem; font-weight: 700; }
.speaker__regalia { color: var(--muted); font-weight: 500; }
.speaker__logo { margin-top: 8px; height: 52px; display: flex; align-items: center; align-self: end; }
.speaker__logo-svg { display: block; height: 32px; width: auto; color: var(--text); }
.speaker__logo-img { display: block; height: 52px; width: auto; }

/* Программа */
.program { margin-top: 40px; display: grid; gap: 8px; }
.program__block {
  display: grid;
  gap: 8px;
  padding: 22px clamp(20px, 3vw, 32px);
  border-radius: var(--radius-md);
  background: var(--surface);
}
@media (min-width: 760px) { .program__block { grid-template-columns: 120px minmax(0, 1fr); gap: 32px; } }
.program__block--talk { padding-block: 32px; border: 1px solid rgba(215, 86, 156, .35); background: linear-gradient(135deg, rgba(215, 86, 156, .12), transparent 60%), var(--surface); }
.program__time { font-size: 1.5rem; font-weight: 800; color: var(--accent-bright); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.program__block--end .program__time, .program__block--end .program__title { color: var(--muted); }
.program__data { display: grid; gap: 10px; min-width: 0; }
.program__title { font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; }
.program__block--talk .program__title { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.program__desc { color: var(--muted); }
.program__groups { display: grid; gap: 20px; }
@media (min-width: 900px) { .program__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.program__group { margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-bright); }
.program__theses { display: grid; gap: 8px; font-size: 1.0625rem; font-weight: 600; color: #E6E9EB; }
.program__theses li { position: relative; padding-left: 22px; }
.program__theses li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.program__speaker { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.program__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.program__speaker p { display: grid; line-height: 1.35; }
.program__speaker strong { font-weight: 800; }
.program__speaker span { color: var(--muted); font-size: var(--fs-sm); }

/* Для кого */
.roles { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .roles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.role { display: grid; gap: 12px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.role__title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }
.role__text { font-size: 1.0625rem; font-weight: 600; color: #D9DDE0; }

/* Где и когда */
.venue {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
@media (min-width: 900px) { .venue { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 48px; } }
.venue__main { display: grid; gap: 28px; min-width: 0; }
.venue__rows { display: grid; }
.venue__rows > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .venue__rows > div { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; } }
.venue__rows > div:last-child { border-bottom: 0; }
.venue__rows dt { color: var(--muted); }
.venue__rows dd { font-size: 1.125rem; font-weight: 700; }
.venue__count {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--grad-pink), var(--surface-2);
}
.label__countdown-title { color: #D9DDE0; font-weight: 600; }
.label__countdown-value { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.venue__count .btn { margin-top: 8px; }

/* FAQ */
.faq { display: grid; gap: 8px; margin-top: 40px; max-width: 960px; }
.faq__item { border-radius: var(--radius-md); background: var(--surface); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-size: 1.1875rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); background-color: var(--accent); }
.faq__a { padding: 0 24px 22px; color: #D9DDE0; font-weight: 500; max-width: 46rem; }

/* Регистрация */
.register {
  display: grid;
  gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(215, 86, 156, .25), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(99, 166, 223, .18), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .register { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } }
.register__intro { display: grid; gap: 18px; min-width: 0; }
.register__text { font-size: var(--fs-lg); font-weight: 600; color: #D9DDE0; }
.register__when { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 800; color: var(--accent-bright); }
.register__card { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-md); background: rgba(7, 8, 12, .55); min-width: 0; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: #D9DDE0; }
.field__input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font: 500 var(--fs-base)/1.2 var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input::placeholder { color: #5E666D; }
.field__input:hover { border-color: rgba(255, 255, 255, .2); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(215, 86, 156, .25); }
.field.is-invalid .field__input { border-color: var(--red); }
.field__error { color: var(--red); font-size: .8125rem; font-weight: 600; }
.field__error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); color: #D9DDE0; }
.check__input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.field--check.is-invalid .check__text { color: var(--red); }

.success { display: grid; gap: 14px; justify-items: start; padding-block: 8px; }
.success:focus { outline: none; }
.success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 34px no-repeat;
}
.success__title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.03em; }
.success__text { font-size: var(--fs-lg); font-weight: 600; color: #D9DDE0; }

/* Организатор */
.org { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .org { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; } }
.org__main { display: grid; gap: 18px; min-width: 0; }
.org__kicker { color: var(--muted); font-weight: 600; }
.org__logo { line-height: 0; }
.org__logo-svg { display: block; height: clamp(44px, 6vw, 60px); width: auto; color: var(--text); }
.org__lead { font-size: var(--fs-lg); font-weight: 800; line-height: 1.3; }
.org__list { display: grid; gap: 8px; color: var(--muted); }
.org__list li { position: relative; padding-left: 20px; }
.org__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.org__stats { display: grid; gap: 16px; }
.stat { display: grid; gap: 6px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.stat--pink { background: var(--grad-pink), var(--surface); }
.stat--blue { background: var(--grad-blue), var(--surface); }
.stat__val { font-size: clamp(2.6rem, 1.8rem + 3vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__label { color: #D9DDE0; font-weight: 600; }

/* Подвал */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 32px; color: var(--muted); font-size: var(--fs-sm); }
.footer__inner { display: grid; gap: 20px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 40px; } }
.footer__logo { display: block; height: 28px; width: auto; color: var(--text); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__contacts a { color: var(--text); font-weight: 700; text-decoration: none; }
.footer__contacts a:hover { color: var(--accent-bright); }
.footer__legal { display: grid; gap: 4px; justify-items: start; }
@media (min-width: 900px) { .footer__legal { justify-items: end; text-align: right; } }
.footer__legal a { color: var(--muted); }

/* Модальное окно */
.modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8);
}
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.modal__title { font-size: 1.2rem; font-weight: 800; }
.modal__close { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal__body { display: grid; gap: 12px; padding: 20px 24px; overflow-y: auto; font-size: var(--fs-sm); color: #C9CED2; }
.modal__body ul { display: grid; gap: 4px; padding-left: 20px; list-style: "— "; }
.modal__foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.btn--cobalt { background: var(--grad-btn); color: #fff; }
.btn--cobalt:hover { background: var(--accent-hover); }

/* =====================================================================
 * Объёмный логотип, который проявляет луч сканера (первый экран).
 * Сценарий: рамка «наводится» → луч идёт сверху вниз и открывает логотип
 * (clip-path синхронно с лучом) → логотип плавно покачивается, раз в 8 с
 * по нему проходит повторное сканирование. Без JS.
 * ===================================================================== */
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hero__bottom { grid-template-columns: minmax(0, 52rem) minmax(0, 1fr); gap: 48px; } }

.scan-logo {
  --scan-ease: cubic-bezier(.45, .05, .55, .95);
  --scan-delay: .5s;
  --scan-time: 2.6s;
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  padding: 28px;
}
@media (min-width: 1000px) { .scan-logo { width: min(100%, 400px); } }
/* Мягкое свечение бренда за логотипом */
.scan-logo::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, rgba(229, 112, 175, .35), transparent 60%),
              radial-gradient(circle at 70% 65%, rgba(99, 166, 223, .32), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}

/* Уголки видоискателя */
.scan-logo__corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid rgba(255, 255, 255, .55);
  animation: scan-lock .6s ease-out .1s both;
}
.scan-logo__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.scan-logo__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.scan-logo__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.scan-logo__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
@keyframes scan-lock { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: none; } }

.scan-logo__stage {
  position: relative;
  aspect-ratio: 640 / 665;
  animation: scan-float 6s ease-in-out calc(var(--scan-delay) + var(--scan-time) + .3s) infinite;
}
@keyframes scan-float { 50% { transform: translateY(-10px); } }

.scan-logo__ghost,
.scan-logo__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* «Призрак» до сканирования: обесцвеченный силуэт из строк развёртки */
.scan-logo__ghost {
  opacity: .22;
  filter: grayscale(1) brightness(1.5);
  -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 2px, transparent 2px 5px);
  mask-image: repeating-linear-gradient(0deg, #000 0 2px, transparent 2px 5px);
}

/* Сам логотип открывается сверху вниз синхронно с лучом */
.scan-logo__img {
  filter: drop-shadow(0 18px 30px rgba(99, 166, 223, .25));
  animation: scan-reveal var(--scan-time) var(--scan-ease) var(--scan-delay) both;
}
/* Область обрезки шире картинки на 25%, чтобы не резать мягкую тень drop-shadow */
@keyframes scan-reveal { from { clip-path: inset(-25% -25% 100% -25%); } to { clip-path: inset(-25% -25% -25% -25%); } }

/* Луч: первый проход открывает логотип, дальше — повторные проходы */
.scan-logo__beam {
  position: absolute;
  left: -10%; right: -10%;
  top: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 18%, #fff 50%, var(--blue) 82%, transparent);
  box-shadow: 0 0 18px 4px rgba(215, 86, 156, .55);
  animation:
    scan-beam-reveal var(--scan-time) var(--scan-ease) var(--scan-delay) 1,
    scan-beam-idle 8s var(--scan-ease) calc(var(--scan-delay) + var(--scan-time) + 1.5s) infinite;
}
/* Светящийся шлейф над лучом */
.scan-logo__beam::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  bottom: 2px;
  height: 70px;
  background: linear-gradient(to top, rgba(229, 112, 175, .26), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
@keyframes scan-beam-reveal {
  0%   { top: 0; opacity: 0; }
  6%   { opacity: 1; }
  92%  { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes scan-beam-idle {
  0%        { top: 0; opacity: 0; }
  4%        { opacity: .8; }
  30%       { top: 100%; opacity: .8; }
  34%, 100% { top: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-logo__img, .scan-logo__stage, .scan-logo__corner { animation: none; }
  .scan-logo__beam { display: none; }
}

/* Поле-ловушка для ботов и ошибка отправки формы */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 90, 95, .12); border: 1px solid rgba(255, 90, 95, .45); color: #FFC9CB; font-weight: 600; }
