/* ============================================================
   services-overrides.css
   Единая палитра: белый фон + royal-blue (#005BFF) акценты.
   Перекрывает legacy-стили в hero / process / chips / buttons.
   Структура и анимации — без изменений.
   ============================================================ */

/* ---- Base canvas: pure white everywhere ---- */
html.page-services-host, body.page-services {
  background: #FFFFFF !important;
}
body.page-services::before {  /* noise overlay → ещё мягче на белом */
  opacity: 0.018 !important;
}

/* Local tokens for the page */
.page-services {
  --svc-royal: #005BFF;
  --svc-royal-deep: #0046CC;
  --svc-royal-soft: rgba(0, 91, 255, 0.08);
  --svc-royal-soft-2: rgba(0, 91, 255, 0.16);
  --svc-ink: #0A0A0A;
  --svc-ink-soft: #373737;
  --svc-muted: #6B6B6B;
  --svc-line: #EDEDED;
  --svc-line-soft: #F4F4F2;
}


/* ============================================================
   HERO (sv-hero) — компактный, контент строго по центру
   ============================================================ */

.page-services .sv-hero {
  background: #FFFFFF !important;
  min-height: auto !important;
  padding: 56px 24px 64px !important;
  display: flex;
  align-items: center;
}

/* Сетка колонок: чуть уже, центруем по вертикали */
.page-services .sv-hero-container {
  max-width: 1240px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) !important;
  gap: 56px !important;
  align-items: center !important;
}

/* Левая колонка — без лишнего верхнего паддинга */
.page-services .sv-hero-content {
  padding-top: 26px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  max-width: 560px;
}

/* Тайтл — компактнее, плотнее */
.page-services .sv-hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 18px !important;
}

/* Сабтайтл — короче отступ */
.page-services .sv-hero-subtitle {
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
  margin-bottom: 22px !important;
  max-width: 480px;
}

/* Чипы — плотнее */
.page-services .sv-hero-chips {
  gap: 10px !important;
  margin-bottom: 22px !important;
}
.page-services .sv-hero-chips .sv-chip {
  padding: 10px 18px !important;
  font-size: 0.9rem !important;
}

/* CTA — поплотнее */
.page-services .sv-hero-cta { gap: 10px !important; }
.page-services .sv-btn-primary {
  padding: 14px 26px !important;
  font-size: 0.95rem !important;
}
.page-services .sv-btn-demo {
  padding: 13px 22px !important;
  font-size: 0.9rem !important;
}
.page-services .sv-hero-cta-buttons { gap: 10px !important; }

/* Правая колонка (фото + цитата) — строго по центру по вертикали */
.page-services .sv-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Фото — естественные пропорции исходника (16:10),
   без зумов и сдвигов: показываем фото как задумано */
.page-services .sv-hero-photo-wrap {
  aspect-ratio: 16 / 10 !important;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 20px !important;
  background: transparent !important;
  overflow: hidden;
  box-shadow:
    0 20px 50px -18px rgba(10, 10, 10, 0.22),
    0 0 0 1px rgba(0, 91, 255, 0.05) !important;
}
.page-services .sv-hero-photo {
  object-fit: cover !important;
  object-position: center 35% !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
.page-services .sv-hero-photo-wrap:hover .sv-hero-photo {
  transform: scale(1.03) !important;
}

/* Цитата-плашка — прижата чуть выше нижнего края, без огромного запаса */
.page-services .sv-hero-visual .sv-quote-card {
  bottom: 18px !important;
  right: -16px !important;
  max-width: 188px !important;
  padding: 14px 18px !important;
  border-radius: 16px !important;
}

/* На средних экранах — гарантируем порядок и центр */
@media (max-width: 1024px) {
  .page-services .sv-hero {
    padding: 48px 24px 56px !important;
  }
  .page-services .sv-hero-container {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .page-services .sv-hero-content {
    padding-top: 0 !important;
    max-width: none;
  }
  .page-services .sv-hero-photo-wrap {
    max-width: 540px;
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 640px) {
  .page-services .sv-hero { padding: 40px 18px 48px !important; }
}

/* кладём тонкий мягкий glow только сверху, без цветного фона */
.page-services .sv-hero-gradient {
  background: radial-gradient(ellipse 60% 38% at 50% -10%,
      var(--svc-royal-soft) 0%, transparent 70%) !important;
}

.page-services .sv-hero-mesh {
  background-image:
    linear-gradient(rgba(0, 91, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 255, 0.035) 1px, transparent 1px) !important;
  background-size: 56px 56px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

/* Орбы — оба в royal, без зелёного */
.page-services .sv-hero-orb--1 {
  background: rgba(0, 91, 255, 0.12) !important;
}
.page-services .sv-hero-orb--2 {
  background: rgba(0, 91, 255, 0.06) !important;
}

/* Заголовок — сплошной royal (надёжнее, чем background-clip: text;
   из-за глюков с gradient-clip) */
.page-services .sv-hero-title { color: var(--svc-ink); }
.page-services .sv-hero-title-accent {
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: var(--svc-royal) !important;
  color: var(--svc-royal) !important;
  -webkit-background-clip: border-box !important;
          background-clip: border-box !important;
  display: block;
  animation: sv-title-reveal 0.8s ease-out 0.2s forwards !important;
}

/* Сабтайтл-чекмарк — royal вместо зелёного */
.page-services .sv-hero-subtitle { color: var(--svc-ink-soft); }
.page-services .sv-hero-subtitle-icon { color: var(--svc-royal) !important; }

/* Чипы под заголовком */
.page-services .sv-hero-chips .sv-chip {
  background: #FFFFFF !important;
  border: 1px solid var(--svc-line) !important;
  color: var(--svc-ink-soft) !important;
  box-shadow: none !important;
}
.page-services .sv-hero-chips .sv-chip:hover {
  border-color: var(--svc-royal) !important;
  color: var(--svc-royal) !important;
  box-shadow: 0 8px 24px rgba(0, 91, 255, 0.10) !important;
}
.page-services .sv-hero-chips .sv-chip--active {
  background: var(--svc-royal-soft) !important;
  border-color: var(--svc-royal-soft-2) !important;
  color: var(--svc-royal-deep) !important;
  box-shadow: 0 4px 16px rgba(0, 91, 255, 0.14) !important;
}
.page-services .sv-hero-chips .sv-chip--active:hover {
  background: var(--svc-royal) !important;
  color: #FFFFFF !important;
}
.page-services .sv-hero-chips .sv-chip i { color: currentColor; }

/* Бейдж в hero */
.page-services .sv-hero-badge {
  background: #FFFFFF !important;
  border-color: var(--svc-royal-soft-2) !important;
  color: var(--svc-royal-deep) !important;
}
.page-services .sv-hero-badge-dot {
  background: var(--svc-royal) !important;
}

/* Primary CTA — единый royal */
.page-services .sv-btn-primary {
  background: var(--svc-royal) !important;
  box-shadow: 0 10px 26px rgba(0, 91, 255, 0.30) !important;
  border-radius: 14px;
}
.page-services .sv-btn-primary:hover {
  background: var(--svc-royal-deep) !important;
  box-shadow: 0 16px 36px rgba(0, 91, 255, 0.40) !important;
}

/* Demo-кнопка — outline royal */
.page-services .sv-btn-demo {
  background: #FFFFFF !important;
  border: 1px solid var(--svc-line) !important;
  color: var(--svc-ink) !important;
  border-radius: 14px;
}
.page-services .sv-btn-demo:hover {
  border-color: var(--svc-royal) !important;
  color: var(--svc-royal) !important;
  background: #FFFFFF !important;
}

/* Hint */
.page-services .sv-hero-hint { color: var(--svc-muted); }
.page-services .sv-hero-hint i { color: var(--svc-royal) !important; }

/* Photo wrap + shine — мягче, без тяжёлых теней */
.page-services .sv-hero-photo-wrap { box-shadow: none !important; }

/* Quote-карточка — royal акцент */
.page-services .sv-quote-card {
  background: #FFFFFF !important;
  border: 1px solid var(--svc-line) !important;
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.18) !important;
}
.page-services .sv-quote-icon { color: var(--svc-royal) !important; }
.page-services .sv-quote-text strong {
  color: var(--svc-royal-deep);
}


/* ============================================================
   PROCESS (sv-process)
   ============================================================ */

.page-services .sv-process {
  background: #FFFFFF !important;
  border-radius: 0 !important;
  border-top: 1px solid var(--svc-line);
  border-bottom: 0 !important;
  padding: 88px 24px 0 !important;
  /* overflow:hidden from base clipped chip box-shadows at the bottom edge
     (padding-bottom is 0 here). border-radius is 0 and glows are
     display:none on this page — nothing else needs the clip. */
  overflow: visible !important;
}

/* Slightly stronger, warmer shadow so chips read as lifted on the white
   bg — the default 8% ink shadow was almost invisible. */
.page-services .sv-process .sv-chip {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.05);
}
.page-services .sv-process .sv-chip:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14), 0 3px 8px rgba(15, 23, 42, 0.06);
}

/* Staggered fade-in so chips arrive gracefully instead of popping all at
   once with the shadow. `backwards` fill holds the `from` state before
   animation-delay; animation does NOT lock final state, so hover
   transforms (translateY -1px / -6px) still work after it completes. */
