/* ═══════════════════════════════════════════════════
   service.css — стили для страниц услуг
   Подключается поверх main.css
   ═══════════════════════════════════════════════════ */

/* ─── Сброс grid из .page — только для страниц услуг ─── */
.svc-page {
  display: block !important;
  padding-top: 88px;
}

/* ─── Хлебные крошки ─── */
.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 48px;
  font-size: 13px;
  color: rgba(247,245,242,0.45);
  background: var(--black-soft);
  border-bottom: 1px solid rgba(247,245,242,0.08);
}
.svc-breadcrumb a {
  color: rgba(247,245,242,0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}
.svc-breadcrumb a:hover { color: var(--white); }
.svc-breadcrumb-sep { opacity: 0.3; }
.svc-breadcrumb-cur { color: rgba(247,245,242,0.7); }

/* ─── Hero ─── */
.svc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 540px;
  background-color: var(--black-soft);
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid rgba(247,245,242,0.1);
  position: relative;
}

/* ── Hero canvas (particles) ── */
#svc-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.svc-hero-left {
  padding: 64px 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid rgba(247,245,242,0.1);
  position: relative;
  z-index: 1;
}

.svc-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(247,245,242,0.5);
  border: 1px solid rgba(247,245,242,0.15);
  padding: 5px 10px;
  width: fit-content;
  margin-bottom: 24px;
}
.svc-hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.svc-hero-h1 {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0;
}

.svc-hero-h1-accent {
  font-style: normal;
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(196,30,0,0.35);
  text-underline-offset: 6px;
}

.svc-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247,245,242,0.65);
  margin: 0 0 28px;
  max-width: 480px;
}

.svc-hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(247,245,242,0.12);
  margin-bottom: 32px;
  width: fit-content;
}
.svc-hero-stat {
  padding: 12px 20px;
  border-right: 1px solid rgba(247,245,242,0.12);
}
.svc-hero-stat:last-child { border-right: none; }
.svc-hero-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: block;
  letter-spacing: -0.3px;
}
.svc-hero-stat-label {
  font-size: 11px;
  color: rgba(247,245,242,0.4);
  display: block;
  margin-top: 2px;
}

.svc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.svc-hero-actions .btn-prime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.svc-hero-actions .btn-prime:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.svc-hero-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(247,245,242,0.8);
  background: transparent;
  border: 1px solid rgba(247,245,242,0.2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.svc-hero-actions .btn-outline:hover {
  border-color: rgba(247,245,242,0.5);
  color: var(--white);
}

.svc-hero-right {
  padding: 48px 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.svc-hero-right--text {
  background: transparent;
}

/* ─── Hero слайдер ─── */
.svc-hero-slider {
  position: relative;
  width: 100%;
  max-width: 440px;
}
.svc-slide-back {
  position: absolute;
  left: 8px; right: -8px;
  top: 8px; bottom: -8px;
  background: rgba(247,245,242,0.06);
  border: 1px solid rgba(247,245,242,0.1);
  border-radius: 2px;
  z-index: 0;
}
.svc-hero-slide-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  border: 1px solid rgba(247,245,242,0.2);
  border-radius: 2px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.45);
  z-index: 1;
}
.svc-hero-slide-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: block;
}
.svc-hero-slide-wrap img.active {
  opacity: 1;
}

.svc-hero-slider-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.svc-hero-slider-dots {
  display: flex;
  gap: 6px;
}
.svc-hero-slider-dots button {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(247,245,242,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.svc-hero-slider-dots button.active {
  background: var(--red);
  transform: scale(1.4);
}
.svc-hero-slide-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(247,245,242,0.35);
}

/* ─── Industry strip ─── */
.svc-industry-strip {
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 11px 48px;
  background: var(--black);
  border-bottom: 1px solid rgba(247,245,242,0.06);
  overflow: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.svc-ind-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
  padding-right: 14px;
  border-right: 1px solid rgba(247,245,242,0.12);
  margin-right: 6px;
}
.svc-ind-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,245,242,0.4);
  flex-shrink: 0;
}
.svc-ind-sep {
  color: rgba(247,245,242,0.15);
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
}

