/* ==========================================================================
   MEDIA BOX — ВНУТРЕННИЕ СТРАНИЦЫ (pages.css)
   --------------------------------------------------------------------------
   Подключается после base.css на страницах:
     services.html      — «Услуги и цены»
     how-it-works.html  — «Как работает Media Box» (+ screens.css для заглушек)
     consultation.html  — «Подобрать решение»

   Содержание:
     1. Общие блоки: шапка страницы (.page-hero), хлебные крошки,
        заголовки секций, полоса-фон секции
     2. Мини-телефон .mphone (визуал «Услуг» и схема «Как работает»)
     3. CTA-блок в конце страницы и ссылки на соцсети
     4. «Услуги и цены»: визуал, возможности, тарифы, запуск
     5. «Как работает»: мини-анимация (схема .flow), шаги, выгоды
     6. «Подобрать решение»: форма, чипы выбора, результат, контакты
     7. Reduced motion

   Правила (как во всём проекте):
     • непрерывно анимируются только transform и opacity;
     • hover — только внутри @media (hover: hover) and (pointer: fine);
     • брейкпоинты: телефон < 640px, планшет 640–1023px, ПК ≥ 1024px.
   ========================================================================== */


/* ==========================================================================
   1. ОБЩИЕ БЛОКИ
   ========================================================================== */

/* --- Шапка страницы: сетка-фон + мягкое свечение --- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(24px, 4.5vw, 64px) clamp(40px, 6vw, 80px);
}

/* Тонкая «инженерная» сетка, растворяется к низу */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .038) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* Свечение акцентом в правом верхнем углу */
.page-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -280px;
  right: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .13), rgba(123, 92, 255, .08) 55%, rgba(123, 92, 255, 0));
  pointer-events: none;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero__grid--visual {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
}

.page-hero__content {
  max-width: 700px;
}

.page-hero__title {
  margin-top: 18px;
  max-width: 17ch;
}

/* В шапке с визуалом справа заголовок чуть компактнее */
.page-hero__grid--visual .page-hero__title {
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem);
}

.page-hero__lead {
  margin-top: 20px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
}

/* Заголовок слева, вводный текст справа (экономит высоту на ПК) */
.page-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 1024px) {
  .page-hero__split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: end;
  }

  .page-hero__split .page-hero__lead {
    margin-top: 0;
  }

  .page-hero__split .page-hero__actions {
    margin-top: 24px;
  }
}

@media (max-width: 639.98px) {
  .page-hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* --- Хлебные крошки --- */
.crumbs {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.crumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Разделитель — маленький шеврон */
.crumbs__item + .crumbs__item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--text-dim);
  border-right: 1.5px solid var(--text-dim);
  transform: rotate(45deg);
}

.crumbs__item a {
  color: var(--text-muted);
  transition: color var(--dur-fast) ease;
}

.crumbs__item [aria-current="page"],
.crumbs__item[aria-current="page"] {
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .crumbs__item a:hover {
    color: var(--text);
  }
}

/* --- Заголовок секции --- */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section-head > h2 {
  margin-top: 14px;
}

.section-head > .lead {
  margin-top: 16px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center > .lead {
  margin-inline: auto;
}

/* Секция на чуть более светлой «полосе» */
.section--band {
  background: linear-gradient(180deg, rgba(11, 16, 32, 0) 0%, rgba(11, 16, 32, .8) 16%, rgba(11, 16, 32, .8) 84%, rgba(11, 16, 32, 0) 100%);
}

/* Тонкая градиентная линия-разделитель сверху секции */
.section--divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(56, 217, 255, .28) 30%, rgba(123, 92, 255, .28) 70%, rgba(255, 255, 255, 0));
}

/* Последняя секция с CTA — поменьше отступ сверху */
.section--cta {
  padding-top: clamp(16px, 3vw, 40px);
}

/* Стрелка после текста кнопки (<span class="icon" data-icon="arrow">):
   плавный сдвиг при наведении (сам сдвиг задан в base.css) */
.btn .icon__svg {
  transition: transform var(--dur) var(--ease-out);
}

/* Кнопка-ссылка без рамки (второстепенное действие) */
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-fast) ease;
}

.link-button .icon {
  width: 1.1em;
  height: 1.1em;
}

@media (hover: hover) and (pointer: fine) {
  .link-button:hover {
    color: var(--text);
  }
}


/* ==========================================================================
   2. МИНИ-ТЕЛЕФОН (.mphone)
   --------------------------------------------------------------------------
   Размер задаётся переменными: --pw (ширина корпуса) и --ph (высота).
   Пропорции корпуса такие же, как у телефонов на главной (≈ 0,485).
   Структура:
     span.mphone
       span.mphone__screen   — экран (сюда how-it-works.js кладёт MB.MockScreen)
       span.mphone__island   — фронтальная камера-«точка» (как у Android;
                               класс исторически называется island)
       span.mphone__glare    — блик стекла
   Телефон — Android-смартфон: кнопки громкости и питания справа (::before/::after).
   ========================================================================== */

.mphone {
  --pw: 72px;
  --ph: calc(var(--pw) * 2.06);

  position: relative;
  display: block;
  flex-shrink: 0;
  width: var(--pw);
  height: var(--ph);
  padding: calc(var(--pw) * .045);
  border-radius: calc(var(--pw) * .14);
  background: linear-gradient(145deg, #4b5366 0%, #1c212b 20%, #2d3341 47%, #131720 73%, #3b4252 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 1px 0 rgba(255, 255, 255, .3),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 18px 32px -16px rgba(0, 0, 0, .85);
}

/* Кнопки громкости и питания на правой грани */
.mphone::before,
.mphone::after {
  content: '';
  position: absolute;
  right: calc(var(--pw) * -.012);
  width: calc(var(--pw) * .018);
  min-width: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, #3d4454, #262c38);
}

.mphone::before {
  top: 17%;
  height: 13%;
}

.mphone::after {
  top: 34%;
  height: 7%;
}

.mphone__screen {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--pw) * .10);
  background: linear-gradient(180deg, #111a33 0%, #0a0f1f 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8);
}

/* Статичный «экран-скелет» — виден без JavaScript и до появления заглушки */
.mphone__skel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .08) 0 7%,
      transparent 7% 12%,
      rgba(255, 255, 255, .05) 12% 45%,
      transparent 45% 50%,
      rgba(255, 255, 255, .05) 50% 83%,
      transparent 83%)
    calc(var(--pw) * .09) calc(var(--pw) * .24) / calc(100% - var(--pw) * .18) calc(100% - var(--pw) * .34) no-repeat;
}

/* Когда заглушка MB.MockScreen вставлена — скелет не нужен */
.mphone__screen.has-mock .mphone__skel {
  display: none;
}

/* Фронтальная камера-«точка» по центру верха экрана */
.mphone__island {
  position: absolute;
  z-index: 5;
  top: calc(var(--pw) * .062);
  left: 50%;
  width: calc(var(--pw) * .05);
  height: calc(var(--pw) * .05);
  min-width: 3px;
  min-height: 3px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #2a3550 0 16%, #0b0f18 30%, #000 62%);
  box-shadow: 0 0 0 calc(var(--pw) * .005) rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.mphone__glare {
  position: absolute;
  z-index: 4;
  inset: calc(var(--pw) * .045);
  border-radius: calc(var(--pw) * .10);
  background: linear-gradient(128deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .025) 26%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

/* Знак действия в центре экрана-скелета */
.mphone__glyph {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: calc(var(--pw) * .36);
  height: calc(var(--pw) * .36);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(56, 217, 255, .35);
  border-radius: 30%;
  color: var(--accent);
  background: rgba(7, 10, 18, .82);
  box-shadow: 0 0 0 calc(var(--pw) * .045) rgba(56, 217, 255, .07);
}

.mphone__glyph .icon {
  width: 52%;
  height: 52%;
}


/* ==========================================================================
   3. CTA-БЛОК И ССЫЛКИ НА СОЦСЕТИ
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(56, 217, 255, .13), rgba(56, 217, 255, 0) 70%) padding-box,
    radial-gradient(560px 340px at 100% 100%, rgba(123, 92, 255, .2), rgba(123, 92, 255, 0) 70%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(56, 217, 255, .6), rgba(255, 255, 255, .08) 42%, rgba(123, 92, 255, .6)) border-box;
  box-shadow: 0 40px 90px -52px rgba(123, 92, 255, .7);
}

/* Сетка внутри CTA, растворяется к краям */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 10%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .cta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}

.cta__title {
  margin-top: 14px;
  max-width: 22ch;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
}

.cta__text {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--text-muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Дополнительная строка на всю ширину CTA (например, список разделов) */
.cta__extra {
  grid-column: 1 / -1;
}

@media (max-width: 639.98px) {
  .cta__actions .btn {
    flex: 1 1 100%;
    /* кнопка на всю ширину: боковые поля меньше — длинная надпись
       («Замовити ведення проєкту» со стрелкой) остаётся в одну строку */
    padding-inline: 16px;
  }
}

/* Самые узкие Android (360 px): надпись со стрелкой всё ещё в одну строку */
@media (max-width: 374.98px) {
  .cta__actions .btn {
    font-size: .9375rem;
  }
}

/* Карточки-ссылки с подписью (CTA «Узнайте больше о Media Box» на странице
   «Подобрать решение» — 6 разделов сайта). Названия разделов длинные
   («Органический арбитраж»), поэтому на планшете — 2 колонки, 3 — от 1024 px. */
.social-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  transition:
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    transform var(--dur) var(--ease-out);
}

.social-link__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
}

.social-link__icon .icon {
  width: 20px;
  height: 20px;
}

.social-link[data-link="instagram"] .social-link__icon { color: #ff4f8b; }
.social-link[data-link="tiktok"] .social-link__icon { color: var(--tt); }
.social-link[data-link="youtube"] .social-link__icon { color: #ff3355; }
.social-link[data-link="telegram"] .social-link__icon { color: var(--tg); }

.social-link__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;   /* страховка: длинное слово не вылезает за карточку */
}

.social-link__name {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.social-link__hint {
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    border-color: rgba(56, 217, 255, .4);
    background-color: rgba(56, 217, 255, .05);
    transform: translateY(-2px);
  }
}


/* ==========================================================================
   4. «УСЛУГИ И ЦЕНЫ»
   ========================================================================== */

/* --- 4.1 Визуал в шапке: три мини-телефона и «уведомления» --- */
.svc-visual {
  --pw-main: 150px;
  --pw-side: calc(var(--pw-main) * .8);

  position: relative;
  height: 440px;
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .svc-visual {
    --pw-main: 140px;
    height: 390px;
  }
}

@media (max-width: 639.98px) {
  .svc-visual {
    --pw-main: 112px;
    height: 300px;
  }
}

.svc-visual__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 120%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .18), rgba(123, 92, 255, .12) 50%, rgba(123, 92, 255, 0) 72%);
  pointer-events: none;
}