@keyframes sv-chip-entry {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-services .sv-process-grid .sv-chip {
  animation: sv-chip-entry 520ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.page-services .sv-process-row:nth-child(1) .sv-chip:nth-child(1) { animation-delay:  40ms; }
.page-services .sv-process-row:nth-child(1) .sv-chip:nth-child(2) { animation-delay: 110ms; }
.page-services .sv-process-row:nth-child(1) .sv-chip:nth-child(3) { animation-delay: 180ms; }
.page-services .sv-process-row:nth-child(2) .sv-chip:nth-child(1) { animation-delay: 240ms; }
.page-services .sv-process-row:nth-child(2) .sv-chip:nth-child(2) { animation-delay: 290ms; }
.page-services .sv-process-row:nth-child(2) .sv-chip:nth-child(3) { animation-delay: 330ms; }
.page-services .sv-process-row:nth-child(2) .sv-chip:nth-child(4) { animation-delay: 370ms; }
.page-services .sv-process-row:nth-child(2) .sv-chip:nth-child(5) { animation-delay: 410ms; }
.page-services .sv-process-row:nth-child(2) .sv-chip:nth-child(6) { animation-delay: 460ms; }
.page-services .sv-process-row:nth-child(3) .sv-chip:nth-child(1) { animation-delay: 520ms; }
.page-services .sv-process-row:nth-child(3) .sv-chip:nth-child(2) { animation-delay: 570ms; }
.page-services .sv-process-row:nth-child(3) .sv-chip:nth-child(3) { animation-delay: 620ms; }
.page-services .sv-process-row:nth-child(3) .sv-chip:nth-child(4) { animation-delay: 680ms; }
@media (prefers-reduced-motion: reduce) {
  .page-services .sv-process-grid .sv-chip { animation: none; }
}

/* Сетка услуг — визуально продолжает блок процесса */
.page-services #services {
  padding-top: 0 !important;
  padding-bottom: 80px !important;
  margin-top: -24px !important;
}

/* Bridge-хедер: вертикальная линия от процесса к заголовку */
.page-services .services-header--bridge {
  position: relative;
  padding-top: 56px !important;
  margin-bottom: 28px !important;
}
.page-services .services-bridge-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--svc-royal-soft-2));
  transform: translateX(-50%);
}
.page-services .services-bridge-line::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-royal);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--svc-royal-soft);
}

.page-services .services-bridge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 100px;
  background: var(--svc-royal-soft);
  color: var(--svc-royal-deep);
  font-family: var(--font-mono, var(--font-sans));
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.page-services .services-bridge-dot {
  width: 6px;
  height: 6px;
  background: var(--svc-royal);
  border-radius: 50%;
  animation: svc-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes svc-dot-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.page-services #services .services-header-eyebrow {
  margin-bottom: 14px !important;
}
.page-services #services .services-header-title {
  margin-bottom: 10px !important;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem) !important;
}
.page-services #services .services-header-subtitle {
  font-size: 0.98rem !important;
  color: var(--svc-muted) !important;
  max-width: 520px;
}

/* Все цветные «glow» убираем — белый/чистый */
.page-services .sv-process-glow {
  display: none !important;
}

.page-services .sv-process-eyebrow {
  color: var(--svc-royal) !important;
}
.page-services .sv-process-title { color: var(--svc-ink); }
.page-services .sv-process-subtitle { color: var(--svc-muted); }


/* PROCESS CHIPS — оригинальные цвета чипсов (бриф / ваш менеджер / работаем
   и т.д.) оставлены как есть — никаких overrides поверх sv-chip*. */



/* ============================================================
   HERO BACKGROUND ANIMATIONS — переработка с нуля
   Убираем то что выглядит странно (круглое кольцо вокруг
   прямоугольного фото, мерцающие точки), оставляем
   единое мягкое royal-свечение + 2 дрейфующих пятна.
   ============================================================ */

/* Расширяем зону эффектов вокруг фото и обрезаем фоном фото */
.page-services .sv-orbit-system {
  inset: -90px !important;
  z-index: 1 !important;
  pointer-events: none;
}

/* Круглое кольцо вокруг прямоугольного фото = торчащие сегменты,
   убираем полностью */
.page-services .sv-gradient-ring { display: none !important; }

/* Мерцающие точки на чистом белом — отвлекают, тоже убираем */
.page-services .sv-sparkle { display: none !important; }

/* Третье пятно — лишнее, оставляем 2 */
.page-services .sv-morph--3 { display: none !important; }

/* Aurora — единый мягкий royal-halo за фото */
.page-services .sv-aurora-glow {
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%,
        rgba(0, 91, 255, 0.18) 0%,
        rgba(0, 91, 255, 0.06) 35%,
        transparent 70%) !important;
  animation: svc-halo-breathe 16s cubic-bezier(0.45, 0, 0.25, 1) infinite !important;
  will-change: opacity, transform;
}
@keyframes svc-halo-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50%      { opacity: 0.85; transform: scale(1.04); }
}

/* Морф-пятна: одно сверху-справа (royal), одно снизу-слева (royal-deep).
   Очень медленные, маленькая амплитуда, размытие сильнее. */
.page-services .sv-morph {
  filter: blur(110px) !important;
  opacity: 0.45 !important;
  transition: none !important;
  will-change: transform;
}
.page-services .sv-morph--1 {
  width: 240px !important;
  height: 240px !important;
  top: -40px !important;
  right: -50px !important;
  background: rgba(0, 91, 255, 0.40) !important;
  animation: svc-drift-a 26s cubic-bezier(0.45, 0, 0.25, 1) infinite !important;
}
.page-services .sv-morph--2 {
  width: 220px !important;
  height: 220px !important;
  bottom: -40px !important;
  left: -50px !important;
  background: rgba(0, 91, 255, 0.28) !important;
  animation: svc-drift-b 32s cubic-bezier(0.45, 0, 0.25, 1) infinite !important;
}

@keyframes svc-drift-a {
  0%, 100% { transform: translate(0, 0)   scale(1); }
  50%      { transform: translate(-14px, 10px) scale(1.06); }
}
@keyframes svc-drift-b {
  0%, 100% { transform: translate(0, 0)  scale(1); }
  50%      { transform: translate(12px, -10px) scale(1.05); }
}

/* Hover на фото — пятна слегка ярче */
.page-services .sv-hero-visual:hover .sv-morph {
  opacity: 0.6 !important;
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

/* Reduced motion — отключаем всю анимацию фона */
@media (prefers-reduced-motion: reduce) {
  .page-services .sv-aurora-glow,
  .page-services .sv-morph {
    animation: none !important;
  }
  .page-services .sv-hero-photo-wrap:hover .sv-hero-photo {
    transform: none !important;
  }
}

/* ============================================================
   SERVICES GRID — подбор блогеров
   Сюжет: бренд-бриф проходит сквозь базу авторов, система собирает
   shortlist по ER, CPV, охвату и совпадению аудитории.
   ============================================================ */
.page-services #services .sv-blogger-card {
  background: #FFFFFF !important;
}

.page-services #services .sv-blogger-card .sv-blogger-visual {
  position: absolute;
  inset: 0 0 auto 0;
  height: 65%;
  overflow: hidden;
  display: block !important;
  pointer-events: none;
  background:
    linear-gradient(180deg, #FAFCFF 0%, #FFFFFF 100%);
}

.page-services #services .sv-blogger-card .sv-blogger-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(0, 91, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.42;
}

.page-services #services .sv-blogger-card .sv-blogger-visual::after {
  display: none;
}

.page-services #services .sv-blogger-links {
  position: absolute;
  inset: 18px 8px 20px;
  width: calc(100% - 16px);
  height: calc(100% - 38px);
  z-index: 2;
}

.page-services #services .sv-blogger-link {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 8 16;
  animation: svc-blogger-link-flow 8.4s linear infinite;
  opacity: 0.34;
}

.page-services #services .sv-blogger-link--blue { stroke: #005BFF; }
.page-services #services .sv-blogger-link--green,
.page-services #services .sv-blogger-link--orange { display: none; }
.page-services #services .sv-blogger-link--ink { stroke: #111827; animation-delay: -2.4s; opacity: 0.22; }

.page-services #services .sv-brand-brief,
.page-services #services .sv-creator-card,
.page-services #services .sv-blogger-shortlist {
  position: absolute;
  z-index: 4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-services #services .sv-brand-brief {
  top: 44%;
  left: 50%;
  z-index: 5;
  width: 132px;
  min-height: 70px;
  padding: 11px 12px;
  transform: translate(-50%, -50%);
  display: grid;
  align-content: center;
  gap: 4px;
  color: #0A0A0A;
  animation: none;
}

.page-services #services .sv-brand-brief::before {
  display: none;
}

.page-services #services .sv-brief-kicker,
.page-services #services .sv-creator-card span,
.page-services #services .sv-blogger-shortlist span {
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: #6B7280;
}

.page-services #services .sv-brand-brief strong {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
}

.page-services #services .sv-brand-brief em {
  display: none;
}

.page-services #services .sv-creator-card {
  width: 132px;
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  padding: 8px;
  transition:
    transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 560ms ease,
    box-shadow 560ms ease;
  animation: svc-blogger-float 12s ease-in-out infinite;
}

.page-services #services .sv-creator-card img {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(10, 10, 10, 0.08);
  object-fit: cover;
}

.page-services #services .sv-creator-card strong {
  display: block;
  margin-top: 1px;
  color: #0A0A0A;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.page-services #services .sv-creator-card em {
  display: none;
}

.page-services #services .sv-creator-card--selected {
  border-color: rgba(0, 91, 255, 0.24);
  box-shadow: 0 14px 28px rgba(0, 91, 255, 0.10);
}

.page-services #services .sv-creator-card--selected::after {
  display: none;
}

