/* Специфичные стили для десктопа (экраны >= 769px) */

/* ГЛАВНАЯ СТРАНИЦА */

/* Hero Секция */
.hero {
  padding-top: 92px;
  padding-bottom: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  min-height: 612px;
  align-items: center;
  gap: 45px;
}

h1 {
  font-size: clamp(45px, 5.1vw, 76px);
  line-height: .99;
  letter-spacing: -.064em;
  margin-bottom: 28px;
  max-width: 720px;
}

.hero-text {
  color: #c7c0c4;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 31px;
}

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

.hero-proof {
  font-size: 12px;
  color: var(--muted);
  margin-top: 33px;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Орбиты и Интерактивная карта (System Map) */
.system-map {
  height: 440px;
  position: relative;
  isolation: isolate;
}

.system-map:before {
  content: "";
  position: absolute;
  inset: 7% 3%;
  background: radial-gradient(ellipse, rgba(149, 17, 43, .29), transparent 64%);
  filter: blur(14px);
  z-index: -2;
}

.map-orbit {
  position: absolute;
  border: 1px solid rgba(213, 44, 67, .17);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.orbit-a {
  width: 70%;
  height: 45%;
}

.orbit-b {
  width: 48%;
  height: 76%;
  opacity: .6;
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 72, 93, .7), transparent);
  transform-origin: left;
  opacity: .72;
}

.line-a { width: 34%; left: 22%; top: 31%; transform: rotate(27deg); }
.line-b { width: 33%; left: 50%; top: 29%; transform: rotate(152deg); }
.line-c { width: 32%; left: 26%; top: 58%; transform: rotate(-26deg); }
.line-d { width: 32%; left: 48%; top: 63%; transform: rotate(35deg); }
.line-e { width: 35%; left: 38%; top: 48%; transform: rotate(88deg); }

.map-card {
  position: absolute;
  width: 123px;
  height: 71px;
  padding: 11px 12px;
  background: linear-gradient(145deg, rgba(58, 17, 26, .94), rgba(17, 15, 19, .96));
  border: 1px solid rgba(231, 44, 63, .55);
  box-shadow: 0 14px 24px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.08);
  border-radius: 7px;
  transform: rotate(26deg);
  transition: transform .3s;
}

.map-card:hover {
  transform: rotate(0) scale(1.05);
}

.map-card b {
  display: block;
  font-size: 13px;
}

.card-index {
  font-size: 9px;
  color: #dc8390;
  display: block;
  margin-bottom: 3px;
}

.map-card i {
  position: absolute;
  height: 2px;
  left: 12px;
  bottom: 12px;
  width: 34px;
  background: var(--red);
  box-shadow: 0 0 9px var(--red);
}

.card-site { top: 7%; left: 46%; }
.card-seo { top: 24%; left: 20%; }
.card-ads { top: 29%; right: 5%; }
.card-crm { bottom: 16%; left: 22%; }
.card-funnel { bottom: 8%; right: 8%; }
.card-sales { bottom: 34%; left: 51%; width: 110px; }

.map-center {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .2);
  width: 102px;
  height: 102px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(17, 14, 18, .85);
  box-shadow: 0 0 35px rgba(221, 32, 61, .28);
}

.map-center span {
  font-size: 16px;
  font-weight: 800;
}

.map-center small {
  font-size: 8px;
  text-transform: uppercase;
  color: #be8e95;
  letter-spacing: .08em;
}

/* Статистика Hero */
.hero-stats {
  display: flex;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  gap: 0;
}

.hero-stats div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  border-right: 1px solid var(--line);
  padding-left: 24px;
}

.hero-stats div:first-child {
  padding-left: 0;
}

.hero-stats div:last-child {
  border: 0;
}

.hero-stats strong {
  font-size: 26px;
  color: #d96c7b;
  font-weight: 500;
  letter-spacing: -.07em;
}

.hero-stats span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

/* Секция Направления (Services) */
.services {
  padding-top: 100px;
}

.services-grid {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.services-grid::-webkit-scrollbar { display: none; }

.services-carousel { position: relative; padding: 0 54px; }

/* Точки-индикаторы нужны только на мобильном (см. mobile.css) */
.services-dots { display: none; }

.services-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 44, 63, .6);
  border-radius: 50%;
  background: #151116;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: transform .2s, background .2s, border-color .2s;
}

.services-arrow:hover, .services-arrow:focus-visible { background: var(--red); border-color: var(--red-hi); transform: translateY(-50%) scale(1.08); }
.services-arrow--prev { left: 0; transform: translateY(-50%); }
.services-arrow--next { right: 0; transform: translateY(-50%); }
.service-card { scroll-snap-align: start; }
.service-card--test { border-style: dashed; }

.service-card {
  min-height: 355px;
  border: 1px solid rgba(207, 58, 77, .35);
  background: linear-gradient(155deg, rgba(35, 22, 27, .72), rgba(16, 15, 18, .92));
  padding: 25px;
  position: relative;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}

.service-card:before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 12, 34, .23), transparent 67%);
  right: -85px;
  bottom: -95px;
  transition: transform .25s;
}

.service-card:hover {
  border-color: rgba(255, 79, 101, .78);
  transform: translateY(-6px);
}

.service-card:hover:before {
  transform: scale(1.3);
}

.service-num {
  font-size: 11px;
  color: #c37883;
}

.service-icon {
  height: 74px;
  margin: 25px 0 13px;
  position: relative;
  color: #e84154;
}

.service-icon i {
  position: absolute;
  display: block;
  border: 1px solid currentColor;
}

/* Иконки шагов услуг */
.icon-site i:first-child { width: 72px; height: 46px; left: 4px; top: 6px; border-radius: 4px; }
.icon-site i:nth-child(2) { width: 27px; height: 18px; left: 15px; top: 17px; }
.icon-site i:nth-child(3) { width: 40px; height: 1px; left: 21px; top: 59px; }

.icon-growth i:first-child { height: 48px; width: 1px; bottom: 9px; left: 8px; }
.icon-growth i:nth-child(2) { height: 1px; width: 83px; bottom: 9px; left: 8px; }
.icon-growth i:nth-child(3) { width: 65px; height: 36px; left: 18px; top: 15px; border-width: 0 2px 2px 0; transform: skewY(-31deg); }

.icon-funnel i { border-radius: 2px; left: 10px; transform: skewX(-22deg); }
.icon-funnel i:first-child { width: 72px; height: 17px; top: 7px; }
.icon-funnel i:nth-child(2) { width: 48px; height: 14px; top: 31px; left: 20px; }
.icon-funnel i:nth-child(3) { width: 23px; height: 12px; top: 53px; left: 33px; }

.icon-audit i:first-child { width: 43px; height: 55px; left: 10px; top: 3px; border-radius: 4px; }
.icon-audit i:nth-child(2) { width: 23px; height: 23px; border-radius: 50%; right: 14px; bottom: 10px; }
.icon-audit i:nth-child(3) { width: 17px; height: 1px; right: 2px; bottom: 6px; transform: rotate(45deg); }

.service-card h3 {
  font-size: 23px;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -.04em;
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  position: relative;
}

.service-card a {
  margin-top: auto;
  font-size: 13px;
  font-weight: 650;
  position: relative;
}

.service-card a span {
  color: var(--red-hi);
  margin-left: 5px;
}

/* Секция Система (System) */
.system {
  padding-top: 150px;
}

.system-grid {
  position: relative;
  min-height: 570px;
}

.system-visual {
  width: 100%;
  height: 560px;
  border: 1px solid rgba(207, 58, 77, .27);
  background: linear-gradient(135deg, rgba(63, 12, 25, .35), rgba(17, 15, 18, .8));
  border-radius: 13px;
  position: relative;
  overflow: hidden;
}

.system-visual:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 36px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 36px);
  transform: rotate(-12deg);
  left: -150px;
  top: -170px;
  animation: route-grid-drift 16s ease-in-out infinite alternate;
}

.visual-label {
  position: absolute;
  top: 26px;
  left: 28px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .16em;
  color: #d0818d;
}

/* Кривая «Путь клиента» (SVG) */
.journey {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.journey-track {
  fill: none;
  stroke: rgba(255, 255, 255, .09);
  stroke-width: 1;
  stroke-dasharray: 3 9;
}

.journey-line {
  fill: none;
  stroke: url(#journey-gradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(231, 44, 63, .45));
  transition: stroke-dashoffset 1.7s ease .15s;
}

.system-visual.is-route-visible .journey-line {
  stroke-dashoffset: 0;
}

/* «Клиент», бегущий по маршруту */
.journey-spark { fill: #fff; }
.journey-spark-halo { fill: rgba(255, 74, 92, .22); }

.journey-spark,
.journey-spark-halo {
  opacity: 0;
  transition: opacity .6s ease 1.9s;
}

.system-visual.is-route-visible .journey-spark,
.system-visual.is-route-visible .journey-spark-halo {
  opacity: 1;
}

/* Точки этапов */
.route-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: -6px 0 0 -6px;
  background: #f06675;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(231, 44, 63, .12), 0 0 16px var(--red);
  opacity: 0;
  transform: scale(.35);
}

/* Координаты точек соответствуют изгибам кривой в SVG */
.d1 { left: 5.9%;  top: 85.7%; }
.d2 { left: 25.4%; top: 70.5%; }
.d3 { left: 45.8%; top: 58.9%; }
.d4 { left: 70.3%; top: 22.3%; }

/* Карточки этапов */
.route-card {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 7px;
  background: rgba(15, 14, 17, .88);
  font-size: 12px;
  box-shadow: 0 9px 18px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: border-color .3s, box-shadow .3s;
}

.route-card:hover {
  border-color: rgba(231, 44, 63, .65);
  box-shadow: 0 12px 26px rgba(231, 44, 63, .22);
}

.route-step {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--red-hi);
  padding-top: 2px;
}

.route-card b {
  display: block;
  font-size: 12.5px;
}

.route-card small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

.r1 { left: 3%;    top: 69%; }
.r2 { left: 20.5%; top: 78%; }
.r3 { left: 40%;   top: 40%; }
.r4 { left: 62%;   top: 8.5%; border-color: rgba(231,44,63,.6); }

/* Последовательное появление шагов */
.system-visual.is-route-visible .route-card { animation: route-step .55s cubic-bezier(.16, 1, .3, 1) forwards; }
.system-visual.is-route-visible .route-dot { animation: route-step .55s cubic-bezier(.16, 1, .3, 1) forwards, dot-pulse 3.4s ease-in-out infinite; }
.system-visual.is-route-visible .d1, .system-visual.is-route-visible .r1 { animation-delay: .25s; }
.system-visual.is-route-visible .d2, .system-visual.is-route-visible .r2 { animation-delay: .6s; }
.system-visual.is-route-visible .d3, .system-visual.is-route-visible .r3 { animation-delay: .95s; }
.system-visual.is-route-visible .d4, .system-visual.is-route-visible .r4 { animation-delay: 1.35s; }

@keyframes route-step { to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(231, 44, 63, .12), 0 0 16px var(--red); }
  50% { box-shadow: 0 0 0 13px rgba(231, 44, 63, .05), 0 0 24px var(--red); }
}

@keyframes route-grid-drift { to { transform: rotate(-8deg) translate(24px, 18px); } }

.system-copy > p:not(.eyebrow), .about p {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
  margin: 25px 0;
}

.system-copy { position: absolute; z-index: 2; right: 5%; bottom: 7%; width: min(39%, 470px); padding: 28px; border-radius: 12px; background: linear-gradient(130deg, rgba(12,11,14,.72), rgba(12,11,14,.92)); backdrop-filter: blur(7px); }

.system-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.system-copy li {
  font-size: 14px;
  color: #ded9db;
  display: flex;
  align-items: center;
  gap: 13px;
}

.system-copy li b {
  font-weight: 500;
  color: #e17482;
  font-size: 12px;
}

/* Секция Аудит (Audit) */
.audit {
  padding-top: 150px;
}

.audit-panel {
  border: 1px solid rgba(235, 53, 75, .58);
  border-radius: 15px;
  padding: 62px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  background: radial-gradient(circle at 85% 20%, rgba(132, 16, 39, .4), transparent 33%), linear-gradient(130deg, #280c15, #141116 66%);
  position: relative;
  overflow: hidden;
}

.audit-panel:after {
  content: "A";
  position: absolute;
  right: 20px;
  bottom: -90px;
  font-size: 400px;
  line-height: 1;
  font-weight: 800;
  color: rgba(255, 255, 255, .025);
  letter-spacing: -.18em;
}

.audit h2 {
  margin-bottom: 21px;
}

.audit p:not(.eyebrow) {
  color: #c2b9bd;
  max-width: 530px;
}

.audit-side {
  align-self: center;
  display: grid;
  gap: 13px;
  position: relative;
  z-index: 1;
}

.audit-check {
  font-size: 14px;
  color: #d6cfd2;
}

.audit-check span {
  color: #ff6676;
  margin-right: 8px;
}

.audit-side .button {
  margin-top: 17px;
  width: max-content;
}

/* Секция О нас (About) */
.about {
  padding-top: 145px;
  padding-bottom: 125px;
}

.about-grid {
  display: grid;
  grid-template-columns: .48fr 1fr;
  gap: 10vw;
  align-items: center;
}

.about-mark {
  font-size: clamp(80px, 12vw, 170px);
  line-height: .68;
  font-weight: 800;
  letter-spacing: -.1em;
  color: #2a151a;
  text-shadow: 1px 0 rgba(229, 49, 70, .31);
}

.about-mark span {
  color: var(--red);
}

/* Разделители колонок в футере на десктопе */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(5, 1fr);
  gap: 45px;
  align-items: flex-start;
}

.footer-grid > div {
  position: relative;
}

.footer-grid > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -22px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .08), transparent);
}

.footer-grid a {
  display: block;
  margin-bottom: 12px;
  color: #d8d3d6;
  font-size: 14px;
  transition: color .25s, transform .25s;
}

.footer-grid a:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.footer-grid > div:hover .footer-label {
  color: #ff5668;
  letter-spacing: .22em;
}

/* Кнопки соцсетей и телефона НЕ наследуют поведение текстовых
   ссылок подвала (.footer-grid a задаёт block и сдвиг при hover —
   из-за этого иконки прижимались в угол круга) */
.footer-grid .footer-social a {
  display: flex;
  margin-bottom: 0;
}

.footer-grid .footer-social a:hover {
  transform: translateY(-4px);
}

/* На ПК списки подвала всегда открыты — страхуемся от инлайн-стилей
   мобильного аккордеона (например, после поворота планшета) */
@media (min-width: 769px) {
  .footer-links {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Телефон: такой же круг, как соцсети; тап — звонок */
.footer-phone {
  color: #fff;
}

.footer-phone svg {
  display: block;
}

/* Заголовки колонок — кнопки (для мобильного аккордеона),
   на ПК выглядят и ведут себя как обычные подписи */
.footer-toggle {
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: default;
  pointer-events: none;
}

.footer-toggle i { display: none; }

.footer-brand .footer-copy { margin-top: 22px; }


/* =============================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (КОНТЕКСТ, SEO)
   ============================================================================= */

/* Внутренний Hero-header */
.internal-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, rgba(12, 11, 14, 0.4) 0%, rgba(12, 11, 14, 0.95) 100%), 
              radial-gradient(circle at 80% 20%, rgba(137, 12, 34, 0.35), transparent 50%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.internal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
  mix-blend-mode: luminosity;
}

/* Динамические фоны для каждой страницы через селекторы body */
.promo-page .internal-hero::after {
  background-image: url("/images/newpages/google-and-yandex.jpg");
}

.seo-page .internal-hero::after {
  background-image: url("/images/newpages/seo-v-tashkente.jpg");
}

.internal-hero-content {
  max-width: 800px;
}

.page-visual {
  position: absolute;
  right: max(7vw, 40px);
  top: 50%;
  width: 230px;
  height: 230px;
  transform: translateY(-50%);
  border: 1px solid rgba(231,44,63,.35);
  border-radius: 18px;
  opacity: .9;
  overflow: hidden;
}
.page-visual::before, .page-visual::after { content: ""; position: absolute; }
.page-visual::before { inset: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; animation: page-visual-spin 13s linear infinite; }
.page-visual::after { width: 12px; height: 12px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 20px var(--red); left: 22%; top: 52%; animation: page-visual-pulse 2.4s ease-in-out infinite; }
body[data-page-visual] .card-dark { position: relative; overflow: hidden; }
body[data-page-visual] .card-dark::before { content: ""; display: block; width: 34px; height: 34px; margin-bottom: 22px; border: 1px solid rgba(231,44,63,.7); border-radius: 50%; box-shadow: inset 0 0 0 7px rgba(231,44,63,.1); }
body[data-page-visual="web"] .page-visual { border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.06) 35px), repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,.06) 35px); }
body[data-page-visual="web"] .grid-3 { grid-template-columns: 1.25fr .85fr .9fr; }
body[data-page-visual="ads"] .page-visual { border-radius: 50%; background: conic-gradient(from 30deg, transparent, rgba(231,44,63,.45), transparent 42%); }
body[data-page-visual="ads"] .grid-3 { grid-template-columns: .85fr 1.3fr .85fr; }
body[data-page-visual="ads"] .card-dark::before { border-radius: 4px; width: 12px; height: 42px; box-shadow: 16px 9px 0 -1px rgba(231,44,63,.45), 32px -8px 0 -1px rgba(231,44,63,.22); }
body[data-page-visual="crm"] .page-visual { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); border-radius: 0; }
body[data-page-visual="crm"] .grid-3 { grid-template-columns: 1fr 1.1fr 1fr; gap: 30px; }
body[data-page-visual="crm"] .card-dark::before { border-radius: 6px; transform: rotate(45deg); }
body[data-page-visual="content"] .page-visual { height: 170px; background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.14) 24px 26px); }
body[data-page-visual="content"] .grid-3 { grid-template-columns: 1.4fr .8fr .8fr; }
body[data-page-visual="content"] .card-dark::before { width: 46px; height: 2px; border: 0; border-radius: 0; background: var(--red-hi); box-shadow: 0 10px 0 rgba(231,44,63,.55), 0 20px 0 rgba(231,44,63,.25); }
body[data-page-visual="design"] .page-visual { transform: translateY(-50%) rotate(8deg); background: linear-gradient(135deg, rgba(231,44,63,.2), transparent 55%); }
body[data-page-visual="design"] .grid-3 { grid-template-columns: .8fr 1.35fr .85fr; }
body[data-page-visual="design"] .card-dark:nth-child(2) { transform: translateY(36px); border-color: rgba(231,44,63,.55); }
body[data-page-visual="design"] .card-dark::before { border-radius: 4px; }
body[data-page-visual="seo"] .page-visual { border-radius: 50% 50% 8px 8px; background: linear-gradient(135deg, transparent 47%, rgba(231,44,63,.45) 48% 50%, transparent 51%); }
body[data-page-visual="seo"] .grid-3 { grid-template-columns: .9fr .9fr 1.25fr; }
body[data-page-visual="seo"] .card-dark::before { border-radius: 0; border-width: 0 0 2px 2px; transform: skewY(-20deg); }
body[data-page-visual="company"] .page-visual { border-radius: 50%; box-shadow: inset 0 0 45px rgba(231,44,63,.22); }
body[data-page-visual="company"] .grid-3 { grid-template-columns: 1fr 1fr 1fr; gap: 26px; }
@keyframes page-visual-spin { to { transform: rotate(360deg); } }
@keyframes page-visual-pulse { 50% { transform: scale(1.8); opacity: .45; } }

.internal-hero h1 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -.05em;
  margin-bottom: 24px;
}

.internal-hero p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Сетки для внутренних страниц */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Универсальные темные карточки */
.card-dark {
  background: linear-gradient(155deg, rgba(35, 22, 27, .72), rgba(16, 15, 18, .92));
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 12px;
  padding: 35px 30px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card-dark:hover {
  border-color: rgba(255, 79, 101, .78);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card-dark h3, .card-dark h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #efc9cf;
}

.card-dark p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Блоки с примерами поиска (Google/Yandex) */
.search-preview-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.search-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 44, 63, 0.4);
}

.search-preview-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.search-preview-body {
  padding: 24px;
}

.search-preview-body h5 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
}

.search-preview-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Тарифы на внутренних страницах */
.pricing-title-block {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-title-block h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.04em;
  margin-bottom: 15px;
}

/* Тарифные карточки — одинаковая высота */
.grid-3 .tariff-card-premium,
.grid-2 .tariff-card-premium {
  height: 100%;
}

.pricing-title-block p {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.tariff-card-premium {
  background: linear-gradient(145deg, rgba(38, 12, 18, 0.95), rgba(17, 15, 19, 0.98));
  border: 1px solid rgba(231, 44, 63, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
  height: 100%;
}

.tariff-card-premium:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 79, 101, 0.8);
}

/* Бейдж "Хит" — зеленый с пульсацией */
.tariff-hit-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #00c853;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.4);
  animation: hit-pulse 2s ease-in-out infinite;
}

@keyframes hit-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.7), 0 0 40px rgba(0, 200, 83, 0.3);
    transform: scale(1.08);
  }
}

.tariff-card-premium h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: center;
  color: #fff;
}

.plan-item {
  margin-bottom: 15px;
}

.plan-item-btn {
  width: 100%;
  background: linear-gradient(135deg, rgba(231, 44, 63, 0.15), rgba(231, 44, 63, 0.05));
  border: 1px solid rgba(231, 44, 63, 0.4);
  color: #fff;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.plan-item-btn::after {
  content: "→";
  font-size: 16px;
  color: var(--red-hi);
  transition: transform 0.3s;
}

.plan-item-btn.open::after {
  transform: rotate(90deg);
}

.plan-item-btn:hover {
  background: linear-gradient(135deg, rgba(231, 44, 63, 0.3), rgba(231, 44, 63, 0.1));
  border-color: var(--red-hi);
}

.plan-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  background: rgba(12, 11, 14, 0.5);
  border-radius: 0 0 8px 8px;
  border: 1px solid transparent;
  border-top: none;
}

.plan-details-content.open {
  max-height: 500px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.06);
}

.plan-details-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-details-content li {
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-details-content li:last-child {
  border-bottom: none;
}

.plan-details-content strong {
  color: #fff;
}

/* Размытие цен (для SEO тарифов) */
.price-blur-wrapper {
  text-align: center;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.02);
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
}

.price-blur-text {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.price-value-hidden {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  filter: blur(5px);
  transition: filter 0.4s ease;
}

.price-blur-wrapper:hover .price-value-hidden {
  filter: blur(0);
}

/* Подходы к SEO (Steps) */
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.approach-step-card {
  display: flex;
  gap: 24px;
  background: linear-gradient(155deg, rgba(20, 18, 22, 0.95), rgba(12, 11, 14, 0.98));
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 12px;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}

.approach-step-card:hover {
  border-color: rgba(231, 44, 63, 0.4);
  transform: translateX(4px);
}

.approach-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(231, 44, 63, 0.1);
  border: 1px solid rgba(231, 44, 63, 0.3);
  color: var(--red-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.approach-step-body h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.approach-step-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ Гармошка */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-trigger i {
  color: var(--red-hi);
  font-size: 14px;
  transition: transform 0.3s;
}

.faq-trigger.open i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-content.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-content p {
  margin: 0;
}

/* Виджет звонка */
.call-widget {
  position: fixed;
  bottom: 50px;
  right: 40px;
  z-index: 9999;
}

.call-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--red);
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(231, 44, 63, 0.4);
  transition: transform 0.3s ease;
  animation: pulse-widget 2s infinite;
}