/* Позиция и наклон телефона (статично) */
.svc-visual__phone {
  --dx: 0px;
  --dy: 0%;
  --rot: 0deg;

  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) rotate(var(--rot));
}

.svc-visual__phone--main {
  z-index: 2;
}

.svc-visual__phone--main .mphone {
  --pw: var(--pw-main);
  --ph: calc(var(--pw-main) * 2.06);
}

.svc-visual__phone--left,
.svc-visual__phone--right {
  opacity: .88;
}

.svc-visual__phone--left .mphone,
.svc-visual__phone--right .mphone {
  --pw: var(--pw-side);
  --ph: calc(var(--pw-side) * 2.06);
}

.svc-visual__phone--left {
  --dx: calc(var(--pw-main) * -.98);
  --dy: 5%;
  --rot: -9deg;
}

.svc-visual__phone--right {
  --dx: calc(var(--pw-main) * .98);
  --dy: 5%;
  --rot: 9deg;
}

/* Лёгкое «парение» — отдельный слой, чтобы не мешать позиции */
.svc-visual__float {
  display: block;
  animation: svc-float 7s var(--ease-in-out) infinite alternate;
}

.svc-visual__phone--left .svc-visual__float {
  animation-delay: -2.4s;
}

.svc-visual__phone--right .svc-visual__float {
  animation-delay: -4.8s;
}

@keyframes svc-float {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}

/* Экран центрального телефона: заголовок + столбики статистики */
.svc-stats {
  position: absolute;
  inset: calc(var(--pw) * .26) calc(var(--pw) * .09) calc(var(--pw) * .1);
  display: flex;
  flex-direction: column;
  gap: calc(var(--pw) * .06);
}

.svc-stats__head {
  width: 58%;
  height: calc(var(--pw) * .055);
  border-radius: 99px;
  background: rgba(255, 255, 255, .16);
}

.svc-stats__sub {
  width: 36%;
  height: calc(var(--pw) * .035);
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
}

.svc-stats__bars {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  gap: calc(var(--pw) * .035);
  margin-top: calc(var(--pw) * .03);
  padding: calc(var(--pw) * .06);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: calc(var(--pw) * .06);
  background: rgba(255, 255, 255, .035);
}

.svc-stats__bars i {
  flex: 1 1 0;
  height: calc(var(--v, .5) * 100%);
  border-radius: calc(var(--pw) * .02) calc(var(--pw) * .02) 1px 1px;
  background: linear-gradient(180deg, var(--accent), rgba(123, 92, 255, .75));
  transform-origin: 50% 100%;
  animation: svc-bar 1.1s var(--ease-out) both;
}

.svc-stats__bars i:nth-child(2) { animation-delay: .08s; }
.svc-stats__bars i:nth-child(3) { animation-delay: .16s; }
.svc-stats__bars i:nth-child(4) { animation-delay: .24s; }
.svc-stats__bars i:nth-child(5) { animation-delay: .32s; }

@keyframes svc-bar {
  from { transform: scaleY(.08); opacity: .4; }
  to   { transform: scaleY(1); opacity: 1; }
}

.svc-stats__rows {
  height: 20%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .1) 0 70%, transparent 70%) 0 0 / 100% calc(var(--pw) * .04) no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .07) 0 50%, transparent 50%) 0 50% / 100% calc(var(--pw) * .04) no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .07) 0 62%, transparent 62%) 0 100% / 100% calc(var(--pw) * .04) no-repeat;
}

/* «Уведомления» рядом с телефонами */
.svc-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(15, 21, 38, .92);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .95);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  animation: svc-float 6s var(--ease-in-out) infinite alternate;
}

.svc-chip__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--accent-3);
  background: rgba(52, 224, 161, .12);
}

.svc-chip__icon .icon {
  width: 15px;
  height: 15px;
}

.svc-chip--stats .svc-chip__icon {
  color: var(--accent);
  background: rgba(56, 217, 255, .12);
}

.svc-chip--publish {
  left: 0;
  top: 11%;
}

.svc-chip--stats {
  right: 0;
  bottom: 11%;
  animation-delay: -3s;
}

@media (max-width: 639.98px) {
  .svc-chip {
    padding: 7px 11px 7px 8px;
    font-size: .75rem;
  }

  .svc-chip__icon {
    width: 22px;
    height: 22px;
  }

  .svc-chip--publish {
    top: 4%;
  }

  .svc-chip--stats {
    bottom: 4%;
  }
}

/* --- 4.2 Возможности --- */
.caps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.8vw, 20px);
}

@media (min-width: 640px) {
  .caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .caps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 28px);
}

.cap > * {
  margin: 0;
}

.cap__title {
  font-size: 1.0625rem;
  line-height: 1.3;
}

.cap__text {
  margin-top: -8px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* На телефоне — компактно: иконка слева, текст справа */
@media (max-width: 639.98px) {
  .cap {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
  }

  .cap .card__icon {
    grid-row: span 2;
  }

  .cap__text {
    margin-top: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cap:hover {
    border-color: rgba(56, 217, 255, .2);
  }
}

.caps-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(16px, 2.4vw, 24px);
  padding: 18px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.caps-note p {
  margin: 0;
  max-width: 62ch;
}

.caps-note strong {
  color: var(--text);
}

/* --- 4.3 Тарифы --- */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

@media (min-width: 1024px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
}

.plan > * {
  margin: 0;
}

.plan__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.plan__name {
  font-size: 1.375rem;
}

.plan__desc {
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding-block: 18px;
  border-block: 1px solid var(--border);
}

.plan__from,
.plan__period {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* «від» / «от» / “from” перед ценой (под ключ — від $2500, ведення — від $1500).
   Работает в любом ценовом блоке: .plan__price, .pkg__price, .hw-offer__price… */
.price__from {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
  white-space: nowrap;
}

.plan__amount {
  font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  font-size: .9375rem;
}

.plan__list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
  color: var(--text);
}

/* Галочка в кружке */
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(56, 217, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .3);
}

.plan__cta {
  margin-top: auto;
}

/* Выделенный тариф */
.plan--featured .plan__amount {
  color: var(--accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .plan--featured .plan__amount {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Планшет: тариф — горизонтальная карточка (слева цена, справа состав) */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "head  list"
      "price list"
      "cta   list";
    grid-template-rows: auto auto 1fr;
    column-gap: 40px;
    row-gap: 20px;
  }

  .plan__head { grid-area: head; }
  .plan__price { grid-area: price; }
  .plan__cta { grid-area: cta; align-self: end; }

  .plan__list {
    grid-area: list;
    align-self: center;
  }
}

/* Индивидуальный расчёт — широкая карточка под тарифами */
.plan-custom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(16px, 2vw, 24px);
  padding: clamp(22px, 3vw, 32px);
}

.plan-custom__main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.plan-custom__title {
  font-size: 1.25rem;
}

.plan-custom__text {
  margin-top: 6px;
  max-width: 60ch;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .plan-custom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .plan-custom .btn {
    flex-shrink: 0;
  }
}

.plans-note {
  margin-top: 20px;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}

/* --- 4.4 Как мы запускаем --- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

.process__step {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 60%),
    var(--surface);
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: .9375rem;
  font-weight: 800;
  color: var(--text-on-accent);
  background: var(--accent-grad);
  box-shadow: 0 10px 22px -12px rgba(56, 217, 255, .8);
}

.process__title {
  margin-top: 18px;
  font-size: 1.0625rem;
}

.process__text {
  margin-top: 8px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ПК: соединительная линия между шагами */
@media (min-width: 1024px) {
  .process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(clamp(20px, 2.4vw, 28px) + 20px);
    left: 100%;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(56, 217, 255, .7), rgba(123, 92, 255, .7));
  }
}


/* ==========================================================================
   5. «КАК РАБОТАЕТ»: МИНИ-АНИМАЦИЯ (.flow)
   --------------------------------------------------------------------------
   Разметка — how-it-works.html, логика — assets/js/pages/how-it-works.js.

   Состояния корня .flow (ставит скрипт):
     (без классов)   — статичная схема: все шаги видны, линия подсвечена.
                       Так схема выглядит без JavaScript и при reduced motion.
     .is-animated    — включена поочерёдная подсветка шагов (всё на CSS);
     .is-running     — схема на экране, анимация идёт;
     .is-paused      — схема вне экрана / вкладка скрыта / нажата «Пауза».

   ПК и планшет: 6 шагов в строку, линия со световым импульсом.
   Телефон (< 640px): шаги столбиком, линия вертикальная.

   Длительность полного цикла — --flow-dur (по умолчанию 9 секунд):
   каждый шаг подсвечивается 1/6 цикла. Число шагов (6) заложено
   в проценты ключевых кадров ниже — при изменении числа шагов
   пересчитайте их.
   ========================================================================== */

.flow {
  --flow-dur: 9s;

  position: relative;
  isolation: isolate;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0 clamp(12px, 2.4vw, 28px) clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(900px 260px at 50% 0%, rgba(56, 217, 255, .07), rgba(56, 217, 255, 0) 70%),
    linear-gradient(180deg, rgba(21, 28, 49, .75), rgba(11, 16, 32, .75));
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, .9);
  container-type: inline-size;
}

/* Сетка на фоне панели */
.flow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* --- Верхняя строка панели: подпись + кнопка паузы --- */
.flow__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}

.flow__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-muted);
}

/* Индикатор «в работе» */
.flow__live {
  position: relative;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(52, 224, 161, .14);
}

.flow__live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(52, 224, 161, .6);
  opacity: 0;
}

.flow.is-animated.is-running .flow__live::after {
  animation: flow-live 2s var(--ease-out) infinite;
}

.flow.is-animated.is-paused .flow__live {
  background: var(--text-dim);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
}

@keyframes flow-live {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Кнопка «Пауза / Запустить» (показывает скрипт) */
.flow__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .03);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.flow__toggle-icon {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 12px;
}

/* Значок «пауза»: две полоски */
.flow__toggle-icon::before,
.flow__toggle-icon::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}

.flow__toggle-icon::before { left: 1px; }
.flow__toggle-icon::after { right: 1px; }

/* Значок «запустить»: треугольник */
.flow__toggle[data-paused="true"] .flow__toggle-icon::before {
  left: 1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
  border-radius: 0;
  background: none;
}