.page-services #services .sv-creator-card--top-left {
  top: 24px;
  left: 20px;
  animation-delay: -0.5s;
}

.page-services #services .sv-creator-card--top-right {
  top: 32px;
  right: 18px;
  animation-delay: -1.8s;
}

.page-services #services .sv-creator-card--bottom-left {
  bottom: 74px;
  left: 24px;
  animation-delay: -2.8s;
}

.page-services #services .sv-creator-card--bottom-right {
  right: 18px;
  bottom: 72px;
  animation-delay: -3.6s;
}

.page-services #services .sv-blogger-shortlist {
  display: none;
}

.page-services #services .sv-blogger-card:hover .sv-creator-card {
  transform: none;
}

.page-services #services .sv-blogger-card:hover .sv-creator-card--selected {
  transform: none;
}

.page-services #services .sv-blogger-content {
  background: linear-gradient(to top, #FFFFFF 0%, rgba(255,255,255,0.98) 72%, rgba(255,255,255,0.88) 100%) !important;
}

.page-services #services .sv-blogger-tags {
  display: none;
}

@keyframes svc-blogger-link-flow {
  to { stroke-dashoffset: -88; }
}

@keyframes svc-blogger-brief-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.025); }
}

@keyframes svc-blogger-match-ring {
  0% { opacity: 0; transform: scale(0.94); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.14); }
}

@keyframes svc-blogger-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -2px; }
}

@media (max-width: 768px) {
  .page-services #services .sv-blogger-card {
    min-height: auto !important;
  }

  .page-services #services .sv-blogger-card .sv-blogger-visual {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 268px !important;
    min-height: 268px !important;
    padding: 0 !important;
    order: 1 !important;
  }

  .page-services #services .sv-blogger-card .sv-blogger-content {
    position: relative !important;
    padding: 24px 20px 22px !important;
    order: 2 !important;
  }

  .page-services #services .sv-brand-brief {
    width: 124px;
    min-height: 68px;
  }

  .page-services #services .sv-creator-card {
    width: 118px;
    min-height: 50px;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 7px;
    column-gap: 7px;
  }

  .page-services #services .sv-creator-card img {
    width: 30px;
    height: 30px;
  }

  .page-services #services .sv-creator-card strong {
    font-size: 13px;
  }

  .page-services #services .sv-creator-card--top-left {
    top: 24px;
    left: 14px;
  }

  .page-services #services .sv-creator-card--top-right {
    top: 30px;
    right: 14px;
  }

  .page-services #services .sv-creator-card--bottom-left {
    bottom: 74px;
    left: 14px;
  }

  .page-services #services .sv-creator-card--bottom-right {
    right: 14px;
    bottom: 72px;
  }
}

@media (max-width: 420px) {
  .page-services #services .sv-blogger-card .sv-blogger-visual {
    height: 252px !important;
    min-height: 252px !important;
  }

  .page-services #services .sv-creator-card {
    width: 112px;
  }

  .page-services #services .sv-creator-card span {
    font-size: 8px;
  }

  .page-services #services .sv-brand-brief {
    width: 116px;
    padding: 10px;
  }

  .page-services #services .sv-brand-brief strong {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-services #services .sv-blogger-card .sv-blogger-visual::after,
  .page-services #services .sv-blogger-link,
  .page-services #services .sv-brand-brief,
  .page-services #services .sv-brand-brief::before,
  .page-services #services .sv-creator-card,
  .page-services #services .sv-analytics-insight {
    animation: none !important;
  }
}


/* ============================================================
   PHOTO COLLAGE SECTION — заголовок в нашем стиле
   ============================================================ */

.page-services .svc-photo-section {
  padding: 80px 24px 64px !important;
}

.page-services .svc-photo-rail-wrap { margin-bottom: 36px; }
.page-services .svc-photo-rail {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--svc-muted) !important;
}
.page-services .svc-photo-rail-dot { color: var(--svc-royal); opacity: 0.8; }

.page-services .svc-photo-title-wrap {
  margin-top: 56px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.page-services .svc-photo-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--svc-ink);
  text-align: center;
}
.page-services .svc-photo-title-line { display: block; }
.page-services .svc-photo-title-line--accent em {
  font-style: normal;
  background: linear-gradient(92deg, var(--svc-royal) 0%, var(--svc-royal-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-services .svc-photo-lead {
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--svc-ink-soft);
  margin: 6px auto 0;
}
.page-services .svc-photo-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.page-services .svc-studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #0a0a0a;
  color: #fff !important;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.page-services .svc-studio-btn:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.55);
}
.page-services .svc-studio-btn__icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: #fc3f1d;
  border-radius: 8px;
  color: #fff;
  flex-shrink: 0;
}
.page-services .svc-studio-btn__arr {
  color: rgba(255,255,255,0.7);
  transition: transform 0.2s ease, color 0.2s ease;
}
.page-services .svc-studio-btn:hover .svc-studio-btn__arr {
  color: #fff;
  transform: translate(2px, -2px);
}
@media (max-width: 560px) {
  .page-services .svc-studio-btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 13px 18px;
  }
}

/* EV Studio chip in hero — link variant with external-link marker */
.page-services .sv-hero-chips .sv-chip--link {
  text-decoration: none;
  position: relative;
}
.page-services .sv-hero-chips .sv-chip--link .sv-chip__ext {
  font-size: 0.72em;
  opacity: 0.55;
  margin-left: 2px;
  color: currentColor;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.page-services .sv-hero-chips .sv-chip--link:hover .sv-chip__ext {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Скрываем легаси-pills (мульти-цвет) на случай если ещё где-то есть */
.page-services .gemini-pill { background: none !important; color: inherit !important; padding: 0 !important; }
.page-services .gemini-pill::before { display: none !important; }


/* ============================================================
   FINAL CTA BLOCK — итоговый блок
   ============================================================ */

.page-services .svc-final {
  padding: 96px 24px 120px !important;
  background:
    radial-gradient(70% 60% at 50% 0%, var(--svc-royal-soft) 0%, transparent 70%),
    #FFFFFF;
  border-top: 1px solid var(--svc-line);
  position: relative;
}
.page-services .svc-final__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.page-services .svc-final__head {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  max-width: 720px;
}

.page-services .svc-final__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--svc-royal-soft-2);
  border-radius: 100px;
  background: var(--svc-royal-soft);
  color: var(--svc-royal-deep);
  font-family: var(--font-mono, var(--font-sans));
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.page-services .svc-final__eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--svc-royal);
  box-shadow: 0 0 0 4px rgba(0, 91, 255, 0.12);
  animation: svc-dot-pulse 2.4s ease-in-out infinite;
}

.page-services .svc-final__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--svc-ink);
}
.page-services .svc-final__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--svc-royal) 0%, var(--svc-royal-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-services .svc-final__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--svc-ink-soft);
  max-width: 580px;
}

.page-services .svc-final__actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}
.page-services .svc-final__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 100px;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid var(--svc-line);
  background: #FFFFFF;
  color: var(--svc-ink);
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1),
              background 240ms ease,
              border-color 240ms ease,
              box-shadow 280ms ease;
  text-decoration: none;
}
.page-services .svc-final__btn:hover { transform: translateY(-2px); }
.page-services .svc-final__btn--primary {
  background: var(--svc-ink);
  border-color: var(--svc-ink);
  color: #FFFFFF;
}
.page-services .svc-final__btn--primary:hover {
  background: var(--svc-royal);
  border-color: var(--svc-royal);
  box-shadow: 0 16px 36px -12px rgba(0, 91, 255, 0.45);
}
.page-services .svc-final__btn--ghost:hover {
  border-color: var(--svc-ink);
  color: var(--svc-royal);
}

.page-services .svc-final__contact {
  list-style: none;
  margin: 24px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--svc-line);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.page-services .svc-final__contact li {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 12px;
  border-right: 1px solid var(--svc-line);
}
.page-services .svc-final__contact li:last-child { border-right: 0; }
.page-services .svc-final__contact-k {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc-muted);
}
.page-services .svc-final__contact-v {
  font-size: 14px;
  color: var(--svc-ink);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
a.svc-final__contact-v:hover {
  color: var(--svc-royal);
  border-bottom-color: var(--svc-royal);
}

@media (max-width: 780px) {
  .page-services .svc-final { padding: 72px 18px 88px !important; }
  .page-services .svc-final__contact {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }
  .page-services .svc-final__contact li:nth-child(2) { border-right: 0; }
  .page-services .svc-final__contact li:nth-child(-n+2) { padding-bottom: 18px; border-bottom: 1px solid var(--svc-line); }
}


/* ============================================================
   SHOP BANNER — светлый, в нашем стиле (заменяет тёмный фото-баннер)
   ============================================================ */
.page-services .svc-shop-banner {
  padding: 24px 24px;
  background: #FFFFFF;
}
.page-services .svc-shop-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 56px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(247,250,255,0.98) 56%, rgba(233,241,255,0.92) 100%),
    var(--svc-line-soft);
  border: 1px solid var(--svc-line);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 430px);
  gap: 56px;
  align-items: center;
  overflow: hidden;
}
.page-services .svc-shop-banner__copy { display: flex; flex-direction: column; gap: 16px; }
.page-services .svc-shop-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--svc-royal-soft-2);
  border-radius: 100px;
  background: var(--svc-royal-soft);
  color: var(--svc-royal-deep);
  font-family: var(--font-mono, var(--font-sans));
  font-size: 12px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}