.call-button:hover {
  transform: scale(1.1);
  background-color: var(--red-hi);
}

.call-button img {
  width: 40px;
  height: 40px;
}

.call-widget .tooltip {
  position: absolute;
  background-color: rgba(9, 9, 11, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--line);
  white-space: nowrap;
  top: 50%;
  left: -210px;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.call-widget:hover .tooltip {
  opacity: 1;
}

@keyframes pulse-widget {
  0% { box-shadow: 0 0 0 0 rgba(231, 44, 63, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(231, 44, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 44, 63, 0); }
}

/* Стили контактов */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.contacts-photo {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid rgba(231, 44, 63, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: block;
}
.contacts-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.contacts-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 320px;
}

.contact-form-panel {
  margin-top: 80px;
  padding: 42px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 56px;
  border: 1px solid rgba(231, 44, 63, .35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .35), rgba(17, 15, 18, .9));
}
.contact-form-panel p { color: var(--muted); line-height: 1.6; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: end; }
.form-field { display: grid; gap: 8px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { color: #ded9db; font-size: 13px; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 13px 14px; background: rgba(9,9,11,.65); color: #fff; font: inherit; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(231,44,63,.14); }
.form-field--honeypot { position: absolute; left: -9999px; }
.contact-form .button { width: max-content; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; font-size: 14px; }
.form-status.is-error { color: #ff98a5; }
.form-status.is-success { color: #8ee6ae; }
/* Красная звездочка обязательного поля */
.required{
    color:#ff3b57;
    margin-left:4px;
    font-weight:700;
}


/* ============================================
   Подсветка, следующая за курсором
   (элемент создаётся скриптом только на ПК,
   см. assets/js/new-home.js)
   ============================================ */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 30;
  background: radial-gradient(circle,
    rgba(255, 74, 92, .09) 0%,
    rgba(231, 44, 63, .05) 38%,
    transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .5s;
  will-change: transform, opacity;
}

.cursor-glow.is-active {
  opacity: 1;
}


/* ============================================
   Страница «Создание сайтов» (/sozdanie-saitov)
   ============================================ */

/* --- Hero с окном кода --- */
.dev-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.code-window {
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(35, 22, 27, .8), rgba(13, 12, 15, .96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.code-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
}

.code-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}

.code-window-bar span:first-child { background: var(--red); }

.code-window-bar b {
  margin-left: 10px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

.code-viewport {
  height: 300px;
  overflow: hidden;
  position: relative;
  padding: 0 20px;
  font-family: ui-monospace, 'Cascadia Code', Consolas, Menlo, monospace;
  font-size: 12.5px;
  line-height: 2;
}

/* Затухание кода к верхнему и нижнему краю окна */
.code-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 12, 15, .95), transparent 20%, transparent 80%, rgba(13, 12, 15, .95));
  pointer-events: none;
}

/* «Падение» кода: блок продублирован в разметке, сдвиг на 50% даёт бесшовный цикл */
.code-stream { animation: code-fall 16s linear infinite; }

@keyframes code-fall {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.code-stream span {
  display: block;
  white-space: nowrap;
  color: #cfc8cb;
}

.code-stream i { font-style: normal; }
.code-stream .ct { color: var(--red-hi); }   /* теги */
.code-stream .ca { color: #efc9cf; }         /* атрибуты и функции */
.code-stream .cs { color: var(--muted); }    /* строки */
.code-stream .cc { color: rgba(255, 255, 255, .32); } /* комментарии */

.code-caret {
  position: absolute;
  bottom: 16px;
  left: 20px;
  width: 9px;
  height: 15px;
  background: var(--red-hi);
  z-index: 1;
  animation: caret-blink 1.1s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

/* --- Блоки этапов --- */
.dev-feature { padding: 55px 0; }

.dev-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dev-feature--flip .dev-feature-copy { order: 2; }
.dev-feature--flip .dev-feature-visual { order: 1; }

.dev-feature-copy h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -.05em;
  margin-bottom: 16px;
}

.dev-feature-lead {
  color: #d8d3d6;
  font-size: 17px;
  max-width: 460px;
}

.dev-feature-copy > p:not(.eyebrow):not(.dev-feature-lead) {
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 650;
  border-bottom: 1px solid rgba(231, 44, 63, .4);
  padding-bottom: 3px;
  transition: border-color .25s;
}

.dev-link span { color: var(--red-hi); transition: transform .25s; }
.dev-link:hover { border-color: var(--red-hi); }
.dev-link:hover span { transform: translateX(4px); }

.dev-feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .75));
  position: relative;
  overflow: hidden;
}

.dev-feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 34px), repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 34px);
}

/* --- Этап 01: дерево структуры собирается как в конструкторе --- */
.tree-anim {
  position: relative;
  width: 320px;
  height: 240px;
}

.tree-node {
  position: absolute;
  width: 86px;
  padding: 7px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 650;
  border: 1px solid rgba(231, 44, 63, .5);
  border-radius: 6px;
  background: rgba(15, 14, 17, .92);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
  opacity: 0;
}

.tree-root {
  width: 92px;
  left: calc(50% - 46px);
  top: 8px;
  border-color: rgba(231, 44, 63, .8);
  animation: tr-root 7.5s ease infinite;
}

.tn-left  { left: 10px;             top: 108px; animation: tr-left 7.5s ease infinite; }
.tn-mid   { left: calc(50% - 43px); top: 108px; animation: tr-mid 7.5s ease infinite; }
.tn-right { right: 10px;            top: 108px; animation: tr-right 7.5s ease infinite; }

.tree-cta {
  width: 96px;
  left: calc(50% - 48px);
  top: 168px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  border-color: transparent;
  color: #fff;
  animation: tr-cta 7.5s ease infinite;
}

/* Линии-связи дерева */
.tree-link {
  position: absolute;
  left: 160px;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .85), rgba(231, 44, 63, .2));
  transform-origin: left center;
  opacity: 0;
}

.tl-left  { width: 126px; animation: tr-l-left 7.5s linear infinite; }
.tl-down  { width: 66px;  animation: tr-l-down 7.5s linear infinite; }
.tl-right { width: 126px; animation: tr-l-right 7.5s linear infinite; }
.tl-cta   { top: 136px; width: 32px; animation: tr-l-cta 7.5s linear infinite; }

@keyframes tr-root  { 0%, 3%  { opacity: 0; transform: translateY(-12px); } 8%, 90%  { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes tr-l-left  { 0%, 10% { opacity: 0; transform: rotate(148deg) scaleX(0); } 16%, 90% { opacity: 1; transform: rotate(148deg) scaleX(1); } 96%, 100% { opacity: 0; transform: rotate(148deg) scaleX(1); } }
@keyframes tr-l-down  { 0%, 12% { opacity: 0; transform: rotate(90deg) scaleX(0); }  18%, 90% { opacity: 1; transform: rotate(90deg) scaleX(1); }  96%, 100% { opacity: 0; transform: rotate(90deg) scaleX(1); } }
@keyframes tr-l-right { 0%, 14% { opacity: 0; transform: rotate(32deg) scaleX(0); }  20%, 90% { opacity: 1; transform: rotate(32deg) scaleX(1); }  96%, 100% { opacity: 0; transform: rotate(32deg) scaleX(1); } }
@keyframes tr-left  { 0%, 17% { opacity: 0; transform: translateX(-30px); } 23%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes tr-mid   { 0%, 22% { opacity: 0; transform: translateY(-14px); } 28%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes tr-right { 0%, 27% { opacity: 0; transform: translateX(30px); }  33%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes tr-l-cta { 0%, 36% { opacity: 0; transform: rotate(90deg) scaleX(0); } 42%, 90% { opacity: 1; transform: rotate(90deg) scaleX(1); } 96%, 100% { opacity: 0; transform: rotate(90deg) scaleX(1); } }
@keyframes tr-cta {
  0%, 42%   { opacity: 0; transform: scale(.7); }
  48%       { opacity: 1; transform: scale(1.06); }
  52%       { opacity: 1; transform: scale(1); box-shadow: 0 0 16px rgba(231, 44, 63, .45); }
  60%, 66%  { box-shadow: 0 0 30px rgba(231, 44, 63, .85); }
  63%       { box-shadow: 0 0 14px rgba(231, 44, 63, .35); }
  90%       { opacity: 1; transform: scale(1); }
  97%, 100% { opacity: 0; }
}

/* --- Этап 02: роботы рисуют дизайн --- */
.robot-anim {
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
}

.robot-canvas {
  width: 190px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .88);
  display: grid;
  gap: 9px;
}

/* Полосы макета «закрашиваются» слева направо */
.rc {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .12);
  transform-origin: left center;
  opacity: 0;
}

.rc-nav   { animation: rc-1 7s ease infinite; }
.rc-hero  {
  height: 46px;
  background: linear-gradient(135deg, rgba(231, 44, 63, .45), rgba(231, 44, 63, .15));
  animation: rc-2 7s ease infinite;
}
.rc-line  { animation: rc-3 7s ease infinite; }
.rc-short { width: 60%; animation: rc-4 7s ease infinite; }

@keyframes rc-1 { 0%, 10% { opacity: 0; transform: scaleX(0); } 16%, 90% { opacity: 1; transform: scaleX(1); } 96%, 100% { opacity: 0; } }
@keyframes rc-2 { 0%, 24% { opacity: 0; transform: scaleX(0); } 30%, 90% { opacity: 1; transform: scaleX(1); } 96%, 100% { opacity: 0; } }
@keyframes rc-3 { 0%, 38% { opacity: 0; transform: scaleX(0); } 44%, 90% { opacity: 1; transform: scaleX(1); } 96%, 100% { opacity: 0; } }
@keyframes rc-4 { 0%, 52% { opacity: 0; transform: scaleX(0); } 58%, 90% { opacity: 1; transform: scaleX(1); } 96%, 100% { opacity: 0; } }

/* Робот-художник */
.robot {
  position: relative;
  width: 74px;
  height: 150px;
  flex: none;
}

.robot-antenna {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .4);
}

.robot-antenna i {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 0 4px rgba(231, 44, 63, .15);
  animation: pulse 2.2s infinite;
}

.robot-head {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 48px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  background: rgba(20, 18, 22, .92);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  animation: robot-bob 3.2s ease-in-out infinite;
}

.robot-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 8px rgba(231, 44, 63, .8);
  animation: robot-blink 4s steps(1) infinite;
}

.robot-body {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 9px;
  background: rgba(20, 18, 22, .92);
}

.robot-body::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 12px;
  height: 4px;
  margin-left: -6px;
  border-radius: 2px;
  background: rgba(231, 44, 63, .6);
}

/* Рука с кистью машет в сторону макета */
.robot-arm {
  position: absolute;
  top: 66px;
  left: -26px;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: #cfc8cb;
  transform-origin: right center;
  animation: robot-paint 1.4s ease-in-out infinite;
}

.robot-arm i {
  position: absolute;
  left: -4px;
  top: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 10px var(--red-hi);
}

/* Дрон-помощник сканирует макет */
.robot-drone {
  position: absolute;
  left: 28px;
  top: -16px;
  width: 26px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px 8px 4px 4px;
  background: rgba(20, 18, 22, .92);
  z-index: 1;
  animation: drone-float 3.6s ease-in-out infinite;
}

.robot-drone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 6px rgba(231, 44, 63, .9);
}

.robot-drone::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -14px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid rgba(231, 44, 63, .1);
}

@keyframes robot-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(3px); }
}

@keyframes robot-blink {
  0%, 44%, 48%, 100% { transform: scaleY(1); }
  45%, 47%           { transform: scaleY(.15); }
}

@keyframes robot-paint {
  0%, 100% { transform: rotate(-14deg); }
  50%      { transform: rotate(16deg); }
}

@keyframes drone-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(12px, -9px); }
}

/* --- Тарифы: старая цена зачёркнута, новая крупно, срок с пульсом --- */
.dev-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 18px 0 4px;
}

.dev-price s {
  color: var(--muted);
  font-size: 14px;
  text-decoration-color: rgba(231, 44, 63, .8);
  text-decoration-thickness: 2px;
}

.dev-price b {
  font-size: 25px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.dev-term {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* --- Этап 03: чек-лист запуска --- */
.launch-anim {
  width: 300px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  padding: 20px;
  font-size: 13px;
  position: relative;
}

.launch-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  opacity: 0;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
}

.lr1 { animation-name: la-s1; }
.lr2 { animation-name: la-s2; }
.lr3 { animation-name: la-s3; }

.tick {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(231, 44, 63, .65);
  position: relative;
  flex: none;
}

.tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--red-hi);
  border-bottom: 2px solid var(--red-hi);
  transform: rotate(45deg);
}

.launch-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 650;
  opacity: 0;
  animation: la-s4 7s ease infinite;
}

.launch-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 0 5px rgba(231, 44, 63, .13);
  animation: pulse 2.2s infinite;
}

@keyframes la-s1 { 0%, 8%  { opacity: 0; transform: translateX(-12px); } 15%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes la-s2 { 0%, 22% { opacity: 0; transform: translateX(-12px); } 29%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes la-s3 { 0%, 36% { opacity: 0; transform: translateX(-12px); } 43%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes la-s4 { 0%, 52% { opacity: 0; transform: scale(.92); }       60%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }


/* ============================================
   Страница «Контент для сайта» (/kontent-dlya-saita)
   Интерактивная история
   ============================================ */

/* Мигающий курсор в заголовке */
.typed-caret {
  display: inline-block;
  width: 3px;
  height: .85em;
  margin-left: 4px;
  vertical-align: -.06em;
  background: var(--red-hi);
  animation: caret-blink 1.1s steps(1) infinite;
}

.story-hint {
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--muted);
}

.story-hint span {
  display: inline-block;
  color: var(--red-hi);
  animation: hint-bounce 1.6s ease-in-out infinite;
}

@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* --- Горизонтальная история --- */
.hstory { position: relative; }

.hstory-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hstory-track {
  display: flex;
  gap: 36px;
  padding: 0 7vw;
  align-items: stretch;
  will-change: transform;
}

.hstory-panel {
  position: relative;
  flex: none;
  width: 66vw;
  max-width: 880px;
  min-height: 400px;
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .32), rgba(17, 15, 18, .85));
  padding: 48px 54px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  overflow: hidden;
}

.hstory-num {
  position: absolute;
  right: 26px;
  top: 6px;
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -.06em;
  color: rgba(231, 44, 63, .13);
  pointer-events: none;
}

.hstory-panel h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.hstory-panel h3 em { font-style: normal; color: #efc9cf; }

.hstory-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  max-width: 420px;
}

.hstory-panel--cta {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.hstory-panel--cta p:not(.eyebrow) { margin: 0 auto 24px; }

.hstory-progress {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 220px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.hstory-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-hi));
  transform: scaleX(0);
  transform-origin: left;
}

/* Панель 01: чипсы поисковых запросов */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

.chip {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  font-size: 12.5px;
  background: rgba(15, 14, 17, .85);
  animation: chip-pop 6.5s ease infinite both;
}

.chip--hot {
  border-color: rgba(231, 44, 63, .7);
  color: #fff;
  box-shadow: 0 0 14px rgba(231, 44, 63, .25);
}

.chip:nth-child(1) { animation-delay: .2s; }
.chip:nth-child(2) { animation-delay: .7s; }
.chip:nth-child(3) { animation-delay: 1.2s; }
.chip:nth-child(4) { animation-delay: 1.7s; }
.chip:nth-child(5) { animation-delay: 2.2s; }
.chip:nth-child(6) { animation-delay: 2.7s; }

@keyframes chip-pop {
  0%       { opacity: 0; transform: scale(.7); }
  5%       { opacity: 1; transform: scale(1.05); }
  8%, 82%  { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(.9); }
}

/* Панель 02: документ пишет сам себя */
.doc-anim {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.doc-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
  transform-origin: left center;
  animation: doc-write 6.5s ease infinite both;
}

.doc-line--title {
  height: 15px;
  width: 62%;
  background: rgba(231, 44, 63, .42);
}

.doc-line--short { width: 68%; }

.doc-line:nth-child(1) { animation-delay: .2s; }
.doc-line:nth-child(2) { animation-delay: .8s; }
.doc-line:nth-child(3) { animation-delay: 1.4s; }
.doc-line:nth-child(4) { animation-delay: 2s; }
.doc-line:nth-child(5) { animation-delay: 2.6s; }

@keyframes doc-write {
  0%        { opacity: 0; transform: scaleX(0); }
  7%        { opacity: 1; transform: scaleX(1); }
  82%       { opacity: 1; }
  92%, 100% { opacity: 0; transform: scaleX(1); }
}

/* Панель 03: сниппет поисковой выдачи */
.snippet-anim {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  padding: 24px;
}

.snippet-title {
  color: #efc9cf;
  font-size: 15.5px;
  font-weight: 650;
  margin-bottom: 6px;
}

.snippet-url {
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 12px;
}

.snippet-url b { color: #d0818d; font-weight: 500; }

.snippet-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .12);
  margin-top: 8px;
}

.snippet-line--short { width: 70%; }

.snippet-badge {
  position: absolute;
  top: -13px;
  right: 16px;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  box-shadow: 0 6px 18px rgba(231, 44, 63, .4);
  animation: snippet-glow 2.2s ease-in-out infinite;
}

@keyframes snippet-glow {
  0%, 100% { box-shadow: 0 6px 14px rgba(231, 44, 63, .35); transform: scale(1); }
  50%      { box-shadow: 0 6px 26px rgba(231, 44, 63, .7);  transform: scale(1.06); }
}

/* --- Кейсы / результаты --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-card {
  border: 1px solid rgba(207, 58, 77, .3);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(35, 22, 27, .7), rgba(16, 15, 18, .92));
  padding: 30px 24px;
  transition: transform .18s ease-out, border-color .25s, box-shadow .25s;
  will-change: transform;
}

.case-card:hover {
  border-color: rgba(255, 79, 101, .7);
  box-shadow: 0 16px 34px rgba(231, 44, 63, .16);
}

.case-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
}

.case-num i {
  font-style: normal;
  color: var(--red-hi);
  font-size: .62em;
}

.case-card p {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --- Финальная цена --- */
.price-final {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 18px;
  padding: 48px 54px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .35), rgba(17, 15, 18, .85));
}

.price-final h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.04em;
}

.price-final > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 420px;
  margin-bottom: 0;
}

.price-final-side {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.price-final-num {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.price-final-num small {
  font-size: .55em;
  font-weight: 700;
  color: var(--red-hi);
}

.price-final-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}


/* Пауза и перетекание в конце горизонтальной истории */
.hstory-panel {
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), border-color .7s, box-shadow .7s;
}

/* Лента доехала до конца — финальная панель мягко «фиксируется» */
.hstory.is-complete .hstory-panel--cta {
  transform: scale(1.025);
  border-color: rgba(255, 79, 101, .55);
  box-shadow: 0 0 70px rgba(231, 44, 63, .18);
}

/* Следующий блок «перетекает» поверх истории:
   наезжает на зону паузы скруглённым листом */
.cases-flow {
  position: relative;
  z-index: 2;
  margin-top: -16vh;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -34px 70px rgba(0, 0, 0, .5);
}


/* ============================================
   Страница «Внедрение Bitrix24» (/bitrix24)
   ============================================ */

/* --- 1. Hero: живая схема системы --- */
.bx-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.bx-map {
  position: relative;
  height: 420px;
}

.bx-map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Линии дорисовываются при загрузке */
.bxl {
  stroke: rgba(231, 44, 63, .55);
  stroke-width: 1.5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: bxl-draw 1s ease forwards;
  /* Стартуем, только когда схема видна (класс ставит bitrix.js) */
  animation-play-state: paused;
}

.bx-map.is-live .bxl,
.bx-map.is-live .bx-node {
  animation-play-state: running;
}

.bxl1 { animation-delay: .5s; }
.bxl2 { animation-delay: .8s; }
.bxl3 { animation-delay: 1.1s; }
.bxl4 { animation-delay: 1.4s; }

@keyframes bxl-draw { to { stroke-dashoffset: 0; } }

/* Узлы всплывают по очереди */
.bx-node {
  position: absolute;
  padding: 12px 18px;
  border: 1px solid rgba(231, 44, 63, .55);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(58, 17, 26, .94), rgba(17, 15, 19, .96));
  box-shadow: 0 14px 24px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  transform: scale(.6);
  animation: bx-node-pop .6s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-play-state: paused;
}

.bx-node--center {
  left: 50%;
  top: 50%;
  margin: -26px 0 0 -52px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  border-color: transparent;
  box-shadow: 0 0 34px rgba(231, 44, 63, .45);
  animation-delay: .15s;
  z-index: 1;
}

.bxn1 { left: 6%;  top: 14%; animation-delay: .7s; }
.bxn2 { right: 6%; top: 14%; animation-delay: 1s; }
.bxn3 { left: 6%;  bottom: 14%; animation-delay: 1.3s; }
.bxn4 { right: 6%; bottom: 14%; animation-delay: 1.6s; }

@keyframes bx-node-pop {
  60%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- 2. Хаос -> Система --- */
.bx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.bx-chaos,
.bx-system {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .8));
  overflow: hidden;
}

.bx-side-label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #d0818d;
}

/* Хаотичные элементы дёргаются и накладываются */
.bxc {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  background: rgba(15, 14, 17, .9);
  font-size: 11.5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
  transition: transform 1.8s cubic-bezier(.5, 0, .75, 0), opacity 1.8s ease;
}

.c1 { left: 8%;  top: 12%; transform: rotate(-6deg); animation: bxc-jit1 2.7s ease-in-out infinite alternate; }
.c2 { left: 42%; top: 24%; transform: rotate(4deg);  animation: bxc-jit2 3.3s ease-in-out infinite alternate; }
.c3 { left: 12%; top: 44%; transform: rotate(3deg);  animation: bxc-jit3 2.4s ease-in-out infinite alternate; }
.c4 { left: 56%; top: 54%; transform: rotate(-5deg); animation: bxc-jit1 3.1s ease-in-out infinite alternate; }
.c5 { left: 20%; top: 68%; transform: rotate(6deg);  animation: bxc-jit2 2.6s ease-in-out infinite alternate; }
.c6 { left: 52%; top: 80%; transform: rotate(-3deg); animation: bxc-jit3 3.5s ease-in-out infinite alternate; }