.flow__toggle[data-paused="true"] .flow__toggle-icon::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .flow__toggle:hover {
    color: var(--text);
    border-color: rgba(56, 217, 255, .45);
    background-color: rgba(56, 217, 255, .06);
  }
}

/* --- Тело схемы: размеры считаются от ширины панели (cqw) --- */
/* Телефоны крупные: на их экранах — реалистичные «снимки» приложений
   (MockScreen, раздел 13 screens.css), их должно быть хорошо видно.
   ПК ≈ 280 px в высоту, планшет ≈ 165 px. */
.flow__body {
  --stage-h: clamp(150px, 28cqw, 330px);   /* высота «сцены» шага */
  --phone-h: calc(var(--stage-h) * .84);   /* высота телефона */

  position: relative;
}

.flow__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.flow__node {
  --i: 0;
  --flow-delay: calc(var(--i) * var(--flow-dur) / 6);

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-inline: 4px;
  text-align: center;
}

/* Порядковый номер шага — задержка его подсветки */
.flow__node:nth-child(1) { --i: 0; }
.flow__node:nth-child(2) { --i: 1; }
.flow__node:nth-child(3) { --i: 2; }
.flow__node:nth-child(4) { --i: 3; }
.flow__node:nth-child(5) { --i: 4; }
.flow__node:nth-child(6) { --i: 5; }

/* Шеврон-стрелка между шагами (направление потока) */
.flow__node:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: calc(var(--stage-h) / 2);
  right: 0;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-top: 1.5px solid rgba(56, 217, 255, .75);
  border-right: 1.5px solid rgba(56, 217, 255, .75);
  transform: translateX(50%) rotate(45deg);
}

.flow__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--stage-h);
}

/* Подсветка шага: готовый радиальный градиент, меняется только opacity */
.flow__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--phone-h) * 1.3);
  height: calc(var(--phone-h) * 1.3);
  margin: calc(var(--phone-h) * -.65) 0 0 calc(var(--phone-h) * -.65);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .3), rgba(123, 92, 255, .14) 55%, rgba(123, 92, 255, 0));
  opacity: .45;
  pointer-events: none;
}

.flow__device {
  position: relative;
  display: block;
  transform-origin: 50% 80%;
}

.flow .mphone {
  --ph: var(--phone-h);
  --pw: calc(var(--phone-h) * .485);
}

/* Значок действия на углу телефона */
.flow__badge {
  position: absolute;
  z-index: 6;
  right: calc(var(--phone-h) * -.07);
  bottom: calc(var(--phone-h) * .1);
  display: grid;
  place-items: center;
  width: clamp(24px, calc(var(--phone-h) * .19), 38px);
  height: clamp(24px, calc(var(--phone-h) * .19), 38px);
  border: 1px solid rgba(56, 217, 255, .4);
  border-radius: 50%;
  color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .9);
}

.flow__badge .icon {
  width: 55%;
  height: 55%;
}

/* Иконка не вставилась (нет JavaScript) — пустой кружок не показываем */
.flow__badge:has(.icon:empty),
.mphone__glyph:has(.icon:empty) {
  display: none;
}

/* «Ядро» Media Box — первый шаг */
.flow__core {
  --core: min(calc(var(--phone-h) * .5), 128px);   /* телефоны выросли — ядро не растёт вслед за ними */

  position: relative;
  display: grid;
  place-items: center;
  width: var(--core);
  height: var(--core);
  border-radius: 28%;
  background: linear-gradient(145deg, #38d9ff 0%, #7b5cff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 18px 40px -14px rgba(56, 217, 255, .55),
    0 18px 48px -18px rgba(123, 92, 255, .6);
}

/* Блик на ядре */
.flow__core::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

/* Силуэт телефона внутри ядра (как в логотипе) */
.flow__core-mark {
  position: relative;
  width: 36%;
  height: 56%;
  border: calc(var(--core) * .06) solid var(--text-on-accent);
  border-radius: calc(var(--core) * .11);
  background: rgba(255, 255, 255, .22);
}

.flow__core-mark::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 34%;
  height: calc(var(--core) * .045);
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--text-on-accent);
}

/* Кольца «сигнала» вокруг ядра (статично — два контура) */
.flow__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(56, 217, 255, .55);
  border-radius: inherit;
  transform: scale(1.22);
  opacity: .4;
  pointer-events: none;
}

.flow__ring--2 {
  transform: scale(1.46);
  opacity: .18;
}

/* Подпись шага */
.flow__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 14px;
}

.flow__num {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(56, 217, 255, .3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  color: var(--accent);
  background: rgba(56, 217, 255, .06);
  font-variant-numeric: tabular-nums;
}

/* Заливка номера активного шага (меняется только opacity) */
.flow__num::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 217, 255, .28), rgba(123, 92, 255, .32));
  box-shadow: 0 0 0 1px rgba(56, 217, 255, .7), 0 0 16px rgba(56, 217, 255, .35);
  opacity: 0;
}

.flow__title {
  max-width: 15ch;
  font-size: clamp(12px, 1.35cqw, 15px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--text);
  overflow-wrap: break-word;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.flow__node--core .flow__title {
  color: var(--accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .flow__node--core .flow__title {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Пояснение под заголовком — только в вертикальной схеме (телефон) */
.flow__hint {
  display: none;
}

/* --- Линия, соединяющая шаги, и световой импульс --- */
.flow__track {
  position: absolute;
  z-index: 0;
  top: calc(var(--stage-h) / 2 - 18px);
  left: calc(100% / 12 - 18px);
  right: calc(100% / 12 - 18px);
  height: 36px;
  overflow: hidden;
  pointer-events: none;
}

/* Базовая линия (от центра первого шага до центра последнего) */
.flow__track::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(56, 217, 255, .5), rgba(123, 92, 255, .5));
}

/* Дорожка импульса — ровно между центрами крайних шагов */
.flow__lane {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  right: 18px;
}

/* Импульс: «хвост» + яркая точка на конце; двигается только transform */
.flow__beam {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  opacity: 0;
}

.flow__beam::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(56, 217, 255, .1) 0%, rgba(56, 217, 255, .7) 82%, rgba(214, 246, 255, 1) 100%);
}

.flow__beam::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #dff8ff;
  box-shadow:
    0 0 0 3px rgba(56, 217, 255, .25),
    0 0 10px 3px rgba(56, 217, 255, .6);
}

/* --- Телефон: вертикальная схема --- */
@media (max-width: 639.98px) {
  .flow__bar {
    min-height: 56px;
  }

  /* Телефон ≈ 99 px шириной: реалистичный экран внутри хорошо видно.
     Строка на 34 px выше телефона: активный шаг приподнимается (−4 %)
     и не должен закрывать стрелку-шеврон между шагами.
     Дорожка и стрелки считаются от этих переменных и подстраиваются сами. */
  .flow__body {
    --rail: 116px;      /* ширина колонки с телефонами */
    --row-h: 238px;     /* высота строки шага */
    --stage-h: var(--row-h);
    --phone-h: 204px;
  }

  .flow__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow__node {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    height: var(--row-h);
    padding: 0;
    text-align: left;
  }

  .flow__node:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: calc(var(--rail) / 2);
    margin: 0;
    transform: translate(-50%, 50%) rotate(135deg);
  }

  .flow__stage {
    flex-shrink: 0;
    width: var(--rail);
    height: var(--row-h);
  }

  .flow__caption {
    align-items: flex-start;
    gap: 4px;
    margin-top: 0;
  }

  .flow__num {
    margin-bottom: 2px;
  }

  .flow__title {
    max-width: none;
    font-size: 1rem;
  }

  .flow__hint {
    display: block;
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--text-muted);
  }

  .flow__track {
    top: calc(var(--row-h) / 2 - 18px);
    bottom: calc(var(--row-h) / 2 - 18px);
    left: calc(var(--rail) / 2 - 18px);
    right: auto;
    width: 36px;
    height: auto;
  }

  .flow__track::before {
    top: 18px;
    bottom: 18px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    margin: 0 0 0 -1px;
    background: linear-gradient(180deg, rgba(56, 217, 255, .5), rgba(123, 92, 255, .5));
  }

  .flow__lane {
    top: 18px;
    bottom: 18px;
    left: 0;
    right: 0;
  }

  .flow__beam {
    transform: translateY(-100%);
  }

  .flow__beam::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    margin: 0 0 0 -1px;
    background: linear-gradient(180deg, rgba(56, 217, 255, .1) 0%, rgba(56, 217, 255, .7) 82%, rgba(214, 246, 255, 1) 100%);
  }

  .flow__beam::after {
    top: auto;
    right: auto;
    bottom: -5px;
    left: 50%;
    margin: 0 0 0 -5px;
  }
}

/* --- Анимация (только при .is-animated) --- */

/* В анимированном режиме базовое состояние шага — чуть приглушённое (.72:
   экраны телефонов должны оставаться хорошо видны), активный шаг
   подсвечивается по очереди */
.flow.is-animated .flow__node {
  opacity: .72;
  animation: flow-node var(--flow-dur) var(--ease-in-out) var(--flow-delay) infinite both;
}

.flow.is-animated .flow__device {
  transform: scale(.96);
  animation: flow-device var(--flow-dur) var(--ease-in-out) var(--flow-delay) infinite both;
}

.flow.is-animated .flow__halo {
  opacity: 0;
  animation: flow-glow var(--flow-dur) var(--ease-in-out) var(--flow-delay) infinite both;
}

.flow.is-animated .flow__num::before {
  animation: flow-glow var(--flow-dur) var(--ease-in-out) var(--flow-delay) infinite both;
}

/* Линия приглушается, по ней бежит импульс */
.flow.is-animated .flow__track::before {
  background: rgba(255, 255, 255, .1);
}

.flow.is-animated .flow__beam {
  animation: flow-beam-x var(--flow-dur) var(--ease-in-out) infinite both;
}

@media (max-width: 639.98px) {
  .flow.is-animated .flow__beam {
    animation-name: flow-beam-y;
  }
}

/* Ядро «излучает» сигнал */
.flow.is-animated .flow__ring {
  animation: flow-ring 2.4s var(--ease-out) infinite both;
}

.flow.is-animated .flow__ring--2 {
  animation-delay: 1.2s;
}

/* Пауза: схема вне экрана, вкладка скрыта или нажата «Пауза».
   Заодно останавливает заглушки MB.MockScreen внутри телефонов. */
.flow.is-paused *,
.flow.is-paused *::before,
.flow.is-paused *::after {
  animation-play-state: paused !important;
}

