/* 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 journal — layout, image crop, hover motion (no colors) */
.process-journal__photo {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-journal__marker {
    width: 0.75rem;
    height: 0.75rem;
}
.process-journal__arrow {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__pill {
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__arrow:hover,
.process-journal__pill:hover {
    transform: translateY(-1px);
}

/* advantages ticker — seamless horizontal marquee (layout/motion only, no colors) */

.advantages-ticker__chip {
    width: 20rem;
}

/* track holds two identical copies; -50% scroll makes the loop seamless */
.advantages-ticker__track {
    width: max-content;
    animation: advantages-ticker-scroll 40s linear infinite;
}

.advantages-ticker__track.is-paused {
    animation-play-state: paused;
}

@keyframes advantages-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

.content-index-sheet__shell {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    width: 100%;
}

.content-index-sheet__shell .rounded-circle,
.content-index-sheet__shell [class*="rounded-full"] {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .content-index-sheet__shell {
        grid-template-columns: 1fr;
    }
}

.polar-frame-quote__portrait {
    width: 7rem;
    height: 7rem;
}

.cta-services-split__marquee {
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

.cta-services-split__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: cta-services-split__marquee 28s linear infinite;
}

@keyframes cta-services-split__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-services-split__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-services-split__cta:hover,
.cta-services-split__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-services-split__cta:hover .cta-services-split__cta-icon,
.cta-services-split__cta:focus-visible .cta-services-split__cta-icon {
  transform: translate(2px, -2px);
}

.cta-services-split__cta-icon {
  transition: transform 0.2s ease;
}

.cta-services-split__item-hov {
  transition: border-color 0.2s ease, padding-inline-start 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cta-services-split__marquee-inner {
    animation: none;
  }

  .cta-services-split__cta:hover,
  .cta-services-split__cta:focus-visible {
    transform: none;
  }
}

