/* intro v28 — Arc diagonal-split: clip split, floating rings, ransom-note words, grayscale hover, click burst */

/* Diagonal split zone */
.intro-arc2__split {
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
    opacity: 0.6;
}

/* Floating rings / donuts (fixed size — no BS w-N/h-N utility) */
.intro-arc2__ring { width: 10rem; height: 10rem; animation: intro-arc2-float 7s ease-in-out infinite; }
.intro-arc2__ring--2 { width: 6rem; height: 6rem; animation-duration: 9s; animation-delay: 1s; }
@keyframes intro-arc2-float {
    50% { transform: translateY(-1.2rem) rotate(20deg); }
}

/* Serif accent (paired with sans body) */
.intro-arc2__serif { font-family: ui-serif, Georgia, "Times New Roman", serif; }

/* Hero image grayscale → colour reveal on hover */
.intro-arc2__figure { aspect-ratio: 4 / 3; }
.intro-arc2__img {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 420ms ease;
}
.intro-arc2__figure:hover .intro-arc2__img { filter: grayscale(0); }

/* Ransom-note mixed letters: alternate rotation, weight, family (no colour) */
.intro-arc2__word {
    display: inline-block;
    margin-right: 0.25em;
}
.intro-arc2__word:nth-child(3n+1) { transform: rotate(-4deg); font-weight: 900; }
.intro-arc2__word:nth-child(3n+2) { transform: rotate(3deg);  font-family: ui-serif, Georgia, serif; font-style: italic; }
.intro-arc2__word:nth-child(3n+3) { transform: rotate(-1deg); font-weight: 700; text-transform: uppercase; }

/* Click burst spark (inherits the button's primary colour via currentColor) */
.intro-arc2__react { position: relative; overflow: visible; }
.intro-arc2__spark {
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    animation: intro-arc2-burst 640ms ease-out forwards;
}
@keyframes intro-arc2-burst {
    to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(160deg); }
}

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

/* group-hover та картка */
.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.75rem);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: translateY(-0.75rem) scale(1.05);
  }
}

.services__media {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__row:hover .services__media {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services__heading {
  transition: color 0.3s ease;
}

.services__row:hover .services__heading {
  color: #2563eb;
}

.dark .services__row:hover .services__heading {
  color: #60a5fa;
}

[data-bs-theme="dark"] .services__row:hover .services__heading {
  color: var(--bs-primary, #6ea8fe);
}

.services__accent {
  transition: width 0.3s ease;
}

.services__row:hover .services__accent {
  width: 6rem;
}

.services__badge--offset {
  top: 2rem;
  inset-inline-end: 2rem;
}

.services__decor--blur {
  filter: blur(64px);
}

.services__decor-root {
  z-index: -1;
}

/* BS: розміри блобів (TW — через w-72 / w-96 у sem) */
.services__blob-a {
  width: 18rem;
  height: 18rem;
}

.services__blob-b {
  width: 24rem;
  height: 24rem;
}

/* process spread — dotted column grid, editorial headline, fluted image band */
.process-spread__root {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.process-spread__dots {
    background-image: radial-gradient(circle, currentColor 0.75px, transparent 0.75px);
    background-size: 4.5rem 100%;
    opacity: 0.12;
}

.process-spread__headline {
    letter-spacing: -0.03em;
}

.process-spread__hero {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
}

.process-spread__orb {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.process-spread__orb-scene {
    position: relative;
    width: 20rem;
    height: 20rem;
}

.process-spread__orb-ring {
    position: absolute;
    border-style: solid;
    border-color: currentColor;
}

.process-spread__orb-ring--outer {
    inset: 0;
    border-width: 1px;
    opacity: 0.35;
    animation: process-spread-spin 14s linear infinite;
}

.process-spread__orb-ring--inner {
    top: 17.5%;
    left: 17.5%;
    width: 65%;
    height: 65%;
    border-width: 2px;
    opacity: 0.55;
    animation: process-spread-spin 9s linear infinite reverse;
}

.process-spread__orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 20%;
    height: 20%;
    margin-top: -10%;
    margin-left: -10%;
    animation: process-spread-pulse 2.8s ease-in-out infinite;
}

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

@keyframes process-spread-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .process-spread__root {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .process-spread__hero {
        min-height: 22rem;
        padding: 2rem;
    }

    .process-spread__orb-scene {
        width: 26rem;
        height: 26rem;
    }
}

@media (min-width: 992px) {
    .process-spread__root {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .process-spread__hero {
        min-height: 28rem;
        padding: 2.5rem;
    }

    .process-spread__orb-scene {
        width: 33rem;
        height: 33rem;
    }
}

.process-spread__step-num {
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.process-spread__media {
    width: 100%;
    margin-inline-start: 0;
    aspect-ratio: 4 / 3;
    min-height: 18rem;
}

@media (min-width: 992px) {
    .process-spread__media {
        aspect-ratio: auto;
        min-height: 100%;
        height: 100%;
    }
}

.process-spread__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-spread__flute {
    width: 46%;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: overlay;
    background-image: repeating-linear-gradient(
        90deg,
        currentColor 0,
        currentColor 1px,
        transparent 1px,
        transparent 13px
    );
    backdrop-filter: blur(1px) saturate(1.15);
    -webkit-backdrop-filter: blur(1px) saturate(1.15);
    mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
}

@media (max-width: 991px) {
    .process-spread__media {
        aspect-ratio: 16 / 10;
    }

    .process-spread__flute {
        width: 42%;
    }
}

/* 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: 2.5rem;
    height: 2.5rem;
    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));
}

/* Status dot sizing (no colors) */
.integrations__status-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* Uptime bar sizing (no colors) */
.integrations__uptime-track {
    height: 0.375rem;
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* 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);
}

/* Widget card sizing */
.integrations__widget-card {
    min-width: 260px;
    max-width: 300px;
    flex: 1 1 260px;
}

.integrations__widget-desc {
    font-size: 0.8125rem;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v18__fx-card .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-v18__fx-card:hover .integrations__icon-tile { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
    .integrations-v18__fx-card:hover .integrations__icon-tile { transform: none; }
}


.boost-rally__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.boost-rally__inner {
    max-width: 64rem;
}

@keyframes boost-rally-highlight-throb-loop {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.boost-rally__highlight--throb {
    animation: boost-rally-highlight-throb-loop 2s cubic-bezier(.4,0,.6,1) infinite;
}

.boost-rally__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.boost-rally__panel--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Всегда на контейнере двух карточек: явный gap для grid (Tailwind) и дублирует зазор для flex (BS) */
.boost-rally__card-stack-gap {
    gap: 2rem;
}

/* Bootstrap only: класс задаётся в bs:, в Tailwind-режиме не выводится — не конфликтует с grid */
.boost-rally__card-row-bs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 768px) {
    .boost-rally__card-row-bs {
        flex-direction: row;
    }

    .boost-rally__card-row-bs > .boost-rally__panel--shift {
        flex: 1 1 0;
        min-width: 0;
    }
}

.boost-rally__card-row-bs > .boost-rally__panel--shift {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boost-rally__card-row-bs > .boost-rally__panel--shift > a:last-of-type {
    margin-top: auto;
}