/* Шаг: 0–4% — разгорается, до 15% — горит, к 21% — гаснет.
   Задержка --flow-delay сдвигает окно подсветки каждого шага на 1/6 цикла. */
@keyframes flow-node {
  0%   { opacity: .72; }
  4%   { opacity: 1; }
  15%  { opacity: 1; }
  21%  { opacity: .72; }
  100% { opacity: .72; }
}

@keyframes flow-device {
  0%   { transform: translateY(0) scale(.96); }
  4%   { transform: translateY(-4%) scale(1.02); }
  15%  { transform: translateY(-4%) scale(1.02); }
  21%  { transform: translateY(0) scale(.96); }
  100% { transform: translateY(0) scale(.96); }
}

@keyframes flow-glow {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  15%  { opacity: 1; }
  21%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Импульс «прыгает» от шага к шагу: стоит на шаге, затем перелетает
   к следующему и приходит ровно к началу его подсветки (k/6 цикла). */
@keyframes flow-beam-x {
  0%      { transform: translateX(-100%); opacity: 0; }
  3%      { transform: translateX(-100%); opacity: 1; }
  7%      { transform: translateX(-100%); }
  16.667% { transform: translateX(-80%); }
  23.667% { transform: translateX(-80%); }
  33.333% { transform: translateX(-60%); }
  40.333% { transform: translateX(-60%); }
  50%     { transform: translateX(-40%); }
  57%     { transform: translateX(-40%); }
  66.667% { transform: translateX(-20%); }
  73.667% { transform: translateX(-20%); }
  83.333% { transform: translateX(0); opacity: 1; }
  93%     { transform: translateX(0); opacity: 1; }
  99%     { transform: translateX(0); opacity: 0; }
  100%    { transform: translateX(0); opacity: 0; }
}

@keyframes flow-beam-y {
  0%      { transform: translateY(-100%); opacity: 0; }
  3%      { transform: translateY(-100%); opacity: 1; }
  7%      { transform: translateY(-100%); }
  16.667% { transform: translateY(-80%); }
  23.667% { transform: translateY(-80%); }
  33.333% { transform: translateY(-60%); }
  40.333% { transform: translateY(-60%); }
  50%     { transform: translateY(-40%); }
  57%     { transform: translateY(-40%); }
  66.667% { transform: translateY(-20%); }
  73.667% { transform: translateY(-20%); }
  83.333% { transform: translateY(0); opacity: 1; }
  93%     { transform: translateY(0); opacity: 1; }
  99%     { transform: translateY(0); opacity: 0; }
  100%    { transform: translateY(0); opacity: 0; }
}

@keyframes flow-ring {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --- 5.2 Шаги подробно --- */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card > * {
  margin: 0;
}

.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-card__num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-card__num {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.step-card__title {
  font-size: 1.125rem;
}

.step-card__text {
  margin-top: -6px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- 5.3 Что вы получаете --- */
.benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.benefit {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(56, 217, 255, .06), rgba(56, 217, 255, 0) 45%),
    var(--bg-2);
}

/* Акцентная полоска сверху карточки */
.benefit::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 217, 255, 0), rgba(56, 217, 255, .7), rgba(123, 92, 255, .7), rgba(123, 92, 255, 0));
}

.benefit__title {
  margin-top: 20px;
  font-size: 1.125rem;
}

.benefit__text {
  margin-top: 8px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ==========================================================================
   6. «ПОДОБРАТЬ РЕШЕНИЕ»: ФОРМА ЗАЯВКИ
   ========================================================================== */

.consult__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "intro"
    "form"
    "contacts";
  gap: clamp(32px, 5vw, 48px);
}

@media (min-width: 1024px) {
  .consult__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro    form"
      "contacts form";
    column-gap: clamp(40px, 5vw, 72px);
    row-gap: 32px;
    align-items: start;
  }
}

.consult__intro { grid-area: intro; }
.consult__main { grid-area: form; min-width: 0; }
.consult__contacts { grid-area: contacts; }

/* Три пункта «что будет дальше» */
.consult-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(28px, 4vw, 40px);
}

.consult-point {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.consult-point__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.consult-point__text {
  display: block;
  margin-top: 2px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Карточка с формой */
.consult-card {
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--radius-xl);
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.consult-form > * {
  margin: 0;
}

.consult-form__head > * + * {
  margin-top: 8px;
}

.consult-form__title {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
}

.consult-form__note {
  font-size: .875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Звёздочка обязательного поля */
.req {
  margin-left: 2px;
  color: var(--accent);
}

/* Группа полей (fieldset) без рамки браузера */
.field--group {
  display: block;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field--group > legend {
  float: left;          /* legend ведёт себя как обычный блок */
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
}

.field--group > legend + * {
  clear: both;
}

.field--group .field__hint {
  margin: -4px 0 12px;
}

/* Иконка перед текстом ошибки */
.field__error::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #1a0a0e;
  background: var(--danger);
}

.field--group .field__error {
  margin-top: 10px;
}

/* --- Чипы выбора (радио и чекбоксы) --- */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
  display: inline-flex;
}

/* Сам input скрыт визуально, но остаётся доступным с клавиатуры */
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice__body {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  background: rgba(11, 16, 32, .8);
  pointer-events: none;
  transition:
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease;
}

.choice__body .icon {
  width: 18px;
  height: 18px;
}

.choice[data-brand="telegram"] .icon { color: var(--tg); }
.choice[data-brand="instagram"] .icon { color: #ff4f8b; }
.choice[data-brand="tiktok"] .icon { color: var(--tt); }
.choice[data-brand="youtube"] .icon { color: #ff3355; }

/* Галочка у чекбоксов (появляется при выборе) */
.choice__tick {
  display: none;
  width: 9px;
  height: 5px;
  margin: -3px 2px 0 0;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.choice input:checked + .choice__body {
  color: var(--text);
  border-color: rgba(56, 217, 255, .6);
  background: linear-gradient(135deg, rgba(56, 217, 255, .14), rgba(123, 92, 255, .16));
  box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .22);
}

.choice input:checked + .choice__body .choice__tick {
  display: inline-block;
}

.choice input:focus-visible + .choice__body {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .choice:hover input:not(:checked) + .choice__body {
    color: var(--text);
    border-color: rgba(56, 217, 255, .4);
  }
}

/* Выбранный тариф (переход со страницы «Услуги и цены») */
.consult-plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(56, 217, 255, .3);
  border-radius: var(--radius);
  background: rgba(56, 217, 255, .06);
  font-size: .9375rem;
  color: var(--text-muted);
}

.consult-plan b {
  color: var(--text);
}

.consult-plan__remove {
  margin-left: auto;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .consult-plan__remove:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, .3);
  }
}

/* Ловушка для спам-ботов: поле не видно людям */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Подвал формы */
.consult-form__footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Пустая строка состояния не занимает места, но остаётся в дереве
   доступности — иначе экранный диктор может не озвучить новое сообщение */
.consult-form__status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.consult-form__status {
  font-size: .875rem;
  font-weight: 600;
  color: #ffc2cb;
}

/* Сообщение об ошибке отправки */
.form-alert {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 107, 129, .38);
  border-radius: 14px;
  font-size: .9375rem;
  line-height: 1.55;
  color: #ffd6dd;
  background: rgba(255, 107, 129, .08);
}

.form-alert p {
  margin: 0;
}

/* Индикатор загрузки в кнопке */
.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(6, 16, 31, .25);
  border-top-color: var(--text-on-accent);
  border-radius: 50%;
}

.btn.is-loading .btn__spinner {
  display: inline-block;
  animation: mb-spin .8s linear infinite;
}

/* Во время отправки кнопка не «тускнеет» как недоступная — видно индикатор */
.btn.is-loading,
.btn.is-loading[aria-disabled="true"] {
  opacity: .92;
  cursor: progress;
}

@keyframes mb-spin {
  to { transform: rotate(360deg); }
}

/* --- Результат: заявка отправлена / скопирована --- */
.consult-done {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consult-done > * {
  margin: 0;
}

.consult-done__badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--text-on-accent);
  background: var(--accent-grad);
  box-shadow: 0 14px 32px -14px rgba(56, 217, 255, .8);
}

.consult-done__badge .icon {
  width: 28px;
  height: 28px;
}

.consult-done__title {
  font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem);
}

.consult-done__title:focus {
  outline: none;
}

.consult-done__text {
  margin-top: -8px;
  color: var(--text-muted);
}

.consult-done__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: done-step;
}

.consult-done__steps li {
  position: relative;
  min-height: 28px;
  padding: 3px 0 0 42px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  counter-increment: done-step;
}

.consult-done__steps li::before {
  content: counter(done-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(56, 217, 255, .3);
  border-radius: 50%;
  font-size: .8125rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(56, 217, 255, .1);
}

.consult-done__steps kbd {
  padding: 1px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.consult-done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 639.98px) {
  .consult-done__actions .btn {
    flex: 1 1 100%;
  }
}

.consult-done__preview {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 16, 32, .6);
}

.consult-done__preview > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.consult-done__preview > summary::-webkit-details-marker {
  display: none;
}

/* Стрелка раскрытия */
.consult-done__preview > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) ease;
}

.consult-done__preview[open] > summary::after {
  transform: rotate(-135deg);
}

.consult-done__preview-body {
  padding: 0 16px 16px;
}

.consult-done__textarea {
  min-height: 200px;
  font-size: .875rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* --- Контакты рядом с формой --- */
.consult-contacts {
  padding: clamp(20px, 2.6vw, 28px);
}

.consult-contacts__title {
  font-size: 1.0625rem;
}

.consult-contacts__text {
  margin-top: 6px;
  font-size: .9375rem;
  color: var(--text-muted);
}

.consult-contacts__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.consult-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.consult-contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(56, 217, 255, .08);
  border: 1px solid rgba(56, 217, 255, .2);
}

.consult-contact[data-contact="telegram"] .consult-contact__icon {
  color: var(--tg);
}

.consult-contact__icon .icon {
  width: 20px;
  height: 20px;
}

.consult-contact__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.consult-contact__label {
  font-size: .8125rem;
  line-height: 1.3;
  color: var(--text-muted);
}

/* Длинный ник (@founder_Synergy_D_Group) на узком экране переносится,
   а не обрезается многоточием: посетитель должен видеть его целиком */
.consult-contact__value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* На узких телефонах (375 px) чуть меньший кегль — ник помещается в одну строку */
@media (max-width: 419.98px) {
  .consult-contact__value {
    font-size: .9375rem;
  }
}