.page-services .svc-shop-banner__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--svc-royal);
  box-shadow: 0 0 0 4px rgba(0, 91, 255, 0.12);
  animation: svc-dot-pulse 2.4s ease-in-out infinite;
}
.page-services .svc-shop-banner__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--svc-ink);
}
.page-services .svc-shop-banner__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--svc-royal) 0%, var(--svc-royal-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-services .svc-shop-banner__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--svc-ink-soft);
  max-width: 540px;
}
.page-services .svc-shop-banner__actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 8px;
}
.page-services .svc-shop-banner__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid var(--svc-line);
  background: #FFFFFF;
  color: var(--svc-ink);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1),
              background 240ms ease, border-color 240ms ease, box-shadow 280ms ease;
}
.page-services .svc-shop-banner__btn:hover { transform: translateY(-1px); }
.page-services .svc-shop-banner__btn--primary {
  background: var(--svc-ink); color: #fff; border-color: var(--svc-ink);
}
.page-services .svc-shop-banner__btn--primary:hover {
  background: var(--svc-royal); border-color: var(--svc-royal);
  box-shadow: 0 14px 32px -12px rgba(0, 91, 255, 0.45);
}
.page-services .svc-shop-banner__btn--ghost:hover { border-color: var(--svc-ink); }

.page-services .svc-shop-banner__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  height: 320px;
}
.page-services .svc-shop-banner__wash {
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.74;
  pointer-events: none;
}
.page-services .svc-shop-banner__wash--blue {
  inset: 8px 22px auto auto;
  width: 176px;
  height: 176px;
  background: radial-gradient(circle, rgba(0, 91, 255, 0.12) 0%, rgba(0, 91, 255, 0.016) 68%, transparent 100%);
}
.page-services .svc-shop-banner__wash--sand {
  inset: auto auto 20px 24px;
  width: 164px;
  height: 164px;
  background: radial-gradient(circle, rgba(255, 189, 23, 0.10) 0%, rgba(255, 189, 23, 0.016) 68%, transparent 100%);
}

.page-services .svc-shop-banner__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.page-services .svc-shop-banner__route-line {
  stroke: url(#svcShopPath);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-dasharray: 3 12;
  animation: svc-shop-route-flow 24s linear infinite;
}
.page-services .svc-shop-banner__route-dot {
  fill: var(--svc-royal);
  opacity: 0.64;
  filter: drop-shadow(0 0 6px rgba(0, 91, 255, 0.14));
}

.page-services .svc-shop-banner__grid {
  position: absolute;
  inset: 26px 22px 24px 70px;
  border-radius: 40px;
  background-image:
    linear-gradient(rgba(0, 91, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 55% 52%, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.08) 68%, transparent 100%);
  pointer-events: none;
}

.page-services .svc-shop-banner__metric,
.page-services .svc-shop-banner__caption {
  position: absolute;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.page-services .svc-shop-banner__metric {
  display: grid;
  gap: 4px;
}

.page-services .svc-shop-banner__metric strong {
  font-size: 4.5rem;
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: var(--svc-ink);
  font-weight: 500;
}

.page-services .svc-shop-banner__metric span,
.page-services .svc-shop-banner__metric small {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--svc-muted);
}

.page-services .svc-shop-banner__metric small {
  font-size: 9px;
  color: var(--svc-royal-deep);
  opacity: 0.72;
}

.page-services .svc-shop-banner__metric--audit {
  left: 22px;
  bottom: 34px;
  z-index: 3;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-5deg);
  animation: svc-shop-audit-drift 14s ease-in-out infinite;
}
.page-services .svc-shop-banner__metric--audit::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 91, 255, 0.14);
}

.page-services .svc-shop-banner__caption {
  left: 152px;
  top: 132px;
  z-index: 4;
  width: 176px;
  padding: 0 0 0 18px;
  border-left: 1px solid rgba(0, 91, 255, 0.18);
  transform: none;
  animation: svc-shop-caption-drift 14s ease-in-out infinite;
}
.page-services .svc-shop-banner__caption::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 91, 255, 0.14);
  border: 1px solid rgba(0, 91, 255, 0.12);
}
.page-services .svc-shop-banner__caption-kicker {
  display: inline-flex;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--svc-royal-deep);
  margin-bottom: 10px;
}
.page-services .svc-shop-banner__caption p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--svc-ink-soft);
}

.page-services .svc-shop-banner__metric--launch {
  top: 24px;
  right: 16px;
  z-index: 3;
  width: 96px;
  min-height: auto;
  animation: svc-shop-launch-drift 16s ease-in-out infinite;
}

.page-services .svc-shop-banner__metric--markets {
  right: 34px;
  bottom: 34px;
  z-index: 2;
  width: 128px;
  min-height: auto;
  animation: svc-shop-markets-drift 18s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .page-services .svc-shop-banner__inner { grid-template-columns: 1fr; padding: 44px 32px; gap: 32px; }
  .page-services .svc-shop-banner__visual {
    justify-self: center;
  }
}
@media (max-width: 640px) {
  .page-services .svc-shop-banner__inner { padding: 32px 22px; }
  .page-services .svc-shop-banner__visual {
    width: 100%;
    max-width: 360px;
    height: 312px;
  }
  .page-services .svc-shop-banner__grid {
    inset: 22px 10px 22px 52px;
  }
  .page-services .svc-shop-banner__metric strong {
    font-size: 3.4rem;
  }
  .page-services .svc-shop-banner__metric--audit {
    left: 10px;
    bottom: 28px;
    width: 92px;
    height: 92px;
  }
  .page-services .svc-shop-banner__caption {
    left: 106px;
    top: 126px;
    width: 138px;
    padding-left: 14px;
  }
  .page-services .svc-shop-banner__caption p {
    font-size: 12px;
  }
  .page-services .svc-shop-banner__metric--launch {
    top: 18px;
    right: 4px;
    width: 82px;
  }
  .page-services .svc-shop-banner__metric--markets {
    right: 18px;
    bottom: 32px;
    width: 110px;
  }
  .page-services .svc-shop-banner__metric small {
    font-size: 8px;
  }
}

@keyframes svc-shop-route-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -120; }
}

@keyframes svc-shop-audit-drift {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-2px) rotate(-6deg); }
}

@keyframes svc-shop-caption-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes svc-shop-launch-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes svc-shop-markets-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-services .svc-shop-banner__route-line,
  .page-services .svc-shop-banner__metric,
  .page-services .svc-shop-banner__caption {
    animation: none !important;
  }
}


/* ============================================================
   SERVICES GRID — общий проход по карточкам
   единые тени, радиусы, ховер-плавность, фоновые орбы
   ============================================================ */

/* Мягче декоративные орбы за сеткой */
.page-services #services .absolute.-top-32,
.page-services #services .absolute.-bottom-24 {
  opacity: 0.55 !important;
  filter: blur(70px) !important;
}

/* Все карточки услуг — единый borderRadius, тени, ховер-easing */
.page-services .service-card {
  border-radius: 24px !important;
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 12px 28px -16px rgba(10, 10, 10, 0.10) !important;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.4s ease !important;
  border: 1px solid transparent;
}
.page-services .service-card:hover,
.page-services .service-card.is-peek {
  transform: translateY(-4px) !important;
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 24px 56px -22px rgba(10, 10, 10, 0.20),
    0 8px 18px -8px rgba(0, 91, 255, 0.10) !important;
  border-color: rgba(0, 91, 255, 0.10);
}

/* Внутренние фотографии карточек — мягче скейл, дольше длительность */
.page-services .service-card .group-hover\:scale-105 {
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
.page-services .service-card:hover .group-hover\:scale-105,
.page-services .service-card.is-peek .group-hover\:scale-105 {
  transform: scale(1.04) !important;
}

/* Floating chips в карточках — мягче анимация, медленнее */
.page-services .animate-bounce-slow {
  animation: svc-float-soft 6s cubic-bezier(0.45, 0, 0.25, 1) infinite !important;
}
@keyframes svc-float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Animate-pulse у точек статуса — мягче */
.page-services .animate-pulse {
  animation: svc-pulse 2.6s cubic-bezier(0.45, 0, 0.25, 1) infinite !important;
}
@keyframes svc-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* Animate-bounce одиночных иконок — приглушаем */
.page-services .animate-bounce {
  animation: svc-float-soft 5s cubic-bezier(0.45, 0, 0.25, 1) infinite !important;
}


/* ============================================================
   PHOTO COLLAGE FRAME — мягче фон, тоньше тени фото
   ============================================================ */
.page-services .sv-photo-collage-frame {
  background: var(--svc-line-soft) !important;
  border: 1px solid var(--svc-line);
  border-radius: 36px !important;
}
.page-services .ev-photo-item .shadow-2xl {
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 18px 44px -18px rgba(10, 10, 10, 0.20) !important;
}
.page-services .ev-photo-item .rounded-\[38px\] { border-radius: 24px !important; }

/* EV Studio center — единая тень */
.page-services .ev-studio-center-card {
  border-radius: 28px !important;
  border: 1px solid var(--svc-line);
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 22px 52px -20px rgba(10, 10, 10, 0.22) !important;
}


/* ============================================================
   UNIFIED-SECTION-BG — обнуляем легаси «soft»-фон под коллажем
   ============================================================ */
.page-services .unified-section-bg {
  background: transparent !important;
}
.page-services .unified-section-bg::before { display: none !important; }


/* ============================================================
   Чтобы текст внутри карточек выглядел чище — мягкие переходы
   ============================================================ */
.page-services .service-card * { transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }


/* ============================================================
   GLOBAL — финальная унификация теней и радиусов
   ============================================================ */
.page-services .rounded-\[32px\] { border-radius: 24px !important; }
.page-services .rounded-3xl       { border-radius: 22px !important; }
.page-services .rounded-2xl       { border-radius: 18px !important; }
.page-services .rounded-xl        { border-radius: 14px !important; }


/* ============================================================
   COMPREHENSIVE DESIGN PASS
   Унифицируем все 11 карточек, цвета, тени, типографику.
   Сохраняем структуру/анимации из легаси, но приводим к
   единой палитре royal-blue + neutral.
   ============================================================ */

/* ---- 1. Карточки услуг — единый светлый фон ----
   Перебиваем все яркие inline-градиенты (оранжевый/розовый/etc.),
   но КАРТОЧКИ «Автоматизация» и «Web разработка» оставляем в их пастельных
   градиентах (мягкий cyan→blue и peach→yellow→sky) — они задают тон
   нижнему ряду карточек. Селектор исключает их по id. */
.page-services .service-card[style*="background"]:not(#automation):not(#webdev) {
  background: #FFFFFF !important;
  background-image:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 91, 255, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%) !important;
  background-size: auto !important;
}