@keyframes bxc-jit1 { to { transform: translate(9px, -7px) rotate(3deg); } }
@keyframes bxc-jit2 { to { transform: translate(-8px, 6px) rotate(-4deg); } }
@keyframes bxc-jit3 { to { transform: translate(6px, 9px) rotate(5deg); } }

/* При появлении блока хаос схлопывается вправо */
.is-merged .bxc {
  animation: none;
  opacity: 0;
  transform: translateX(150px) scale(.5);
}

.is-merged .c1 { transition-delay: 0s; }
.is-merged .c2 { transition-delay: .2s; }
.is-merged .c3 { transition-delay: .4s; }
.is-merged .c4 { transition-delay: .6s; }
.is-merged .c5 { transition-delay: .8s; }
.is-merged .c6 { transition-delay: 1s; }

/* Pipeline: колонки с карточками */
.bx-system {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 20px 44px;
}

.bx-col b {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #d0818d;
  margin-bottom: 10px;
}

.bxs {
  display: block;
  padding: 10px 11px;
  margin-bottom: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: rgba(15, 14, 17, .9);
  font-size: 11px;
  opacity: 0;
  transform: translateX(-24px);
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), opacity 1.4s ease;
}

.s4 { border-color: rgba(231, 44, 63, .65); box-shadow: 0 0 14px rgba(231, 44, 63, .2); }

.is-merged .bxs { opacity: 1; transform: none; }
.is-merged .s1 { transition-delay: 1.1s; }
.is-merged .s2 { transition-delay: 1.5s; }
.is-merged .s3 { transition-delay: 1.9s; }
.is-merged .s4 { transition-delay: 2.4s; }

/* --- 3. Визуалы панелей горизонтального скролла --- */

/* 01: процессы подсвечиваются по очереди */
.bx-proc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
}

.bxp {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  background: rgba(15, 14, 17, .88);
  font-size: 13px;
  text-align: center;
  animation: bxp-flash 5.6s ease infinite;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 1.4s; }
.p3 { animation-delay: 2.8s; }
.p4 { animation-delay: 4.2s; }

@keyframes bxp-flash {
  0%, 100% { border-color: rgba(255, 255, 255, .16); box-shadow: none; }
  12%      { border-color: rgba(255, 79, 101, .85); box-shadow: 0 0 18px rgba(231, 44, 63, .3); }
  24%      { border-color: rgba(255, 255, 255, .16); box-shadow: none; }
}

/* 02: pipeline строится */
.bx-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .88);
  padding: 16px;
}

.bxk-col b {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #d0818d;
  margin-bottom: 9px;
}

.bxk {
  display: block;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  margin-bottom: 8px;
  animation: bxk-in 6.5s ease infinite both;
}

.bxk--win { border-color: rgba(231, 44, 63, .7); background: rgba(231, 44, 63, .18); }

.k1 { animation-delay: .3s; }
.k2 { animation-delay: 1.1s; }
.k3 { animation-delay: 1.9s; }
.k4 { animation-delay: 2.7s; }

@keyframes bxk-in {
  0%       { opacity: 0; transform: translateY(10px); }
  6%, 84%  { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

/* 03: входящий звонок и мессенджеры */
.bx-integr {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bx-call { position: relative; width: 74px; height: 74px; }

.bx-call-dot {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  box-shadow: 0 0 22px rgba(231, 44, 63, .6);
}

.bx-call-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(231, 44, 63, .6);
  border-radius: 50%;
  animation: bx-ring 1.8s ease-out infinite;
}

@keyframes bx-ring {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.bx-call-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.bxi {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  background: rgba(15, 14, 17, .9);
  font-size: 11.5px;
  animation: bxi-in 6s ease infinite both;
}

.i1 { left: 6%;  top: 16%; animation-delay: .5s; }
.i2 { right: 6%; top: 26%; animation-delay: 1.3s; }
.i3 { left: 14%; bottom: 12%; animation-delay: 2.1s; }

@keyframes bxi-in {
  0%        { opacity: 0; transform: translateY(14px) scale(.85); }
  8%, 84%   { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

/* 04: если -> то, кнопка нажимается сама */
.bx-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.bxt {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  background: rgba(15, 14, 17, .9);
  font-size: 12.5px;
  animation: bxt-step 6s ease infinite both;
}

.bxt-if { animation-delay: .3s; }

.bxt-arrow {
  color: var(--red-hi);
  font-size: 20px;
  animation: bxt-step 6s ease infinite both;
  animation-delay: 1s;
}

.bxt-then {
  border-color: rgba(231, 44, 63, .6);
  animation-delay: 1.6s;
}

.bxt-btn {
  padding: 11px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  animation: bxt-press 6s ease infinite both;
  animation-delay: 2.4s;
}

@keyframes bxt-step {
  0%        { opacity: 0; transform: translateY(10px); }
  6%, 86%   { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}

@keyframes bxt-press {
  0%        { opacity: 0; transform: translateY(10px); }
  6%        { opacity: 1; transform: none; }
  46%, 54%  { transform: scale(.93); box-shadow: 0 0 26px rgba(231, 44, 63, .8); }
  50%       { transform: scale(1); }
  86%       { opacity: 1; }
  95%, 100% { opacity: 0; }
}

/* 05: график роста */
.bx-graph { margin-top: 20px; width: 260px; }

.bx-graph svg { width: 100%; height: 90px; }

.bx-graph-line {
  fill: none;
  stroke: url(#journey-gradient);
  stroke: var(--red-hi);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  filter: drop-shadow(0 0 6px rgba(231, 44, 63, .5));
  animation: bx-graph-draw 5.5s ease infinite;
}

@keyframes bx-graph-draw {
  0%        { stroke-dashoffset: 320; }
  35%, 85%  { stroke-dashoffset: 0; }
  96%, 100% { stroke-dashoffset: 320; }
}

.bx-graph-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 650;
}

.bx-graph-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 0 5px rgba(231, 44, 63, .13);
  animation: pulse 2.2s infinite;
}

/* --- 4. Живая автоматизация --- */
.bx-live {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(35, 22, 27, .8), rgba(13, 12, 15, .96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  overflow: visible;
}

.bx-live .code-window-bar { border-radius: 12px 12px 0 0; }

.bx-live-body {
  padding: 22px 24px;
  font-size: 13px;
}

.bx-live-push {
  position: absolute;
  top: -16px;
  right: 18px;
  padding: 10px 16px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 26px rgba(231, 44, 63, .45);
  animation: bx-push 9s ease infinite both;
}

@keyframes bx-push {
  0%, 3%    { opacity: 0; transform: translateY(-14px) scale(.9); }
  8%, 88%   { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

.bx-live-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  animation: bx-row 9s ease infinite both;
}

.blr1 { animation-delay: 0s; }
.blr2 { animation-delay: 0s; }
.blr3 { animation-delay: 0s; }

@keyframes bx-row { 0% { opacity: 0; } 100% { opacity: 0; } }

/* Слоты появления строк */
.blr1 { animation-name: bx-row1; }
.blr2 { animation-name: bx-row2; }
.blr3 { animation-name: bx-row3; }

@keyframes bx-row1 { 0%, 16% { opacity: 0; transform: translateX(-14px); } 22%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes bx-row2 { 0%, 32% { opacity: 0; transform: translateX(-14px); } 38%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes bx-row3 { 0%, 48% { opacity: 0; transform: translateX(-14px); } 54%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

.bx-live-chain {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 650;
  animation: bx-chain 9s ease infinite both;
}

@keyframes bx-chain { 0%, 62% { opacity: 0; } 68%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }

.bx-live-chain i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.bd1 { animation: bx-dot 9s ease infinite both; }
.bd2 { animation: bx-dot 9s ease infinite both; animation-delay: .35s; }
.bd3 { animation: bx-dot 9s ease infinite both; animation-delay: .7s; }

@keyframes bx-dot {
  0%, 70%  { background: rgba(255, 255, 255, .25); box-shadow: none; }
  76%, 88% { background: var(--red-hi); box-shadow: 0 0 8px rgba(231, 44, 63, .8); }
  96%, 100% { background: rgba(255, 255, 255, .25); }
}

/* --- 5. Цифры роста --- */
.bx-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bx-spark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: 16px;
}

.bx-spark i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(231, 44, 63, .5), rgba(255, 74, 92, .85));
  transform: scaleY(.1);
  transform-origin: bottom;
}

.reveal.is-visible .bx-spark i { animation: bx-spark-grow .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.reveal.is-visible .bx-spark i:nth-child(1) { animation-delay: .2s; height: 40%; }
.reveal.is-visible .bx-spark i:nth-child(2) { animation-delay: .35s; height: 55%; }
.reveal.is-visible .bx-spark i:nth-child(3) { animation-delay: .5s; height: 45%; }
.reveal.is-visible .bx-spark i:nth-child(4) { animation-delay: .65s; height: 75%; }
.reveal.is-visible .bx-spark i:nth-child(5) { animation-delay: .8s; height: 100%; }

.bx-spark i:nth-child(1) { height: 40%; }
.bx-spark i:nth-child(2) { height: 55%; }
.bx-spark i:nth-child(3) { height: 45%; }
.bx-spark i:nth-child(4) { height: 75%; }
.bx-spark i:nth-child(5) { height: 100%; }

@keyframes bx-spark-grow { to { transform: scaleY(1); } }

/* --- 6. Кому подходит --- */
.bx-who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bx-who-card {
  border: 1px solid rgba(207, 58, 77, .3);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(35, 22, 27, .7), rgba(16, 15, 18, .92));
  padding: 26px 22px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.bx-who-card h3 {
  font-size: 18px;
  letter-spacing: -.02em;
  margin: 0;
}

.bx-who-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  transition: max-height .45s cubic-bezier(.16, 1, .3, 1), opacity .4s ease, margin .45s;
}

.bx-who-card:hover {
  border-color: rgba(255, 79, 101, .7);
  box-shadow: 0 16px 34px rgba(231, 44, 63, .16);
  transform: translateY(-4px);
}

.bx-who-card:hover .bx-who-more {
  max-height: 140px;
  opacity: 1;
  margin-top: 12px;
}

/* --- 7. Финальный CTA --- */
.bx-cta {
  position: relative;
  border: 1px solid rgba(207, 58, 77, .4);
  border-radius: 20px;
  padding: 70px 40px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(63, 12, 25, .4), rgba(17, 15, 18, .9));
}

/* Медленно плывущие пятна света на фоне */
.bx-cta::before,
.bx-cta::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.bx-cta::before {
  background: rgba(126, 13, 40, .5);
  left: -100px;
  top: -120px;
  animation: bx-blob1 11s ease-in-out infinite alternate;
}

.bx-cta::after {
  background: rgba(55, 7, 19, .65);
  right: -110px;
  bottom: -140px;
  animation: bx-blob2 13s ease-in-out infinite alternate;
}

@keyframes bx-blob1 { to { transform: translate(70px, 40px) scale(1.15); } }
@keyframes bx-blob2 { to { transform: translate(-60px, -40px) scale(1.1); } }

.bx-cta-inner {
  position: relative;
  z-index: 1;
  animation: bx-breathe 4.5s ease-in-out infinite;
}

@keyframes bx-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.008); }
}

.bx-cta-inner h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -.04em;
}

.bx-cta-inner p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 28px;
}

.bx-cta-button {
  animation: bx-cta-glow 2.6s ease-in-out infinite;
}

@keyframes bx-cta-glow {
  0%, 100% { box-shadow: 0 11px 27px rgba(199, 22, 48, .25); }
  50%      { box-shadow: 0 11px 40px rgba(231, 44, 63, .65), 0 0 30px rgba(231, 44, 63, .3); }
}


/* ============================================
   Страница «Поддержка сайта» (/podderzhka-saita)
   ============================================ */

/* --- Hero: монитор со спидометром --- */
.ps-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.ps-monitor-wrap { position: relative; }

.ps-monitor {
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(35, 22, 27, .8), rgba(13, 12, 15, .96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
  animation: ps-pulse 4s ease-in-out infinite;
}

@keyframes ps-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

.ps-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 30px 26px;
}

/* Спидометр */
.ps-gauge-box { text-align: center; }

.ps-gauge {
  position: relative;
  width: 150px;
  height: 80px;
  margin: 0 auto;
  overflow: hidden;
}

.ps-gauge-arc {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 130px;
  height: 65px;
  border: 9px solid rgba(255, 255, 255, .12);
  border-bottom: 0;
  border-radius: 130px 130px 0 0;
  box-sizing: border-box;
}

.ps-gauge-arc::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 9px solid transparent;
  border-top-color: var(--red-hi);
  border-radius: inherit;
  filter: drop-shadow(0 0 6px rgba(231, 44, 63, .6));
  transform: rotate(32deg);
}

.ps-needle {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 58px;
  margin-left: -1px;
  background: #fff;
  border-radius: 2px;
  transform-origin: bottom center;
  box-shadow: 0 0 6px rgba(255, 255, 255, .55);
  animation: ps-needle 3.8s cubic-bezier(.45, 0, .55, 1) infinite;
}

.ps-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 10px rgba(231, 44, 63, .8);
}

@keyframes ps-needle {
  0%, 100% { transform: rotate(-68deg); }
  45%, 58% { transform: rotate(64deg); }
  74%      { transform: rotate(44deg); }
}

.ps-gauge-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Индикаторы: мигающие полосы и «процессор» */
.ps-vitals { display: grid; gap: 11px; }

.ps-blink {
  display: block;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
  animation: ps-blink 2.6s ease-in-out infinite;
}

.b2 { width: 74%; animation-delay: .5s; }
.b3 { width: 86%; animation-delay: 1s; }

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

.ps-cpu {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: 4px;
}

.ps-cpu i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(231, 44, 63, .5), rgba(255, 74, 92, .85));
  transform-origin: bottom;
  animation: ps-eq 1.6s ease-in-out infinite alternate;
}

.ps-cpu i:nth-child(1) { height: 50%; animation-delay: 0s; }
.ps-cpu i:nth-child(2) { height: 85%; animation-delay: .2s; }
.ps-cpu i:nth-child(3) { height: 60%; animation-delay: .4s; }
.ps-cpu i:nth-child(4) { height: 95%; animation-delay: .6s; }
.ps-cpu i:nth-child(5) { height: 70%; animation-delay: .8s; }

@keyframes ps-eq { to { transform: scaleY(.45); } }

/* Всплывающие подсказки вокруг монитора */
.ps-tip {
  position: absolute;
  padding: 8px 15px;
  border: 1px solid rgba(231, 44, 63, .55);
  border-radius: 30px;
  background: rgba(15, 14, 17, .95);
  font-size: 11.5px;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  animation: ps-tip 7.5s ease infinite both;
}

.t1 { left: -20px; top: 6%; animation-delay: .4s; }
.t2 { right: -16px; top: 42%; animation-delay: 2.9s; }
.t3 { left: -8px; bottom: 8%; animation-delay: 5.4s; }

@keyframes ps-tip {
  0%       { opacity: 0; transform: translateY(10px) scale(.85); }
  4%       { opacity: 1; transform: none; }
  26%      { opacity: 1; transform: none; }
  32%, 100% { opacity: 0; transform: translateY(-8px) scale(.9); }
}

/* --- Лента: страницы «+1» --- */
.ps-pages {
  position: relative;
  width: 220px;
  height: 200px;
  margin: 0 auto;
}

.ps-page {
  position: absolute;
  width: 92px;
  height: 122px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(15, 14, 17, .92);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}

.ps-page::before,
.ps-page::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
}

.ps-page::before { top: 14px; }
.ps-page::after { top: 30px; width: 55%; }

.pg1 { left: 10px; top: 26px; transform: rotate(-7deg); }
.pg2 { left: 62px; top: 14px; transform: rotate(3deg); }

.ps-page--new {
  left: 116px;
  top: 44px;
  border-color: rgba(231, 44, 63, .65);
  animation: psp-in 6.5s cubic-bezier(.34, 1.56, .64, 1) infinite both;
}

.ps-page--new b {
  position: absolute;
  right: -10px;
  top: -12px;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 10px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  box-shadow: 0 0 14px rgba(231, 44, 63, .5);
}

@keyframes psp-in {
  0%, 8%    { opacity: 0; transform: translateX(90px) rotate(10deg); }
  22%, 84%  { opacity: 1; transform: rotate(8deg); }
  94%, 100% { opacity: 0; transform: rotate(8deg); }
}

/* --- Лента: тумблеры функций --- */
.ps-tweaks {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .88);
  padding: 20px;
}

.ps-tweak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  padding: 6px 0;
}

.ps-toggle {
  position: relative;
  width: 42px;
  height: 23px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .14);
  flex: none;
}

.ps-toggle::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #cfc8cb;
}

.tg1::after { animation: ps-knob 7s ease infinite; }
.tg2::after { animation: ps-knob 7s ease infinite 1.2s; }
.tg3::after { animation: ps-knob 7s ease infinite 2.4s; }
.tg1 { animation: ps-toggle-bg 7s ease infinite; }
.tg2 { animation: ps-toggle-bg 7s ease infinite 1.2s; }
.tg3 { animation: ps-toggle-bg 7s ease infinite 2.4s; }

@keyframes ps-knob {
  0%, 12%  { transform: translateX(0); background: #cfc8cb; }
  20%, 82% { transform: translateX(19px); background: #fff; }
  92%, 100% { transform: translateX(0); background: #cfc8cb; }
}

@keyframes ps-toggle-bg {
  0%, 12%  { background: rgba(255, 255, 255, .14); }
  20%, 82% { background: rgba(231, 44, 63, .75); box-shadow: 0 0 12px rgba(231, 44, 63, .35); }
  92%, 100% { background: rgba(255, 255, 255, .14); }
}

/* --- Хостинг: сервер и сеть --- */
.ps-clouds::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(126, 13, 40, .35);
  filter: blur(80px);
  left: -80px;
  top: -100px;
  animation: bx-blob1 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.ps-net-box {
  position: relative;
  width: 300px;
  height: 260px;
}

.ps-net {
  position: absolute;
  inset: 0 0 40px 0;
  width: 100%;
  height: 220px;
}

.ps-flow {
  fill: none;
  stroke: rgba(231, 44, 63, .55);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
  animation: ps-flow 1.4s linear infinite;
}

@keyframes ps-flow { to { stroke-dashoffset: -26; } }

.ps-nnode {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f06675;
  box-shadow: 0 0 0 6px rgba(231, 44, 63, .12), 0 0 14px var(--red);
  animation: pulse 2.4s infinite;
}

.n1 { left: 54px; top: 34px; }
.n2 { right: 49px; top: 49px; }
.n3 { right: 74px; top: 179px; }

.ps-server {
  position: absolute;
  left: 50%;
  top: 110px;
  width: 120px;
  margin-left: -60px;
  display: grid;
  gap: 6px;
}

.ps-srow {
  position: relative;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(15, 14, 17, .92);
}

.ps-srow::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 26px;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .16);
}

.ps-srow::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--red-hi);
  animation: ps-led 1.8s ease-in-out infinite;
}

.ps-srow:nth-child(2)::after { animation-delay: .6s; }
.ps-srow:nth-child(3)::after { animation-delay: 1.2s; }

@keyframes ps-led {
  0%, 100% { opacity: .35; box-shadow: none; }
  50%      { opacity: 1; box-shadow: 0 0 8px rgba(231, 44, 63, .8); }
}

.ps-statuses {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ps-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  background: rgba(15, 14, 17, .92);
  font-size: 11px;
  font-weight: 650;
  animation: bxi-in 6.5s ease infinite both;
}

.st1 { animation-delay: .4s; }
.st2 { animation-delay: 1.2s; }
.st3 { animation-delay: 2s; }

.ps-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.ps-dot--g { background: #00c853; box-shadow: 0 0 7px rgba(0, 200, 83, .8); }
.ps-dot--r { background: var(--red-hi); box-shadow: 0 0 7px rgba(231, 44, 63, .8); }
.ps-dot--w { background: #fff; box-shadow: 0 0 7px rgba(255, 255, 255, .7); }

/* --- Наполнение: страница собирается --- */
.ps-builder {
  width: 290px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  overflow: hidden;
}

.ps-builder-body {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.psb { display: block; border-radius: 5px; }

.psb-title {
  height: 16px;
  width: 65%;
  background: rgba(231, 44, 63, .4);
  animation: psb-left 7s cubic-bezier(.34, 1.56, .64, 1) infinite both;
}

.psb-img {
  height: 72px;
  background: rgba(255, 255, 255, .1);
  animation: psb-right 7s cubic-bezier(.34, 1.56, .64, 1) infinite both;
  animation-delay: .9s;
}

.psb-line {
  height: 8px;
  background: rgba(255, 255, 255, .14);
  animation: psb-left 7s cubic-bezier(.34, 1.56, .64, 1) infinite both;
  animation-delay: 1.8s;
}

.psb-line--short {
  width: 62%;
  animation-delay: 2.4s;
}

.psb-btn {
  justify-self: start;
  padding: 11px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  animation: psb-up 7s cubic-bezier(.34, 1.56, .64, 1) infinite both;
  animation-delay: 3.2s;
}

@keyframes psb-left {
  0%       { opacity: 0; transform: translateX(-70px); }
  9%, 84%  { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

@keyframes psb-right {
  0%       { opacity: 0; transform: translateX(70px); }
  9%, 84%  { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

@keyframes psb-up {
  0%       { opacity: 0; transform: translateY(36px); }
  9%       { opacity: 1; transform: none; }
  15%, 19% { box-shadow: 0 0 24px rgba(231, 44, 63, .75); }
  17%      { box-shadow: 0 0 10px rgba(231, 44, 63, .3); }
  84%      { opacity: 1; }
  94%, 100% { opacity: 0; }
}

/* --- Поддержка 24/7: dashboard --- */
.ps-dash {
  position: relative;
  width: 320px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
}

.ps-dash-body { padding: 18px 20px; }

.ps-chart { width: 100%; height: 70px; }

.ps-chart-line {
  fill: none;
  stroke: var(--red-hi);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  filter: drop-shadow(0 0 6px rgba(231, 44, 63, .5));
  animation: ps-chart-draw 6s ease infinite;
}

@keyframes ps-chart-draw {
  0%        { stroke-dashoffset: 300; }
  30%, 86%  { stroke-dashoffset: 0; }
  96%, 100% { stroke-dashoffset: 300; }
}

.ps-log {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  font-size: 11px;
  color: var(--muted);
  animation: bx-row1 8s ease infinite both;
}

.l1 { animation-name: bx-row1; }
.l2 { animation-name: bx-row2; }
.l3 { animation-name: bx-row3; }

.ps-alert {
  position: absolute;
  top: -14px;
  right: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 24px rgba(231, 44, 63, .45);
  animation: ps-alert1 10s ease infinite both;
}

.al2 { animation-name: ps-alert2; }

@keyframes ps-alert1 {
  0%, 4%    { opacity: 0; transform: translateY(-12px); }
  9%, 40%   { opacity: 1; transform: none; }
  46%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes ps-alert2 {
  0%, 52%   { opacity: 0; transform: translateY(-12px); }
  58%, 90%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* --- Форматы работы: split --- */
.ps-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ps-once,
.ps-forever {
  position: relative;
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .8));
  padding: 34px 32px;
  min-height: 300px;
}

.ps-once h3,
.ps-forever h3 {
  font-size: 21px;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}

.ps-task {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  font-size: 13px;
  animation: ps-task1 8s ease infinite both;
}

.q1 { animation-name: ps-task1; }
.q2 { animation-name: ps-task2; }
.q3 { animation-name: ps-task3; }

@keyframes ps-task1 { 0%, 4%  { opacity: 0; transform: translateX(-16px); } 10%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateX(26px); } }
@keyframes ps-task2 { 0%, 30% { opacity: 0; transform: translateX(-16px); } 36%, 56% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; transform: translateX(26px); } }
@keyframes ps-task3 { 0%, 56% { opacity: 0; transform: translateX(-16px); } 62%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateX(26px); } }

.ps-split-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.ps-loop {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 6px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(231, 44, 63, .6);
  border-radius: 50%;
  animation: ps-spin 9s linear infinite;
}

.ps-ring--inner {
  inset: 18px;
  border-style: solid;
  border-color: rgba(255, 255, 255, .14);
  animation: ps-spin 13s linear infinite reverse;
}

.ps-loop-dot {
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 12px rgba(231, 44, 63, .8);
  transform-origin: 5px 70px;
  animation: ps-spin 9s linear infinite;
}

.ps-loop b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}

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

/* --- Финальный CTA: сайт собирается и «оживает» --- */
.ps-site-mini {
  width: 150px;
  margin: 0 auto 26px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  padding: 13px;
  background: rgba(15, 14, 17, .92);
  display: grid;
  gap: 8px;
  transform: scale(.82);
  opacity: .5;
  filter: blur(1.5px);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), opacity 1.1s ease, filter 1.1s ease, box-shadow 1.1s ease;
}

.ps-site-mini i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
}

.ps-site-mini i:nth-child(2) { width: 70%; background: rgba(231, 44, 63, .45); }
.ps-site-mini i:nth-child(3) { width: 45%; }

.reveal.is-visible .ps-site-mini {
  transform: scale(1);
  opacity: 1;
  filter: none;
  box-shadow: 0 0 44px rgba(231, 44, 63, .35);
}


/* ============================================
   Главная: услуги как горизонтальная история (только ПК)
   ============================================ */
.hstory-skip { display: none; }

@media (min-width: 769px) {
  .hstory--services .hstory-viewport {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 44px;
  }

  .hstory--services .section-head { margin-bottom: 0; }

  .hstory--services .services-carousel { padding: 0; }

  .hstory--services .services-grid {
    display: flex;
    gap: 18px;
    padding: 0 7vw;
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
  }

  /* Новые карточки добавляются в разметку — лента растянется сама */
  .hstory--services .service-card {
    flex: 0 0 360px;
    min-height: 400px;
  }

  .hstory-skip {
    display: inline-flex;
    position: absolute;
    right: 6vw;
    bottom: 26px;
    z-index: 2;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 30px;
    background: rgba(15, 14, 17, .7);
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: border-color .25s, background .25s;
  }

  .hstory-skip:hover {
    border-color: var(--red-hi);
    background: rgba(231, 44, 63, .2);
  }
}

/* ============================================
   Главная: кинематографичный блок «СВОИ.»
   Базовые стили = финальное состояние (мобильный видит сразу его)
   ============================================ */
.about-cine .about-stage {
  text-align: center;
  padding: 60px 16px;
}

.about-word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}