/* На самых узких Android (360 px) — ещё чуть меньше */
@media (max-width: 374.98px) {
  .consult-contact__value {
    font-size: .875rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .consult-contact:hover {
    border-color: rgba(56, 217, 255, .35);
    background-color: rgba(56, 217, 255, .05);
  }
}


/* ==========================================================================
   7. REDUCED MOTION
   Глобальное правило в base.css уже «гасит» анимации; здесь убираем
   декоративное движение полностью, чтобы элементы стояли в спокойной позиции.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .svc-visual__float,
  .svc-chip,
  .svc-stats__bars i {
    animation: none !important;
  }

  .flow__beam {
    display: none;
  }

  .social-link:hover {
    transform: none;
  }
}


/* ==========================================================================
   ===== Новые страницы (v2) =====
   --------------------------------------------------------------------------
   Стили четырёх новых страниц (обновление v2):
     promotion.html  — «Продвижение бизнеса под ключ»
     arbitrage.html  — «Что такое органический арбитраж»
     platforms.html  — «Социальные площадки»
     software.html   — «Собственный софт Synergy Digital Group»

   Страницы используют и общие блоки выше (.page-hero, .crumbs, .section-head,
   .cap, .benefits, .steps, .step-card, .flow, .cta, .mphone, .svc-visual,
   .svc-chip) — здесь только новое. Существующие правила выше НЕ меняются.
   Правила те же: непрерывно анимируются только transform и opacity,
   hover — только для мыши, брейкпоинты 640 / 1024 px.

   Содержание блока:
     v2.1 Общее: «живые» блоки [data-live], длинный заголовок, раскладка
          «текст + визуал» (.split), список с галочками (.checklist),
          пункты с иконкой (.feature), примечание (.note), сноска
     v2.2 «Продвижение»: визуал-план (.promo-visual), этапы работы (.stages)
     v2.3 «Арбитраж»: визуал-воронка (.arb-visual), определение (.define),
          сравнение (.compare), узел «Заявки» в схеме (.flow__core--goal),
          стена устройств (.wall), вопросы и ответы (.faq)
     v2.4 «Площадки»: орбита (.orbit), карточки площадок (.plats, .plat)
     v2.5 «Софт»: окно-панель (.dash-visual), сетка возможностей (.bento),
          ряд устройств (.devrow), витрина экранов (.showcase)
     v2.6 Reduced motion
   ========================================================================== */


/* --------------------------------------------------------------------------
   v2.1 ОБЩЕЕ
   -------------------------------------------------------------------------- */

/* «Живые» блоки: скрипт страницы ставит .is-paused, когда блок вне экрана
   или вкладка скрыта, — все анимации внутри (и заглушки MockScreen)
   останавливаются и не тратят ресурсы устройства */
[data-live].is-paused *,
[data-live].is-paused *::before,
[data-live].is-paused *::after {
  animation-play-state: paused !important;
}

/* Лёгкое «парение» (ключевые кадры svc-float — из раздела 4.1) */
.v2-float {
  display: block;
  animation: svc-float 7s var(--ease-in-out) infinite alternate;
}

.v2-float--slow {
  animation-duration: 9s;
  animation-delay: -3s;
}

.v2-float--late {
  animation-delay: -5s;
}

@keyframes v2-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

@keyframes v2-blink {
  0%, 100% { opacity: .3; }
  50%      { opacity: 1; }
}

@keyframes v2-ring {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* --- Длинный заголовок в шапке страницы (страница «Софт») --- */
.page-hero__title--long,
.page-hero__grid--visual .page-hero__title--long {
  max-width: 20ch;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.125rem);
  overflow-wrap: break-word;
}

/* --- Раскладка «текст + визуал» --- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Визуал слева, текст справа (в разметке текст идёт первым —
     так на телефоне он остаётся над визуалом) */
  .split--reverse > :first-child {
    order: 2;
  }
}

.split__text > .section-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* --- Список с галочками --- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist li {
  position: relative;
  padding-left: 40px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.checklist li strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(56, 217, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .3);
}

/* --- Пункты «иконка + заголовок + текст» --- */
.features {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
}

.feature .card__icon {
  grid-row: span 2;
}

.feature__title {
  padding-top: 2px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.feature__text {
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- Примечание (правила площадок и т.п.) --- */
.note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid rgba(56, 217, 255, .2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(56, 217, 255, .06), rgba(123, 92, 255, .06)),
    var(--bg-2);
}

.note .card__icon {
  grid-row: span 2;
}

.note__title {
  padding-top: 2px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.note__text {
  margin-top: 6px;
  max-width: 76ch;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- Мелкая сноска под блоком --- */
.v2-footnote {
  margin-top: 20px;
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.v2-footnote--center {
  text-align: center;
}


/* --------------------------------------------------------------------------
   v2.2 «ПРОДВИЖЕНИЕ ПОД КЛЮЧ»
   -------------------------------------------------------------------------- */

/* --- Визуал в шапке: карточка «План продвижения» + телефон со статистикой --- */
.promo-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 450px;
  margin-inline: auto;
}

.promo-visual__glow {
  position: absolute;
  left: 55%;
  top: 50%;
  width: min(560px, 120%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .16), rgba(123, 92, 255, .11) 50%, rgba(123, 92, 255, 0) 72%);
  pointer-events: none;
}

.promo-board {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 3%;
  width: min(80%, 392px);
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23, 31, 54, .97), rgba(14, 20, 37, .97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 40px 80px -36px rgba(0, 0, 0, .95),
    0 30px 70px -50px rgba(56, 217, 255, .5);
}

.promo-board__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.promo-board__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--text-on-accent);
  background: var(--accent-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}

.promo-board__mark .icon {
  width: 20px;
  height: 20px;
}

.promo-board__title {
  display: block;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.promo-board__sub {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-muted);
}

.promo-board__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.promo-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.promo-row__st {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.promo-row__st .icon {
  width: 13px;
  height: 13px;
}

.promo-row__name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.promo-row__tag {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .05);
}

/* Этап выполнен */
.promo-row--done .promo-row__st {
  color: var(--accent-3);
  background: rgba(52, 224, 161, .14);
  box-shadow: inset 0 0 0 1px rgba(52, 224, 161, .3);
}

.promo-row--done .promo-row__tag {
  color: var(--accent-3);
  background: rgba(52, 224, 161, .1);
}

/* Этап в работе: подсвеченная строка и «живая» точка */
.promo-row--active {
  background: rgba(56, 217, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .24);
}

.promo-row--active .promo-row__st {
  background: rgba(56, 217, 255, .12);
}

.promo-row--active .promo-row__st::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(56, 217, 255, .9);
  animation: v2-pulse 1.6s ease-in-out infinite;
}

.promo-row--active .promo-row__tag {
  color: var(--accent);
  background: rgba(56, 217, 255, .1);
}

/* Следующий этап */
.promo-row--next {
  color: var(--text-muted);
}

.promo-row--next .promo-row__st {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18);
}

.promo-board__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.promo-board__bar {
  position: relative;
  flex: 1 1 auto;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
}

.promo-board__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent-grad);
  transform-origin: left center;
  transform: scaleX(.56);
  animation: promo-bar 5s var(--ease-in-out) infinite alternate;
}

@keyframes promo-bar {
  from { transform: scaleX(.46); }
  to   { transform: scaleX(.64); }
}

/* Телефон со статистикой поверх карточки */
.promo-visual__phone {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 0;
  transform: rotate(6deg);
}

.promo-visual__phone .mphone {
  --pw: 148px;
  --ph: calc(148px * 2.06);
}

/* ПК: колонка с визуалом узкая (≈ 420–500 px), поэтому карточка чуть уже,
   а телефон меньше и ближе к правому краю — он перекрывает только пустой
   край карточки, а метки «Готово / В работе / Далее» и полоса прогресса
   остаются открытыми. */
@media (min-width: 1024px) {
  .promo-board {
    width: min(72%, 360px);
  }

  .promo-visual__phone {
    right: 1%;
  }

  .promo-visual__phone .mphone {
    --pw: 128px;
    --ph: calc(128px * 2.06);
  }
}

/* «Уведомление» (класс .svc-chip — из раздела 4.1) */
.promo-visual__chip {
  left: 2%;
  bottom: 1%;
}

@media (max-width: 639.98px) {
  .promo-visual {
    height: 470px;
  }

  .promo-board {
    width: 86%;
    padding: 14px;
  }

  .promo-row {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 38px;
    padding: 7px 8px;
    gap: 8px;
  }

  /* На узком экране статус понятен по значку — метки не нужны */
  .promo-row__tag {
    display: none;
  }

  .promo-visual__phone {
    right: 0;
  }

  .promo-visual__phone .mphone {
    --pw: 100px;
    --ph: calc(100px * 2.06);
  }

  .promo-visual__chip {
    left: 0;
    bottom: 4%;
  }
}

/* --- Этапы работы (5 шагов): столбиком на телефоне и планшете,
       в строку с соединительной линией на ПК --- */
.stages {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.stages__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  padding-bottom: 30px;
}

.stages__item:last-child {
  padding-bottom: 0;
}

/* Вертикальная линия к следующему этапу */
.stages__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23.5px;
  top: 56px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(56, 217, 255, .6), rgba(123, 92, 255, .25));
}

.stages__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(56, 217, 255, .35);
  border-radius: 14px;
  font-size: .9375rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(56, 217, 255, .08);
  font-variant-numeric: tabular-nums;
}

/* Финальный этап — акцентный */
.stages__item--final .stages__num {
  border-color: transparent;
  color: var(--text-on-accent);
  background: var(--accent-grad);
  box-shadow: 0 10px 24px -12px rgba(56, 217, 255, .8);
}

.stages__body {
  padding-top: 10px;
}

.stages__title {
  font-size: 1.0625rem;
  line-height: 1.35;
}

.stages__text {
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .stages {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }

  .stages__item {
    display: block;
    padding-bottom: 0;
  }

  /* Горизонтальная линия от номера к номеру следующего этапа */
  .stages__item:not(:last-child)::before {
    left: 60px;
    right: -12px;
    top: 24px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(56, 217, 255, .6), rgba(123, 92, 255, .3));
  }

  .stages__body {
    padding-top: 20px;
  }
}


/* --------------------------------------------------------------------------
   v2.3 «ОРГАНИЧЕСКИЙ АРБИТРАЖ»
   -------------------------------------------------------------------------- */

/* --- Визуал в шапке: три телефона → поток → «Ваш оффер» → «Заявки».
       Все координаты — в cqw (1cqw = 1% ширины визуала), поэтому схема
       одинаково выглядит на любой ширине. Линии (SVG, viewBox 100×98)
       совпадают с путями бегущих точек. --- */
.arb-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  aspect-ratio: 100 / 98;
  container-type: inline-size;
}

