/*
 * BS Reboot задає img { max-width: 100%; height: auto } — у порожній рамці висота стає 0.
 * Рамка з aspect-ratio + absolute img гарантують видиму площу.
 */
.intro-performance-split__thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
}

.intro-performance-split__thumb > img.intro-performance-split__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.intro-performance-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-performance-split__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.steps-arrow-stack__badge-circle {
    width: 3rem;
    height: 3rem;
}

.steps-arrow-stack__icon-box {
    width: 2rem;
    height: 2rem;
}

.steps-arrow-stack__sm-circle {
    width: 1.5rem;
    height: 1.5rem;
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.badge-tower-grid {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .badge-tower-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Badge anchor: stable vertical offset (bs had top-0; tw -top-8 was too low vs 5rem circle) */
.philosophy-v3-badge-decor {
    top: -4.25rem;
}

.philosophy-large-badge {
    width: 5rem;
    height: 5rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* Bootstrap: позиції/розміри без інлайну (TW — у @sem); імена без номера варіанту */
.stats__overlay-dot-a {
  position: absolute;
  top: 5rem;
  left: 4rem;
  width: 0.5rem;
  height: 0.5rem;
}

.stats__overlay-dot-b {
  position: absolute;
  top: 8rem;
  right: 5rem;
  width: 0.75rem;
  height: 0.75rem;
}

.stats__overlay-dot-c {
  position: absolute;
  bottom: 6rem;
  left: 5rem;
  width: 0.25rem;
  height: 0.25rem;
}

.stats__overlay-dot-d {
  position: absolute;
  bottom: 8rem;
  right: 4rem;
  width: 0.5rem;
  height: 0.5rem;
}

.stats__line-accent-t {
  position: absolute;
  top: 25%;
  left: 0;
  width: 8rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35),
    transparent
  );
}

.stats__line-accent-b {
  position: absolute;
  bottom: 33%;
  right: 0;
  width: 7rem;
  height: 1px;
  background: linear-gradient(
    270deg,
    transparent,
    rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3),
    transparent
  );
}

.stats__decor-ring-t {
  position: absolute;
  top: 6rem;
  left: 25%;
  width: 1rem;
  height: 1rem;
}

.stats__decor-ring-b {
  position: absolute;
  bottom: 7rem;
  right: 25%;
  width: 0.75rem;
  height: 0.75rem;
}

.stats__dashboard-card {
  max-width: 20rem;
}

.stats__blob-tr-dim {
  position: absolute;
  top: 0;
  right: 0;
  width: 6rem;
  height: 6rem;
}

.stats__blob-bl-dim {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5rem;
  height: 5rem;
}

.stats__header-icon-dim {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
}

.stats__dot-dim {
  width: 0.5rem;
  height: 0.5rem;
  min-width: 0.5rem;
  min-height: 0.5rem;
}

.stats__bottom-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
}

.stats__bg-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.stats__progress-svg rect {
  transition: width 1s ease;
}

@keyframes stats-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes stats-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

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

@keyframes stats-spin {
  to { transform: rotate(360deg); }
}

.stats-anim-pulse {
  animation: stats-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.stats-anim-bounce {
  animation: stats-bounce 1s infinite;
}

.stats-anim-ping {
  animation: stats-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.stats-anim-spin {
  animation: stats-spin 1s linear infinite;
}

.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-bg-dim-hover {
  transition: opacity 0.5s ease;
  opacity: 0.05;
}

.stats-card-hover:hover .stats-bg-dim-hover {
  opacity: 0.1;
}

.stats-blob-tr-hover {
  transition: transform 0.7s ease;
  transform: translate(2rem, -2rem);
}

.stats-card-hover:hover .stats-blob-tr-hover {
  transform: translate(2rem, -2rem) scale(1.25);
}

.stats-blob-bl-hover {
  transition: transform 0.5s ease;
  transform: translate(-1.5rem, 1.5rem);
}

.stats-card-hover:hover .stats-blob-bl-hover {
  transform: translate(-1.5rem, 1.5rem) scale(1.1);
}

.stats-header-icon-hover {
  transition: transform 0.3s ease;
}

.stats-card-hover:hover .stats-header-icon-hover {
  transform: rotate(12deg);
}

.stats-bottom-accent-hover {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-bottom-accent-hover {
  opacity: 0.6;
}