.al { display: inline-block; }

/* Координаты «разброса» букв (используются ПК-скриптом и мобильной сценой) */
.al1 { --sx: -70px; --sy: -44px; --sr: -10deg; }
.al2 { --sx: 44px;  --sy: 52px;  --sr: 7deg; }
.al3 { --sx: -34px; --sy: 66px;  --sr: -6deg; }
.al4 { --sx: 76px;  --sy: -38px; --sr: 9deg; }
.al5 { --sx: 34px;  --sy: 34px;  --sr: 0deg; }

.al5 { color: var(--red); }

.about-underline {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -16px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-hi));
}

.about-lead {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.25;
  margin: 48px 0 16px;
}

.about-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Ключевые слова — акцентный подсвет (фирменный красный) */
.about-lead em,
.about-sub em,
.about-hphrases em {
  font-style: normal;
  color: var(--red-hi);
}

.about-hphrases {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 60px;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: -.02em;
  line-height: 1.25;
  white-space: nowrap;
}

.about-hphrases p { margin: 0; }

.ah-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-hi);
  animation: ah-blink 1.6s ease-in-out infinite;
}

@keyframes ah-blink { 50% { opacity: .25; } }

/* --- Режиссура по скроллу (только ПК) ---
   Никаких дискретных стадий: скрипт каждый кадр обновляет
   переменные --g/--t1/--t2/--ap и инлайн-стили букв,
   поэтому всё движется строго вслед за колесом, в обе стороны */
@media (min-width: 769px) {
  .about-cine .hstory-viewport {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    --g: 0;
    --t1: 0;
    --t2: 0;
    --ap: 0;
  }

  /* Ансамбль слегка уходит влево, когда выезжают фразы */
  .about-core {
    transform: translateX(calc(var(--ap) * -6vw));
    will-change: transform;
  }

  /* Линия под словом рисуется на этапе «усиления»
     (красное свечение слова убрано по решению заказчика) */
  .about-underline {
    transform: scaleX(var(--g));
    transform-origin: left;
  }

  /* Тексты: прозрачность и подъём = --t1/--t2 */
  .about-lead {
    opacity: var(--t1);
    transform: translateY(calc((1 - var(--t1)) * 26px));
  }

  .about-sub {
    opacity: var(--t2);
    transform: translateY(calc((1 - var(--t2)) * 26px));
  }

  /* Горизонтальные фразы: выезжают справа, позиция = --ap */
  .about-hphrases {
    position: absolute;
    left: 0;
    bottom: 9vh;
    margin-top: 0;
    padding: 0 4vw;
    transform: translateX(calc(100vw - var(--ap) * (100% + 10vw)));
    will-change: transform;
  }
}

/* ============================================
   Страница «Редизайн сайта»: живой холст дизайнера
   Сцены оживают классом .is-live (ставит redesign.js)
   ============================================ */

/* --- Курсор дизайнера (общий для сцен) --- */
.rd-cursor {
  position: absolute;
  z-index: 6;
  width: 21px;
  height: 21px;
  color: #fff;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .65));
  pointer-events: none;
}

.rd-cursor svg { display: block; width: 100%; height: 100%; }

/* Кольцо «клика» */
.rd-cursor::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--red-hi);
  border-radius: 50%;
  opacity: 0;
}

/* --- Hero: пустой холст с сеткой --- */
.rd-hero {
  position: relative;
  min-height: 92vh;
  padding: 130px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* Затемнение центра под текст + плавный уход сетки сверху и снизу */
.rd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(12, 11, 14, .92) 0%, rgba(12, 11, 14, .5) 30%, transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}

.rd-hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.rd-hero-title .eyebrow { justify-content: center; }

.rd-hero-title h1 {
  margin: 14px 0 20px;
  font-size: clamp(46px, 7.4vw, 100px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: none; /* глобальный h1 ограничен 720px — тут по центру */
}

.rd-hero-title h1 em {
  font-style: normal;
  color: var(--red-hi);
}

/* «И не только» — с мигающей кареткой, как в графическом редакторе */
.rd-hero-sub {
  display: inline-block;
  margin: 0;
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.rd-hero-sub::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 7px;
  vertical-align: -2px;
  background: var(--red-hi);
  animation: rd-caret 1.1s steps(1) infinite;
}

@keyframes rd-caret { 50% { opacity: 0; } }

/* --- Направляющие: появляются и исчезают --- */
.rd-guide {
  position: absolute;
  z-index: 1;
  background: rgba(231, 44, 63, .4);
  opacity: 0;
}

.rd-guide--v { top: 0; bottom: 0; width: 1px; }
.rd-guide--h { left: 0; right: 0; height: 1px; }

.rd-hero .rd-gv1 { left: 17%; animation: rd-guide 9s ease infinite .6s; }
.rd-hero .rd-gv2 { left: 79%; animation: rd-guide 9s ease infinite 3.8s; }
.rd-hero .rd-gh1 { top: 70%;  animation: rd-guide 9s ease infinite 6.4s; }

@keyframes rd-guide {
  0%, 6%    { opacity: 0; }
  12%, 30%  { opacity: 1; }
  40%, 100% { opacity: 0; }
}

/* Курсор «думает»: ходит по холсту с паузами и кликами */
.rd-cursor--hero { z-index: 2; animation: rd-c-hero 9s ease-in-out infinite; }
.rd-cursor--hero::before { animation: rd-click-hero 9s ease infinite; }

@keyframes rd-c-hero {
  0%, 4%    { left: 14%; top: 26%; }
  16%, 24%  { left: 33%; top: 36%; }
  38%, 46%  { left: 74%; top: 30%; }
  60%, 68%  { left: 63%; top: 72%; }
  82%, 88%  { left: 26%; top: 68%; }
  100%      { left: 14%; top: 26%; }
}

@keyframes rd-click-hero {
  0%, 17%   { opacity: 0; transform: scale(.4); }
  19%       { opacity: .9; transform: scale(.7); }
  26%       { opacity: 0; transform: scale(1.7); }
  40%       { opacity: 0; transform: scale(.4); }
  42%       { opacity: .9; transform: scale(.7); }
  49%       { opacity: 0; transform: scale(1.7); }
  62%       { opacity: 0; transform: scale(.4); }
  64%       { opacity: .9; transform: scale(.7); }
  71%, 100% { opacity: 0; transform: scale(1.7); }
}

/* Подсказка «листайте вниз» */
.rd-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
}

.rd-scroll-hint i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red-hi);
  animation: rd-wheel 1.9s ease infinite;
}

@keyframes rd-wheel {
  0%   { opacity: 0; transform: none; }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(15px); }
}

/* --- Сцена 01: интерфейс собирается из ничего --- */
.rd-board {
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  overflow: hidden;
}

.rd-board-body {
  position: relative;
  height: 330px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* До появления на экране цикл стоит на паузе */
.rd-board .rd-el,
.rd-board .rd-sel,
.rd-board .rd-cursor { animation-play-state: paused; }

.rd-board.is-live .rd-el,
.rd-board.is-live .rd-sel,
.rd-board.is-live .rd-cursor { animation-play-state: running; }

/* Рамка выделения, которую «тянет» курсор */
.rd-sel {
  position: absolute;
  border: 1px dashed var(--red-hi);
  border-radius: 5px;
  background: rgba(231, 44, 63, .07);
  opacity: 0;
  animation: rd-sel 12s linear infinite;
}

@keyframes rd-sel {
  0%, 7%    { left: 26px; top: 24px; width: 0; height: 0; opacity: 0; }
  9%        { left: 26px; top: 24px; width: 40px; height: 14px; opacity: 1; }
  17%       { left: 26px; top: 24px; width: calc(100% - 52px); height: 36px; opacity: 1; }
  19%       { left: 26px; top: 24px; width: calc(100% - 52px); height: 36px; opacity: 0; }
  21%       { left: 26px; top: 76px; width: 0; height: 0; opacity: 0; }
  23%       { left: 26px; top: 76px; width: 40px; height: 20px; opacity: 1; }
  33%       { left: 26px; top: 76px; width: calc(100% - 52px); height: 98px; opacity: 1; }
  35%, 100% { left: 26px; top: 76px; width: calc(100% - 52px); height: 98px; opacity: 0; }
}

.rd-el {
  position: absolute;
  border-radius: 6px;
  opacity: 0;
}

.rd-el--head {
  left: 26px;
  top: 24px;
  right: 26px;
  height: 36px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .5), rgba(231, 44, 63, .2));
  animation: rd-in-head 12s ease infinite;
}

@keyframes rd-in-head {
  0%, 16%   { opacity: 0; transform: scaleY(.6); }
  19%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}

.rd-el--img {
  left: 26px;
  top: 76px;
  right: 26px;
  height: 98px;
  background: rgba(255, 255, 255, .1);
  animation: rd-in-img 12s ease infinite;
}

@keyframes rd-in-img {
  0%, 32%   { opacity: 0; transform: scaleY(.7); }
  35%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}

/* Строки текста «печатаются» — растут в ширину */
.rd-el--line {
  left: 26px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .16);
  transform-origin: left;
}

.rd-w1 { top: 196px; width: 62%; animation: rd-in-line1 12s ease infinite; }
.rd-w2 { top: 218px; width: 40%; animation: rd-in-line2 12s ease infinite; }

@keyframes rd-in-line1 {
  0%, 40%   { opacity: 0; transform: scaleX(0); }
  42%       { opacity: 1; }
  50%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}

@keyframes rd-in-line2 {
  0%, 48%   { opacity: 0; transform: scaleX(0); }
  50%       { opacity: 1; }
  58%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}

/* Кнопка появляется с отскоком и вспышкой */
.rd-el--btn {
  left: 26px;
  top: 248px;
  padding: 11px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  animation: rd-in-btn 12s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

@keyframes rd-in-btn {
  0%, 60%   { opacity: 0; transform: scale(.5); }
  64%       { opacity: 1; transform: scale(1.07); }
  66%       { opacity: 1; transform: scale(1); box-shadow: 0 0 26px rgba(231, 44, 63, .8); }
  72%       { box-shadow: 0 0 10px rgba(231, 44, 63, .25); }
  88%       { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}

.rd-cursor--build { animation: rd-c-build 12s ease-in-out infinite; }
.rd-cursor--build::before { animation: rd-click-build 12s ease infinite; }

@keyframes rd-c-build {
  0%        { left: 84%; top: 86%; }
  7%        { left: 5%;  top: 6%; }
  17%       { left: 90%; top: 16%; }
  21%       { left: 5%;  top: 22%; }
  33%       { left: 90%; top: 50%; }
  40%       { left: 5%;  top: 58%; }
  50%       { left: 44%; top: 64%; }
  58%, 66%  { left: 13%; top: 78%; }
  80%       { left: 62%; top: 86%; }
  100%      { left: 84%; top: 86%; }
}

@keyframes rd-click-build {
  0%, 6%    { opacity: 0; transform: scale(.4); }
  8%        { opacity: .9; transform: scale(.7); }
  13%       { opacity: 0; transform: scale(1.6); }
  20%       { opacity: 0; transform: scale(.4); }
  22%       { opacity: .9; transform: scale(.7); }
  27%       { opacity: 0; transform: scale(1.6); }
  59%       { opacity: 0; transform: scale(.4); }
  61%       { opacity: .9; transform: scale(.7); }
  67%, 100% { opacity: 0; transform: scale(1.6); }
}

/* --- Сцена 02: старый сайт превращается в новый --- */
.rd-morph {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 16px;
}

.rd-shot {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  overflow: hidden;
}

.rd-shot-body { position: relative; height: 280px; }

.rd-shot--old .rd-shot-body { background: rgba(255, 255, 255, .03); }

/* До появления на экране цикл стоит */
.rd-morph .rd-o,
.rd-morph .rd-n,
.rd-morph .rd-cursor { animation-play-state: paused; }

.rd-morph.is-live .rd-o,
.rd-morph.is-live .rd-n,
.rd-morph.is-live .rd-cursor { animation-play-state: running; }

/* Старые элементы: серые, кривые, «из 2010-го».
   Анимируются только прозрачность и подсветка,
   наклон задан свойством rotate и не сбивается */
.rd-o {
  position: absolute;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
}

.rd-o1 {
  left: 22px;
  top: 22px;
  width: 58%;
  height: 20px;
  rotate: -2deg;
  background: rgba(255, 255, 255, .3);
  animation: rd-o-1 11s ease infinite;
}

.rd-o2 {
  left: 22px;
  top: 58px;
  width: 46%;
  height: 84px;
  rotate: 1.4deg;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 8px, rgba(255, 255, 255, .05) 8px 16px);
  animation: rd-o-2 11s ease infinite;
}

.rd-o3 {
  left: 22px;
  top: 162px;
  width: 76%;
  height: 7px;
  rotate: -.6deg;
  animation: rd-o-3 11s ease infinite;
}

.rd-o4 {
  left: 22px;
  top: 198px;
  padding: 8px 16px;
  border: 2px outset #9a9a9a;
  border-radius: 0;
  background: #7c7c7c;
  color: #dcdcdc;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11px;
  rotate: -1.2deg;
  animation: rd-o-4 11s ease infinite;
}

@keyframes rd-o-1 {
  0%, 6%    { opacity: 1; box-shadow: none; }
  9%, 12%   { opacity: 1; box-shadow: 0 0 0 2px var(--red-hi); }
  16%, 86%  { opacity: .22; box-shadow: none; }
  94%, 100% { opacity: 1; box-shadow: none; }
}

@keyframes rd-o-2 {
  0%, 24%   { opacity: 1; box-shadow: none; }
  27%, 30%  { opacity: 1; box-shadow: 0 0 0 2px var(--red-hi); }
  34%, 86%  { opacity: .22; box-shadow: none; }
  94%, 100% { opacity: 1; box-shadow: none; }
}

@keyframes rd-o-3 {
  0%, 42%   { opacity: 1; box-shadow: none; }
  45%, 48%  { opacity: 1; box-shadow: 0 0 0 2px var(--red-hi); }
  52%, 86%  { opacity: .22; box-shadow: none; }
  94%, 100% { opacity: 1; box-shadow: none; }
}

@keyframes rd-o-4 {
  0%, 58%   { opacity: 1; box-shadow: none; }
  61%, 64%  { opacity: 1; box-shadow: 0 0 0 2px var(--red-hi); }
  70%, 86%  { opacity: .22; box-shadow: none; }
  94%, 100% { opacity: 1; box-shadow: none; }
}

/* Новые элементы: чистые, с фирменным красным */
.rd-n {
  position: absolute;
  border-radius: 6px;
  opacity: 0;
}

.rd-n1 {
  left: 22px;
  top: 22px;
  width: 64%;
  height: 22px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .55), rgba(231, 44, 63, .2));
  animation: rd-n-1 11s ease infinite;
}

.rd-n2 {
  left: 22px;
  top: 60px;
  right: 22px;
  height: 92px;
  background: rgba(255, 255, 255, .1);
  animation: rd-n-2 11s ease infinite;
}

.rd-n3 {
  left: 22px;
  top: 170px;
  width: 70%;
  height: 9px;
  background: rgba(255, 255, 255, .16);
  animation: rd-n-3 11s ease infinite;
}

.rd-n4 {
  left: 22px;
  top: 200px;
  padding: 10px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  animation: rd-n-4 11s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

@keyframes rd-n-1 {
  0%, 10%   { opacity: 0; transform: translateX(-52px); }
  16%, 88%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateX(-52px); }
}

@keyframes rd-n-2 {
  0%, 28%   { opacity: 0; transform: translateX(-52px); }
  34%, 88%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateX(-52px); }
}

@keyframes rd-n-3 {
  0%, 46%   { opacity: 0; transform: translateX(-52px); }
  52%, 88%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateX(-52px); }
}

@keyframes rd-n-4 {
  0%, 62%   { opacity: 0; transform: scale(.5); }
  67%       { opacity: 1; transform: scale(1.08); }
  69%       { opacity: 1; transform: scale(1); box-shadow: 0 0 22px rgba(231, 44, 63, .8); }
  76%       { box-shadow: 0 0 8px rgba(231, 44, 63, .2); }
  88%       { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

/* Стрелка между «было» и «стало» */
.rd-morph-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border: 1px solid rgba(231, 44, 63, .5);
  border-radius: 50%;
  background: rgba(15, 14, 17, .9);
  color: var(--red-hi);
  font-size: 19px;
  font-weight: 700;
  animation: rd-arrow 2.6s ease-in-out infinite;
}

.rd-morph-arrow i { font-style: normal; }

@keyframes rd-arrow {
  0%, 100% { transform: none; box-shadow: 0 0 0 rgba(231, 44, 63, 0); }
  50%      { transform: scale(1.08); box-shadow: 0 0 20px rgba(231, 44, 63, .45); }
}

/* Курсор переносит элементы слева направо */
.rd-cursor--morph { animation: rd-c-morph 11s ease-in-out infinite; }
.rd-cursor--morph::before { animation: rd-click-morph 11s ease infinite; }

@keyframes rd-c-morph {
  0%, 5%   { left: 12%; top: 18%; }
  9%       { left: 12%; top: 16%; }
  14%      { left: 60%; top: 16%; }
  23%      { left: 10%; top: 40%; }
  27%      { left: 10%; top: 38%; }
  32%      { left: 62%; top: 40%; }
  41%      { left: 12%; top: 66%; }
  45%      { left: 12%; top: 64%; }
  50%      { left: 60%; top: 68%; }
  59%      { left: 11%; top: 80%; }
  63%      { left: 11%; top: 78%; }
  68%      { left: 58%; top: 78%; }
  78%      { left: 80%; top: 58%; }
  100%     { left: 12%; top: 18%; }
}

@keyframes rd-click-morph {
  0%, 6%    { opacity: 0; transform: scale(.4); }
  8%        { opacity: .9; transform: scale(.7); }
  13%       { opacity: 0; transform: scale(1.6); }
  24%       { opacity: 0; transform: scale(.4); }
  26%       { opacity: .9; transform: scale(.7); }
  31%       { opacity: 0; transform: scale(1.6); }
  42%       { opacity: 0; transform: scale(.4); }
  44%       { opacity: .9; transform: scale(.7); }
  49%       { opacity: 0; transform: scale(1.6); }
  60%       { opacity: 0; transform: scale(.4); }
  62%       { opacity: .9; transform: scale(.7); }
  67%, 100% { opacity: 0; transform: scale(1.6); }
}

/* --- Сцена 03: холст разъезжается — все направления дизайна --- */
.rd-space {
  position: relative;
  width: min(1560px, calc(100vw - 32px));
  margin: 0 auto;
}

/* Текст: на мобильном над холстом, на ПК — поверх по центру */
.rd-space-copy {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
  pointer-events: none;
}

.rd-space-copy .eyebrow { justify-content: center; }

.rd-space-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -.03em;
  line-height: 1.06;
}

.rd-space-lead {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.rd-space-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Тексты проявляются после того, как холст «разъехался» */
.rd-space-copy .eyebrow,
.rd-space-copy h2,
.rd-space-lead,
.rd-space-sub {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}

.rd-space.is-live .rd-space-copy .eyebrow { opacity: 1; transform: none; transition-delay: .7s; }
.rd-space.is-live .rd-space-copy h2      { opacity: 1; transform: none; transition-delay: .9s; }
.rd-space.is-live .rd-space-lead         { opacity: 1; transform: none; transition-delay: 1.15s; }
.rd-space.is-live .rd-space-sub          { opacity: 1; transform: none; transition-delay: 1.4s; }

/* Сам холст: «разъезжается» при появлении на экране */
.rd-space-canvas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  padding: 30px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background-color: rgba(15, 14, 17, .6);
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 38px 38px;
  overflow: hidden;
  transform: scale(.8);
  opacity: 0;
  transition: transform 1.25s cubic-bezier(.16, 1, .3, 1), opacity .9s ease;
}

