.intro-bouncing-mosaic__area {
    max-width: 48rem;
}

.intro-bouncing-mosaic__decor--p1 {
    top: 0;
    left: 0;
    width: 2rem;
    height: 3rem;
    animation-duration: 2s;
}

.intro-bouncing-mosaic__decor--p2 {
    top: 0;
    left: 25%;
    width: 1.5rem;
    height: 2.5rem;
    animation-duration: 2.5s;
}

.intro-bouncing-mosaic__decor--p3 {
    top: 0;
    left: 50%;
    width: 2.5rem;
    height: 2rem;
    animation-duration: 1.8s;
}

.intro-bouncing-mosaic__decor--p4 {
    top: 0;
    left: 75%;
    width: 1.75rem;
    height: 2.75rem;
    animation-duration: 2.2s;
}

.intro-bouncing-mosaic__decor--p5 {
    top: 0;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    animation-duration: 2.8s;
}

.intro-bouncing-mosaic__decor--p6 {
    top: 25%;
    left: 0;
    width: 1.5rem;
    height: 2rem;
    animation-duration: 3s;
}

.intro-bouncing-mosaic__decor--p7 {
    top: 25%;
    left: 25%;
    width: 2rem;
    height: 1.5rem;
    animation-duration: 1.5s;
}

.intro-bouncing-mosaic__decor--p8 {
    top: 25%;
    left: 50%;
    width: 1.25rem;
    height: 2.25rem;
    animation-duration: 2.3s;
}

.intro-bouncing-mosaic__decor--p9 {
    top: 25%;
    left: 75%;
    width: 1.75rem;
    height: 1.75rem;
    animation-duration: 2.7s;
}

.intro-bouncing-mosaic__decor--p10 {
    top: 25%;
    right: 0;
    width: 1.5rem;
    height: 2.5rem;
    animation-duration: 1.9s;
}

.intro-bouncing-mosaic__decor--p11 {
    top: 50%;
    left: 0;
    width: 2.25rem;
    height: 1.5rem;
    animation-duration: 2.1s;
}

.intro-bouncing-mosaic__decor--p12 {
    top: 50%;
    left: 25%;
    width: 1.75rem;
    height: 2rem;
    animation-duration: 2.6s;
}

.intro-bouncing-mosaic__decor--p13 {
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.75rem;
    animation-duration: 1.7s;
}

.intro-bouncing-mosaic__decor--p14 {
    top: 50%;
    left: 75%;
    width: 2rem;
    height: 1.25rem;
    animation-duration: 2.4s;
}

.intro-bouncing-mosaic__decor--p15 {
    top: 50%;
    right: 0;
    width: 1.25rem;
    height: 2rem;
    animation-duration: 2.9s;
}

.intro-bouncing-mosaic__decor--p16 {
    top: 75%;
    left: 0;
    width: 2rem;
    height: 1.75rem;
    animation-duration: 2.2s;
}

.intro-bouncing-mosaic__decor--p17 {
    top: 75%;
    left: 25%;
    width: 1.5rem;
    height: 2.25rem;
    animation-duration: 1.8s;
}

.intro-bouncing-mosaic__decor--p18 {
    top: 75%;
    left: 50%;
    width: 1.75rem;
    height: 1.5rem;
    animation-duration: 2.5s;
}

.intro-bouncing-mosaic__decor--p19 {
    top: 75%;
    left: 75%;
    width: 1.25rem;
    height: 2rem;
    animation-duration: 2.1s;
}

.intro-bouncing-mosaic__decor--p20 {
    top: 75%;
    right: 0;
    width: 2.25rem;
    height: 1.5rem;
    animation-duration: 2.7s;
}

.intro-bouncing-mosaic__decor--p21 {
    bottom: 0;
    left: 0;
    width: 1.5rem;
    height: 2rem;
    animation-duration: 2.3s;
}

.intro-bouncing-mosaic__decor--p22 {
    bottom: 0;
    left: 25%;
    width: 2rem;
    height: 1.25rem;
    animation-duration: 1.6s;
}

.intro-bouncing-mosaic__decor--p23 {
    bottom: 0;
    left: 50%;
    width: 1.75rem;
    height: 1.75rem;
    animation-duration: 2.8s;
}

