/* Вертикальний таймлайн — позиція рейки та вузлів */
.services__rail {
  position: absolute;
  left: 1.3rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: var(--bs-border-color, #dee2e6);
  border-radius: 1px;
}

.dark .services__rail {
  background-color: rgba(148, 163, 184, 0.45);
}

.services__node {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
}

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

@media (max-width: 575.98px) {
  .services__node {
    padding-left: 3.25rem;
  }

  .services__rail {
    left: 1.4rem;
  }
}

.services__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

/* process studio — services grid, CTA ring, card drift animations */
.process-studio__cta {
    width: 7.5rem;
    height: 7.5rem;
    line-height: 1.25;
    padding: 1rem;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.process-studio__cta:hover {
    transform: scale(1.04);
}

.process-studio__card-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.process-studio__drift {
    animation: process-studio-drift 4.5s ease-in-out infinite;
}

.process-studio__drift--a {
    animation-delay: 0s;
}

.process-studio__drift--b {
    animation-delay: 0.5s;
}

.process-studio__drift--c {
    animation-delay: 1s;
}

.process-studio__card--1 .process-studio__drift {
    animation-duration: 4.5s;
}

.process-studio__card--2 .process-studio__drift {
    animation-duration: 5s;
}

.process-studio__card--3 .process-studio__drift {
    animation-duration: 4s;
}

.process-studio__card--4 .process-studio__drift {
    animation-duration: 5.5s;
}

.process-studio__card--5 .process-studio__drift {
    animation-duration: 4.2s;
}

.process-studio__card--6 .process-studio__drift {
    animation-duration: 4.8s;
}

@keyframes process-studio-drift {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.2rem);
    }
}

@media (min-width: 768px) {
    .process-studio__cta {
        width: 8.5rem;
        height: 8.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-studio__drift {
        animation: none;
    }

    .process-studio__cta:hover {
        transform: none;
    }
}

.content-ledger__stem {
    height: 4rem;
    transform: translateX(-50%);
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* v14: left VS column — solid primary (fixes white-on-white if background helper omits in BS) */
.integrations__vs-left {
    color: #fff;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(
        to bottom right,
        rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1),
        rgb(var(--tw-primary-700, var(--bs-primary-scale-700, 67 56 202)) / 1)
    );
}

.integrations__vs-left .integrations__icon-tile--on-primary {
    background-color: rgba(255, 255, 255, 0.18);
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.integrations__cta-on-primary {
    background-color: #fff;
    color: var(--bs-primary, rgb(var(--tw-primary-700, var(--bs-primary-scale-700, 67 56 202)) / 1));
}
.integrations__cta-on-primary:hover {
    background-color: color-mix(
        in srgb,
        #ffffff 88%,
        var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1))
    );
    color: var(--bs-primary, rgb(var(--tw-primary-800, var(--bs-primary-scale-800, 55 48 163)) / 1));
}

/* Right column: solid primary + white text (readable on neutral card; BS-safe) */
.integrations__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}
.integrations__cta-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Decorative VS: bounded size (avoids broken TW arbitrary / huge glyph in BS) */
.integrations__vs-watermark {
    font-size: min(38vw, 9rem);
    line-height: 0.85;
    max-width: 100%;
    text-align: center;
}

/* faq v29 — split hero + stats panel */
.faq-split__seal {
  width: 11rem;
  height: 11rem;
  flex-shrink: 0;
  padding: 1.25rem;
  box-sizing: border-box;
}

.faq-split__seal-text {
  display: block;
  max-width: 8.25rem;
  font-size: 0.5625rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.faq-split__headline {
  letter-spacing: -0.025em;
}

.faq-split__icon {
  width: 2.75rem;
  height: 2.75rem;
}

.faq-split__icon-dots {
  width: 1rem;
  height: 1rem;
}

.faq-split__icon-dot {
  width: 0.65rem;
  height: 0.65rem;
}

.faq-split__icon-dot--trail {
  transform: translate(0.35rem, 0.35rem);
}

.faq-split__lead,
.faq-split__panel {
  min-width: 0;
}

@media (min-width: 992px) {
  .faq-split__panel {
    max-width: 28rem;
  }
}