/* ─── Общие секции (светлый фон) ─── */
.svc-sec {
  padding: 80px 48px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ─── Декоративные числа в секциях ─── */
.svc-sec-deco {
  position: absolute;
  top: -10px;
  right: 24px;
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(100px, 15vw, 190px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(10,10,10,0.038);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.svc-sec--alt .svc-sec-deco { color: rgba(10,10,10,0.055); }
.svc-sec--alt {
  background: var(--cream);
}
.svc-sec--dark {
  background: var(--black-soft);
}

.svc-sec-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 6px 10px;
  line-height: 1;
  margin-bottom: 28px;
}
.svc-sec--dark .svc-sec-label {
  color: rgba(247,245,242,0.6);
  border-color: rgba(247,245,242,0.2);
}
.svc-sec-h2 {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--black);
  margin: 0 0 20px;
}
.svc-sec--dark .svc-sec-h2 { color: var(--white); }
.svc-sec-sub {
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 600px;
  margin: 0 0 48px;
}
.svc-sec--dark .svc-sec-sub { color: rgba(247,245,242,0.55); }

/* ─── Flip-карточки «Когда заказывают» ─── */
.svc-flip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 260px 260px;
  gap: 10px;
  padding: 10px;
  background: rgba(10,10,10,0.12);
  border: 1px solid rgba(10,10,10,0.12);
}
.svc-flip-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.svc-flip-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.svc-flip-card:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }
.svc-flip-card:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.svc-flip-card:nth-child(5) { grid-column: 4 / 7; grid-row: 2; }

.svc-flip-card {
  perspective: 900px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 0 0 rgba(10,10,10,0.14);
  transition: box-shadow 200ms cubic-bezier(0.2,0,0,1),
              transform   200ms cubic-bezier(0.2,0,0,1);
}
.svc-flip-card:hover {
  box-shadow: 7px 7px 0 0 rgba(10,10,10,0.2);
  transform: translate(-1px, -1px);
}
.svc-flip-card.is-flipped {
  box-shadow: 2px 2px 0 0 rgba(10,10,10,0.1);
  transform: translate(2px, 2px);
}

.svc-flip-inner {
  position: relative;
  flex: 1;
  min-height: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-flip-card.is-flipped  .svc-flip-inner { transform: rotateY(180deg); }
.svc-flip-card.is-closing .svc-flip-inner {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-flip-face {
  position: absolute;
  inset: 0;
  padding: 36px 40px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: hidden;
}
.svc-flip-front { background: var(--white); }
.svc-flip-back  { background: var(--black); transform: rotateY(180deg); }

.svc-flip-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13,12,11,0.3);
  flex-shrink: 0;
}
.svc-flip-back .svc-flip-tag { color: rgba(247,245,242,0.25); }

.svc-flip-title {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}

.svc-flip-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(247,245,242,0.88);
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.svc-flip-hint {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,242,0.18);
  flex-shrink: 0;
}

.svc-flip-illo {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 155px;
  height: 155px;
  opacity: 0.07;
  pointer-events: none;
  color: var(--black);
  overflow: hidden;
}
.svc-flip-illo svg { width: 100%; height: 100%; }

/* ─── Типичные ошибки (3 карточки) ─── */
.svc-errors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--black);
}
.svc-error-item {
  padding: 36px 28px 36px;
  border-right: 1px solid var(--black);
  border-left: 4px solid var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-error-item:last-child { border-right: none; }
.svc-error-num {
  font-family: 'Epilogue', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  opacity: 0.7;
}
.svc-error-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}
.svc-error-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 20px;
  flex: 1;
}
.svc-error-fix {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
  padding: 10px 14px;
  background: rgba(196,30,0,0.06);
  border-left: 2px solid var(--red);
}

/* ─── Процесс (3 шага) ─── */
.svc-proc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--black);
}
.svc-proc-step {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--black);
  position: relative;
}
.svc-proc-step:last-child { border-right: none; }

/* ─── Коннектор хода проекта: линия + стрелка ─── */
.svc-proc-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 57px;
  width: 18px;
  height: 2px;
  background: rgba(10,10,10,0.25);
  z-index: 4;
}
.svc-proc-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(100% + 18px);
  top: 50px;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid rgba(10,10,10,0.3);
  z-index: 4;
}
.svc-proc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.svc-proc-icon {
  width: 48px;
  height: 48px;
  color: var(--black);
  opacity: 0.45;
  flex-shrink: 0;
  margin-top: 8px;
  transition: opacity 220ms ease;
}
.svc-proc-step:hover .svc-proc-icon { opacity: 0.75; }