.arb-visual__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 104cqw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .16), rgba(123, 92, 255, .1) 50%, rgba(123, 92, 255, 0) 72%);
  pointer-events: none;
}

.arb-visual__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: rgba(56, 217, 255, .4);
}

.arb-visual__phone {
  --left: 50cqw;
  --top: 0cqw;
  --w: 20cqw;
  --rot: 0deg;

  position: absolute;
  z-index: 1;
  left: var(--left);
  top: var(--top);
  transform: translateX(-50%) rotate(var(--rot));
}

.arb-visual__phone .mphone {
  --pw: var(--w);
  --ph: calc(var(--w) * 2.06);
}

.arb-visual__phone--l {
  --left: 18cqw;
  --top: 7cqw;
  --rot: -7deg;
}

.arb-visual__phone--c {
  --w: 23cqw;
  z-index: 2;
}

.arb-visual__phone--r {
  --left: 82cqw;
  --top: 7cqw;
  --rot: 7deg;
}

/* Подписи потоков */
.arb-visual__label {
  position: absolute;
  z-index: 1;
  top: 54cqw;
  max-width: 25cqw;
  font-size: clamp(10px, 2.6cqw, 12.5px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--text-muted);
}

.arb-visual__label--l {
  left: 1cqw;
}

.arb-visual__label--r {
  right: 1cqw;
  text-align: right;
}

/* Бегущие точки-переходы: летят от (--x1, --y1) к (--x2, --y2) */
.arb-visual__dot {
  --x1: 50cqw;
  --y1: 49cqw;
  --x2: 50cqw;
  --y2: 66cqw;
  --d: 0s;

  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 2.2cqw;
  height: 2.2cqw;
  margin: -1.1cqw 0 0 -1.1cqw;
  border-radius: 50%;
  background: #dff8ff;
  box-shadow:
    0 0 0 .6cqw rgba(56, 217, 255, .22),
    0 0 2.4cqw rgba(56, 217, 255, .85);
  opacity: 0;
  transform: translate(var(--x1), var(--y1));
  animation: arb-dot 2.8s var(--ease-in-out) var(--d) infinite both;
}

.arb-visual__dot--1 { --x1: 20.5cqw; --y1: 50cqw; --d: 0s; }
.arb-visual__dot--2 { --d: .95s; }
.arb-visual__dot--3 { --x1: 79.5cqw; --y1: 50cqw; --d: 1.9s; }

.arb-visual__dot--4 {
  --y1: 76cqw;
  --y2: 86cqw;
  --d: 1.4s;
  background: #dcfff1;
  box-shadow:
    0 0 0 .6cqw rgba(52, 224, 161, .22),
    0 0 2.4cqw rgba(52, 224, 161, .85);
}

@keyframes arb-dot {
  0%   { opacity: 0; transform: translate(var(--x1), var(--y1)) scale(.6); }
  15%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x2), var(--y2)) scale(1); }
}

/* Узлы «Ваш оффер» и «Заявки и продажи» */
.arb-visual__node {
  position: absolute;
  z-index: 2;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  height: 10cqw;
  padding: 0 4.4cqw 0 1.6cqw;
  border: 1px solid rgba(56, 217, 255, .45);
  border-radius: 999px;
  font-size: clamp(12px, 3.4cqw, 16px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  background: rgba(15, 21, 38, .96);
  box-shadow: 0 16px 40px -18px rgba(56, 217, 255, .6);
  transform: translateX(-50%);
}

.arb-visual__node--offer {
  top: 66cqw;
}

.arb-visual__node--leads {
  top: 86cqw;
  border-color: rgba(52, 224, 161, .5);
  box-shadow: 0 16px 40px -18px rgba(52, 224, 161, .55);
}

/* Мягкая «волна» вокруг результата (только opacity/transform) */
.arb-visual__node--leads::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(52, 224, 161, .55);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: arb-wave 2.8s var(--ease-out) 1.6s infinite both;
}

@keyframes arb-wave {
  0%   { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25, 1.6); }
}

.arb-visual__node-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  color: var(--text-on-accent);
  background: var(--accent-grad);
}

.arb-visual__node--leads .arb-visual__node-icon {
  background: linear-gradient(135deg, #34e0a1 0%, #38d9ff 100%);
}

.arb-visual__node-icon .icon {
  width: 58%;
  height: 58%;
}

/* --- Определение «простыми словами» --- */
.define {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 1024px) {
  .define {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: stretch;
  }
}

.define__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-xl);
}

.define__text {
  margin-top: 18px;
  max-width: 34ch;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -.015em;
  color: var(--text);
}

.define__text strong {
  font-weight: 800;
}

/* Цепочка «Контент → Охват → Переход → Оффер» */
.define__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
  margin-top: clamp(22px, 3vw, 34px);
}

.define__chain li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Стрелка между звеньями */
.define__chain li + li::before {
  content: '';
  width: 16px;
  height: 8px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' fill='none' stroke='%2338d9ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h13M11 1l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Последнее звено цепочки (оффер) — акцентное */
.define__chain li:last-child .chip {
  color: var(--accent);
  border-color: rgba(56, 217, 255, .35);
  background: rgba(56, 217, 255, .08);
}

.define__terms {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 16px);
}

.term {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  padding: clamp(18px, 2.2vw, 24px);
}

.term .card__icon {
  grid-row: span 2;
}

.term__title {
  padding-top: 2px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.term__text {
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --- Сравнение: платный и органический трафик ---
   ПК и планшет — таблица из трёх колонок; телефон — карточка на каждый
   критерий, подписи колонок берутся из атрибута data-label ячеек. */
.compare {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 40%),
    var(--surface);
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
}

.compare__table th,
.compare__table td {
  padding: 18px clamp(16px, 2.2vw, 26px);
  font-size: .9375rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.compare__table thead th {
  padding-block: 18px;
  border-bottom: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare__head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.compare__head .icon {
  width: 20px;
  height: 20px;
}

.compare__table thead .compare__org {
  color: var(--accent);
}

.compare__table tbody th {
  width: 24%;
  font-weight: 700;
  color: var(--text);
}

.compare__table tbody td {
  color: var(--text-muted);
}

.compare__table tbody tr + tr > * {
  border-top: 1px solid var(--border);
}

/* Колонка «Органический трафик» — акцентная */
.compare__table .compare__org {
  background: rgba(56, 217, 255, .045);
}

.compare__table tbody .compare__org {
  color: var(--text);
}

@media (max-width: 639.98px) {
  /* Шапку таблицы прячем визуально (для экранных дикторов она остаётся) */
  .compare__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .compare__table,
  .compare__table tbody,
  .compare__table tr,
  .compare__table th,
  .compare__table td {
    display: block;
    width: 100%;
  }

  .compare__table tbody tr {
    padding: 18px 16px;
  }

  .compare__table tbody tr + tr {
    border-top: 1px solid var(--border);
  }

  .compare__table tbody tr + tr > * {
    border-top: 0;
  }

  .compare__table tbody th {
    width: auto;
    padding: 0 0 4px;
    font-size: 1rem;
  }

  .compare__table tbody td {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
  }

  .compare__table tbody td.compare__org {
    background: rgba(56, 217, 255, .07);
    box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .18);
  }

  .compare__table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .compare__table tbody td.compare__org::before {
    color: var(--accent);
  }
}

/* --- Схема (.flow из раздела 5) на странице «Арбитраж» --- */
.flow--flush {
  margin-top: 0;
}

/* Узел «Заявки и продажи»: как ядро Media Box, но зелёный и со значком цели */
.flow__core--goal {
  background: linear-gradient(145deg, #34e0a1 0%, #38d9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 18px 40px -14px rgba(52, 224, 161, .55),
    0 18px 48px -18px rgba(56, 217, 255, .5);
}

.flow__core--goal .flow__ring {
  border-color: rgba(52, 224, 161, .6);
}

.flow__core-icon {
  position: relative;
  display: block;
  width: 48%;
  height: 48%;
  color: var(--text-on-accent);
}

.flow__core-icon > svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- Стена устройств (блок «Масштаб»): 10 мини-телефонов в шахматном
       порядке, индикаторы загораются по очереди --- */
.wall {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  container-type: inline-size;
}

.wall__glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 110cqw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .14), rgba(123, 92, 255, .09) 50%, rgba(123, 92, 255, 0) 72%);
  pointer-events: none;
}

.wall__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4cqw 2cqw;
  padding: 2cqw 1cqw 14cqw;
}

.wall__cell {
  --d: 0s;

  position: relative;
  display: flex;
  justify-content: center;
}

/* Шахматный сдвиг: чётные колонки ниже */
.wall__cell:nth-child(even) {
  transform: translateY(7cqw);
}

.wall__cell .mphone {
  --pw: 16cqw;
  --ph: calc(16cqw * 2.06);
}

/* Подсветка «устройство выполняет действие» */
.wall__cell::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26cqw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .35), rgba(56, 217, 255, 0));
  opacity: 0;
  animation: wall-act 5s ease-in-out var(--d) infinite;
  pointer-events: none;
}

/* Индикатор «в работе» */
.wall__led {
  position: absolute;
  z-index: 6;
  top: -1cqw;
  right: calc(50% - 9cqw);
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow:
    0 0 0 .6cqw rgba(52, 224, 161, .16),
    0 0 2cqw rgba(52, 224, 161, .75);
  animation: v2-blink 3s ease-in-out var(--d) infinite;
}

.wall__cell:nth-child(1)  { --d: 0s; }
.wall__cell:nth-child(2)  { --d: -1.1s; }
.wall__cell:nth-child(3)  { --d: -2.6s; }
.wall__cell:nth-child(4)  { --d: -.6s; }
.wall__cell:nth-child(5)  { --d: -3.4s; }
.wall__cell:nth-child(6)  { --d: -1.8s; }
.wall__cell:nth-child(7)  { --d: -4.2s; }
.wall__cell:nth-child(8)  { --d: -2.2s; }
.wall__cell:nth-child(9)  { --d: -.3s; }
.wall__cell:nth-child(10) { --d: -3.8s; }

@keyframes wall-act {
  0%, 60%, 100% { opacity: 0; }
  75%           { opacity: 1; }
}

/* Подпись поверх нижнего края стены */
.wall__badge {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* max-content: без этого ширину «по содержимому» ограничивает left: 50%
     (половина стены), и подпись переносится в 2–3 строки */
  width: max-content;
  max-width: 94%;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  background: rgba(15, 21, 38, .94);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .95);
  transform: translateX(-50%);
}

.wall__badge-mark {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-grad);
}