.rd-space.is-live .rd-space-canvas { transform: none; opacity: 1; }

.rd-space-canvas .rd-gv1 { left: 24%; animation: rd-guide 11s ease infinite 1s; }
.rd-space-canvas .rd-gv2 { left: 71%; animation: rd-guide 11s ease infinite 5s; }
.rd-space-canvas .rd-gh1 { top: 56%;  animation: rd-guide 11s ease infinite 8s; }

/* Внутренние циклы стоят, пока сцена не на экране */
.rd-space .rd-la { animation-play-state: paused; }
.rd-space.is-live .rd-la { animation-play-state: running; }

/* Артефакты дизайна: появляются с отскоком по очереди */
.rd-art {
  position: relative;
  opacity: 0;
  transform: translateY(26px) scale(.8);
  transition: opacity .8s ease, transform .9s cubic-bezier(.34, 1.56, .64, 1);
}

.rd-space.is-live .rd-art { opacity: 1; transform: none; }
.rd-space.is-live .rd-art--web   { transition-delay: .45s; }
.rd-space.is-live .rd-art--ad    { transition-delay: .6s; }
.rd-space.is-live .rd-art--brand { transition-delay: .75s; }
.rd-space.is-live .rd-art--pres  { transition-delay: .9s; }
.rd-space.is-live .rd-art--smm   { transition-delay: 1.05s; }

/* Подпись направления */
.rd-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  background: rgba(15, 14, 17, .92);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.rd-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 7px rgba(231, 44, 63, .8);
}

/* Артефакты слегка «дышат» на холсте */
.rd-art-inner { display: flex; align-items: flex-end; gap: 10px; }
.rd-art--web .rd-art-inner   { animation: rd-float-a 6s ease-in-out infinite; }
.rd-art--ad .rd-art-inner    { animation: rd-float-b 7s ease-in-out infinite; }
.rd-art--brand .rd-art-inner { animation: rd-float-a 8s ease-in-out infinite; }
.rd-art--pres .rd-art-inner  { animation: rd-float-b 6.5s ease-in-out infinite; }
.rd-art--smm .rd-art-inner   { animation: rd-float-a 7.5s ease-in-out infinite; }

@keyframes rd-float-a { 50% { transform: translateY(-7px); } }
@keyframes rd-float-b { 50% { transform: translateY(6px); } }

/* Веб-дизайн: десктоп + мобилка */
.rd-mini-browser {
  width: 150px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(15, 14, 17, .95);
  overflow: hidden;
}

.rd-mini-bar {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.rd-mini-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.rd-mini-body {
  padding: 10px;
  display: grid;
  gap: 7px;
}

.rd-bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
}

.rd-bar--red { background: rgba(231, 44, 63, .5); }
.rd-bar--w60 { width: 60%; }
.rd-bar--w40 { width: 40%; }

/* Элемент подсвечивается синхронно на десктопе и мобилке — адаптив */
.rd-sync { animation: rd-sync 5s ease infinite; }

@keyframes rd-sync {
  0%, 55%, 100% { background: rgba(255, 255, 255, .14); box-shadow: none; }
  65%, 85%      { background: rgba(231, 44, 63, .6); box-shadow: 0 0 10px rgba(231, 44, 63, .5); }
}

.rd-mini-phone {
  width: 46px;
  padding: 9px 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  background: rgba(15, 14, 17, .95);
  display: grid;
  gap: 5px;
}

.rd-mini-phone .rd-bar { height: 6px; }

/* Рекламный баннер с пульсирующим CTA */
.rd-banner {
  width: 170px;
  padding: 16px 14px;
  border: 1px solid rgba(231, 44, 63, .5);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .75), rgba(17, 15, 18, .95));
  text-align: center;
}

.rd-banner b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 0 18px rgba(231, 44, 63, .6);
}

.rd-banner-cta {
  display: inline-block;
  margin-top: 9px;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  animation: rd-cta-pulse 2.6s ease infinite;
}

@keyframes rd-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(231, 44, 63, 0); transform: none; }
  50%      { box-shadow: 0 0 18px rgba(231, 44, 63, .7); transform: scale(1.05); }
}

/* Брендинг: логотип рисуется линией */
.rd-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.rd-brand-mark { width: 74px; height: 74px; }

.rd-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 195;
  stroke-dashoffset: 195;
  animation: rd-brand-draw 6.5s ease infinite;
}

@keyframes rd-brand-draw {
  0%, 6%    { stroke-dashoffset: 195; }
  40%, 80%  { stroke-dashoffset: 0; }
  94%, 100% { stroke-dashoffset: 195; }
}

.rd-core {
  fill: var(--red-hi);
  transform-origin: center;
  transform-box: fill-box;
  animation: rd-brand-core 6.5s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

@keyframes rd-brand-core {
  0%, 38%   { transform: scale(0); }
  46%, 84%  { transform: scale(1); }
  94%, 100% { transform: scale(0); }
}

.rd-brand-word {
  width: 58px;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
}

/* Презентации: слайды листаются, график растёт */
.rd-deck {
  position: relative;
  width: 170px;
  height: 118px;
}

.rd-slide {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(15, 14, 17, .96);
  padding: 12px;
}

.rd-slide--b1 { transform: translate(8px, -8px) rotate(2deg); opacity: .5; }
.rd-slide--b2 { transform: translate(16px, -16px) rotate(4deg); opacity: .25; }

.rd-slide--front { animation: rd-slide-flip 7s ease infinite; }

@keyframes rd-slide-flip {
  0%, 78% { opacity: 1; transform: none; }
  88%     { opacity: 0; transform: translateX(46px) rotate(6deg); }
  89%     { opacity: 0; transform: translateX(-26px) rotate(0deg); }
  100%    { opacity: 1; transform: none; }
}

.rd-slide-title {
  display: block;
  width: 55%;
  height: 9px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: rgba(231, 44, 63, .5);
}

.rd-slide-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 56px;
}

.rd-slide-chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--red-hi), rgba(231, 44, 63, .35));
  transform-origin: bottom;
  animation: rd-chart-grow 7s ease infinite;
}

.rd-slide-chart i:nth-child(1) { height: 40%; animation-delay: .15s; }
.rd-slide-chart i:nth-child(2) { height: 65%; animation-delay: .3s; }
.rd-slide-chart i:nth-child(3) { height: 50%; animation-delay: .45s; }
.rd-slide-chart i:nth-child(4) { height: 85%; animation-delay: .6s; }

@keyframes rd-chart-grow {
  0%, 6%    { transform: scaleY(0); }
  16%, 74%  { transform: none; }
  86%, 100% { transform: scaleY(0); }
}

/* Соцсети: пост с каруселью */
.rd-post {
  width: 132px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(15, 14, 17, .96);
  overflow: hidden;
}

.rd-post-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
}

.rd-post-ava {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-hi), var(--wine));
}

.rd-post-name {
  width: 52px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
}

.rd-post-view {
  position: relative;
  height: 84px;
  overflow: hidden;
}

.rd-post-track {
  display: flex;
  width: 300%;
  height: 100%;
  animation: rd-post-swipe 9s ease infinite;
}

.rd-post-track i { flex: 1; }
.rd-post-track i:nth-child(1) { background: linear-gradient(135deg, rgba(231, 44, 63, .55), rgba(63, 12, 25, .8)); }
.rd-post-track i:nth-child(2) { background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); }
.rd-post-track i:nth-child(3) { background: linear-gradient(135deg, rgba(231, 44, 63, .3), rgba(17, 15, 18, .9)); }

@keyframes rd-post-swipe {
  0%, 22%   { transform: translateX(0); }
  30%, 52%  { transform: translateX(-33.333%); }
  60%, 82%  { transform: translateX(-66.666%); }
  90%, 100% { transform: translateX(0); }
}

.rd-post-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 8px 0 10px;
}

.rd-post-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.rd-post-dots i:nth-child(1) { animation: rd-dot1 9s ease infinite; }
.rd-post-dots i:nth-child(2) { animation: rd-dot2 9s ease infinite; }
.rd-post-dots i:nth-child(3) { animation: rd-dot3 9s ease infinite; }

@keyframes rd-dot1 {
  0%, 26%   { background: var(--red-hi); }
  30%, 86%  { background: rgba(255, 255, 255, .25); }
  90%, 100% { background: var(--red-hi); }
}

@keyframes rd-dot2 {
  0%, 26%   { background: rgba(255, 255, 255, .25); }
  30%, 56%  { background: var(--red-hi); }
  60%, 100% { background: rgba(255, 255, 255, .25); }
}

@keyframes rd-dot3 {
  0%, 56%   { background: rgba(255, 255, 255, .25); }
  60%, 86%  { background: var(--red-hi); }
  90%, 100% { background: rgba(255, 255, 255, .25); }
}

/* Курсор гуляет по большому холсту (только ПК) */
.rd-cursor--space { display: none; }

/* ПК-раскладка холста: артефакты разложены по краям, текст в центре */
@media (min-width: 769px) {
  .rd-space-canvas {
    display: block;
    height: 640px;
    padding: 0;
    transform: scaleX(.5);
  }

  .rd-space-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: none;
    margin: 0;
    padding: 0 23vw;
  }

  .rd-art { position: absolute; }
  .rd-art--web   { left: 3.5%; top: 8%; }
  .rd-art--ad    { right: 4%; top: 11%; }
  .rd-art--brand { left: calc(50% - 55px); top: 5%; }
  .rd-art--pres  { left: 5%; bottom: 7%; }
  .rd-art--smm   { right: 5.5%; bottom: 8%; }

  .rd-cursor--space { display: block; animation-name: rd-c-space; animation-duration: 12s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
}

@keyframes rd-c-space {
  0%, 4%    { left: 30%; top: 34%; }
  14%, 20%  { left: 13%; top: 18%; }
  32%, 38%  { left: 84%; top: 22%; }
  50%, 56%  { left: 52%; top: 12%; }
  68%, 74%  { left: 15%; top: 76%; }
  84%, 90%  { left: 82%; top: 74%; }
  100%      { left: 30%; top: 34%; }
}

/* --- Финал: всё собирается в одну систему --- */
.rd-merge-stage {
  position: relative;
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

/* Разлетевшиеся кусочки дизайна */
.rd-piece {
  position: absolute;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  background: rgba(15, 14, 17, .95);
  transition: transform 1.1s cubic-bezier(.55, 0, .7, .4), opacity .9s ease;
}

.rd-piece i {
  display: block;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .16);
}

.rd-piece .rp-red { background: rgba(231, 44, 63, .55); }

.rd-piece--1 { left: 6%;  top: 10%;    width: 92px; }
.rd-piece--2 { right: 7%; top: 6%;     width: 84px; }
.rd-piece--3 { left: 10%; bottom: 12%; width: 78px; }
.rd-piece--4 { right: 9%; bottom: 9%;  width: 96px; }
.rd-piece--5 { left: 46%; top: 2%;     width: 70px; }

/* При появлении сцены кусочки съезжаются в макет по центру */
.rd-merge.is-live .rd-piece { opacity: 0; }
.rd-merge.is-live .rd-piece--1 { transform: translate(330px, 130px) scale(.25); }
.rd-merge.is-live .rd-piece--2 { transform: translate(-330px, 150px) scale(.25); transition-delay: .12s; }
.rd-merge.is-live .rd-piece--3 { transform: translate(300px, -110px) scale(.25); transition-delay: .24s; }
.rd-merge.is-live .rd-piece--4 { transform: translate(-320px, -120px) scale(.25); transition-delay: .36s; }
.rd-merge.is-live .rd-piece--5 { transform: translate(20px, 190px) scale(.25); transition-delay: .48s; }

/* Итоговый макет: проявляется, когда кусочки «прилетели» */
.rd-final {
  position: relative;
  z-index: 2;
  width: min(400px, 92%);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(15, 14, 17, .96);
  overflow: hidden;
  transform: scale(.86);
  opacity: .4;
  filter: blur(2px);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) .75s, opacity 1s ease .75s, filter 1s ease .75s, box-shadow 1.2s ease .75s;
}

.rd-merge.is-live .rd-final {
  transform: none;
  opacity: 1;
  filter: none;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 54px rgba(231, 44, 63, .28);
}

.rd-final-body { padding: 18px 20px 22px; }

.rd-final-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.rd-final-logo {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 8px rgba(231, 44, 63, .7);
  margin-right: auto;
}

.rd-final-nav i {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
}

.rd-final-hero {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.rf-title {
  width: 70%;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .6), rgba(231, 44, 63, .2));
}

.rf-line {
  width: 88%;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
}

.rf-line--s { width: 55%; }

.rd-final-btn {
  justify-self: start;
  padding: 9px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.rd-final-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.rd-final-cards i {
  height: 40px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .08);
}

/* Содержимое макета проявляется после «прилёта» кусочков */
.rf-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}

.rd-merge.is-live .rf-in--1 { opacity: 1; transform: none; transition-delay: 1.15s; }
.rd-merge.is-live .rf-in--2 { opacity: 1; transform: none; transition-delay: 1.3s; }
.rd-merge.is-live .rf-in--3 { opacity: 1; transform: none; transition-delay: 1.45s; }

.rd-merge-copy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.rd-merge-copy .eyebrow { justify-content: center; }

.rd-merge-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 3.6vw, 50px);
  letter-spacing: -.03em;
  line-height: 1.06;
}

.rd-merge-copy p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Стоимость: одна карточка по центру --- */
.rd-price-wrap {
  max-width: 430px;
  margin: 0 auto;
}

/* ============================================
   Страница «SEO аудит»: математика роста
   Сцены оживают классом .is-live (ставит audit.js)
   ============================================ */

/* --- Hero: живые цифры вокруг заголовка --- */
.sa-hero {
  position: relative;
  min-height: 92vh;
  padding: 130px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(12, 11, 14, .9) 0%, rgba(12, 11, 14, .35) 34%, transparent 64%);
  z-index: 1;
}

.sa-figs { position: absolute; inset: 0; }

/* Плавающая метрика: подпись + значение, которое «пересчитывается» */
.sa-fig {
  position: absolute;
  display: grid;
  gap: 3px;
  text-align: center;
  animation: rd-float-a 7s ease-in-out infinite;
}

.sa-fig i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.sa-fig b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .75);
  transition: opacity .3s ease, transform .3s ease;
}

/* Момент «пересчёта» значения (класс ставит audit.js) */
.sa-fig b.is-tick,
.sa-junk b.is-tick {
  opacity: .35;
  transform: translateY(-3px);
}

.sf1 { left: 8%;  top: 24%; }
.sf2 { right: 9%; top: 20%; animation-name: rd-float-b; }
.sf3 { left: 13%; top: 66%; animation-delay: 1.2s; }
.sf4 { right: 12%; top: 68%; animation-name: rd-float-b; animation-delay: .8s; }
.sf5 { left: 27%; top: 12%; animation-delay: .5s; }
.sf6 { right: 28%; top: 82%; animation-delay: 1.6s; }
.sf7 { right: 4%;  top: 45%; animation-name: rd-float-b; animation-delay: 2s; }
.sf8 { left: 4%;  top: 45%; animation-delay: 2.4s; }

/* Акценты: часть метрик красные */
.sf2 b, .sf4 b, .sf7 b { color: rgba(231, 44, 63, .8); }

.sa-hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.sa-hero-title .eyebrow { justify-content: center; }

.sa-hero-title h1 {
  margin: 14px 0 20px;
  font-size: clamp(44px, 6.8vw, 92px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: none; /* глобальный h1 ограничен 720px — тут по центру */
}

.sa-hero-title h1 em {
  font-style: normal;
  color: var(--red-hi);
}

.sa-hero-sub {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.sa-hero-sub span {
  color: var(--muted);
  font-weight: 650;
}

/* --- Сцены 1–2: хаос данных → включаем анализ --- */
.sa-lab {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(15, 14, 17, .9);
  overflow: hidden;
}

.sa-lab-body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px;
}

.sa-junk,
.sa-key {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: rgba(255, 255, 255, .03);
  padding: 14px 16px;
  display: grid;
  gap: 5px;
}

.sa-junk i,
.sa-key i {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}

.sa-junk b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(231, 44, 63, .85);
  transition: opacity .3s ease, transform .3s ease;
}

.sa-key b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .6);
}

.sa-junk--chart { align-content: center; }

/* «Ломаная» линия графика дёргается */
.sa-broken {
  width: 100%;
  height: 48px;
}

.sa-broken polyline {
  fill: none;
  stroke: rgba(231, 44, 63, .7);
  stroke-width: 2;
  stroke-linejoin: miter;
}

.sa-lab.is-live .sa-broken { animation: sa-shake .4s steps(2) infinite; }

@keyframes sa-shake {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(1px, -1px); }
  100% { transform: translate(-1px, 1px); }
}

/* Прицел анализа: появляется и обходит важные метрики */
.sa-cross {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border: 1.5px solid var(--red-hi);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(231, 44, 63, .35);
}

.sa-cross::before,
.sa-cross::after {
  content: "";
  position: absolute;
  background: var(--red-hi);
}

.sa-cross::before { left: 50%; top: -7px; bottom: -7px; width: 1.5px; margin-left: -.75px; }
.sa-cross::after  { top: 50%; left: -7px; right: -7px; height: 1.5px; margin-top: -.75px; }

.sa-lab.is-live .sa-cross { animation: sa-cross-path 4.2s ease-in-out forwards .6s; }

@keyframes sa-cross-path {
  0%       { left: 8%;  top: 90%; opacity: 0; }
  8%       { opacity: 1; }
  25%, 34% { left: 50%; top: 22%; opacity: 1; }
  52%, 61% { left: 83%; top: 52%; opacity: 1; }
  79%, 88% { left: 17%; top: 82%; opacity: 1; }
  100%     { left: 17%; top: 82%; opacity: 0; }
}

/* Важные метрики подсвечиваются, когда прицел их «находит» */
.sa-lab.is-live .sk1 { animation: sa-key-mark .7s ease forwards 1.7s; }
.sa-lab.is-live .sk2 { animation: sa-key-mark .7s ease forwards 2.85s; }
.sa-lab.is-live .sk3 { animation: sa-key-mark .7s ease forwards 4s; }

@keyframes sa-key-mark {
  40% { transform: scale(1.05); }
  100% {
    border-color: rgba(231, 44, 63, .75);
    background: rgba(231, 44, 63, .08);
    box-shadow: 0 0 26px rgba(231, 44, 63, .25);
    transform: none;
  }
}

.sa-lab.is-live .sa-key b { transition: color .5s ease 2.2s; color: #fff; }

/* Лишнее гаснет — остаётся только важное */
.sa-lab.is-live .sa-junk { animation: sa-junk-out .9s ease forwards; }
.sa-lab.is-live .sj1 { animation-delay: 4.6s; }
.sa-lab.is-live .sj2 { animation-delay: 4.75s; }
.sa-lab.is-live .sj3 { animation-delay: 4.9s; }
.sa-lab.is-live .sj4 { animation-delay: 5.05s; }
.sa-lab.is-live .sj5 { animation-delay: 5.2s; }
.sa-lab.is-live .sj6 { animation-delay: 5.35s; }

@keyframes sa-junk-out {
  to { opacity: .12; filter: blur(1.5px); }
}

/* --- Сцена 3: разбор по зонам --- */
.sa-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Циклы в зонах стоят, пока блок не на экране */
.sa-zones .sa-la,
.sa-split .sa-la,
.sa-site .sa-la { animation-play-state: paused; }

.sa-zones.is-live .sa-la,
.sa-split.is-live .sa-la,
.sa-site.is-live .sa-la { animation-play-state: running; }

.sa-zone {
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .8));
  padding: 26px 28px;
}

.sa-zone h3 {
  font-size: 20px;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.sa-zone p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.sa-zone-visual {
  position: relative;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(12, 11, 14, .55);
  overflow: hidden;
}

.sa-zone-visual--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* UX: мини-страница, тепловые пятна и «потерявшийся» курсор */
.sa-ux-page {
  position: absolute;
  inset: 18px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.sa-ux-page span {
  display: block;
  height: 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
}

.sa-ux-page .w70 { width: 70%; height: 34px; }
.sa-ux-page .w45 { width: 45%; }

.sa-heat {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 44, 63, .55) 0%, transparent 70%);
  animation: sa-heat 3.6s ease-in-out infinite;
}

.sh1 { left: 12%; top: 46%; }
.sh2 { left: 64%; top: 16%; animation-delay: 1.2s; }
.sh3 { left: 44%; top: 60%; animation-delay: 2.3s; }

@keyframes sa-heat {
  0%, 100% { transform: scale(.7); opacity: .4; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.sa-c-lost { animation: sa-c-lost 7s ease-in-out infinite; }

@keyframes sa-c-lost {
  0%, 6%    { left: 16%; top: 30%; }
  18%, 24%  { left: 70%; top: 22%; }
  36%, 40%  { left: 40%; top: 66%; }
  52%, 58%  { left: 78%; top: 58%; }
  70%, 76%  { left: 24%; top: 74%; }
  88%       { left: 55%; top: 40%; }
  100%      { left: 16%; top: 30%; }
}

/* Перекидывающиеся значения: было красное → стало хорошее */
.sa-flip {
  position: relative;
  height: 44px;
  min-width: 140px;
  text-align: center;
}

.sa-flip b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.sa-flip-bad {
  color: var(--red-hi);
  animation: sa-flip-bad 6s ease infinite;
}

.sa-flip-good {
  color: #00c853;
  text-shadow: 0 0 18px rgba(0, 200, 83, .4);
  opacity: 0;
  animation: sa-flip-good 6s ease infinite;
}

/* В SEO и конверсии «хорошее» значение фирменного красного */
.sa-flip-good--red {
  color: var(--red-hi);
  text-shadow: 0 0 18px rgba(231, 44, 63, .45);
}

@keyframes sa-flip-bad {
  0%, 40%   { opacity: 1; transform: none; }
  48%, 92%  { opacity: 0; transform: translateY(-14px); }
  100%      { opacity: 1; transform: none; }
}

@keyframes sa-flip-good {
  0%, 44%   { opacity: 0; transform: translateY(14px); }
  52%, 88%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(14px); }
}

/* Полоса скорости: длинная красная → короткая зелёная */
.sa-speed-bar {
  width: 74%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.sa-speed-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--red-hi);
  animation: sa-speed 6s ease infinite;
}