.svc-proc-num {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  color: rgba(10,10,10,0.07);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.04em;
}
.svc-proc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-proc-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray);
}

/* ─── Кейсы (обёртка) ─── */
.svc-cases-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

/* ─── Тарифы секция (переопределяем фон) ─── */
.svc-sec .pricing-head { padding: 0 0 40px; }
.svc-sec .pricing-body { padding: 0; }

/* ─── CTA (финальный) ─── */
.svc-final-cta {
  background: var(--black-soft);
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.svc-final-left {}
.svc-final-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.svc-final-h2 {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.svc-final-desc {
  font-size: 15px;
  color: rgba(247,245,242,0.55);
  line-height: 1.65;
  margin: 0 0 32px;
}
.svc-final-perks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-final-perks li {
  font-size: 14px;
  color: rgba(247,245,242,0.6);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.svc-final-perks li::before {
  content: '—';
  color: var(--red);
  flex-shrink: 0;
}

/* ─── Унификация лейблов секций тёмного фона (pricing, CTA) ─── */
.svc-page .pricing-label,
.svc-page .cta-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,242,0.6);
  border: 1px solid rgba(247,245,242,0.2);
  padding: 6px 10px;
  line-height: 1;
  margin-bottom: 28px;
}

/* ─── Audit-карточка внутри cases-list — sticky stacking ─── */
.cases-list .audit-card {
  position: sticky;
  top: 80px;
  z-index: 4;
  margin-bottom: 32px;
}
.cases-list .audit-card:last-child {
  margin-bottom: 0;
}
.cases-list .audit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  opacity: var(--overlay-o, 0);
  pointer-events: none;
  z-index: 10;
}


/* ─── Мобильная адаптация ─── */
@media (max-width: 1024px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero-right { padding: 0 32px 48px; }
  .svc-hero-left { border-right: none; padding: 48px 32px 24px; }
  .svc-breadcrumb { padding: 10px 32px; }
  .svc-industry-strip { padding: 10px 32px; }
  .svc-sec { padding: 64px 32px; }
  .svc-sec-deco { font-size: clamp(80px, 18vw, 130px); right: 12px; }
  .svc-errors-grid { grid-template-columns: 1fr; }
  .svc-error-item { border-right: none; border-bottom: 1px solid var(--black); }
  .svc-error-item:last-child { border-bottom: none; }
  .svc-proc-steps { grid-template-columns: 1fr; }
  .svc-proc-step { border-right: none; border-bottom: 1px solid var(--black); }
  .svc-proc-step:last-child { border-bottom: none; }
  .svc-sec--dark .svc-proc-step { grid-template-columns: 1fr; gap: 8px 0; border-bottom-color: rgba(247,245,242,0.1); }
  .svc-sec--dark .svc-proc-step:last-child { border-bottom: none; }
  .svc-final-cta { grid-template-columns: 1fr; gap: 40px; padding: 56px 32px; }
  .svc-flip-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 260px;
  }
  .svc-flip-card:nth-child(1) { grid-column: 1 / 2; grid-row: auto; }
  .svc-flip-card:nth-child(2) { grid-column: 2 / 3; grid-row: auto; }
  .svc-flip-card:nth-child(3) { grid-column: 3 / 4; grid-row: auto; }
  .svc-flip-card:nth-child(4) { grid-column: 1 / 2; grid-row: auto; }
  .svc-flip-card:nth-child(5) { grid-column: 2 / 4; grid-row: auto; }
}