/* Card content overlay (white footer на карточках) */
.page-services .service-card__content {
  background: linear-gradient(180deg, transparent 0%, #FFFFFF 30%) !important;
  backdrop-filter: blur(0) !important;
}
.page-services .service-card__content.bg-gradient-to-t {
  background: linear-gradient(180deg, transparent 0%, #FFFFFF 30%) !important;
}

/* Убираем eyebrow-бейджи «Web» / «Автоматизация» — с royal-переопределением
   они стали синими с обводкой и смотрелись как странные лишние кнопки. */
.page-services #automation .service-card__content > div:first-child,
.page-services #webdev     .service-card__content > div:first-child {
  display: none !important;
}

/* ---- 2. Декоративные орбы внутри карточек — приглушаем в royal ---- */
.page-services .service-card .absolute[class*="rounded-full"][class*="w-["][class*="bg-"] {
  background: radial-gradient(circle, rgba(0, 91, 255, 0.10) 0%, rgba(0, 91, 255, 0.04) 50%, transparent 70%) !important;
  opacity: 0.7 !important;
}

/* Все маленькие точки/sparkle внутри карточек — мягкий royal */
.page-services .service-card .bg-orange-400\/30,
.page-services .service-card .bg-orange-300\/40,
.page-services .service-card [class*="bg-purple-400"],
.page-services .service-card [class*="bg-pink-"],
.page-services .service-card [class*="bg-emerald-"],
.page-services .service-card [class*="bg-indigo-300"] {
  background: rgba(0, 91, 255, 0.30) !important;
}

/* ---- 3. Цветные теги/badges/pill в карточках → royal-tone ---- */
.page-services .service-card .bg-orange-100,
.page-services .service-card .bg-orange-50,
.page-services .service-card .bg-blue-50,
.page-services .service-card .bg-blue-100,
.page-services .service-card .bg-purple-100,
.page-services .service-card .bg-purple-50,
.page-services .service-card .bg-emerald-100,
.page-services .service-card .bg-emerald-50,
.page-services .service-card .bg-indigo-50,
.page-services .service-card .bg-indigo-100,
.page-services .service-card .bg-pink-100 {
  background: var(--svc-royal-soft) !important;
}
.page-services .service-card [class*="text-orange-700"],
.page-services .service-card [class*="text-orange-500"],
.page-services .service-card [class*="text-blue-700"],
.page-services .service-card [class*="text-blue-500"],
.page-services .service-card [class*="text-purple-700"],
.page-services .service-card [class*="text-purple-500"],
.page-services .service-card [class*="text-emerald-700"],
.page-services .service-card [class*="text-emerald-500"],
.page-services .service-card [class*="text-indigo-700"],
.page-services .service-card [class*="text-indigo-600"],
.page-services .service-card [class*="text-indigo-900"] {
  color: var(--svc-royal-deep) !important;
}
.page-services .service-card [class*="border-orange-"],
.page-services .service-card [class*="border-blue-"],
.page-services .service-card [class*="border-purple-"],
.page-services .service-card [class*="border-emerald-"],
.page-services .service-card [class*="border-indigo-"],
.page-services .service-card [class*="border-pink-"] {
  border-color: var(--svc-royal-soft-2) !important;
}

/* Точки внутри pill-badges (animate-pulse) — единый royal */
.page-services .service-card .bg-orange-500,
.page-services .service-card .bg-blue-500,
.page-services .service-card .bg-purple-500,
.page-services .service-card .bg-emerald-500,
.page-services .service-card .bg-indigo-500,
.page-services .service-card .bg-pink-500,
.page-services .service-card .bg-green-500 {
  background: var(--svc-royal) !important;
}

/* Сплошные кнопки/чипы (white-on-color) — наш ink */
.page-services .service-card .bg-orange-500.text-white,
.page-services .service-card .bg-indigo-600,
.page-services .service-card .bg-\[\#6366F1\] {
  background: var(--svc-ink) !important;
  color: #FFFFFF !important;
}

/* ---- 4. SEO-карточка: hero item gradient (indigo-blue) → royal ---- */
.page-services .service-card .bg-gradient-to-br.from-indigo-500.to-blue-600,
.page-services .service-card .bg-gradient-to-br.from-blue-500.to-indigo-600 {
  background: linear-gradient(135deg, var(--svc-royal) 0%, var(--svc-royal-deep) 100%) !important;
}

/* SEO ranking — TOP 1 значок */
.page-services .service-card .bg-green-100 {
  background: rgba(16, 185, 129, 0.14) !important;
}
.page-services .service-card .text-green-700 { color: #0E7E5A !important; }

/* Аналитика — bar chart bars в royal-tone */
.page-services .service-card .bg-indigo-200 { background: rgba(0, 91, 255, 0.20) !important; }
.page-services .service-card .bg-indigo-300 { background: rgba(0, 91, 255, 0.30) !important; }
.page-services .service-card .bg-indigo-400 { background: rgba(0, 91, 255, 0.50) !important; }
.page-services .service-card .bg-indigo-600 { background: var(--svc-royal) !important; }

.page-services .sv-analytics-insight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  padding: 10px 12px 10px 10px;
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10);
  animation: svc-analytics-float 5.8s ease-in-out infinite;
}

.page-services .sv-analytics-insight__ring {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.page-services .sv-analytics-insight__ring svg {
  width: 42px;
  height: 42px;
  transform: rotate(-90deg);
}

.page-services .sv-analytics-insight__track,
.page-services .sv-analytics-insight__value {
  fill: none;
  stroke-width: 3;
}

.page-services .sv-analytics-insight__track {
  stroke: rgba(0, 91, 255, 0.10);
}

.page-services .sv-analytics-insight__value {
  stroke: var(--svc-royal);
  stroke-linecap: round;
  stroke-dasharray: 97.4;
  stroke-dashoffset: 31.2;
}

.page-services .sv-analytics-insight__ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--svc-ink);
}

.page-services .sv-analytics-insight__copy {
  display: grid;
  gap: 3px;
}

.page-services .sv-analytics-insight__copy span {
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #94A3B8;
}

.page-services .sv-analytics-insight__copy strong {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--svc-ink);
}

.page-services .sv-analytics-signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 90px;
  padding: 8px 10px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  animation: svc-analytics-signal-float 6.4s ease-in-out infinite;
}

.page-services .sv-analytics-signal__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 22px;
  height: 18px;
}

.page-services .sv-analytics-signal__bars span {
  flex: 1 1 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 91, 255, 0.28) 0%, var(--svc-royal) 100%);
  box-shadow: 0 4px 12px rgba(0, 91, 255, 0.14);
}

.page-services .sv-analytics-signal__bars span:nth-child(1) { height: 7px; opacity: 0.55; }
.page-services .sv-analytics-signal__bars span:nth-child(2) { height: 12px; opacity: 0.72; }
.page-services .sv-analytics-signal__bars span:nth-child(3) { height: 16px; }

.page-services .sv-analytics-signal__copy {
  display: grid;
  gap: 2px;
}

.page-services .sv-analytics-signal__copy span {
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #94A3B8;
}

.page-services .sv-analytics-signal__copy strong {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  color: var(--svc-ink);
}

@keyframes svc-analytics-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes svc-analytics-signal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Webdev — "Заказать" CTA в карточке-мокапе */
.page-services .sv-webdev-card .from-orange-400.to-orange-500 {
  background: linear-gradient(135deg, var(--svc-royal) 0%, var(--svc-royal-deep) 100%) !important;
}

/* ---- 5. Service-card titles & описания — наша типографика ---- */
.page-services .service-card h3 {
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  color: var(--svc-ink) !important;
}
.page-services .service-card p.text-gray-600,
.page-services .service-card p.text-gray-500 {
  color: var(--svc-ink-soft) !important;
  line-height: 1.55 !important;
}

/* ---- 6. Автоматизация: пути и точки в royal-палитре ---- */
.page-services .sv-path-blue,    .page-services .sv-dot-blue    { color: var(--svc-royal) !important; }
.page-services .sv-path-emerald, .page-services .sv-dot-emerald { color: var(--svc-royal-deep) !important; }
.page-services .sv-path-indigo,  .page-services .sv-dot-indigo  { color: var(--svc-royal) !important; }
.page-services .sv-path-purple,  .page-services .sv-dot-purple  { color: var(--svc-royal-deep) !important; }