/* Силуэт телефона в значке (как в логотипе) */
.wall__badge-mark::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 8px;
  width: 10px;
  height: 16px;
  border: 2px solid var(--text-on-accent);
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
}

/* --- Вопросы и ответы --- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}

.faq--center {
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.faq__item[open] {
  border-color: rgba(56, 217, 255, .28);
  background:
    linear-gradient(180deg, rgba(56, 217, 255, .045), rgba(56, 217, 255, 0) 60%),
    var(--surface);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px clamp(16px, 2.4vw, 24px);
  border-radius: inherit;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

/* Значок «+», при раскрытии поворачивается в «×» */
.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 11px no-repeat;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur-fast) ease;
}

.faq__item[open] > .faq__q::after {
  transform: rotate(45deg);
  border-color: rgba(56, 217, 255, .45);
}

.faq__a {
  padding: 0 clamp(16px, 2.4vw, 24px) 20px;
  max-width: 76ch;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .faq__item:not([open]):hover {
    border-color: var(--border-strong);
  }

  .faq__q:hover::after {
    border-color: rgba(56, 217, 255, .45);
  }
}


/* --------------------------------------------------------------------------
   v2.4 «СОЦИАЛЬНЫЕ ПЛОЩАДКИ»
   -------------------------------------------------------------------------- */

/* --- Орбита в шапке: Media Box в центре, площадки по кругу.
       Координаты — в cqw (1cqw = 1% ширины орбиты); радиус орбиты — 36cqw.
       Угол площадки задаётся в разметке: style="--a: -90deg". --- */
.orbit {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  aspect-ratio: 1;
  container-type: inline-size;
}

.orbit__glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .16), rgba(123, 92, 255, .1) 55%, rgba(123, 92, 255, 0) 75%);
  pointer-events: none;
}

.orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit__ring--outer {
  width: 72cqw;
  height: 72cqw;
  border: 1px dashed rgba(255, 255, 255, .16);
  animation: orbit-spin 90s linear infinite;
}

.orbit__ring--inner {
  width: 46cqw;
  height: 46cqw;
  border: 1px solid rgba(56, 217, 255, .14);
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Луч от центра к площадке и бегущий по нему сигнал */
.orbit__spoke {
  --a: 0deg;
  --d: 0s;

  position: absolute;
  left: 50%;
  top: 50%;
  width: 36cqw;
  height: 1px;
  margin-top: -.5px;
  transform-origin: 0 50%;
  transform: rotate(var(--a));
  background: linear-gradient(90deg, rgba(56, 217, 255, 0) 0 30%, rgba(56, 217, 255, .35) 62%, rgba(56, 217, 255, .06));
  pointer-events: none;
}

.orbit__signal {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.8cqw;
  height: 1.8cqw;
  margin: -.9cqw 0 0 -.9cqw;
  border-radius: 50%;
  background: #dff8ff;
  box-shadow: 0 0 1.8cqw rgba(56, 217, 255, .9);
  opacity: 0;
  animation: orbit-signal 3.5s var(--ease-in-out) var(--d) infinite both;
}

@keyframes orbit-signal {
  0%   { opacity: 0; transform: translateX(13cqw); }
  15%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(28cqw); }
}

/* Центр — Media Box */
.orbit__core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24cqw;
  height: 24cqw;
  margin: -12cqw 0 0 -12cqw;
  border-radius: 28%;
  background: linear-gradient(145deg, #38d9ff 0%, #7b5cff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 18px 50px -14px rgba(56, 217, 255, .55),
    0 18px 60px -18px rgba(123, 92, 255, .6);
}

.orbit__core::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

/* Силуэт телефона (как в логотипе) */
.orbit__core-mark {
  position: relative;
  width: 34%;
  height: 54%;
  border: 1.5cqw solid var(--text-on-accent);
  border-radius: 2.6cqw;
  background: rgba(255, 255, 255, .22);
}

.orbit__core-mark::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 34%;
  height: 1.1cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--text-on-accent);
}

/* Кольца «сигнала» вокруг центра (статично — два контура) */
.orbit__pulse {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(56, 217, 255, .55);
  border-radius: inherit;
  transform: scale(1.25);
  opacity: .3;
  pointer-events: none;
  animation: v2-ring 3s var(--ease-out) infinite both;
}

.orbit__pulse--2 {
  transform: scale(1.5);
  opacity: .14;
  animation-delay: 1.5s;
}

/* Площадка на орбите */
.orbit__node {
  --a: 0deg;
  --c: var(--accent);
  --c-rgb: 56, 217, 255;
  --d: 0s;

  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 15cqw;
  height: 15cqw;
  margin: -7.5cqw 0 0 -7.5cqw;
  transform: rotate(var(--a)) translate(36cqw) rotate(calc(-1 * var(--a)));
}

.orbit__tile {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(var(--c-rgb), .45);
  border-radius: 28%;
  color: var(--c);
  background:
    linear-gradient(160deg, rgba(var(--c-rgb), .18), rgba(var(--c-rgb), .04)),
    var(--surface-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 14px 30px -14px rgba(var(--c-rgb), .65);
  animation: orbit-bob 5s var(--ease-in-out) var(--d) infinite alternate;
}

.orbit__tile .icon {
  width: 46%;
  height: 46%;
}

@keyframes orbit-bob {
  from { transform: translateY(-.8cqw); }
  to   { transform: translateY(.8cqw); }
}

.orbit__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  font-size: clamp(11px, 2.9cqw, 13px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text);
  transform: translateX(-50%);
}

/* У верхней площадки подпись над значком — чтобы не лежала на луче */
.orbit__node--label-top .orbit__label {
  top: auto;
  bottom: calc(100% + 7px);
}

.orbit__node--tiktok    { --c: var(--tt); --c-rgb: 37, 244, 238;  --d: 0s; }
.orbit__node--instagram { --c: #ff4f8b;   --c-rgb: 255, 79, 139;  --d: -1.2s; }
.orbit__node--youtube   { --c: #ff3355;   --c-rgb: 255, 51, 85;   --d: -2.4s; }
.orbit__node--telegram  { --c: var(--tg); --c-rgb: 42, 171, 238;  --d: -3.6s; }
.orbit__node--more      { --c: #a894ff;   --c-rgb: 123, 92, 255;  --d: -4.4s; }

/* --- Карточки площадок --- */
.plats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 1024px) {
  .plats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plat {
  --c: var(--accent);
  --c-rgb: 56, 217, 255;

  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "media text"
    "list  list";
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  row-gap: 14px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 28px);
}

@media (min-width: 640px) {
  .plat {
    grid-template-columns: 124px minmax(0, 1fr);
    grid-template-areas:
      "media head"
      "media text"
      "media list";
    grid-template-rows: auto auto 1fr;
    column-gap: 28px;
  }
}

.plat--tiktok    { --c: var(--tt); --c-rgb: 37, 244, 238; }
.plat--instagram { --c: #ff4f8b;   --c-rgb: 255, 79, 139; }
.plat--youtube   { --c: #ff3355;   --c-rgb: 255, 51, 85; }
.plat--telegram  { --c: var(--tg); --c-rgb: 42, 171, 238; }

.plat__media {
  position: relative;
  grid-area: media;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.plat__media .mphone {
  --pw: 92px;
  --ph: calc(92px * 2.06);
}

@media (min-width: 640px) {
  .plat__media .mphone {
    --pw: 124px;
    --ph: calc(124px * 2.06);
  }
}

.plat__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--c-rgb), .2), rgba(var(--c-rgb), 0) 70%);
  pointer-events: none;
}

.plat__head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.plat__logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--c-rgb), .35);
  border-radius: 12px;
  color: var(--c);
  background: rgba(var(--c-rgb), .1);
}

.plat__logo .icon {
  width: 22px;
  height: 22px;
}

.plat__name {
  font-size: 1.25rem;
  line-height: 1.2;
}

.plat__kind {
  margin-top: 3px;
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.plat__text {
  grid-area: text;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Действия площадки — «таблетки» с цветной точкой */
.plat__list {
  grid-area: list;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  margin: 0;
}

.plat__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}

.plat__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px rgba(var(--c-rgb), .8);
}

@media (hover: hover) and (pointer: fine) {
  .plat:hover {
    border-color: rgba(var(--c-rgb), .35);
  }
}

/* «Другие площадки — по запросу» — карточка на всю ширину */
.plat-more {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(123, 92, 255, .1), rgba(123, 92, 255, 0) 70%),
    rgba(255, 255, 255, .015);
}

@media (min-width: 640px) {
  .plat-more {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .plat-more__body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .plat-more .btn {
    flex-shrink: 0;
  }
}

.plat-more__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: 1px dashed rgba(56, 217, 255, .5);
  border-radius: 16px;
  color: var(--accent);
  background: rgba(56, 217, 255, .06);
}

.plat-more__icon .icon {
  width: 26px;
  height: 26px;
}

.plat-more__title {
  font-size: 1.25rem;
}

.plat-more__text {
  margin-top: 6px;
  max-width: 62ch;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   v2.5 «СОБСТВЕННЫЙ СОФТ»
   -------------------------------------------------------------------------- */

/* --- Визуал в шапке: окно панели управления + телефон.
       Внутри окна все размеры в cqw (1cqw = 1% ширины окна) — окно
       масштабируется целиком, как экран-заглушка в телефоне. --- */
.dash-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  container-type: inline-size;
}

.dash-visual__glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 110cqw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .15), rgba(123, 92, 255, .11) 50%, rgba(123, 92, 255, 0) 72%);
  pointer-events: none;
}

.dash {
  position: relative;
  z-index: 1;
  width: 88cqw;
  margin-bottom: 17cqw;     /* место под телефон, выступающий ниже окна */
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 3cqw;
  color: var(--text);
  background: linear-gradient(180deg, #121a30 0%, #0c1224 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 40px 90px -40px rgba(0, 0, 0, .95),
    0 30px 80px -50px rgba(123, 92, 255, .6);
  container-type: inline-size;
}

/* Заголовок окна */
.dash__chrome {
  display: flex;
  align-items: center;
  gap: 3cqw;
  height: 7cqw;
  padding: 0 3cqw;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}

.dash__dots {
  display: flex;
  gap: 1.2cqw;
}

.dash__dots i {
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.dash__dots i:nth-child(1) { background: rgba(255, 107, 129, .75); }
.dash__dots i:nth-child(2) { background: rgba(255, 200, 97, .75); }
.dash__dots i:nth-child(3) { background: rgba(52, 224, 161, .75); }

.dash__url {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 8cqw;
  padding: .8cqw 2cqw;
  overflow: hidden;
  border-radius: 99px;
  font-size: max(7px, 2.2cqw);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .04);
}

/* Боковая панель + рабочая область */
.dash__app {
  display: grid;
  grid-template-columns: 10cqw minmax(0, 1fr);
}

.dash__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4cqw;
  padding: 3cqw 0;
  border-right: 1px solid var(--border);
}