@keyframes sa-speed {
  0%, 40%   { width: 92%; background: var(--red-hi); }
  52%, 88%  { width: 30%; background: #00c853; }
  100%      { width: 92%; background: var(--red-hi); }
}

/* Ключевые запросы подсвечиваются по очереди */
.sa-keys { display: flex; gap: 8px; }

.sa-keyword {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  background: rgba(15, 14, 17, .9);
  font-size: 11.5px;
  font-weight: 650;
}

.kw1 { animation: sa-kw1 6s ease infinite; }
.kw2 { animation: sa-kw2 6s ease infinite; }

@keyframes sa-kw1 {
  0%, 46%, 100% { border-color: rgba(255, 255, 255, .16); color: var(--paper); }
  52%, 70%      { border-color: var(--red-hi); color: var(--red-hi); box-shadow: 0 0 14px rgba(231, 44, 63, .3); }
}

@keyframes sa-kw2 {
  0%, 66%, 100% { border-color: rgba(255, 255, 255, .16); color: var(--paper); }
  72%, 90%      { border-color: var(--red-hi); color: var(--red-hi); box-shadow: 0 0 14px rgba(231, 44, 63, .3); }
}

/* Воронка конверсии: посетители падают и становятся заявками */
.sa-funnel {
  position: relative;
  width: 130px;
  height: 46px;
}

.sa-funnel-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .5), rgba(231, 44, 63, .15));
}

.sa-leak,
.sa-funnel i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}

.sa-funnel i { top: -4px; animation: sa-drop 3.2s ease-in infinite; }

.fd1 { left: 14%; }
.fd2 { left: 40%; animation-delay: .8s; }
.fd3 { left: 64%; animation-delay: 1.6s; }
.fd4 { left: 86%; animation-delay: 2.4s; }

@keyframes sa-drop {
  0%       { transform: none; opacity: 0; }
  12%      { opacity: 1; }
  62%      { transform: translateY(34px); background: rgba(255, 255, 255, .4); }
  70%, 84% { transform: translateY(34px); background: var(--red-hi); box-shadow: 0 0 10px rgba(231, 44, 63, .8); opacity: 1; }
  100%     { transform: translateY(34px); opacity: 0; }
}

/* --- Сцена 4: формула результата --- */
.sa-formula { text-align: center; }

.sa-formula .eyebrow { justify-content: center; }

.sa-formula h2 {
  margin: 12px 0 40px;
  font-size: clamp(30px, 3.8vw, 52px);
  letter-spacing: -.03em;
}

.sa-eq {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sa-term {
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: center;
  min-width: 150px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(15, 14, 17, .9);
  opacity: 0;
  transform: translateY(24px) scale(.9);
  transition: opacity .7s ease, transform .8s cubic-bezier(.34, 1.56, .64, 1);
}

.sa-term b {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.sa-op {
  align-self: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--red-hi);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .5s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.sa-formula.is-live .sa-term,
.sa-formula.is-live .sa-op { opacity: 1; transform: none; }

.sa-formula.is-live .st1 { transition-delay: .1s; }
.sa-formula.is-live .so1 { transition-delay: .35s; }
.sa-formula.is-live .st2 { transition-delay: .5s; }
.sa-formula.is-live .so2 { transition-delay: .75s; }
.sa-formula.is-live .st3 { transition-delay: .9s; }
.sa-formula.is-live .so3 { transition-delay: 1.15s; }
.sa-formula.is-live .st4 { transition-delay: 1.3s; }

.sa-term-visual {
  position: relative;
  height: 44px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

/* Трафик: столбики растут */
.sa-tv-traffic i {
  width: 12px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--red-hi), rgba(231, 44, 63, .35));
  transform-origin: bottom;
  animation: sa-tv-grow 3.4s ease infinite;
}

.sa-tv-traffic i:nth-child(1) { height: 40%; }
.sa-tv-traffic i:nth-child(2) { height: 70%; animation-delay: .25s; }
.sa-tv-traffic i:nth-child(3) { height: 100%; animation-delay: .5s; }

@keyframes sa-tv-grow {
  0%, 8%    { transform: scaleY(.2); }
  22%, 78%  { transform: none; }
  92%, 100% { transform: scaleY(.2); }
}

/* Конверсия: клик превращается в заявку */
.sa-tv-conv { align-items: center; }

.sa-conv-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: sa-conv-dot 3s ease infinite;
}

.sa-conv-tick {
  font-style: normal;
  font-size: 19px;
  font-weight: 800;
  color: var(--red-hi);
  animation: sa-conv-tick 3s ease infinite;
}

@keyframes sa-conv-dot {
  0%, 34%   { transform: none; opacity: 1; }
  44%, 88%  { transform: scale(.4); opacity: .25; }
  100%      { transform: none; opacity: 1; }
}

@keyframes sa-conv-tick {
  0%, 38%   { transform: scale(.3); opacity: 0; }
  48%, 84%  { transform: none; opacity: 1; }
  94%, 100% { transform: scale(.3); opacity: 0; }
}

/* Удобство: съехавшие плашки выравниваются */
.sa-tv-ui {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 64px;
}

.sa-tv-ui i {
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .18);
  animation: sa-tv-fix1 4s ease infinite;
}

.sa-tv-ui i:nth-child(2) { background: rgba(231, 44, 63, .55); animation-name: sa-tv-fix2; }
.sa-tv-ui i:nth-child(3) { animation-name: sa-tv-fix3; }

@keyframes sa-tv-fix1 {
  0%, 12%   { transform: translateX(-9px) rotate(-3deg); }
  30%, 80%  { transform: none; }
  96%, 100% { transform: translateX(-9px) rotate(-3deg); }
}

@keyframes sa-tv-fix2 {
  0%, 18%   { transform: translateX(10px); }
  36%, 80%  { transform: none; }
  96%, 100% { transform: translateX(10px); }
}

@keyframes sa-tv-fix3 {
  0%, 24%   { transform: translateX(-6px) rotate(2deg); }
  42%, 80%  { transform: none; }
  96%, 100% { transform: translateX(-6px) rotate(2deg); }
}

/* Результат: крупная цифра досчитывается скриптом */
.sa-term--result {
  border-color: rgba(231, 44, 63, .6);
  background: linear-gradient(135deg, rgba(63, 12, 25, .55), rgba(17, 15, 18, .95));
  box-shadow: 0 0 34px rgba(231, 44, 63, .2);
}

.sa-result {
  font-size: 40px !important;
  font-weight: 800 !important;
  letter-spacing: -.03em;
  color: var(--red-hi);
}

.sa-term--result span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Сцена 5: до / после --- */
.sa-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.sa-before,
.sa-after {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border-radius: 14px;
  overflow: hidden;
}

.sa-before {
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .03);
}

.sa-after {
  border: 1px solid rgba(207, 58, 77, .35);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .85));
  background-size: 30px 30px, 30px 30px, auto;
}

.sa-fall,
.sa-rise {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 26px;
  height: 110px;
  width: calc(100% - 44px);
}

.sa-fall polyline {
  fill: none;
  stroke: rgba(255, 255, 255, .35);
  stroke-width: 2;
}

.sa-split.is-live .sa-fall { animation: sa-shake .5s steps(2) infinite; }

/* Частицы «утекают» вниз из графика */
.sa-leak { animation: sa-leak 3.4s ease-in infinite; opacity: 0; }

.lk1 { left: 22%; top: 48%; }
.lk2 { left: 40%; top: 62%; animation-delay: .7s; }
.lk3 { left: 58%; top: 52%; animation-delay: 1.4s; }
.lk4 { left: 74%; top: 68%; animation-delay: 2.1s; }
.lk5 { left: 33%; top: 70%; animation-delay: 2.7s; }

@keyframes sa-leak {
  0%   { transform: none; opacity: 0; }
  12%  { opacity: .8; }
  100% { transform: translateY(90px); opacity: 0; }
}

/* Ровный график рисуется и держится */
.sa-rise-line {
  fill: none;
  stroke: var(--red-hi);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  filter: drop-shadow(0 0 7px rgba(231, 44, 63, .5));
  animation: sa-rise-draw 7s ease infinite;
}

@keyframes sa-rise-draw {
  0%        { stroke-dashoffset: 330; }
  32%, 86%  { stroke-dashoffset: 0; }
  96%, 100% { stroke-dashoffset: 330; }
}

.sa-rise-dot {
  position: absolute;
  right: 24px;
  top: 40px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-hi);
  animation: sa-rise-dot 7s ease infinite;
}

@keyframes sa-rise-dot {
  0%, 28%   { opacity: 0; transform: scale(.4); }
  34%, 86%  { opacity: 1; transform: none; box-shadow: 0 0 14px rgba(231, 44, 63, .8); }
  96%, 100% { opacity: 0; }
}

.sa-sense {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.sa-sense h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.sa-sense p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

/* --- Сканирование сайта --- */
.sa-site {
  width: min(340px, 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .9);
  overflow: visible;
}

.sa-site-body {
  position: relative;
  padding: 20px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

.sa-srow {
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, .09);
}

.sa-srow.h24 { height: 24px; }
.sa-srow.h34 { height: 34px; background: rgba(231, 44, 63, .25); }
.sa-srow.h44 { height: 44px; }
.sa-srow.h64 { height: 64px; }
.sa-srow.w70 { width: 70%; }
.sa-srow.w55 { width: 55%; }

/* Луч сканирования идёт сверху вниз */
.sa-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-hi), transparent);
  box-shadow: 0 0 18px rgba(231, 44, 63, .8);
  animation: sa-beam 8s ease-in-out infinite;
}

.sa-beam::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  height: 34px;
  background: linear-gradient(180deg, rgba(231, 44, 63, .16), transparent);
}

@keyframes sa-beam {
  0%       { top: 0; opacity: 0; }
  4%       { opacity: 1; }
  86%      { top: calc(100% - 2px); opacity: 1; }
  92%, 100% { top: calc(100% - 2px); opacity: 0; }
}

/* Метки вспыхивают, когда луч проходит их уровень */
.sa-tag {
  position: absolute;
  right: 10px;
  margin-bottom: 0;
  opacity: 0;
  transform: translateX(14px);
}

.stg1 { top: 12%; animation: sa-tag1 8s ease infinite; }
.stg2 { top: 34%; animation: sa-tag2 8s ease infinite; }
.stg3 { top: 58%; animation: sa-tag3 8s ease infinite; }
.stg4 { top: 80%; animation: sa-tag4 8s ease infinite; }

@keyframes sa-tag1 {
  0%, 10%   { opacity: 0; transform: translateX(14px); }
  15%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}

@keyframes sa-tag2 {
  0%, 28%   { opacity: 0; transform: translateX(14px); }
  33%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}

@keyframes sa-tag3 {
  0%, 48%   { opacity: 0; transform: translateX(14px); }
  53%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}

@keyframes sa-tag4 {
  0%, 66%   { opacity: 0; transform: translateX(14px); }
  71%, 88%  { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}

/* --- Калькуляция стоимости --- */
.sa-calc {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 36px 44px;
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .4), rgba(17, 15, 18, .9));
  text-align: center;
}

.sa-switch {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  background: rgba(15, 14, 17, .9);
  margin-bottom: 28px;
}

.sa-switch-btn {
  position: relative;
  z-index: 2;
  width: 132px;
  padding: 10px 0;
  border: 0;
  border-radius: 30px;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .3s ease;
}

.sa-switch-btn.is-active { color: #fff; }

.sa-switch-thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  box-shadow: 0 6px 18px rgba(231, 44, 63, .4);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.sa-switch.is-b .sa-switch-thumb { transform: translateX(100%); }

.sa-amount {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.sa-amount b {
  font-variant-numeric: tabular-nums;
  color: var(--red-hi);
}

.sa-amount-note {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity .24s ease, transform .24s ease;
}

.sa-amount-note.is-swap { opacity: 0; transform: translateY(6px); }

.sa-calc-text {
  margin: 22px auto 26px;
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================
   Тарифы на настройку рекламы: калькуляция
   (в стиле блока стоимости SEO-аудита)
   ============================================ */
.pr-calc {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 38px 42px;
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .4), rgba(17, 15, 18, .9));
  text-align: center;
}

/* Переключатель платформы — на базе sa-switch */
.pr-plat {
  display: flex;
  width: min(480px, 100%);
  margin: 0 auto 24px;
}

.pr-plat .sa-switch-btn {
  width: auto;
  flex: 1;
  padding: 11px 8px;
}

/* Вкладки пакетов */
.pr-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  animation: pr-tabs-in .45s ease;
}

@keyframes pr-tabs-in {
  from { opacity: 0; transform: translateY(8px); }
}

/* атрибут hidden сильнее display: flex */
.pr-tabs[hidden] { display: none; }

.pr-tab {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  background: rgba(15, 14, 17, .9);
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.pr-tab:hover {
  border-color: rgba(231, 44, 63, .5);
  color: #fff;
}

.pr-tab.is-active {
  border-color: var(--red-hi);
  color: #fff;
  background: rgba(231, 44, 63, .14);
  box-shadow: 0 0 16px rgba(231, 44, 63, .25);
}

/* Состав пакета: высота едет плавно (задаёт скрипт) */
.pr-panels {
  overflow: hidden;
  transition: height .45s cubic-bezier(.22, 1, .36, 1);
}

.pr-panel { display: none; }
.pr-panel.is-active { display: block; }

.pr-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pr-panel li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
}

.pr-panel li:last-child { border-bottom: 0; }

.pr-panel li strong { color: #fff; }

.pr-panel li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 7px rgba(231, 44, 63, .7);
}

/* Пункты проявляются каскадом при каждом переключении */
.pr-panel.is-active li { animation: pr-li .45s cubic-bezier(.22, 1, .36, 1) forwards; }
.pr-panel.is-active li:nth-child(1) { animation-delay: .03s; }
.pr-panel.is-active li:nth-child(2) { animation-delay: .08s; }
.pr-panel.is-active li:nth-child(3) { animation-delay: .13s; }
.pr-panel.is-active li:nth-child(4) { animation-delay: .18s; }
.pr-panel.is-active li:nth-child(5) { animation-delay: .23s; }
.pr-panel.is-active li:nth-child(6) { animation-delay: .28s; }
.pr-panel.is-active li:nth-child(7) { animation-delay: .33s; }
.pr-panel.is-active li:nth-child(8) { animation-delay: .38s; }
.pr-panel.is-active li:nth-child(9) { animation-delay: .43s; }

@keyframes pr-li {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}

/* Итоговые цифры */
.pr-total {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 16px;
}

.pr-price span,
.pr-monthly span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pr-price b {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--red-hi);
  font-variant-numeric: tabular-nums;
}

.pr-price em,
.pr-monthly em { font-style: normal; }

.pr-price em {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.pr-monthly b {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pr-monthly em {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

/* ============================================
   Страница 404 — «сигнал потерян»
   Слои: чистый фон → радар → цифры.
   Тексты появляются по очереди, как сценарий:
   факт → метафора → смысл → оффер → действие
   ============================================ */
.nf-hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
}

.nf-inner { text-align: center; }

/* Сцена радара */
.nf-stage {
  position: relative;
  width: 330px;
  height: 330px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Фаза 1: круговой радар ищет «корабль» --- */
.nf-radar {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(231, 44, 63, .5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 44, 63, .07) 0%, rgba(12, 11, 14, 0) 72%);
  overflow: hidden;
  /* «всё приближается»: радар наезжает на зрителя и растворяется */
  animation: nf-radar-zoom 1s cubic-bezier(.5, 0, .75, .4) forwards 2.7s;
}

@keyframes nf-radar-zoom {
  0%   { transform: none; opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; visibility: hidden; }
}

/* Концентрическая сетка и оси, как на экране локатора */
.nf-grid {
  position: absolute;
  border: 1px solid rgba(231, 44, 63, .22);
  border-radius: 50%;
}

.nfg1 { inset: 15%; }
.nfg2 { inset: 30%; }
.nfg3 { inset: 42%; }

.nf-axis { position: absolute; background: rgba(231, 44, 63, .16); }
.nfa1 { left: 0; right: 0; top: 50%; height: 1px; }
.nfa2 { top: 0; bottom: 0; left: 50%; width: 1px; }

/* Вращающийся луч */
.nf-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(231, 44, 63, .5) 0deg,
    rgba(231, 44, 63, .12) 55deg,
    transparent 80deg);
  animation: nf-spin 1.4s linear infinite;
}

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

/* «Корабль»: точка вспыхивает, когда луч проходит по ней */
.nf-blip {
  position: absolute;
  left: 63%;
  top: 26%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 12px rgba(231, 44, 63, .9);
  opacity: 0;
  animation: nf-blip 1.4s linear infinite .35s;
}

@keyframes nf-blip {
  0%, 6% { opacity: 0; transform: scale(.6); }
  10%    { opacity: 1; transform: scale(1.3); }
  55%    { opacity: .55; transform: none; }
  100%   { opacity: 0; transform: scale(.6); }
}

/* --- Фаза 2: круги расходятся, гаснут, повторяются --- */
.nf-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(231, 44, 63, .55);
  border-radius: 50%;
  opacity: 0;
  animation: nf-ring 4.8s linear infinite;
}

.nfr1 { animation-delay: 3.4s; }
.nfr2 { animation-delay: 5s; }
.nfr3 { animation-delay: 6.6s; }

@keyframes nf-ring {
  0%   { transform: scale(.16); opacity: 0; }
  9%   { opacity: .75; }
  70%  { opacity: .22; }
  100% { transform: scale(1); opacity: 0; }
}

/* Мягкое свечение за цифрами */
.nf-glow {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 44, 63, .3) 0%, transparent 70%);
  filter: blur(8px);
  opacity: 0;
  animation: nf-glow-in .8s ease forwards 3.2s,
             nf-glow 3.6s ease-in-out infinite 3.8s;
}

@keyframes nf-glow-in { to { opacity: 1; } }

@keyframes nf-glow {
  50% { transform: scale(1.18); }
}

/* Цифры: выплывают из радара, потом едва заметно «дышат» */
.nf-code {
  position: relative;
  font-size: clamp(96px, 14vw, 168px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(231, 44, 63, .3);
  opacity: 0;
  animation: nf-code-in .9s cubic-bezier(.16, 1, .3, 1) forwards 3s,
             nf-float 6s ease-in-out infinite 4.2s;
}

@keyframes nf-code-in {
  from { opacity: 0; transform: scale(.45); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes nf-float {
  50% { transform: translateY(-7px); }
}

/* Тексты: появляются по сценарию, после «выхода» цифр */
.nf-inner h1,
.nf-sub,
.nf-key,
.nf-offer,
.nf-actions {
  opacity: 0;
  animation: nf-in .85s cubic-bezier(.22, 1, .36, 1) forwards;
}

.nf-inner h1  { animation-delay: 3.8s; }
.nf-sub       { animation-delay: 4.3s; }
.nf-key       { animation-delay: 5s; }
.nf-offer     { animation-delay: 5.5s; }
.nf-actions   { animation-delay: 5.9s; }

@keyframes nf-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.nf-inner h1 {
  margin: 4px 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -.03em;
  /* глобальный h1 ограничен 720px и уезжал влево — тут во всю ширину */
  max-width: none;
}

.nf-sub {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Главный смысловой момент страницы */
.nf-key {
  margin: 0 0 12px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 750;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.nf-key em {
  font-style: normal;
  color: var(--red-hi);
}

.nf-offer {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ============================================
   Страница «Создание Landing Page»
   Каждый блок — демонстрация продукта.
   Сцены оживают классом .is-live (ставит landing.js)
   ============================================ */

/* --- 1. Hero: выбор сценария --- */
.lp-hero {
  padding: 130px 0 70px;
}

.lp-hero-head {
  text-align: center;
  margin-bottom: 38px;
}

.lp-hero-head .eyebrow { justify-content: center; }

.lp-hero-head h1 {
  margin: 14px auto 14px;
  font-size: clamp(40px, 5.4vw, 72px);
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: none;
}

.lp-hero-head h1 em {
  font-style: normal;
  color: var(--red-hi);
}

.lp-hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  font-weight: 650;
}

.lp-choose {
  display: flex;
  gap: 16px;
  min-height: 380px;
}

/* Карточка сценария: при наведении раскрывается и показывает мини-лендинг */
.lp-choice {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .85));
  overflow: hidden;
  transition: flex .65s cubic-bezier(.22, 1, .36, 1), border-color .4s ease, box-shadow .4s ease;
}

.lp-choice:hover {
  flex: 1.85;
  border-color: var(--red-hi);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 34px rgba(231, 44, 63, .18);
}

.lp-choice-top b {
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.lp-choice-top span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* Средняя зона: текст и превью лежат друг на друге,
   при наведении текст уходит — мини-лендинг появляется.
   Абсолютное позиционирование = размер карточки не меняется */
.lp-choice-mid {
  position: relative;
  flex: 1;
  min-height: 200px;
  margin: 20px 0 14px;
  overflow: hidden; /* в сжатой карточке текст не наезжает на низ */
}

/* Пока одна карточка раскрыта, текст соседних мягко затухает */
.lp-choose:hover .lp-choice:not(:hover) .lp-choice-info {
  opacity: .25;
}

.lp-choice-info {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: opacity .4s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

.lp-choice:hover .lp-choice-info {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

/* Пункт «зачем нужен лендинг» */
.lp-why {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.lp-why i {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 7px rgba(231, 44, 63, .7);
}

.lp-choice-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(.94);
  transition: opacity .5s ease .1s, transform .55s cubic-bezier(.22, 1, .36, 1) .1s;
}

.lp-choice:hover .lp-choice-preview {
  opacity: 1;
  transform: none;
}

.lp-choice-arrow {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--red-hi);
  opacity: .75;
  transition: opacity .3s ease;
}

.lp-choice:hover .lp-choice-arrow { opacity: 1; }

/* Мини-лендинг внутри карточки */
.lp-mini {
  width: min(230px, 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  padding: 16px 14px;
  display: grid;
  gap: 9px;
  justify-items: start;
  background:
    linear-gradient(150deg, rgba(231, 44, 63, .22), rgba(15, 14, 17, .96) 55%, rgba(63, 12, 25, .45));
  background-size: 200% 200%;
  animation: lp-bg 7s ease infinite;
}

@keyframes lp-bg {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 100%; }
}

.lpm-bar {
  display: block;
  height: 11px;
  width: 80%;
  border-radius: 5px;
  background: rgba(255, 255, 255, .22);
}

.lpm-bar--title { height: 14px; background: rgba(255, 255, 255, .34); }
.lpm-bar--half { width: 52%; }

.lpm-price {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--red-hi);
}

.lpm-input {
  display: block;
  width: 100%;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(12, 11, 14, .6);
}

.lpm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}

.lpm-gallery i {
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .13);
}

.lpm-gallery i:nth-child(2) { background: rgba(231, 44, 63, .4); }

.lpm-btn {
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  animation: lp-btn-pulse 2.4s ease infinite;
}

@keyframes lp-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(231, 44, 63, 0); transform: none; }
  50%      { box-shadow: 0 0 16px rgba(231, 44, 63, .65); transform: scale(1.04); }
}

/* --- 2. Экраны будущего лендинга (панели hstory) --- */
.lp-scr {
  width: 280px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .92);
  overflow: hidden;
}

.lp-scr-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lp-scr-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.lp-scr-bar i:first-child { background: rgba(231, 44, 63, .7); }

.lp-scr-bar b {
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: .06em;
}