.page-services .sv-automation-node {
  background: #FFFFFF !important;
  border-color: var(--svc-royal-soft-2) !important;
}
.page-services .sv-automation-node i { color: var(--svc-royal) !important; }
.page-services .sv-automation-hub::after {
  border-color: var(--svc-royal-soft-2) !important;
}

/* ---- 7. Bloggers card SVG градиенты ---- */
.page-services #grad1 stop, .page-services #grad2 stop,
.page-services #grad3 stop, .page-services #grad4 stop,
.page-services #gradientLine stop {
  stop-color: var(--svc-royal) !important;
}

/* ---- 8. Buyers card route line ---- */
.page-services .service-card stop[style*="6366F1"],
.page-services .service-card stop[style*="818CF8"],
.page-services .service-card stop[style*="4F46E5"] {
  stop-color: var(--svc-royal) !important;
}


/* ============================================================
   GLOBAL — единая типографика заголовков/параграфов
   ============================================================ */
.page-services h1, .page-services h2, .page-services h3 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
}
.page-services p { font-family: var(--font-sans) !important; }


/* ============================================================
   SECTION RHYTHM — единые отступы между секциями
   ============================================================ */
.page-services .sv-process       { padding-bottom: 0 !important; }
.page-services #services         { padding-top: 0 !important; padding-bottom: 80px !important; }
.page-services .svc-shop-banner  { padding: 16px 24px 64px !important; }
.page-services .sv-photo-collage { padding: 64px 24px !important; }
.page-services .svc-final        { padding: 96px 24px 120px !important; }


/* ============================================================
   GLOBAL — мягкие переходы для всех hover-элементов
   ============================================================ */
.page-services *,
.page-services *::before,
.page-services *::after {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Skip-noise — отключим SVG-noise overlay из services-page.css
   На белом фоне он создаёт лишний шум
   ============================================================ */
body.page-services::before { opacity: 0 !important; }


/* ============================================================
   RESPONSIVE polish
   ============================================================ */
@media (max-width: 768px) {
  .page-services .svc-shop-banner__title,
  .page-services .svc-final__title,
  .page-services .svc-photo-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
  }
  .page-services .service-card { border-radius: 20px !important; }
}



/* ============================================================
   AD CARD — биддер-картинка по центру блока, поверх плашек
   ============================================================ */
.page-services .service-card .sv-ad-visual {
  z-index: 30 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  align-items: center !important;
}
.page-services .service-card .sv-ad-visual img {
  max-width: 100%;
  background: #FFFFFF;
}
/* Высота карточки чтобы и текст, и центрированное фото влезли */
@media (min-width: 1024px) {
  .page-services .service-card.col-span-2 { min-height: 460px !important; }
  .page-services #advertising .service-card__content {
    top: 50% !important;
    bottom: auto !important;
    width: 39% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
  }
  .page-services #advertising .sv-ad-visual {
    right: 4.5% !important;
    width: 54% !important;
  }
}
@media (max-width: 768px) {
  .page-services .service-card .sv-ad-visual {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 16px;
  }
  .page-services .service-card .sv-ad-visual + .service-card__content {
    position: relative !important;
    width: 100% !important;
  }
}


/* ============================================================
   SUPPORT CARD — фикс странных теней и фона
   ============================================================ */
.page-services .sv-support-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 91, 255, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%) !important;
}
.page-services .sv-support-photo {
  background: var(--svc-line-soft);
}
.page-services .sv-support-photo img {
  filter: none !important;
  box-shadow: none !important;
}
.page-services .sv-support-card .service-card__content {
  background: transparent !important;
}
.page-services #reputation .service-card__visual picture {
  display: block;
  transform: translateX(18px);
}
@media (min-width: 1025px) {
  .page-services .sv-support-photo {
    top: 42.5% !important;
    right: 4% !important;
    bottom: auto !important;
    width: 42% !important;
    height: 78% !important;
    transform: translateY(-50%) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: #EFF4FA !important;
  }
  .page-services .sv-support-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center -3% !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .page-services .sv-support-card .service-card__content {
    width: 42% !important;
  }
  .page-services .sv-support-card .absolute.inset-y-0.right-0 {
    width: 50% !important;
  }
}
@media (max-width: 768px) {
  .page-services #reputation .service-card__visual picture {
    transform: translateX(10px);
  }
  .page-services .sv-support-photo {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 280px !important;
    margin-top: 16px;
  }
  .page-services .sv-support-card .service-card__content {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
  }
}


/* ============================================================
   NAV — активное состояние «услуги» (мы на этой странице)
   ============================================================ */
.page-services .nav__item--trigger.is-current,
.page-services .nav__item--trigger {
  color: var(--svc-royal) !important;
}
/* Blue underline removed — looked ragged next to the gray hover pill. */

/* ============================================================
   SCROLL — якоря не должны упираться в sticky-header (72px)
   ============================================================ */
.page-services [id="advertising"],
.page-services [id="support"],
.page-services [id="logistics"],
.page-services [id="automation"],
.page-services [id="webdev"],
.page-services [id="studio"],
.page-services [id="services"],
.page-services [id="how-we-start"],
.page-services [id="svc-final"] {
  scroll-margin-top: 88px;
}


/* ============================================================
   AUTOMATION CARD — «Live Glass Stack»
   Стопка из 3 стеклянных карточек-интеграций (Bitrix 24 · Ozon · WB),
   наклоненных и смещённых по глубине. Каждые ~5с верхняя уезжает вниз
   с растворением, из глубины поднимается новая. Внутри — мини-UI
   реальных продуктов (не абстрактная схема).
   ============================================================ */
.page-services .sv-auto-stack {
  position: relative;
  width: 340px;
  height: 240px;
  margin: 4px auto 0;
  font-family: var(--font-sans);
  perspective: 1200px;
}

/* Мягкий radial-blob за стопкой — добавляет «свет» и глубину */
.page-services .sv-auto-stack__backdrop {
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(55% 60% at 50% 55%, rgba(0, 91, 255, 0.10) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

/* ── Стеклянная карточка ── */
.page-services .sv-auto-stack__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  margin: 0;
  padding: 14px 16px 12px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 100%);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(0, 91, 255, 0.10),
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 22px 44px -20px rgba(0, 91, 255, 0.30),
    0 10px 22px -10px rgba(10, 20, 60, 0.10);
  transform-origin: 50% 50%;
  animation: sv-auto-stack-cycle 15s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  will-change: transform, opacity, filter;
}
/* Каждая карточка на 1/3 цикла впереди. Стабильные steady-зоны для BACK
   и MIDDLE начинаются ровно после 33.33% и 66.67%, поэтому при delay −5s
   и −10s (обе кратны 1/3 цикла) карты попадают в устойчивые фазы, а не на
   transition-точки. */
.page-services .sv-auto-stack__card--a { animation-delay:   0s; z-index: 3; }
.page-services .sv-auto-stack__card--b { animation-delay:  -5s; z-index: 1; }
.page-services .sv-auto-stack__card--c { animation-delay: -10s; z-index: 2; }