.dash__logo {
  width: 5.4cqw;
  height: 5.4cqw;
  margin-bottom: 1.2cqw;
  border-radius: 1.6cqw;
  background: var(--accent-grad);
  box-shadow: inset 0 .3cqw 0 rgba(255, 255, 255, .35);
}

.dash__nav {
  display: grid;
  place-items: center;
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 1.4cqw;
  color: var(--text-dim);
}

.dash__nav svg {
  display: block;
  width: 60%;
  height: 60%;
}

.dash__nav.is-active {
  color: var(--accent);
  background: rgba(56, 217, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .3);
}

.dash__main {
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  min-width: 0;
  padding: 3cqw;
}

.dash__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  height: 5cqw;
}

.dash__h {
  font-size: max(8px, 3.2cqw);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.dash__live {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: .7cqw 2cqw;
  border: 1px solid rgba(52, 224, 161, .3);
  border-radius: 99px;
  font-size: max(7px, 2.1cqw);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--accent-3);
  background: rgba(52, 224, 161, .1);
}

.dash__live::before {
  content: '';
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 1.4cqw rgba(52, 224, 161, .9);
  animation: v2-pulse 1.6s ease-in-out infinite;
}

/* Плитки устройств: 8 × 2 */
.dash__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1.4cqw;
}

.dash__dev {
  --d: 0s;

  position: relative;
  aspect-ratio: 1 / 1.3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.2cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
}

/* «Экран» плитки: две строки-скелета */
.dash__dev::before {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  top: 38%;
  height: 7%;
  border-radius: 99px;
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 1.8cqw 0 rgba(255, 255, 255, .07);
}

/* Подсветка «устройство выполняет действие» */
.dash__dev::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(56, 217, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(56, 217, 255, .55);
  opacity: 0;
  animation: dash-act 4.8s ease-in-out var(--d) infinite;
}

/* Индикатор статуса */
.dash__dev i {
  position: absolute;
  z-index: 1;
  top: 9%;
  right: 12%;
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 1.2cqw rgba(52, 224, 161, .8);
  animation: v2-blink 3.2s ease-in-out var(--d) infinite;
}

.dash__dev:nth-child(3n + 1) { --d: -1.1s; }
.dash__dev:nth-child(3n + 2) { --d: -2.7s; }
.dash__dev:nth-child(4n)     { --d: -3.9s; }
.dash__dev:nth-child(5n)     { --d: -.5s; }
.dash__dev:nth-child(7n)     { --d: -4.4s; }

@keyframes dash-act {
  0%, 55%, 100% { opacity: 0; }
  70%, 82%      { opacity: 1; }
}

/* Строка сценария с прогрессом */
.dash__task {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 2cqw;
  height: 7cqw;
  padding: 0 2.4cqw;
  border: 1px solid var(--border);
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, .025);
}

.dash__task-icon {
  display: block;
  width: 3.4cqw;
  height: 3.4cqw;
  color: var(--accent);
}

.dash__task-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dash__task-name {
  overflow: hidden;
  font-size: max(7px, 2.2cqw);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dash__bar {
  position: relative;
  height: 1.2cqw;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
}

.dash__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent-grad);
  transform-origin: left center;
  transform: scaleX(.64);
  animation: dash-bar 6s var(--ease-in-out) infinite both;
}

@keyframes dash-bar {
  0%, 6%    { transform: scaleX(.06); }
  80%, 92%  { transform: scaleX(1); }
  100%      { transform: scaleX(.06); }
}

/* Нижний ряд: график + список */
.dash__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2cqw;
  height: 15cqw;
}

.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 1.2cqw;
  padding: 2cqw;
  border: 1px solid var(--border);
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, .025);
}

.dash__chart i {
  flex: 1 1 0;
  height: calc(var(--v, .5) * 100%);
  border-radius: .6cqw .6cqw .2cqw .2cqw;
  background: rgba(56, 217, 255, .35);
  transform-origin: center bottom;
  animation: dash-grow 6s var(--ease-out) infinite both;
}

.dash__chart i:nth-child(2) { animation-delay: .08s; }
.dash__chart i:nth-child(3) { animation-delay: .16s; }
.dash__chart i:nth-child(4) { animation-delay: .24s; }
.dash__chart i:nth-child(5) { animation-delay: .32s; }
.dash__chart i:nth-child(6) { animation-delay: .4s; }

.dash__chart i:last-child {
  background: var(--accent-grad);
  animation-delay: .48s;
}

@keyframes dash-grow {
  0%, 4%    { transform: scaleY(.08); }
  28%, 88%  { transform: scaleY(1); }
  100%      { transform: scaleY(.08); }
}

.dash__list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1.6cqw 2cqw;
  border: 1px solid var(--border);
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, .025);
}

.dash__list i {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  height: 2.6cqw;
}

.dash__list i::before {
  content: '';
  flex-shrink: 0;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: var(--accent-3);
}

.dash__list i:nth-child(2)::before { background: var(--accent); }
.dash__list i:nth-child(3)::before { background: var(--accent-2); }

.dash__list i::after {
  content: '';
  flex: 1 1 auto;
  height: 1.1cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
}

.dash__list i:nth-child(2)::after { margin-right: 22%; }
.dash__list i:nth-child(3)::after { margin-right: 38%; }

/* Телефон, выступающий из-за окна */
.dash-visual__phone {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.dash-visual__phone .mphone {
  --pw: 25cqw;
  --ph: calc(25cqw * 2.06);
}

/* «Уведомление» (класс .svc-chip — из раздела 4.1) */
.dash-visual__chip {
  left: 2cqw;
  bottom: 4cqw;
}

@media (max-width: 639.98px) {
  .dash-visual__chip {
    left: 0;
    bottom: 2cqw;
  }
}

/* --- Сетка возможностей («бенто»): первая карточка шире --- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento__item--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento__item--wide {
    grid-column: span 2;
  }
}

.bento__item--wide {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(20px, 2.4vw, 28px);
}

/* Текстовая часть широкой карточки использует стили .cap, но без отступов */
.bento__copy.cap {
  padding: 0;
}

@media (min-width: 1024px) {
  .bento__item--wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 28px;
  }
}

/* --- «Одно окно → много устройств» (иллюстрация в широкой карточке) --- */
.devrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 10, 18, .55);
}

.devrow__hub {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--text-on-accent);
  background: var(--accent-grad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 12px 26px -12px rgba(56, 217, 255, .8);
}

.devrow__hub .icon {
  width: 24px;
  height: 24px;
}

/* Линия с бегущим импульсом (импульс — фон псевдоэлемента, едет transform) */
.devrow__line {
  position: relative;
  flex: 1 1 32px;
  min-width: 20px;
  height: 10px;
  overflow: hidden;
}

.devrow__line::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(56, 217, 255, .7), rgba(123, 92, 255, .45));
}

.devrow__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 5px 50%, #e6faff 0 3px, rgba(56, 217, 255, .5) 3.5px 4.5px, rgba(56, 217, 255, 0) 5px);
  transform: translateX(-12px);
  animation: devrow-pulse 2.4s var(--ease-in-out) infinite both;
}

@keyframes devrow-pulse {
  0%   { opacity: 0; transform: translateX(-12px); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

.devrow__phones {
  display: flex;
  gap: 8px;
}

.devrow__phone {
  --d: 0s;

  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 50px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(56, 217, 255, .12), rgba(123, 92, 255, .08));
}

/* Камера-«точка» (Android) */
.devrow__phone::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  width: 3px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.devrow__phone i {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 8px rgba(52, 224, 161, .9);
  animation: v2-blink 2.4s ease-in-out var(--d) infinite;
}

.devrow__phone:nth-child(2) { --d: -.4s; }
.devrow__phone:nth-child(3) { --d: -.8s; }
.devrow__phone:nth-child(4) { --d: -1.2s; }
.devrow__phone:nth-child(5) { --d: -1.6s; }
.devrow__phone:nth-child(6) { --d: -2s; }

/* На смартфоне и на узком ПК (1024–1199 px: широкая карточка делит место
   с текстом, и шести телефонам не хватает ширины) — 4 телефона вместо 6 */
@media (max-width: 639.98px), (min-width: 1024px) and (max-width: 1199.98px) {
  .devrow__phone:nth-child(n + 5) {
    display: none;
  }
}

/* --- Витрина экранов: три крупных телефона с подписями --- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.showcase__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
}

.showcase__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase__phone .mphone {
  --pw: 112px;
  --ph: calc(112px * 2.06);
}

.showcase__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;          /* ≈ 2,2 ширины телефона; на планшете и ПК — ниже */
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 217, 255, .16), rgba(123, 92, 255, .08) 55%, rgba(123, 92, 255, 0) 75%);
  pointer-events: none;
}

.showcase__title {
  font-size: 1.125rem;
  line-height: 1.3;
}

.showcase__text {
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 40px);
    align-items: start;
  }

  .showcase__item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
    text-align: center;
  }

  .showcase__phone .mphone {
    --pw: 150px;
    --ph: calc(150px * 2.06);
  }

  .showcase__glow {
    width: 330px;
  }

  .showcase__text {
    max-width: 30ch;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .showcase__phone .mphone {
    --pw: 184px;
    --ph: calc(184px * 2.06);
  }

  .showcase__glow {
    width: 400px;
  }

  /* Центральный телефон чуть выше — живее композиция */
  .showcase__item:nth-child(2) .showcase__phone {
    transform: translateY(-24px);
  }
}


/* --------------------------------------------------------------------------
   v2.6 REDUCED MOTION — декоративное движение новых страниц выключено,
   элементы стоят в спокойном «осмысленном» кадре
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .v2-float,
  .promo-row--active .promo-row__st::before,
  .promo-board__bar::before,
  .arb-visual__node--leads::after,
  .wall__cell::before,
  .wall__led,
  .orbit__ring--outer,
  .orbit__pulse,
  .orbit__tile,
  .dash__live::before,
  .dash__dev::after,
  .dash__dev i,
  .dash__bar::before,
  .dash__chart i,
  .devrow__line::after,
  .devrow__phone i {
    animation: none !important;
  }

  /* Бегущие точки без движения не нужны */
  .arb-visual__dot,
  .orbit__signal {
    display: none;
  }

  .faq__q::after {
    transition: none;
  }
}