.intro-bouncing-mosaic__decor--p24 {
    bottom: 0;
    left: 75%;
    width: 1.25rem;
    height: 2.25rem;
    animation-duration: 2s;
}

.intro-bouncing-mosaic__decor--p25 {
    bottom: 0;
    right: 0;
    width: 2rem;
    height: 1.5rem;
    animation-duration: 2.4s;
}

[class*="intro-bouncing-mosaic__decor--p"] {
    animation-name: intro-bouncing-mosaic__bounce;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes intro-bouncing-mosaic__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

/* Декор, z-index, анімації затримок карток, таб-bar, keyframes, hover */
.services__wrap-stack {
  z-index: 10;
}

.services__stack-10 {
  position: relative;
  z-index: 10;
}

.services__deco--shape-a {
  position: absolute;
  top: 5rem;
  left: 4rem;
  width: 4rem;
  height: 4rem;
  animation-delay: 0.5s;
}

.services__deco--shape-b {
  position: absolute;
  top: 8rem;
  right: 5rem;
  width: 3rem;
  height: 3rem;
  animation-delay: 1s;
}

.services__deco--shape-c {
  position: absolute;
  bottom: 6rem;
  left: 5rem;
  width: 5rem;
  height: 5rem;
  animation-delay: 1.5s;
}

.services__deco--shape-d {
  position: absolute;
  bottom: 8rem;
  right: 4rem;
  width: 3.5rem;
  height: 3.5rem;
  animation-delay: 2s;
}

.services__deco--line-a {
  position: absolute;
  top: 33%;
  left: 0;
  width: 8rem;
  height: 1px;
}

.services__deco--line-b {
  position: absolute;
  bottom: 25%;
  right: 0;
  width: 7rem;
  height: 1px;
}

.services__deco--svg-a {
  position: absolute;
  top: 6rem;
  left: 33%;
  width: 0.75rem;
  height: 0.75rem;
}

.services__deco--svg-b {
  position: absolute;
  top: 10rem;
  right: 33%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 0.8s;
}

.services__deco--svg-c {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin-left: -0.5rem;
  animation-delay: 1.5s;
}

.services__panel-grid > div:nth-child(1) .services__panel-card {
  animation-delay: 0s;
}

.services__panel-grid > div:nth-child(2) .services__panel-card {
  animation-delay: 0.1s;
}

.services__panel-grid > div:nth-child(3) .services__panel-card {
  animation-delay: 0.2s;
}

.services__panel-grid > div:nth-child(4) .services__panel-card {
  animation-delay: 0.3s;
}

.services__panel-grid > div:nth-child(5) .services__panel-card {
  animation-delay: 0.4s;
}

.services__panel-grid > div:nth-child(6) .services__panel-card {
  animation-delay: 0.5s;
}

.services__panel-grid > div:nth-child(7) .services__panel-card {
  animation-delay: 0.6s;
}

.services__panel-grid > div:nth-child(8) .services__panel-card {
  animation-delay: 0.7s;
}

.services__panel-grid > div:nth-child(9) .services__panel-card {
  animation-delay: 0.8s;
}

.services__panel-grid > div:nth-child(10) .services__panel-card {
  animation-delay: 0.9s;
}

.services__panel-grid > div:nth-child(11) .services__panel-card {
  animation-delay: 1s;
}

.services__panel-grid > div:nth-child(12) .services__panel-card {
  animation-delay: 1.1s;
}

.services__tab-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 576px) {
  .services__tab-bar {
    gap: 0.75rem;
  }
}

@keyframes services-shape-pulse-kf {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes services-shape-bounce-kf {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25%);
  }
}

@keyframes services-shape-ping-kf {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.services__shape--pulse {
  animation: services-shape-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.services__shape--bounce {
  animation: services-shape-bounce-kf 1s infinite;
}

.services__shape--ping {
  animation: services-shape-ping-kf 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.3s ease;
}

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

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: scale(1.02);
  }
}

.services__cta--lift {
  transition: transform 0.3s ease, filter 0.3s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.95);
}

.services__tab--lift {
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .services__tab--lift:hover {
    transform: scale(1.05);
  }
}