.lp-scr-cover {
  position: relative;
  padding: 24px 18px 22px;
  display: grid;
  gap: 11px;
  justify-items: start;
  background: linear-gradient(140deg, rgba(231, 44, 63, .3), rgba(15, 14, 17, .9) 60%, rgba(63, 12, 25, .5));
  background-size: 220% 220%;
  animation: lp-bg 8s ease infinite;
  min-height: 190px;
  align-content: center;
}

.lp-scr-title {
  display: block;
  width: 75%;
  height: 15px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .34);
}

.lp-scr-line {
  display: block;
  width: 55%;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .18);
}

.lp-scr-btn {
  padding: 10px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
}

.lp-pulse { animation: lp-btn-pulse 2.4s ease infinite; }

/* Преимущества: карточки появляются по кругу */
.lp-scr-feats {
  padding: 20px 16px;
  display: grid;
  gap: 10px;
  min-height: 190px;
  align-content: center;
}

.lp-featcard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
  animation: lp-pop 6.5s ease infinite both;
}

.lp-featcard i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--red-hi), var(--wine));
}

.lp-featcard b {
  flex: 1;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .2);
}

.lp-featcard.f1 { animation-delay: .3s; }
.lp-featcard.f2 { animation-delay: .9s; }
.lp-featcard.f3 { animation-delay: 1.5s; }

@keyframes lp-pop {
  0%       { opacity: 0; transform: translateY(16px) scale(.92); }
  10%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* Кейсы: цифры вспыхивают */
.lp-scr-cases {
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 190px;
  align-content: center;
}

.lp-casecard {
  padding: 14px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
  display: grid;
  gap: 8px;
}

.lp-casecard i {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .18);
}

.lp-casecard i.short { width: 60%; }

.lp-casecard b {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--red-hi);
}

.lp-casecard .c1 { animation: lp-case-glow 4s ease infinite; }
.lp-casecard .c2 { animation: lp-case-glow 4s ease infinite 2s; }

@keyframes lp-case-glow {
  0%, 100% { text-shadow: none; }
  50%      { text-shadow: 0 0 18px rgba(231, 44, 63, .8); }
}

/* Форма: каретка печатает */
.lp-scr-form {
  padding: 22px 16px;
  display: grid;
  gap: 11px;
  justify-items: start;
  min-height: 190px;
  align-content: center;
}

.lp-scr-field {
  position: relative;
  display: block;
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(12, 11, 14, .6);
}

.lp-caret::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 2px;
  height: 16px;
  background: var(--red-hi);
  animation: rd-caret 1.1s steps(1) infinite;
}

/* --- 3. Конструктор --- */
.lp-build {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.lp-parts {
  display: grid;
  gap: 12px;
}

.lp-part {
  position: relative;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(15, 14, 17, .92);
  font-size: 14px;
  font-weight: 650;
  transition: opacity .6s ease, transform .6s ease, border-color .6s ease;
}

.lp-part::after {
  content: "✓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red-hi);
  font-weight: 800;
  opacity: 0;
  transition: opacity .4s ease;
}

/* Элемент «переехал» в макет: чип гаснет, галочка остаётся */
.lp-build.is-live .lp-part { opacity: .38; transform: translateX(6px); }
.lp-build.is-live .lp-part::after { opacity: 1; }

.lp-build.is-live .lpp1 { transition-delay: .2s; }
.lp-build.is-live .lpp2 { transition-delay: .8s; }
.lp-build.is-live .lpp3 { transition-delay: 1.4s; }
.lp-build.is-live .lpp4 { transition-delay: 2s; }

.lp-frame {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(15, 14, 17, .92);
  overflow: hidden;
}

.lp-frame-body {
  padding: 24px 22px 26px;
  display: grid;
  gap: 14px;
  justify-items: start;
  min-height: 300px;
  align-content: start;
}

.lp-el {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

.lp-build.is-live .lpe1 { opacity: 1; transform: none; transition-delay: .35s; }
.lp-build.is-live .lpe2 { opacity: 1; transform: none; transition-delay: .95s; }
.lp-build.is-live .lpe3 { opacity: 1; transform: none; transition-delay: 1.55s; }
.lp-build.is-live .lpe4 { opacity: 1; transform: none; transition-delay: 2.15s; }

.lpe1 {
  width: 70%;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .55), rgba(231, 44, 63, .2));
}

.lpe2 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lpe2 i {
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}

.lpe3 {
  padding: 11px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.lpe4 {
  width: 100%;
  display: grid;
  gap: 8px;
}

.lpe4 i {
  height: 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .14);
}

.lpe4 i:last-child { width: 65%; }

/* --- 4. Ошибки: сломанный UI чинится при наведении --- */
.lp-fails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-fail {
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(15, 14, 17, .8);
  cursor: pointer;
  transition: border-color .4s ease, box-shadow .4s ease;
}

.lp-fail:hover,
.lp-fail.is-fixed {
  border-color: rgba(231, 44, 63, .65);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4), 0 0 26px rgba(231, 44, 63, .15);
}

.lp-fail h3 {
  font-size: 18px;
  letter-spacing: -.01em;
  margin: 18px 0 8px;
}

.lp-fail p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.lp-fail-stage {
  position: relative;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(12, 11, 14, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Ошибка 1: кнопка убегает — при наведении встаёт на место */
.lpf-btn {
  padding: 11px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  animation: lpf-run 3.2s ease-in-out infinite;
}

@keyframes lpf-run {
  0%, 14%  { transform: none; }
  26%, 40% { transform: translateX(74px) rotate(6deg); }
  52%, 66% { transform: translateX(-70px) rotate(-5deg); }
  80%      { transform: translateY(26px); }
  100%     { transform: none; }
}

.lp-fail:hover .lpf-btn,
.lp-fail.is-fixed .lpf-btn {
  animation: lp-btn-pulse 2.4s ease infinite;
}

/* Ошибка 2: текст распадается — при наведении собирается */
.lpf-word {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.02em;
  animation: lpf-shiver 2.6s ease-in-out infinite;
}

.lpf-word b {
  display: inline-block;
  opacity: .75;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s ease;
}

@keyframes lpf-shiver {
  0%, 100% { transform: none; }
  50%      { transform: translateY(2px); }
}

.lp-fail:hover .lpf-word,
.lp-fail.is-fixed .lpf-word { animation: none; }

.lp-fail:hover .lpf-word b,
.lp-fail.is-fixed .lpf-word b {
  opacity: 1;
  transform: none;
}

/* Ошибка 3: форма не отправляется — при наведении заявка уходит */
.lpf-form {
  position: relative;
  width: 78%;
  display: grid;
  gap: 9px;
  justify-items: center;
}

.lpf-form > i {
  width: 100%;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(231, 44, 63, .55);
  background: rgba(12, 11, 14, .7);
  animation: lpf-shake 3s ease infinite;
}

@keyframes lpf-shake {
  0%, 78%, 100% { transform: none; }
  82% { transform: translateX(-5px); }
  86% { transform: translateX(5px); }
  90% { transform: translateX(-4px); }
  94% { transform: translateX(3px); }
}

.lpf-form-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .14);
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
  transition: background .4s ease, color .4s ease;
}

.lpf-err,
.lpf-ok {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  transition: opacity .35s ease;
}

.lpf-err {
  color: var(--red-hi);
  animation: ah-blink 1.4s ease-in-out infinite;
}

.lpf-ok {
  position: absolute;
  bottom: 0;
  color: #00c853;
  opacity: 0;
}

.lp-fail:hover .lpf-form > i,
.lp-fail.is-fixed .lpf-form > i {
  animation: none;
  border-color: rgba(255, 255, 255, .25);
}

.lp-fail:hover .lpf-form-btn,
.lp-fail.is-fixed .lpf-form-btn {
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  color: #fff;
}

.lp-fail:hover .lpf-err,
.lp-fail.is-fixed .lpf-err { opacity: 0; animation: none; }

.lp-fail:hover .lpf-ok,
.lp-fail.is-fixed .lpf-ok { opacity: 1; }

/* Подписи «Так бывает / Как делаем мы» */
.lp-fail-tags {
  position: relative;
  height: 22px;
  margin-top: 14px;
}

.lp-tag-bad,
.lp-tag-good {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .35s ease, transform .35s ease;
}

.lp-tag-bad { color: var(--muted); }

.lp-tag-good {
  color: var(--red-hi);
  opacity: 0;
  transform: translateY(8px);
}

.lp-fail:hover .lp-tag-bad,
.lp-fail.is-fixed .lp-tag-bad { opacity: 0; transform: translateY(-8px); }

.lp-fail:hover .lp-tag-good,
.lp-fail.is-fixed .lp-tag-good { opacity: 1; transform: none; }

/* --- 5. Примеры: мини-лендинги с прокруткой внутри --- */
.lp-demos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-demo {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(15, 14, 17, .92);
  overflow: hidden;
  scroll-margin-top: 100px;
}

.lp-demo-scroll {
  height: 400px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(231, 44, 63, .6) rgba(255, 255, 255, .06);
}

.lp-demo-scroll::-webkit-scrollbar { width: 5px; }
.lp-demo-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); }
.lp-demo-scroll::-webkit-scrollbar-thumb { background: rgba(231, 44, 63, .6); border-radius: 3px; }

.lpd {
  padding: 20px 18px 26px;
  display: grid;
  gap: 13px;
  justify-items: start;
}

.lpd-title {
  display: block;
  width: 80%;
  height: 15px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .32);
}

.lpd-line {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
}

.lpd .w70 { width: 70%; }
.lpd .w55 { width: 55%; }

.lpd-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--red-hi);
}

.lpd-btn {
  padding: 10px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
}

.lpd-btn--wide {
  justify-self: stretch;
  text-align: center;
}

.lpd-hero {
  width: 100%;
  display: grid;
  gap: 11px;
  justify-items: start;
  padding: 18px 16px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(231, 44, 63, .28), rgba(12, 11, 14, .7) 60%);
}

.lpd-rows {
  width: 100%;
  display: grid;
  gap: 9px;
}

.lpd-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lpd-row .tick {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(231, 44, 63, .25);
  position: relative;
}

.lpd-row .tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--red-hi);
  border-bottom: 2px solid var(--red-hi);
  transform: rotate(40deg);
}

.lpd-row i {
  flex: 1;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
}

.lpd-row i.w70 { flex: none; width: 70%; }
.lpd-row i.w55 { flex: none; width: 55%; }

.lpd-chip {
  padding: 6px 12px;
  border: 1px solid rgba(231, 44, 63, .5);
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red-hi);
}

.lpd-img {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 10px, rgba(255, 255, 255, .03) 10px 20px);
}

.lpd-form {
  width: 100%;
  display: grid;
  gap: 9px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(12, 11, 14, .55);
}

.lpd-input {
  display: block;
  width: 100%;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(12, 11, 14, .7);
}

.lpd-cover {
  width: 100%;
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: center;
  min-height: 110px;
  padding: 18px 16px;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(231, 44, 63, .35), rgba(63, 12, 25, .6));
  background-size: 200% 200%;
  animation: lp-bg 8s ease infinite;
}

.lpd-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.lpd-gallery i {
  height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

.lpd-gallery i:nth-child(2) { background: rgba(231, 44, 63, .3); }

/* --- 6. Скорость запуска: прогресс-бар --- */
.lp-loader {
  max-width: 760px;
  margin: 0 auto;
}

.lp-loader-bar {
  position: relative;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(15, 14, 17, .9);
  overflow: hidden;
}

.lp-loader-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--wine), var(--red), var(--red-hi));
  box-shadow: 0 0 22px rgba(231, 44, 63, .5);
  transition: width .25s ease-out;
}

.lp-loader-bar b {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.lp-step {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: rgba(15, 14, 17, .8);
  transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
}

.lp-step b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  transition: color .4s ease;
}

.lp-step span {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Шаг «загрузился» */
.lp-step.is-done {
  border-color: rgba(231, 44, 63, .6);
  background: rgba(231, 44, 63, .08);
  box-shadow: 0 0 20px rgba(231, 44, 63, .15);
}

.lp-step.is-done b { color: var(--red-hi); }

/* --- 7. Финал: мини-лендинг собирается --- */
.lp-final {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(207, 58, 77, .35);
  background: linear-gradient(150deg, rgba(63, 12, 25, .5), rgba(17, 15, 18, .95));
  background-size: 200% 200%;
  animation: lp-bg 10s ease infinite;
  /* Сначала фон: появляется первым */
  opacity: 0;
  transform: scale(.96);
  transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}

.lp-final.is-live {
  opacity: 1;
  transform: none;
}

.lp-final-inner {
  padding: 60px 24px 56px;
  text-align: center;
}

.lp-final-inner h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  letter-spacing: -.03em;
  line-height: 1.06;
  margin: 12px 0 22px;
}

.lp-final-feats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.lp-final-feats span {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 30px;
  background: rgba(15, 14, 17, .7);
  font-size: 12.5px;
  font-weight: 650;
}

/* Цена внутри финального мини-лендинга: старая зачёркнута */
.lp-final-price {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-bottom: 30px;
}

.lp-final-price-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-final-price-nums {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.lp-final-price-nums s {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  text-decoration-color: rgba(231, 44, 63, .8);
  text-decoration-thickness: 2px;
}

.lp-final-price-nums b {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--red-hi);
  text-shadow: 0 0 26px rgba(231, 44, 63, .35);
}

.lp-final-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

/* Сборка финала: фон → текст → фишки → цена → поля → кнопка */
.lp-fin {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.lp-final.is-live .lp-fin { opacity: 1; transform: none; }
.lp-final.is-live .lp-fin--1 { transition-delay: .5s; }
.lp-final.is-live .lp-fin--2 { transition-delay: .9s; }
.lp-final.is-live .lp-fin--3 { transition-delay: 1.15s; }
.lp-final.is-live .lp-fin--4 { transition-delay: 1.45s; }
.lp-final.is-live .lp-fin--5 { transition-delay: 1.6s; }
.lp-final.is-live .lp-fin--6 { transition-delay: 1.75s; }
.lp-final.is-live .lp-fin--7 { transition-delay: 2s; }

/* ============================================
   Страница «Оптимизация контента»
   Сцены оживают .is-live (общий механизм audit.js)
   ============================================ */

/* --- 1. Hero: живой редактор --- */
.oc-hero { padding: 130px 0 70px; }

.oc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.oc-hero-copy h1 {
  margin: 14px 0 22px;
  font-size: clamp(40px, 4.8vw, 66px);
  letter-spacing: -.045em;
  line-height: 1;
}

.oc-hero-copy h1 em {
  font-style: normal;
  color: var(--red-hi);
}

/* Цепочка правды: есть → не работает → теряете */
.oc-truth {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.oc-truth-step {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 30px;
  background: rgba(15, 14, 17, .9);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  animation: nf-in .7s cubic-bezier(.22, 1, .36, 1) forwards;
}

.oc-truth-step--red {
  border-color: var(--red-hi);
  color: var(--red-hi);
  box-shadow: 0 0 16px rgba(231, 44, 63, .25);
}

.oc-truth-arrow {
  font-style: normal;
  color: var(--muted);
  opacity: 0;
  animation: nf-in .5s ease forwards;
}

.ots1 { animation-delay: .2s; }
.ota1 { animation-delay: .5s; }
.ots2 { animation-delay: .7s; }
.ota2 { animation-delay: 1s; }
.ots3 { animation-delay: 1.2s; }

.oc-hero-text {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 480px;
}

/* Окно редактора */
.oc-editor {
  width: min(470px, 100%);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .92);
  overflow: hidden;
}

.oc-editor-body {
  position: relative;
  padding: 24px 22px;
  min-height: 300px;
}

/* Серые строки-«простыня» */
.oc-l {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .16);
  margin-bottom: 12px;
}

.oc-l.short { width: 62%; }

/* Заголовок появляется после «редактуры» */
.oc-h {
  display: block;
  height: 16px;
  width: 68%;
  border-radius: 7px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .6), rgba(231, 44, 63, .2));
  transform-origin: left;
  animation: oc-h-in 12s ease infinite;
}

@keyframes oc-h-in {
  0%, 30%   { opacity: 0; transform: scaleX(0); }
  36%, 90%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: scaleX(0); }
}

/* «Вода»: строки 2 и 3 вырезаются */
.ol2 { animation: oc-water 12s ease infinite; }
.ol3 { width: 84%; animation: oc-water 12s ease infinite .2s; }

@keyframes oc-water {
  0%, 20%   { opacity: 1; transform: none; }
  26%, 90%  { opacity: .12; transform: scaleX(.55); transform-origin: left; }
  96%, 100% { opacity: 1; transform: none; }
}

/* Ключевые слова-пилюли */
.oc-keys {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.oc-key {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(15, 14, 17, .9);
  font-size: 11px;
  font-weight: 650;
}

.oc-key.is-on {
  border-color: var(--red-hi);
  color: var(--red-hi);
  box-shadow: 0 0 12px rgba(231, 44, 63, .3);
}

.oc-editor .ok1 { opacity: 0; animation: oc-key-in 12s ease infinite; }
.oc-editor .ok2 { opacity: 0; animation: oc-key-in 12s ease infinite .3s; }

@keyframes oc-key-in {
  0%, 42%   { opacity: 0; transform: scale(.6); }
  47%       { opacity: 1; transform: scale(1.08); border-color: var(--red-hi); color: var(--red-hi); box-shadow: 0 0 12px rgba(231, 44, 63, .4); }
  50%, 90%  { opacity: 1; transform: none; border-color: var(--red-hi); color: var(--red-hi); }
  96%, 100% { opacity: 0; transform: scale(.6); }
}

/* Список с галочками */
.oc-tickrow {
  position: relative;
  display: block;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  margin: 0 0 12px 24px;
}

.oc-tickrow::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(231, 44, 63, .25);
}

.oc-tickrow::after {
  content: "";
  position: absolute;
  left: -19px;
  top: 0;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--red-hi);
  border-bottom: 2px solid var(--red-hi);
  transform: rotate(40deg);
}

.otr1 { width: 72%; opacity: 0; animation: oc-tick-in 12s ease infinite; }
.otr2 { width: 55%; opacity: 0; animation: oc-tick-in 12s ease infinite .25s; }

@keyframes oc-tick-in {
  0%, 54%   { opacity: 0; transform: translateX(-18px); }
  60%, 90%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateX(-18px); }
}

/* CTA-кнопка в редакторе */
.oc-cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
}

.oc-editor .oc-cta { opacity: 0; animation: oc-cta-in 12s cubic-bezier(.34, 1.56, .64, 1) infinite; }

@keyframes oc-cta-in {
  0%, 66%   { opacity: 0; transform: scale(.5); }
  71%       { opacity: 1; transform: scale(1.08); }
  73%       { opacity: 1; transform: none; box-shadow: 0 0 24px rgba(231, 44, 63, .75); }
  80%       { box-shadow: 0 0 8px rgba(231, 44, 63, .2); }
  90%       { opacity: 1; }
  96%, 100% { opacity: 0; transform: scale(.5); }
}

/* Рамка выделения «воды» */
.oc-sel {
  position: absolute;
  left: 20px;
  right: 26px;
  top: 74px;
  height: 48px;
  border: 1px dashed var(--red-hi);
  border-radius: 6px;
  background: rgba(231, 44, 63, .07);
  opacity: 0;
  animation: oc-sel 12s ease infinite;
}

@keyframes oc-sel {
  0%, 8%    { opacity: 0; transform: scaleX(.2); transform-origin: left; }
  12%, 22%  { opacity: 1; transform: none; }
  27%, 100% { opacity: 0; transform: none; }
}

/* Курсор редактора */
.oc-cursor { animation: oc-cursor 12s ease-in-out infinite; }
.oc-cursor::before { animation: oc-click 12s ease infinite; }

@keyframes oc-cursor {
  0%        { left: 80%; top: 84%; }
  8%        { left: 6%;  top: 26%; }
  20%       { left: 88%; top: 38%; }
  30%       { left: 10%; top: 8%; }
  44%       { left: 30%; top: 52%; }
  58%       { left: 12%; top: 66%; }
  70%, 76%  { left: 20%; top: 84%; }
  88%       { left: 60%; top: 86%; }
  100%      { left: 80%; top: 84%; }
}

@keyframes oc-click {
  0%, 7%    { opacity: 0; transform: scale(.4); }
  9%        { opacity: .9; transform: scale(.7); }
  14%       { opacity: 0; transform: scale(1.6); }
  68%       { opacity: 0; transform: scale(.4); }
  70%       { opacity: .9; transform: scale(.7); }
  76%, 100% { opacity: 0; transform: scale(1.6); }
}

/* --- 2. Проблемы: пять слабых мест --- */
.oc-pains {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.oc-pain {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(15, 14, 17, .8);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1),
              border-color .3s ease;
}

.oc-pain:hover { border-color: rgba(231, 44, 63, .5); }

.oc-pains.is-live .oc-pain { opacity: 1; transform: none; }
.oc-pains.is-live .op1 { transition-delay: .05s; }
.oc-pains.is-live .op2 { transition-delay: .15s; }
.oc-pains.is-live .op3 { transition-delay: .25s; }
.oc-pains.is-live .op4 { transition-delay: .35s; }
.oc-pains.is-live .op5 { transition-delay: .45s; }

.oc-pain h3 {
  font-size: 16px;
  margin: 14px 0 6px;
}

.oc-pain p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.oc-pain-visual {
  position: relative;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(12, 11, 14, .6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

/* Структура: кривые полосы */
.ocp-bar {
  display: block;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
}

.ocp-bar.b1 { width: 70%; rotate: -3deg; }
.ocp-bar.b2 { width: 52%; rotate: 2deg; translate: 12px 0; }
.ocp-bar.b3 { width: 64%; rotate: -1.5deg; translate: -8px 0; }

/* Смысл: строки-«вода» растворяются */
.ocp-fade {
  display: block;
  width: 68%;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  animation: ocp-fade 3.4s ease-in-out infinite;
}

.ocp-fade.f2 { width: 55%; animation-delay: .5s; }
.ocp-fade.f3 { width: 62%; animation-delay: 1s; }

@keyframes ocp-fade { 50% { opacity: .12; } }

/* SEO: ноль показов */
.ocp-zero {
  padding: 7px 13px;
  border: 1px solid rgba(231, 44, 63, .55);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red-hi);
  animation: ah-blink 1.8s ease-in-out infinite;
}

/* Триггеры: «мёртвая» кнопка */
.ocp-dead {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  animation: ocp-dead 3s ease infinite;
}

@keyframes ocp-dead { 50% { opacity: .4; } }

/* Воронка: капли утекают мимо */
.ocp-funnel {
  width: 34px;
  height: 26px;
  clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
  background: rgba(255, 255, 255, .16);
}

.ocp-drop {
  position: absolute;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-hi);
  opacity: 0;
  animation: ocp-drop 2.8s ease-in infinite;
}

.ocp-drop.d1 { left: 26%; }
.ocp-drop.d2 { left: 50%; animation-delay: .9s; }
.ocp-drop.d3 { left: 70%; animation-delay: 1.8s; }