@keyframes sv-auto-stack-cycle {
  /* — TOP steady (0–30%) — */
  0%, 30% {
    z-index: 3;
    transform: translate(-50%, -50%) translateY(-8px) rotate(-1.2deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  /* — Exit: card falls, fades, drifts toward back — */
  32% {
    z-index: 1;
    transform: translate(-50%, -50%) translateY(20px) rotate(0deg) scale(0.93);
    opacity: 0.22;
    filter: blur(2px);
  }
  /* — Moment of invisibility exactly at 33% — */
  33% {
    z-index: 1;
    transform: translate(-50%, -50%) translateY(34px) rotate(3deg) scale(0.86);
    opacity: 0;
    filter: blur(3px);
  }
  /* — BACK steady begins at 33.1% (so delay −5s lands on stable BACK) — */
  33.1%, 63% {
    z-index: 1;
    transform: translate(-50%, -50%) translateY(30px) rotate(3deg) scale(0.86);
    opacity: 0.55;
    filter: blur(1.5px);
  }
  /* — BACK → MIDDLE blended transition — */
  65% {
    z-index: 2;
    transform: translate(-50%, -50%) translateY(22px) rotate(2.4deg) scale(0.89);
    opacity: 0.5;
    filter: blur(1px);
  }
  66% {
    z-index: 2;
    transform: translate(-50%, -50%) translateY(14px) rotate(1.8deg) scale(0.93);
    opacity: 0;
    filter: blur(1px);
  }
  /* — MIDDLE steady begins at 66.1% (so delay −10s lands on stable MIDDLE) — */
  66.1%, 98% {
    z-index: 2;
    transform: translate(-50%, -50%) translateY(14px) rotate(1.8deg) scale(0.93);
    opacity: 0.82;
    filter: blur(0.5px);
  }
  /* — Smooth rise back to TOP — */
  100% {
    z-index: 3;
    transform: translate(-50%, -50%) translateY(-8px) rotate(-1.2deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

/* ── Header карточки ── */
.page-services .sv-auto-stack__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(10, 20, 60, 0.06);
  margin-bottom: 10px;
}
.page-services .sv-auto-stack__brand {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 6px 14px -6px rgba(0, 91, 255, 0.45);
}
.page-services .sv-auto-stack__brand[data-brand="b24"] {
  background: linear-gradient(135deg, #0EA5E9 0%, #005BFF 100%);
}
.page-services .sv-auto-stack__brand[data-brand="ozon"] {
  background: linear-gradient(135deg, #005BFF 0%, #0046CC 100%);
}
.page-services .sv-auto-stack__brand[data-brand="wb"] {
  background: linear-gradient(135deg, #6B21A8 0%, #9333EA 100%);
}
.page-services .sv-auto-stack__name {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.page-services .sv-auto-stack__name strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--svc-ink);
  letter-spacing: -0.01em;
}
.page-services .sv-auto-stack__name span {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 10px;
  color: var(--svc-muted);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.page-services .sv-auto-stack__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.10);
  color: #0E7E5A;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.page-services .sv-auto-stack__live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  animation: sv-auto-stack-dot 2s ease-in-out infinite;
}
@keyframes sv-auto-stack-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.22); }
  50%      { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.06); }
}

/* ── Rows данных ── */
.page-services .sv-auto-stack__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-services .sv-auto-stack__rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 8px;
}
.page-services .sv-auto-stack__k {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 10.5px;
  color: var(--svc-muted);
  letter-spacing: 0.02em;
}
.page-services .sv-auto-stack__v {
  font-weight: 500;
  font-size: 14px;
  color: var(--svc-ink);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.page-services .sv-auto-stack__delta {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 10px;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 100px;
}
.page-services .sv-auto-stack__delta--up {
  background: rgba(16, 185, 129, 0.12);
  color: #0E7E5A;
}
.page-services .sv-auto-stack__delta--warn {
  background: rgba(234, 179, 8, 0.14);
  color: #9A6A00;
}

/* ── Sparkline / bars / progress — разный контент в каждой карточке — */
.page-services .sv-auto-stack__spark {
  width: 100%;
  height: 22px;
  margin-top: 10px;
}
.page-services .sv-auto-stack__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin-top: 10px;
}
.page-services .sv-auto-stack__bars span {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--svc-royal) 0%, rgba(0, 91, 255, 0.35) 100%);
  border-radius: 3px 3px 1px 1px;
  opacity: 0.85;
}
.page-services .sv-auto-stack__bars span:last-child {
  background: linear-gradient(180deg, #10B981 0%, rgba(16, 185, 129, 0.4) 100%);
}
.page-services .sv-auto-stack__progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.page-services .sv-auto-stack__progress-k {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 10px;
  color: var(--svc-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.page-services .sv-auto-stack__progress-track {
  position: relative;
  height: 6px;
  border-radius: 100px;
  background: rgba(0, 91, 255, 0.10);
  overflow: hidden;
}
.page-services .sv-auto-stack__progress-fill {
  position: absolute;
  inset: 0 32% 0 0;
  background: linear-gradient(90deg, var(--svc-royal), var(--svc-royal-deep));
  border-radius: 100px;
}
.page-services .sv-auto-stack__progress-v {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 11px;
  font-weight: 500;
  color: var(--svc-ink);
  font-variant-numeric: tabular-nums;
}

/* Hover — приостанавливаем цикл, чтобы можно было разглядеть */
.page-services .sv-automation-card:hover .sv-auto-stack__card {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 540px) {
  .page-services .sv-auto-stack { width: 300px; height: 220px; }
  .page-services .sv-auto-stack__card { width: 260px; padding: 12px 14px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-services .sv-auto-stack__card,
  .page-services .sv-auto-stack__live-dot {
    animation: none !important;
  }
  /* Без цикла все 3 карточки остаются на своих статичных позициях
     (по умолчанию 0% keyframe) — нормальная композиция стопки. */
}
/* ============================================================
   STUDIO SECTION — связать заголовок с коллажем-визуалом выше
   ============================================================ */
.page-services .svc-photo-section { padding: 64px 24px 80px !important; }
.page-services .svc-photo-collage-frame { margin-bottom: 28px; }
.page-services .svc-photo-title-wrap {
  margin-top: 28px !important;
  position: relative;
  gap: 14px !important;
}
.page-services .svc-photo-title-wrap::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 50%;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--svc-royal-soft-2));
  transform: translateX(-50%);
}
.page-services .svc-photo-title-wrap::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-royal);
  box-shadow: 0 0 0 4px var(--svc-royal-soft);
  transform: translateX(-50%);
}
.page-services .svc-photo-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem) !important;
  letter-spacing: -0.028em !important;
  line-height: 1.06 !important;
}
.page-services .svc-photo-title-line--accent em {
  background: linear-gradient(100deg, var(--svc-royal) 0%, var(--svc-royal-deep) 60%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.page-services .svc-photo-lead {
  font-size: 14.5px !important;
  line-height: 1.62 !important;
  max-width: 560px !important;
  margin-top: 4px !important;
}
.page-services .svc-photo-rail {
  gap: 12px !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  opacity: 0.72;
}
.page-services .svc-photo-rail-wrap { margin-bottom: 26px !important; }


/* ============================================================
   FINAL CTA — сделать живее, соединить с предыдущей секцией
   ============================================================ */
.page-services .svc-final {
  padding: 108px 24px 120px !important;
  background:
    radial-gradient(60% 58% at 78% 18%, rgba(0, 91, 255, 0.10) 0%, transparent 60%),
    radial-gradient(58% 50% at 18% 82%, rgba(0, 91, 255, 0.06) 0%, transparent 65%),
    radial-gradient(90% 70% at 50% 0%, var(--svc-royal-soft) 0%, transparent 70%),
    #FFFFFF !important;
  border-top: 1px solid var(--svc-line);
  overflow: hidden;
  position: relative;
}
.page-services .svc-final::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(680px, 60vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--svc-royal-soft-2), var(--svc-royal), var(--svc-royal-soft-2), transparent);
  opacity: 0.7;
}
.page-services .svc-final::after {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 91, 255, 0.10) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: svc-final-drift 14s ease-in-out infinite alternate;
}
@keyframes svc-final-drift {
  0%   { transform: translate(0, 0)   scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.08); }
}
.page-services .svc-final__inner {
  position: relative;
  z-index: 1;
}
.page-services .svc-final__title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 0.98 !important;
}
.page-services .svc-final__title em {
  background: linear-gradient(100deg, var(--svc-royal) 0%, var(--svc-royal-deep) 70%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.page-services .svc-final__lead {
  font-size: 16.5px !important;
  max-width: 620px !important;
  line-height: 1.58 !important;
}
.page-services .svc-final__btn {
  padding: 17px 28px !important;
  font-weight: 500 !important;
}
.page-services .svc-final__btn--primary {
  background: linear-gradient(135deg, var(--svc-royal) 0%, var(--svc-royal-deep) 100%) !important;
  border-color: transparent !important;
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.06),
    0 14px 32px -12px rgba(0, 91, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}
.page-services .svc-final__btn--primary:hover {
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.06),
    0 20px 42px -14px rgba(0, 91, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}
.page-services .svc-final__btn svg {
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.page-services .svc-final__btn:hover svg {
  transform: translate(2px, -2px);
}
.page-services .svc-final__contact {
  margin-top: 36px !important;
  padding-top: 32px !important;
}
.page-services .svc-final__contact-k {
  color: var(--svc-royal) !important;
  opacity: 0.75;
}


/* ============================================================
   AUTO-PEEK — touch mirrors for service-specific hovers
   script.js добавляет .is-peek на элементы при скролле в viewport,
   CSS дублирует :hover-состояния для is-peek, чтобы анимация
   воспроизводилась автоматически без мыши.
   ============================================================ */

/* Шаги процесса */
.sv-step-card.is-peek {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 221, 0.12);
  border-color: rgba(37, 99, 221, 0.15);
}
.sv-step-card.is-peek::before { opacity: 1; }
.sv-step-card.is-peek .sv-step-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 99, 221, 0.2);
}

/* Bento / featured карточки внизу страницы */
.ev-bento-card.is-peek,
.faq-card.is-peek,
.blog-card.is-peek,
.evox-card.is-peek,
.cases-niche-card.is-peek,
.howitworks2-card.is-peek {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(10, 10, 10, 0.16);
}


/* ============================================================
   PAGE MOTION SYSTEM — единый reveal-сценарий всей страницы услуг
   Hero → Process → Services → Studio → Final CTA
   ============================================================ */

.page-services {
  --svc-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --svc-motion-ease-soft: cubic-bezier(0.16, 0.84, 0.32, 1);
  --svc-motion-duration: 880ms;
  --svc-motion-distance: 44px;
  --svc-motion-blur: 14px;
}

@keyframes svc-card-sheen {
  0% {
    opacity: 0;
    transform: translate3d(-135%, 0, 0);
  }
  18% { opacity: 0.28; }
  100% {
    opacity: 0;
    transform: translate3d(135%, 0, 0);
  }
}

