/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

/* Декор, 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);
}

@media (min-width: 768px) {
    .steps-dual-panel__sticky-col {
        position: sticky;
        top: 2rem;
    }
}

.steps-dual-panel__badge-circle {
    width: 3rem;
    height: 3rem;
}

.steps-dual-panel__decor-dot {
    width: 0.5rem;
    height: 0.5rem;
}

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

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

.whyus-cryptic__bleed {
    bottom: -6rem;
    inset-inline-end: -6rem;
    width: 24rem;
    height: 24rem;
    opacity: 0.4;
    filter: blur(64px);
}

.whyus-cryptic__head {
    margin-bottom: 3rem;
}

.whyus-cryptic__overline,
.whyus-cryptic__num,
.whyus-cryptic__chip,
.whyus-cryptic__cta-icon {
    font-size: 0.75rem;
}

.whyus-cryptic__overline {
    letter-spacing: 0.1em;
}

.whyus-cryptic__chip,
.whyus-cryptic__cta {
    letter-spacing: 0.025em;
}

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

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

.whyus-cryptic__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.whyus-cryptic__card-title {
    font-size: 1.125rem;
}

.whyus-cryptic__card-desc {
    font-size: 0.875rem;
}

.whyus-cryptic__cta {
    transition: transform 150ms ease;
}

/* hover — `:where()` keeps specificity at 0-1-0 so Tailwind's own hover: utilities win there */
:where(.whyus-cryptic__cta):hover {
    transform: scale(1.05);
}

:where(.whyus-cryptic__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

@media (min-width: 768px) {
    .whyus-cryptic {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-cryptic__head,
    .whyus-cryptic__grid {
        margin-bottom: 4rem;
    }

    .whyus-cryptic__title {
        font-size: 2.25rem;
    }

    .whyus-cryptic__card-desc {
        font-size: 1rem;
    }

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

    .whyus-cryptic__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .whyus-cryptic__title {
        font-size: 3rem;
    }

    .whyus-cryptic__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* whyus v27 — architectural benefit card grid */

.whyus-cryptic__decor-lines {
    background-image:
        repeating-linear-gradient(90deg, currentColor 0, currentColor 1px, transparent 1px, transparent 96px),
        repeating-linear-gradient(0deg, currentColor 0, currentColor 1px, transparent 1px, transparent 96px);
    opacity: 0.05;
}

.whyus-cryptic__card {
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 600ms ease, transform 600ms ease, box-shadow 150ms ease;
}

.whyus-cryptic__card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.whyus-cryptic__card:nth-child(1) { transition-delay: 0.05s; }
.whyus-cryptic__card:nth-child(2) { transition-delay: 0.1s; }
.whyus-cryptic__card:nth-child(3) { transition-delay: 0.15s; }
.whyus-cryptic__card:nth-child(4) { transition-delay: 0.2s; }
.whyus-cryptic__card:nth-child(5) { transition-delay: 0.25s; }
.whyus-cryptic__card:nth-child(6) { transition-delay: 0.3s; }

.whyus-cryptic__word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 550ms ease, transform 550ms ease;
    will-change: transform, opacity;
}

.whyus-cryptic__word.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.whyus-cryptic__word:nth-child(1) { transition-delay: 0ms; }
.whyus-cryptic__word:nth-child(2) { transition-delay: 70ms; }
.whyus-cryptic__word:nth-child(3) { transition-delay: 140ms; }
.whyus-cryptic__word:nth-child(4) { transition-delay: 210ms; }
.whyus-cryptic__word:nth-child(5) { transition-delay: 280ms; }
.whyus-cryptic__word:nth-child(6) { transition-delay: 350ms; }
.whyus-cryptic__word:nth-child(7) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
    .whyus-cryptic__card,
    .whyus-cryptic__word {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