.services__blob {
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.services__tile:hover .services__blob--a {
  transform: scale(1.25);
}

.services__tile:hover .services__blob--b {
  transform: scale(1.1);
}

.services__sheen {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.services__tile:hover .services__sheen {
  opacity: 1;
}

.services__underline-glow {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__tile:hover .services__underline-glow {
  opacity: 0.6;
}

.services__float-layer {
  opacity: 0.05;
  transition: opacity 0.5s ease;
}

.services__tile:hover .services__float-layer {
  opacity: 0.1;
}

.services__icon--tilt {
  transition: transform 0.3s ease;
}

.services__tile:hover .services__icon--tilt {
  transform: rotate(12deg);
}

.services__card-heading {
  transition: color 0.3s ease;
}

.services__tile:hover .services__card-heading {
  color: #60a5fa;
}

.dark .services__tile:hover .services__card-heading {
  color: #93c5fd;
}

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

/* v23 - shared 2x2 grid: avoids mixing BS row/col percentage widths with a flex/CSS gap */
.panel-strip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 575.98px) {
    .panel-strip__grid {
        grid-template-columns: 1fr;
    }
}

/* v23 - fixed circle size for the number badge (no BS utility beyond w-25/50/75/100) */
.panel-strip__badge {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

/* v23 - comic halftone dot pattern (currentColor keeps it theme-safe, no literal colors) */
.steps-comic-panel__halftone {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    opacity: 0.15;
    background-image: radial-gradient(currentColor 1.2px, transparent 1.2px);
    background-size: 8px 8px;
    pointer-events: none;
}

.features-bento__decor--pulse {
    animation: features-bento-pulse-kf 2s infinite;
}
.features-bento__decor--bounce {
    animation: features-bento-bounce-kf 2s infinite;
    transform: rotate(45deg);
}
.features-bento__decor--spin {
    animation: features-bento-spin-kf 4s linear infinite;
}
.features-bento__decor--line {
    transform: rotate(12deg);
}

.features-bento__card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.features-bento__card:hover .features-bento__title {
    color: var(--bs-primary);
}

.features-bento__item:hover {
    transform: scale(1.05);
}
.features-bento__item:hover .features-bento__title {
    color: var(--bs-primary);
}

@keyframes features-bento-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-bento-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(45deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none rotate(45deg); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-bento-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ?? BS-mode bento grid layout ?? */
.features-bento__grid-bs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.features-bento__grid-bs .features-bento__card {
    grid-column: span 2;
    grid-row: span 2;
}
@media (max-width: 767.98px) {
    .features-bento__grid-bs {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .features-bento__grid-bs {
        grid-template-columns: 1fr;
    }
    .features-bento__grid-bs .features-bento__card {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* -- BS-mode decorative shapes — subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}
/* whyus v16 — ransom-note table layout: pulse rings, scrim, giant row numbers, scroll-snap track */
/* No colors below: only white/black shade-as-opacity for the scrim (per project exception), everything else is layout/size/animation/transform. */

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-ransom__section--py {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.mxw-md {
    max-width: 28rem !important;
}

.whyus-ransom__head,
.whyus-ransom__media {
    margin-bottom: 4rem;
}

.whyus-ransom__note {
    margin-top: 4rem;
}

.whyus-ransom__foot {
    margin-top: 4rem;
}

.whyus-ransom__title {
    font-size: 1.875rem;
    letter-spacing: 0.025em;
}

.whyus-ransom__subtitle {
    font-size: 1rem;
}

.whyus-ransom__caption {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-ransom__icon {
    font-size: 1.875rem;
}

.whyus-ransom__item-title {
    font-size: 1.125rem;
    transition: letter-spacing 300ms ease;
}

.whyus-ransom__item-title:hover {
    letter-spacing: 0.025em;
}

.whyus-ransom__cta {
    padding: 1rem 2.5rem;
    letter-spacing: 0.025em;
    transition: transform 300ms ease;
}

.whyus-ransom__cta--hover:hover {
    transform: scale(1.05);
}

.whyus-ransom__decor {
    contain: layout style;
}

.whyus-ransom__pulse-ring {
    top: 50%;
    left: 50%;
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    --bs-border-opacity: 0.2;
    animation: whyus-ransom-pulse 4s ease-out infinite;
}

/* content-first: rings start after the heading's fade-in has already begun */
.whyus-ransom__pulse-ring--1 {
    --bs-border-opacity: 0.3;
    animation-delay: 0.8s;
}

.whyus-ransom__pulse-ring--2 {
    width: 20rem;
    height: 20rem;
    animation-delay: 1.6s;
}

.whyus-ransom__pulse-ring--3 {
    width: 28rem;
    height: 28rem;
    animation-delay: 2.4s;
}

@keyframes whyus-ransom-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.6;
    }
    70% {
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.whyus-ransom__fade-in {
    animation: whyus-ransom-fade-in 0.5s ease-out both;
}

@keyframes whyus-ransom-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* radial vignette over the hero illustration only — pure lightness/opacity fade, not a hue */
.whyus-ransom__scrim {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
}

@media (prefers-color-scheme: dark) {
    .whyus-ransom__scrim {
        background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%);
    }
}

.whyus-ransom__accent {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    transform: rotate(-1deg);
}

.whyus-ransom__row-group {
    overflow: hidden;
}

.whyus-ransom__row-number {
    top: -1.5rem;
    right: 0;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    --bs-text-opacity: 0.05;
}

.whyus-ransom__row-track {
    flex-direction: column;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.whyus-ransom__row-item {
    padding-inline-start: 1.5rem;
    scroll-snap-align: start;
}

.whyus-ransom__row-item:first-child {
    border-inline-start-width: 0;
}

.whyus-ransom__snippet pre {
    white-space: pre-wrap;
}

@media (min-width: 768px) {
    .whyus-ransom__section--py {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .whyus-ransom__head,
    .whyus-ransom__media {
        margin-bottom: 6rem;
    }

    .whyus-ransom__note {
        margin-top: 6rem;
    }

    .whyus-ransom__foot {
        margin-top: 5rem;
    }

    .whyus-ransom__title {
        font-size: 3rem;
    }

    .whyus-ransom__accent {
        display: inline;
        font-size: 3.75rem;
    }

    .whyus-ransom__subtitle {
        font-size: 1.125rem;
    }

    .whyus-ransom__row-number {
        font-size: 8rem;
    }

    .whyus-ransom__row-track {
        flex-direction: row;
        gap: 1.5rem;
    }

    .whyus-ransom__row-item {
        flex: 1 1 0%;
        padding-inline-start: 2rem;
    }
}

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

.cta-stagger-services__grid-lines {
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cta-stagger-services__grid-line {
  flex: 1 1 0;
  height: 100%;
  border-inline-end-width: 1px;
  border-inline-end-style: solid;
}

.cta-stagger-services__grid-line:last-child {
  border-inline-end-width: 0;
}

.cta-stagger-services__logo {
  display: grid;
  grid-template-columns: repeat(3, 1.25rem);
  gap: 0.25rem;
}

.cta-stagger-services__logo-cell {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-stagger-services__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-stagger-services__item--shift {
  margin-inline-start: 12%;
}

.cta-stagger-services__item-num {
  font-size: 0.875rem;
  vertical-align: super;
  line-height: 0;
  margin-inline-end: 0.35rem;
}

@media (max-width: 767px) {
  .cta-stagger-services__item--shift {
    margin-inline-start: 0;
  }
}

@media (min-width: 768px) {
  .cta-stagger-services__item--shift {
    margin-inline-start: 14%;
  }
}

/* CTA button — TW + BS */
.cta-stagger-services__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

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

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

.cta-stagger-services__cta-icon {
  transition: transform 0.2s ease;
}

/* Service strip cards — BS hover parity */
.cta-stagger-services__item-hov {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-stagger-services__item-hov:hover,
.cta-stagger-services__item-hov:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow-lg);
  border-color: var(--bs-primary) !important;
}

.cta-stagger-services__item-hov:hover .cta-stagger-services__item-num,
.cta-stagger-services__item-hov:focus-within .cta-stagger-services__item-num {
  color: var(--bs-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  .cta-stagger-services__cta:hover,
  .cta-stagger-services__cta:focus-visible,
  .cta-stagger-services__item-hov:hover,
  .cta-stagger-services__item-hov:focus-within {
    transform: none;
  }

  .cta-stagger-services__cta:hover .cta-stagger-services__cta-icon,
  .cta-stagger-services__cta:focus-visible .cta-stagger-services__cta-icon {
    transform: none;
  }
}

