.intro-icon-benefits__icon-box {
    width: 4rem;
    height: 4rem;
}

.intro-icon-benefits__decor-top {
    width: 5rem;
    height: 5rem;
    top: 2.5rem;
    left: 2.5rem;
}

.intro-icon-benefits__decor-bottom {
    width: 8rem;
    height: 8rem;
    bottom: 2.5rem;
    right: 2.5rem;
}

.intro-icon-benefits__decor-mid {
    width: 4rem;
    height: 4rem;
    top: 50%;
    left: 25%;
}

.gallery-two-col__card {
    transition: all 0.3s ease;
}
.gallery-two-col__card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.gallery-two-col__img {
    height: 16rem;
    transition: transform 0.5s ease;
}
.gallery-two-col__card:hover .gallery-two-col__img {
    transform: scale(1.05);
}

.gallery-two-col__overlay {
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}
.gallery-two-col__card:hover .gallery-two-col__overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Bootstrap: blur-орби, ранг, нижня лінія (імена без номера варіанту) */
.stats__decor-blur-tl {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  filter: blur(64px);
}

.stats__decor-blur-br {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  filter: blur(64px);
}

.stats__rank-badge {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
}

.stats__bottom-line-bar {
  height: 0.25rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: scale(1.05);
}

.stats-gradient-overlay-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-gradient-overlay-hover {
  opacity: 1;
}

.stats-value-hover {
  transition: color 0.3s ease;
}

.stats-card-hover:hover .stats-value-hover {
  color: rgb(37 99 235);
}

.stats__label {
  transition: color 0.3s ease;
}

.stats-card-hover:hover .stats__label {
  color: rgb(29 78 216);
}

.stats-bottom-bar-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-bottom-bar-hover {
  opacity: 1;
}

.cta-creative-hero__strings {
  position: absolute;
  inset: 0;
  bottom: 4.5rem;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.cta-creative-hero__string {
  position: absolute;
  top: -8%;
  width: 0;
  border-left-width: 1px;
  border-left-style: solid;
  transform-origin: top center;
  animation: cta-creative-hero__string-sway 4s ease-in-out infinite;
}

.cta-creative-hero__string--0 {
  left: 4%;
  height: 88%;
  animation-duration: 3.6s;
  animation-delay: 0s;
}

.cta-creative-hero__string--1 {
  left: 14%;
  height: 96%;
  animation-duration: 4.2s;
  animation-delay: -0.4s;
}

.cta-creative-hero__string--2 {
  left: 26%;
  height: 78%;
  animation-duration: 3.8s;
  animation-delay: -1.1s;
}

.cta-creative-hero__string--3 {
  left: 38%;
  height: 92%;
  animation-duration: 4.6s;
  animation-delay: -0.8s;
}

.cta-creative-hero__string--4 {
  left: 50%;
  height: 100%;
  animation-duration: 3.4s;
  animation-delay: -1.6s;
}

.cta-creative-hero__string--5 {
  left: 62%;
  height: 82%;
  animation-duration: 4.4s;
  animation-delay: -0.2s;
}

.cta-creative-hero__string--6 {
  left: 74%;
  height: 94%;
  animation-duration: 3.9s;
  animation-delay: -1.3s;
}

.cta-creative-hero__string--7 {
  left: 86%;
  height: 76%;
  animation-duration: 4.8s;
  animation-delay: -0.6s;
}

.cta-creative-hero__string--8 {
  left: 94%;
  height: 90%;
  animation-duration: 3.5s;
  animation-delay: -1.9s;
}

@keyframes cta-creative-hero__string-sway {
  0%,
  100% {
    transform: rotate(-2deg) translateX(0);
  }
  25% {
    transform: rotate(1.5deg) translateX(3px);
  }
  50% {
    transform: rotate(-1deg) translateX(-2px);
  }
  75% {
    transform: rotate(2deg) translateX(2px);
  }
}

.cta-creative-hero__wrap {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.cta-creative-hero__subtitle-track {
  letter-spacing: 0.2em;
}

.cta-creative-hero__ring {
  inset: -0.35rem -0.5rem;
  border-radius: 9999px;
}

.cta-creative-hero__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  min-height: 18rem;
}

.cta-creative-hero__photo {
  position: relative;
}

.cta-creative-hero__photo--0 {
  grid-column: 1 / span 3;
  margin-top: 2.5rem;
}

.cta-creative-hero__photo--1 {
  grid-column: 4 / span 4;
}

.cta-creative-hero__photo--2 {
  grid-column: 7 / span 3;
  margin-top: 1rem;
}

.cta-creative-hero__photo--3 {
  grid-column: 10 / span 3;
  margin-top: 3rem;
}

.cta-creative-hero__frame {
  position: absolute;
  inset: -0.5rem -0.5rem 0.5rem 0.5rem;
  border-width: 2px;
  border-style: solid;
  border-radius: 1rem;
  pointer-events: none;
  z-index: 0;
}

.cta-creative-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-creative-hero__photo-hov:hover .cta-creative-hero__img,
.cta-creative-hero__photo-hov:focus-within .cta-creative-hero__img {
  transform: scale(1.02);
}

.cta-creative-hero__photo--0 .cta-creative-hero__img,
.cta-creative-hero__photo--3 .cta-creative-hero__img {
  aspect-ratio: 3 / 4;
}

.cta-creative-hero__photo--1 .cta-creative-hero__img {
  aspect-ratio: 4 / 3;
}

.cta-creative-hero__photo--2 .cta-creative-hero__img {
  aspect-ratio: 1 / 1;
}

.cta-creative-hero__marquee-track {
  overflow: hidden;
}

.cta-creative-hero__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: cta-creative-hero__marquee 24s linear infinite;
}

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

.cta-creative-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

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

.cta-creative-hero__cta.btn:hover,
.cta-creative-hero__cta.btn:focus-visible {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

@media (min-width: 768px) {
  .cta-creative-hero__wrap {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .cta-creative-hero__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .cta-creative-hero__photo--0,
  .cta-creative-hero__photo--1,
  .cta-creative-hero__photo--2,
  .cta-creative-hero__photo--3 {
    grid-column: auto;
    margin-top: 0;
  }

  .cta-creative-hero__photo--0 {
    grid-column: 1;
  }

  .cta-creative-hero__photo--1 {
    grid-column: 2;
  }

  .cta-creative-hero__photo--2 {
    grid-column: 1;
  }

  .cta-creative-hero__photo--3 {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .cta-creative-hero__strings {
    bottom: 3.5rem;
  }

  .cta-creative-hero__string--0,
  .cta-creative-hero__string--8 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-creative-hero__string {
    animation: none;
    transform: none;
  }

  .cta-creative-hero__marquee-inner {
    animation: none;
  }

  .cta-creative-hero__cta:hover,
  .cta-creative-hero__cta:focus-visible,
  .cta-creative-hero__photo-hov:hover .cta-creative-hero__img,
  .cta-creative-hero__photo-hov:focus-within .cta-creative-hero__img {
    transform: none;
  }
}

