/* =========================================================================
   SEO-сопровождение переезда сайта (/uslugi/seo/pereezd-sajta/)
   Первый экран — схема «карта переезда»: старые и новые адреса с кодом ответа,
   проверки перед запуском и визиты старого и нового домена. Пример плана дня запуска.
   Причины («Где переезд ломает поиск»), пример итога, сравнение и столбики кейса
   берут правила страницы восстановления трафика: на странице подключены оба файла
   (pages/vosstanovlenie-trafika.css и этот), чтобы карточки не расходились.
   Всё видно без JS и при «уменьшить движение»: поведение схемы — assets/js/scenes/sitemove.js.
   ========================================================================= */

/* ---------- схема «карта переезда» ---------- */
.move { margin: 0 0 0 auto; width: 100%; max-width: 520px; display: grid; gap: 14px; padding: clamp(16px, 2.2vw, 24px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(24, 38, 74, 0.72), rgba(17, 28, 51, 0.92)); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.move-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; color: var(--fog); font-size: 0.85rem; }
.move-top > span:first-child { color: #eef2fb; font-weight: 600; }
.move-dom s { color: var(--fog-dim); }
.move-dom b { color: var(--ok); font-weight: 600; }

.move-map { display: grid; gap: 6px; }
.move-head, .move-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.move-head { padding: 0 12px; color: var(--fog-dim); font-size: 0.75rem; }
.move-head span:last-child { text-align: right; }
.move-rows { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.move-rows li { padding: 8px 12px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line); font-size: 0.82rem; line-height: 1.3; transition: opacity 0.35s, border-color 0.35s, background-color 0.35s; }
.move-rows code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-text); color: #eef2fb; }
.move-rows code:first-child { color: var(--fog); }
.move-rows i { width: 14px; height: 2px; background: var(--fog-dim); position: relative; }
.move-rows i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 5px solid var(--fog-dim); border-right: 0; }
.move-rows b { justify-self: end; padding: 2px 8px; border-radius: 999px; background: rgba(47, 191, 138, 0.16); color: var(--ok); font-size: 0.75rem; font-weight: 700; }
.move-rows .is-fix { border-color: rgba(47, 191, 138, 0.45); }
.move-rows .is-broken { border-color: rgba(255, 107, 91, 0.55); background: rgba(255, 107, 91, 0.1); }
.move-rows .is-broken b { background: rgba(255, 107, 91, 0.2); color: #ffb4ab; }
.move-rows .is-broken code:nth-of-type(2) { color: #ffb4ab; }
.move.is-live .move-rows .is-wait { opacity: 0.25; }

.move-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.move-checks li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--night-3); color: #eef2fb; font-size: 0.78rem; line-height: 1.2; transition: opacity 0.35s; }
.move-checks li::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4 5-5.2' fill='none' stroke='%232fbf8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.move.is-live .move-checks .is-wait { opacity: 0.25; }

.move-chart { width: 100%; height: auto; overflow: visible; }
.move-chart .g { stroke: var(--night-line); stroke-width: 1; }
.move-chart .mark { stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 4 5; }
.move-chart text { font-family: var(--font-text); font-size: 12.5px; font-weight: 600; }
.move-chart .t-mark { fill: var(--signal); }
.move-chart .t-old { fill: var(--fog); }
.move-chart .t-new { fill: var(--ok); }
.move-chart .t-sum { fill: #eef2fb; }
.move-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.move-line--old { stroke: var(--fog-dim); stroke-width: 2.5; }
.move-line--new { stroke: var(--ok); }
.move-line--sum { stroke: #eef2fb; stroke-width: 2; stroke-dasharray: 5 6; opacity: 0.8; }
.move-note { margin: 0; color: var(--fog-dim); font-size: 0.82rem; }

/* ---------- пример плана дня запуска ---------- */
.launch { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 28px); border-radius: var(--radius-lg); background: var(--night); color: #eef2fb; box-shadow: 0 40px 80px -40px rgba(11, 19, 36, 0.55); }
.launch-top { display: flex; justify-content: space-between; gap: 12px; color: var(--fog); font-size: 0.85rem; }
.launch-top span:first-child { color: #eef2fb; font-weight: 650; }
.launch-steps { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.launch-steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line); }
.launch-steps time { color: var(--signal); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }
.launch-steps b { font-weight: 600; font-size: 0.92rem; line-height: 1.35; }
.launch-steps small { grid-column: 2; color: var(--fog); font-size: 0.82rem; line-height: 1.4; }
.launch-stop { display: grid; gap: 4px; padding: 11px 12px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 0.9rem; line-height: 1.4; }
.launch-stop b { color: #b3271a; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.launch-note { margin: 0; color: var(--fog-dim); font-size: 0.82rem; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .move { margin: 0 auto; }
}
@media (max-width: 640px) {
  .move-head, .move-rows li { grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr) 40px; gap: 6px; }
  .move-head { padding: 0 10px; }
  .move-rows li { padding: 8px 10px; font-size: 0.78rem; }
  .move-rows i { width: 10px; }
  .launch-steps li { grid-template-columns: minmax(0, 1fr); }
  .launch-steps small { grid-column: 1; }
}