@keyframes ocp-drop {
  0%   { transform: none; opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translate(-14px, 44px); opacity: 0; }
}

/* --- 3. Метод: визуалы панелей --- */
.oc-m-scan,
.oc-m-swap,
.oc-m-keys,
.oc-m-trig,
.oc-m-int {
  position: relative;
  padding: 22px 18px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oc-m-scan .oc-l,
.oc-m-swap .oc-l { margin-bottom: 14px; }

.oc-m-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-hi), transparent);
  box-shadow: 0 0 14px rgba(231, 44, 63, .8);
  animation: oc-beam 5s ease-in-out infinite;
}

@keyframes oc-beam {
  0%        { top: 6%; opacity: 0; }
  6%        { opacity: 1; }
  86%       { top: 92%; opacity: 1; }
  94%, 100% { top: 92%; opacity: 0; }
}

/* Пересборка: два блока меняются местами */
.oc-swap-a,
.oc-swap-b {
  display: block;
  height: 26px;
  border-radius: 7px;
  margin-bottom: 14px;
}

.oc-swap-a {
  background: rgba(255, 255, 255, .14);
  animation: oc-swap-a 5.5s ease infinite;
}

.oc-swap-b {
  width: 78%;
  background: linear-gradient(90deg, rgba(231, 44, 63, .55), rgba(231, 44, 63, .2));
  animation: oc-swap-b 5.5s ease infinite;
}

@keyframes oc-swap-a {
  0%, 24%   { transform: none; }
  40%, 78%  { transform: translateY(40px); }
  94%, 100% { transform: none; }
}

@keyframes oc-swap-b {
  0%, 24%   { transform: none; }
  40%, 78%  { transform: translateY(-40px); }
  94%, 100% { transform: none; }
}

/* SEO: запросы вспыхивают по очереди */
.oc-m-keys { gap: 10px; align-items: flex-start; }

.okm1 { animation: oc-kb 6s ease infinite; }
.okm2 { animation: oc-kb 6s ease infinite 2s; }
.okm3 { animation: oc-kb 6s ease infinite 4s; }

@keyframes oc-kb {
  0%, 8%, 40%, 100% { border-color: rgba(255, 255, 255, .16); color: var(--paper); box-shadow: none; }
  14%, 32% { border-color: var(--red-hi); color: var(--red-hi); box-shadow: 0 0 14px rgba(231, 44, 63, .35); }
}

/* Триггеры */
.oc-m-trig { gap: 14px; align-items: flex-start; }
.oc-m-trig .oc-l { width: 100%; margin: 0; }
.oc-m-trig .oc-l.short { width: 62%; }

/* Интеграция: страница → поток → форма */
.oc-m-int {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.oc-int-page,
.oc-int-form {
  flex: none;
  width: 58px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, .14) 2px, transparent 2px) 10px 12px / 36px 12px no-repeat,
    linear-gradient(rgba(255, 255, 255, .14) 2px, transparent 2px) 10px 26px / 26px 12px no-repeat,
    rgba(15, 14, 17, .95);
}

.oc-int-form {
  border-color: rgba(231, 44, 63, .55);
  box-shadow: 0 0 16px rgba(231, 44, 63, .2);
}

.oc-int-flow {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, .12);
}

.oc-int-flow i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 8px rgba(231, 44, 63, .8);
  animation: oc-flow 2.4s linear infinite;
}

.oc-int-flow i:nth-child(2) { animation-delay: .8s; }
.oc-int-flow i:nth-child(3) { animation-delay: 1.6s; }

@keyframes oc-flow {
  0%   { left: 0; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* --- 4. До / После --- */
.oc-ba {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 16px;
  align-items: center;
}

.oc-ba-panel {
  min-height: 300px;
  padding: 22px;
  border-radius: 14px;
}

.oc-ba-panel--before {
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .03);
}

.oc-ba-panel--after {
  border: 1px solid rgba(207, 58, 77, .35);
  background: linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .85));
}

/* «Было»: монотонная простыня */
.oc-wall {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.oc-wall i {
  display: block;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  transition: opacity .8s ease;
}

.oc-wall i.short { width: 55%; }

.oc-ba.is-live .oc-wall i { opacity: .3; transition-delay: .6s; }

/* «Стало»: структура собирается по шагам */
.oc-good {
  display: grid;
  gap: 13px;
  justify-items: start;
  margin-top: 16px;
}

.oc-good-h {
  display: block;
  width: 70%;
  height: 16px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(231, 44, 63, .6), rgba(231, 44, 63, .2));
}

.oc-good-line {
  display: block;
  width: 88%;
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .18);
}

.oc-good .oc-tickrow { margin-bottom: 0; }
.oc-good .otr-static { opacity: 1; animation: none; }

.oc-good > * {
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.oc-ba.is-live .oc-good > * { opacity: 1; transform: none; }
.oc-ba.is-live .g1 { transition-delay: .5s; }
.oc-ba.is-live .g2 { transition-delay: .75s; }
.oc-ba.is-live .g3 { transition-delay: 1s; }
.oc-ba.is-live .g4 { transition-delay: 1.25s; }
.oc-ba.is-live .g5 { transition-delay: 1.45s; }
.oc-ba.is-live .g6 { transition-delay: 1.7s; }

/* Галочки в «стало» без цикла редактора */
.oc-good .oc-tickrow {
  width: 72%;
  animation: none;
}

.oc-good .g5 { width: 55%; }

/* --- 5. Результат: метрики --- */
.oc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.oc-metric {
  padding: 30px 28px 26px;
  border: 1px solid rgba(207, 58, 77, .27);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(63, 12, 25, .3), rgba(17, 15, 18, .8));
  display: grid;
  gap: 8px;
}

.oc-metric b {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--red-hi);
  font-variant-numeric: tabular-nums;
}

.oc-metric-label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.oc-metric-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  position: relative;
}

.oc-metric-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-hi));
  transition: width 1.3s cubic-bezier(.22, 1, .36, 1);
}

.oc-metrics.is-live .mb1::after { width: 68%; transition-delay: .3s; }
.oc-metrics.is-live .mb2::after { width: 88%; transition-delay: .55s; }
.oc-metrics.is-live .mb3::after { width: 76%; transition-delay: .8s; }

/* --- Связка с бизнесом: цепочка --- */
.oc-chain {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.oc-node {
  flex: none;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 32px;
  background: rgba(15, 14, 17, .92);
  font-size: 14px;
  font-weight: 700;
  opacity: .35;
  transform: scale(.92);
  transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1),
              border-color .6s ease, box-shadow .6s ease;
}

.oc-chain.is-live .oc-node {
  opacity: 1;
  transform: none;
  border-color: rgba(231, 44, 63, .55);
  box-shadow: 0 0 18px rgba(231, 44, 63, .15);
}

.oc-chain.is-live .on1 { transition-delay: .1s; }
.oc-chain.is-live .on2 { transition-delay: .5s; }
.oc-chain.is-live .on3 { transition-delay: .9s; }
.oc-chain.is-live .on4 { transition-delay: 1.3s; }
.oc-chain.is-live .on5 { transition-delay: 1.7s; }

.oc-node--money {
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  border-color: transparent;
  color: #fff;
}

.oc-chain.is-live .oc-node--money {
  box-shadow: 0 10px 30px rgba(231, 44, 63, .45);
}

/* Связки: пунктир «течёт» слева направо */
.oc-link {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(231, 44, 63, .7) 0 6px, transparent 6px 14px);
  background-size: 14px 2px;
  opacity: .35;
  transition: opacity .6s ease;
  animation: oc-dash 1.1s linear infinite paused;
}

.oc-chain.is-live .oc-link {
  opacity: 1;
  animation-play-state: running;
}

@keyframes oc-dash {
  to { background-position: 14px 0; }
}

/* --- 8. Кому подходит --- */
.oc-fit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.oc-fit-card {
  display: block;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(15, 14, 17, .8);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.oc-fit-card:hover {
  border-color: var(--red-hi);
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .4), 0 0 26px rgba(231, 44, 63, .15);
}

.oc-fit-card h3 {
  font-size: 17.5px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.oc-fit-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.oc-fit-arrow {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red-hi);
  opacity: 0;
  transition: opacity .35s ease;
}

.oc-fit-card:hover .oc-fit-arrow { opacity: 1; }

/* --- Цена: калькулятор с плашкой «Хит» --- */
.oc-calc { position: relative; }

/* ============================================
   Страница «Аудит рекламы» (короткая)
   ============================================ */

/* --- 1. Hero + утекающие суммы --- */
.ar-hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}

.ar-hero-inner { text-align: center; }

.ar-hero-inner .eyebrow { justify-content: center; }

.ar-hero-inner h1 {
  margin: 14px auto 26px;
  font-size: clamp(32px, 4.4vw, 60px);
  letter-spacing: -.04em;
  line-height: 1.06;
  max-width: none;
}

.ar-hero-inner h1 em {
  font-style: normal;
  color: var(--red-hi);
}

/* Суммы «утекают» на фоне */
.ar-leak {
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: rgba(231, 44, 63, .45);
  opacity: 0;
  animation: ar-leak 7s ease-in infinite;
  pointer-events: none;
}

.al-1 { left: 12%; top: 30%; }
.al-2 { right: 14%; top: 24%; animation-delay: 2.3s; }
.al-3 { left: 22%; top: 62%; animation-delay: 4.6s; }

@keyframes ar-leak {
  0%   { transform: none; opacity: 0; }
  8%   { opacity: 1; }
  60%  { opacity: .4; }
  100% { transform: translateY(90px); opacity: 0; }
}

/* Платформы появляются по очереди */
.ar-plats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.ar-plat {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 30px;
  background: rgba(15, 14, 17, .9);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  animation: nf-in .6s cubic-bezier(.22, 1, .36, 1) forwards;
}

.ar-plat--sum {
  border-color: var(--red-hi);
  color: var(--red-hi);
  box-shadow: 0 0 16px rgba(231, 44, 63, .25);
}

.ap1 { animation-delay: .15s; }
.ap2 { animation-delay: .3s; }
.ap3 { animation-delay: .45s; }
.ap4 { animation-delay: .6s; }
.ap5 { animation-delay: .75s; }
.ap6 { animation-delay: 1s; }

/* --- 2. Каналы --- */
.ar-checks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ar-check {
  padding: 24px 18px 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(15, 14, 17, .8);
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1),
              border-color .3s ease, box-shadow .3s ease;
}

.ar-check:hover {
  border-color: var(--red-hi);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 22px rgba(231, 44, 63, .15);
}

.ar-checks.is-live .ar-check { opacity: 1; transform: none; }
.ar-checks.is-live .ac1 { transition-delay: .05s; }
.ar-checks.is-live .ac2 { transition-delay: .15s; }
.ar-checks.is-live .ac3 { transition-delay: .25s; }
.ar-checks.is-live .ac4 { transition-delay: .35s; }
.ar-checks.is-live .ac5 { transition-delay: .45s; }

.ar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(231, 44, 63, .8), var(--wine));
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  box-shadow: 0 8px 22px rgba(231, 44, 63, .25);
}

.ar-check h3 {
  font-size: 16px;
  margin: 14px 0 4px;
}

.ar-check p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* --- 3. Отчёт: строки + печать «Без воды» --- */
.ar-report {
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 14, 17, .92);
  overflow: hidden;
}

.ar-report-body {
  position: relative;
  padding: 22px 22px 26px;
  display: grid;
  gap: 14px;
}

.ar-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.ar-report.is-live .ar-row { opacity: 1; transform: none; }
.ar-report.is-live .arw1 { transition-delay: .2s; }
.ar-report.is-live .arw2 { transition-delay: .45s; }
.ar-report.is-live .arw3 { transition-delay: .7s; }
.ar-report.is-live .arw4 { transition-delay: .95s; }

.ar-ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.ar-ico--x     { background: rgba(231, 44, 63, .18); color: var(--red-hi); }
.ar-ico--money { background: rgba(231, 44, 63, .18); color: var(--red-hi); font-size: 18px; }
.ar-ico--ok    { background: rgba(0, 200, 83, .16); color: #00c853; }
.ar-ico--num   { background: rgba(255, 255, 255, .12); color: #fff; }

.ar-row b {
  display: block;
  font-size: 13.5px;
  letter-spacing: -.01em;
}

.ar-row span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

/* Печать «Без воды» шлёпается последней */
.ar-stamp {
  position: absolute;
  right: 16px;
  bottom: 12px;
  padding: 7px 14px;
  border: 2px solid var(--red-hi);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-hi);
  rotate: -8deg;
  opacity: 0;
  transform: scale(2.2);
  transition: opacity .35s ease 1.4s, transform .45s cubic-bezier(.34, 1.56, .64, 1) 1.4s;
}

.ar-report.is-live .ar-stamp {
  opacity: 1;
  transform: none;
}

/* --- 4. Шаги (на базе цепочки) --- */
.ar-steps .oc-node b {
  margin-right: 8px;
  color: var(--red-hi);
  font-weight: 800;
}

.ar-steps .oc-node--money b { color: #fff; }

/* ============================================
   Страница «SMM в Ташкенте»
   Контраст: мёртвый профиль ↔ поток клиентов
   ============================================ */

/* --- 1. Hero: два телефона --- */
.sm-hero {
  padding: 130px 0 80px;
  overflow: hidden;
}

.sm-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.sm-hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 3.6vw, 50px);
  letter-spacing: -.035em;
  line-height: 1.08;
  max-width: none;
}

.sm-hero-copy h1 em {
  font-style: normal;
  color: var(--red-hi);
}

.sm-hero-sub {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 26px;
}

.sm-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.sm-phone {
  width: 190px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  background: rgba(15, 14, 17, .95);
}

/* Мёртвый: серый, чуть позади */
.sm-phone--dead {
  rotate: -7deg;
  translate: 26px 14px;
  opacity: .65;
  filter: grayscale(1);
}

/* Живой: впереди, со свечением */
.sm-phone--live {
  position: relative;
  z-index: 2;
  rotate: 4deg;
  translate: -14px -8px;
  border-color: rgba(231, 44, 63, .5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 54px rgba(231, 44, 63, .28);
  animation: rd-float-a 6s ease-in-out infinite;
}

.sm-ph-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sm-ava {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

/* Кольцо сторис у живого профиля */
.sm-ava--ring {
  background: linear-gradient(135deg, var(--red-hi), var(--wine));
  border: 2px solid var(--bg);
  outline: 2px solid var(--red-hi);
}

.sm-ph-meta { flex: 1; display: grid; gap: 5px; }

.sm-ph-meta b {
  display: block;
  height: 9px;
  width: 70%;
  border-radius: 4px;
  background: rgba(255, 255, 255, .28);
}

.sm-ph-meta span {
  display: block;
  height: 7px;
  width: 45%;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
}

.sm-ph-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sm-ph-stats span {
  display: grid;
  gap: 1px;
  text-align: center;
}

.sm-ph-stats b {
  font-size: 12px;
  font-weight: 800;
}

.sm-ph-stats i {
  font-style: normal;
  font-size: 8.5px;
  color: var(--muted);
}

.sm-phone--live .sm-ph-stats b { color: var(--red-hi); }

.sm-ph-stories {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.sm-ph-stories i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(231, 44, 63, .7);
}

.sm-ph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.sm-ph-grid i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
}

.sm-ph-grid--live i { background: rgba(255, 255, 255, .13); }
.sm-ph-grid--live i:nth-child(1) { background: linear-gradient(135deg, rgba(231, 44, 63, .6), rgba(63, 12, 25, .8)); }
.sm-ph-grid--live i:nth-child(4) { background: linear-gradient(135deg, rgba(231, 44, 63, .35), rgba(17, 15, 18, .9)); }
.sm-ph-grid--live i:nth-child(6) { background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); }

/* Уведомления всплывают у живого телефона */
.sm-notif {
  position: absolute;
  right: -66px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: rgba(15, 14, 17, .95);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  animation: sm-notif 7.5s ease infinite;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.sm-notif--hot {
  border-color: transparent;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  color: #fff;
  box-shadow: 0 10px 26px rgba(231, 44, 63, .45);
}

.sn1 { top: 18%; }
.sn2 { top: 44%; right: -84px; animation-delay: 2.5s; }
.sn3 { top: 70%; animation-delay: 5s; }

@keyframes sm-notif {
  0%, 4%    { opacity: 0; transform: translateY(14px) scale(.85); }
  9%, 55%   { opacity: 1; transform: none; }
  64%, 100% { opacity: 0; transform: translateY(-12px); }
}

/* --- 2. Что мы делаем --- */
.sm-do {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sm-card {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(15, 14, 17, .8);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1),
              border-color .3s ease;
}

.sm-card:hover { border-color: rgba(231, 44, 63, .5); }

.sm-do.is-live .sm-card { opacity: 1; transform: none; }
.sm-do.is-live .sc1 { transition-delay: .05s; }
.sm-do.is-live .sc2 { transition-delay: .15s; }
.sm-do.is-live .sc3 { transition-delay: .25s; }
.sm-do.is-live .sc4 { transition-delay: .35s; }
.sm-do.is-live .sc5 { transition-delay: .45s; }

.sm-card h3 {
  font-size: 15.5px;
  margin: 14px 0 6px;
  letter-spacing: -.01em;
}

.sm-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.sm-card-visual {
  position: relative;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(12, 11, 14, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

/* Пост собирается */
.sm-post {
  width: 56px;
  display: grid;
  gap: 5px;
}

.sm-post .smp-img {
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(231, 44, 63, .5), rgba(63, 12, 25, .7));
  transform-origin: top;
  animation: sa-tv-grow 4s ease infinite;
}

.sm-post .smp-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
  transform-origin: left;
  animation: rd-in-line1 4s ease infinite;
}

.sm-post .smp-line.short { width: 60%; animation-delay: .2s; }

/* Календарь: дни закрываются галочками */
.sm-cal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sm-cal i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
  animation: sm-cal 6s ease infinite;
}

.sm-cal .cd1 { animation-delay: 0s; }
.sm-cal .cd2 { animation-delay: .5s; }
.sm-cal .cd3 { animation-delay: 1s; }
.sm-cal .cd4 { animation-delay: 1.5s; }
.sm-cal .cd5 { animation-delay: 2s; }
.sm-cal .cd6 { animation-delay: 2.5s; }

@keyframes sm-cal {
  0%, 8%    { background: rgba(255, 255, 255, .1); }
  16%, 78%  { background: rgba(231, 44, 63, .6); box-shadow: 0 0 8px rgba(231, 44, 63, .4); }
  90%, 100% { background: rgba(255, 255, 255, .1); }
}

/* Reels: play пульсирует, полоса бежит */
.sm-play {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  animation: lp-btn-pulse 2.4s ease infinite;
}

.sm-play i {
  position: absolute;
  left: 13px;
  top: 10px;
  border-left: 10px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.sm-reel-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.sm-reel-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: var(--red-hi);
  transform-origin: left;
  animation: sm-reel 3.2s linear infinite;
}

@keyframes sm-reel {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Таргет: кольца и попадание */
.sm-target {
  position: relative;
  width: 44px;
  height: 44px;
}

.sm-target i {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(231, 44, 63, .55);
  border-radius: 50%;
  animation: sm-ring 2.6s ease-out infinite;
}

.sm-target .tr2 { animation-delay: 1.3s; }

@keyframes sm-ring {
  0%   { transform: scale(.3); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.sm-target b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 10px rgba(231, 44, 63, .8);
}

/* Идеи: строки печатаются */
.sm-idea {
  width: 56px;
  display: grid;
  gap: 6px;
}

.sm-idea i {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
  transform-origin: left;
}

.sm-idea .si1 { animation: rd-in-line1 5s ease infinite; }
.sm-idea .si2 { width: 75%; animation: rd-in-line1 5s ease infinite .4s; }
.sm-idea .si3 { width: 50%; background: rgba(231, 44, 63, .5); animation: rd-in-line1 5s ease infinite .8s; }

/* --- 3. Почему не работает: контрастная панель --- */
.sm-why {
  padding: 50px 54px;
  border: 1px solid rgba(207, 58, 77, .35);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(63, 12, 25, .55), rgba(12, 11, 14, .96));
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.sm-why-head h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -.03em;
  line-height: 1.08;
}

.sm-why-list { display: grid; gap: 10px; }

.sm-why-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(12, 11, 14, .55);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.sm-why-row i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(231, 44, 63, .18);
  color: var(--red-hi);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.sm-why.is-live .sm-why-row { opacity: 1; transform: none; }
.sm-why.is-live .swr1 { transition-delay: .1s; }
.sm-why.is-live .swr2 { transition-delay: .3s; }
.sm-why.is-live .swr3 { transition-delay: .5s; }
.sm-why.is-live .swr4 { transition-delay: .7s; }
.sm-why.is-live .swr5 { transition-delay: .9s; }

/* --- 4. До / После --- */
.sm-ba-rows {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sm-ba-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  opacity: 0;
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.sm-ba-row i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.sm-ba-row.bad {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  transform: translateX(-18px);
}

.sm-ba-row.bad i {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
}

.sm-ba-row.good {
  border: 1px solid rgba(231, 44, 63, .35);
  background: rgba(231, 44, 63, .08);
  transform: translateX(18px);
}

.sm-ba-row.good i {
  background: rgba(0, 200, 83, .16);
  color: #00c853;
}

.sm-ba.is-live .sm-ba-row { opacity: 1; transform: none; }
.sm-ba.is-live .br1 { transition-delay: .1s; }
.sm-ba.is-live .br2 { transition-delay: .25s; }
.sm-ba.is-live .br3 { transition-delay: .4s; }
.sm-ba.is-live .gr1 { transition-delay: .7s; }
.sm-ba.is-live .gr2 { transition-delay: .85s; }
.sm-ba.is-live .gr3 { transition-delay: 1s; }

/* Входящие сообщения на панели «стало» */
.oc-ba-panel { position: relative; overflow: visible; }

.sm-bubble {
  position: absolute;
  padding: 9px 14px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(15, 14, 17, .96);
  border: 1px solid rgba(231, 44, 63, .5);
  font-size: 11.5px;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  opacity: 0;
  animation: sm-bubble 8s ease infinite 1.6s;
}

.sb1 { right: 14px; bottom: 44px; }
.sb2 { right: 40px; bottom: 8px; animation-delay: 3.6s; }

@keyframes sm-bubble {
  0%, 3%    { opacity: 0; transform: translateY(12px) scale(.85); }
  8%, 52%   { opacity: 1; transform: none; }
  60%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* --- 5. Тарифы --- */
.sm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: 1px;
}

.sm-dot--g { background: #00c853; box-shadow: 0 0 7px rgba(0, 200, 83, .7); }
.sm-dot--w { background: #fff; box-shadow: 0 0 7px rgba(255, 255, 255, .6); }
.sm-dot--r { background: var(--red-hi); box-shadow: 0 0 7px rgba(231, 44, 63, .8); }

/* Предупреждение про рекламный бюджет */
.sm-warn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 24px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

.sm-warn i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--red-hi);
  color: var(--red-hi);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