@keyframes svc-soft-breathe {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50%      { transform: scale(1.04) translate3d(0, -8px, 0); }
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-line,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-accent,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-subtitle,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-chips,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-orbit-system,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-visual .sv-quote-card,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process-header,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process-grid .sv-chip,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-header--bridge,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-rail-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-photo-collage-frame,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-studio-center-card,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-title-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__head,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__actions,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__contact li {
  will-change: transform, opacity, filter;
}

/* Hero opening shot */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-line,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-accent,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-subtitle,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-chips,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-orbit-system,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-visual .sv-quote-card {
  animation: none !important;
  opacity: 0;
  filter: blur(var(--svc-motion-blur));
  transition:
    transform var(--svc-motion-duration) var(--svc-motion-ease),
    opacity 720ms ease,
    filter 720ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-line,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-accent {
  transform: translate3d(0, 28px, 0);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-line:nth-child(1) { transition-delay: 40ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-accent { transition-delay: 130ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-title-line:nth-child(3) { transition-delay: 220ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-subtitle {
  transform: translate3d(0, 24px, 0);
  transition-delay: 260ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-chips {
  transform: translate3d(0, 22px, 0);
  transition-delay: 340ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-cta {
  transform: translate3d(0, 24px, 0);
  transition-delay: 420ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-orbit-system {
  transform: scale(0.92);
  transition-delay: 150ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap {
  transform: translate3d(22px, 32px, 0) scale(0.95);
  clip-path: inset(9% 7% 12% 7% round 32px);
  transition-delay: 200ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-visual .sv-quote-card {
  transform: translate3d(-18px, 28px, 0) rotate(4deg) scale(0.94);
  transition-delay: 540ms;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-title-line,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-title-accent,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-subtitle,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-chips,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-orbit-system,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-photo-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-visual .sv-quote-card {
  opacity: 1;
  filter: blur(0);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-title-line,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-title-accent,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-subtitle,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-chips,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-orbit-system,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-visual .sv-quote-card {
  transform: none;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services.svc-hero-entered .sv-hero-photo-wrap {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 round 20px);
  transform: translate3d(0, 0, 0) scale(1);
}

/* Section reveals */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process-header,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-header--bridge,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-rail-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-title-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__head,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__actions,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__contact li {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 34px, 0);
  transition:
    transform 820ms var(--svc-motion-ease),
    opacity 620ms ease,
    filter 620ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process-grid .sv-chip {
  animation: none !important;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 22px, 0) scale(0.96);
  transition:
    transform 780ms var(--svc-motion-ease-soft),
    opacity 560ms ease,
    filter 560ms ease;
  transition-delay: calc(var(--svc-chip-order, 0) * 42ms + 120ms);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process.is-visible .sv-process-header,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-header--bridge.is-visible,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-rail-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-title-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-cta,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__head,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__actions,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__contact li,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process.is-visible .sv-process-grid .sv-chip {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process.is-visible .sv-process-header { transition-delay: 40ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-header--bridge.is-visible { transition-delay: 50ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-rail-wrap { transition-delay: 30ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-title-wrap { transition-delay: 220ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-cta { transition-delay: 320ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__head { transition-delay: 50ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__actions { transition-delay: 170ms; }

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__contact li:nth-child(1) { transition-delay: 240ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__contact li:nth-child(2) { transition-delay: 310ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__contact li:nth-child(3) { transition-delay: 380ms; }
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible .svc-final__contact li:nth-child(4) { transition-delay: 450ms; }

/* Services bridge line grows with the section title */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-bridge-line {
  transform: translateX(-50%) scaleY(0.14);
  transform-origin: top center;
  transition: transform 820ms var(--svc-motion-ease) 70ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-bridge-line::after {
  transform: translateX(-50%) scale(0.3);
  transition: transform 720ms var(--svc-motion-ease) 180ms,
              box-shadow 720ms var(--svc-motion-ease) 180ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-header--bridge.is-visible .services-bridge-line {
  transform: translateX(-50%) scaleY(1);
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .services-header--bridge.is-visible .services-bridge-line::after {
  transform: translateX(-50%) scale(1);
}

/* Card wave across the services grid */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card {
  position: relative;
  opacity: 0;
  filter: blur(16px);
  transform:
    translate3d(var(--svc-card-shift, 0px), calc(var(--svc-motion-distance) + 6px), 0)
    scale(0.972)
    rotateX(8deg);
  transform-origin: 50% 100%;
  transition:
    transform 900ms var(--svc-motion-ease),
    opacity 680ms ease,
    filter 760ms ease,
    box-shadow 500ms var(--svc-motion-ease),
    border-color 400ms ease;
  transition-delay: calc(var(--svc-card-order, 0) * 54ms);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg,
      transparent 12%,
      rgba(255, 255, 255, 0.92) 24%,
      rgba(255, 255, 255, 0.24) 30%,
      transparent 42%);
  opacity: 0;
  transform: translate3d(-135%, 0, 0);
  pointer-events: none;
  mix-blend-mode: screen;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotateX(0);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card.is-visible::after {
  animation: svc-card-sheen 1.18s var(--svc-motion-ease) calc(var(--svc-card-order, 0) * 54ms + 140ms) both;
}

/* Studio collage — depth reveal with counter-motion */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-photo-collage-frame {
  opacity: 0;
  filter: blur(18px);
  transform: translate3d(0, 48px, 0) scale(0.985);
  transition:
    transform 920ms var(--svc-motion-ease),
    opacity 720ms ease,
    filter 720ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-photo-collage-frame::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 36px;
  background:
    radial-gradient(45% 42% at 50% 46%, rgba(0, 91, 255, 0.08) 0%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  filter: blur(24px);
  transition: opacity 820ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item {
  opacity: 0;
  filter: blur(12px);
  transition:
    transform 860ms var(--svc-motion-ease),
    opacity 620ms ease,
    filter 620ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item--left-bottom {
  transform: translate3d(-40px, 28px, 0) rotate(-4deg) scale(0.97);
  transition-delay: 120ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item--left-top {
  transform: translate3d(-28px, 14px, 0) rotate(-2deg) scale(0.97);
  transition-delay: 210ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item--right-top {
  transform: translate3d(34px, 14px, 0) rotate(3deg) scale(0.97);
  transition-delay: 180ms;
}
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item--right-bottom {
  transform: translate3d(42px, 32px, 0) rotate(4deg) scale(0.97);
  transition-delay: 270ms;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-studio-center-card {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 28px, 0) scale(0.88) rotate(-4deg);
  transition:
    transform 900ms var(--svc-motion-ease),
    opacity 700ms ease,
    filter 700ms ease;
  transition-delay: 320ms;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .sv-photo-collage-frame,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .ev-photo-item,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .ev-studio-center-card {
  opacity: 1;
  filter: blur(0);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .sv-photo-collage-frame,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .ev-photo-item,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .ev-studio-center-card {
  transform: none;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-photo-section.is-visible .svc-photo-collage-frame::after {
  opacity: 1;
  animation: svc-soft-breathe 9s ease-in-out 900ms infinite;
}

/* Final CTA should feel like a calm culmination, not a hard stop */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final::before {
  opacity: 0.18;
  transform: translateX(-50%) scaleX(0.42);
  transform-origin: center;
  transition: transform 900ms var(--svc-motion-ease), opacity 700ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final::after {
  opacity: 0;
  filter: blur(30px);
  transition: opacity 900ms ease, filter 900ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible::before {
  opacity: 0.78;
  transform: translateX(-50%) scaleX(1);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final.is-visible::after {
  opacity: 1;
  filter: blur(20px);
}

/* Interaction polish — calmer hover states and cleaner compositing */
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process .sv-chip,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-btn-primary,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-btn-demo,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__btn,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-photo-collage-frame,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-studio-center-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card:hover,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card.is-peek {
  transform: translate3d(0, -6px, 0) scale(1.004) !important;
  transition:
    transform 620ms var(--svc-motion-ease),
    box-shadow 620ms var(--svc-motion-ease),
    border-color 420ms ease !important;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process .sv-chip,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-btn-primary,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-btn-demo,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__btn,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap {
  transition:
    transform 460ms var(--svc-motion-ease-soft),
    box-shadow 460ms var(--svc-motion-ease-soft),
    border-color 280ms ease,
    background 280ms ease,
    color 280ms ease;
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process .sv-chip:hover,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-process .sv-chip.is-peek {
  transform: translate3d(0, -2px, 0);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-btn-primary:hover,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-btn-demo:hover,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .svc-final__btn:hover {
  transform: translate3d(0, -3px, 0);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap:hover {
  transform: translate3d(0, -4px, 0) scale(1.006);
}

html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-photo-collage-frame,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-photo-item,
html.svc-motion-js:not(.svc-motion-reduce) body.page-services .ev-studio-center-card {
  transition:
    transform 760ms var(--svc-motion-ease),
    box-shadow 760ms var(--svc-motion-ease),
    filter 620ms ease,
    opacity 620ms ease;
}

@media (max-width: 900px) {
  html.svc-motion-js:not(.svc-motion-reduce) body.page-services .service-card {
    transform:
      translate3d(0, 38px, 0)
      scale(0.982)
      rotateX(6deg);
  }

  html.svc-motion-js:not(.svc-motion-reduce) body.page-services .sv-hero-photo-wrap {
    transform: translate3d(0, 24px, 0) scale(0.965);
    clip-path: inset(7% 4% 10% 4% round 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-services .sv-hero-title-line,
  .page-services .sv-hero-title-accent,
  .page-services .sv-hero-subtitle,
  .page-services .sv-hero-chips,
  .page-services .sv-hero-cta,
  .page-services .sv-orbit-system,
  .page-services .sv-hero-photo-wrap,
  .page-services .sv-hero-visual .sv-quote-card,
  .page-services .sv-process-header,
  .page-services .sv-process-grid .sv-chip,
  .page-services .services-header--bridge,
  .page-services .service-card,
  .page-services .svc-photo-rail-wrap,
  .page-services .sv-photo-collage-frame,
  .page-services .ev-photo-item,
  .page-services .ev-studio-center-card,
  .page-services .svc-photo-title-wrap,
  .page-services .svc-photo-cta,
  .page-services .svc-final__head,
  .page-services .svc-final__actions,
  .page-services .svc-final__contact li {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    clip-path: none !important;
  }

  .page-services .service-card::after,
  .page-services .svc-final::before,
  .page-services .svc-final::after,
  .page-services .services-bridge-line,
  .page-services .services-bridge-line::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Make the EV Studio camera card clickable to Yandex Disk portfolio */
.ev-studio-link{display:block;text-decoration:none;cursor:pointer;color:inherit}
.ev-studio-link:hover .ev-studio-center-card{transform:translateY(-4px) scale(1.02);transition:transform .25s ease}
