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

.steps-number-icon-grid__number-badge {
    width: 4rem;
    height: 4rem;
}

.steps-number-icon-grid__icon-box {
    width: 5rem;
    height: 5rem;
}


.stackup-ledger__slate--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.stackup-ledger__preview--glow:hover { transform: scale(1.1); transition: transform .2s ease; }

.stackup-ledger__mark--glow:hover { transform: scale(1.1); transition: transform .2s ease; }

.stackup-ledger__piece--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.rounded-stack-quote__portrait {
    width: 5rem;
    height: 5rem;
}