@media (max-width: 680px) {
  .svc-breadcrumb { padding: 10px 20px; }
  .svc-industry-strip { padding: 10px 20px; }
  .svc-hero-left { padding: 36px 20px 48px; }
  .svc-sec-deco { display: none; }
  .svc-hero-stats { flex-direction: column; width: 100%; }
  .svc-hero-stat { border-right: none; border-bottom: 1px solid rgba(247,245,242,0.12); }
  .svc-hero-stat:last-child { border-bottom: none; }
  .svc-flip-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: 240px;
  }
  .svc-flip-card:nth-child(1) { grid-column: 1 / 2; grid-row: auto; }
  .svc-flip-card:nth-child(2) { grid-column: 2 / 3; grid-row: auto; }
  .svc-flip-card:nth-child(3) { grid-column: 1 / 2; grid-row: auto; }
  .svc-flip-card:nth-child(4) { grid-column: 2 / 3; grid-row: auto; }
  .svc-flip-card:nth-child(5) { grid-column: 1 / 3; grid-row: auto; }
  .svc-sec { padding: 48px 20px; }
  .svc-final-cta { padding: 48px 20px; }
  .svc-hero-actions { flex-direction: column; }
  .svc-hero-actions .btn-prime,
  .svc-hero-actions .btn-outline { justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   MOTION DESIGN — Corporate Crisp
   Easing  : cubic-bezier(0.2, 0, 0, 1)   — MD3 Snappy
   Quick   : 300ms   Standard : 380ms   Slow : 520ms
   Entrance: fade-up + opacity 0→1
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {

  @keyframes svc-up {
    from { opacity: 0; transform: translateY(var(--dy, 16px)); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes svc-num-pop {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
  }

  /* ─── Hero — каскад при загрузке страницы ─── */
  .svc-hero-tag    { animation: svc-up 380ms cubic-bezier(0.2,0,0,1)  60ms both; }
  .svc-hero-h1     { --dy: 20px; animation: svc-up 520ms cubic-bezier(0.2,0,0,1) 160ms both; }
  .svc-hero-desc   { animation: svc-up 380ms cubic-bezier(0.2,0,0,1) 280ms both; }
  .svc-hero-stat:nth-child(1) { --dy: 10px; animation: svc-up 300ms cubic-bezier(0.2,0,0,1) 360ms both; }
  .svc-hero-stat:nth-child(2) { --dy: 10px; animation: svc-up 300ms cubic-bezier(0.2,0,0,1) 420ms both; }
  .svc-hero-stat:nth-child(3) { --dy: 10px; animation: svc-up 300ms cubic-bezier(0.2,0,0,1) 480ms both; }
  .svc-hero-actions { --dy: 12px; animation: svc-up 340ms cubic-bezier(0.2,0,0,1) 520ms both; }

  /* ─── Заголовки секций — scroll-reveal ─── */
  .svc-sec-label,
  .svc-sec-h2,
  .svc-sec-sub {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 380ms cubic-bezier(0.2,0,0,1),
                transform 380ms cubic-bezier(0.2,0,0,1);
  }
  .svc-sec-label.visible { opacity: 1; transform: translateY(0); }
  .svc-sec-h2.visible    { opacity: 1; transform: translateY(0); transition-delay: 60ms; }
  .svc-sec-sub.visible   { opacity: 1; transform: translateY(0); transition-delay: 120ms; }

  /* ─── Грид-элементы — fade-up + stagger ─── */
  .svc-flip-card,
  .svc-error-item,
  .svc-proc-step {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 380ms cubic-bezier(0.2,0,0,1),
                transform 380ms cubic-bezier(0.2,0,0,1);
  }
  .svc-flip-card.visible,
  .svc-error-item.visible,
  .svc-proc-step.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
  }

  /* stagger: 5 flip cards */
  .svc-flip-card:nth-child(2) { transition-delay: 55ms; }
  .svc-flip-card:nth-child(3) { transition-delay: 110ms; }
  .svc-flip-card:nth-child(4) { transition-delay: 165ms; }
  .svc-flip-card:nth-child(5) { transition-delay: 220ms; }

  /* stagger: 3 error items */
  .svc-error-item:nth-child(2) { transition-delay: 70ms; }
  .svc-error-item:nth-child(3) { transition-delay: 140ms; }

  /* stagger: 3 process steps */
  .svc-proc-step:nth-child(2) { transition-delay: 80ms; }
  .svc-proc-step:nth-child(3) { transition-delay: 160ms; }

  /* ─── Числа шагов — pop-in при появлении ─── */
  .svc-proc-step.visible .svc-proc-num {
    animation: svc-num-pop 400ms cubic-bezier(0.2,0,0,1) both;
  }
  .svc-proc-step:nth-child(2).visible .svc-proc-num { animation-delay: 80ms; }
  .svc-proc-step:nth-child(3).visible .svc-proc-num { animation-delay: 160ms; }

  /* ─── Hover micro-interactions ─── */
  .svc-error-item.visible:hover { background: rgba(196,30,0,0.02); }

  .svc-proc-step.visible:hover { background: rgba(10,10,10,0.018); }
  .svc-proc-step.visible:hover .svc-proc-num { color: rgba(10,10,10,0.13); transition: color 250ms ease; }
}
