/* Бейдж по ширине контента (в BS не было w-fit) */
.hero-v16-badge-wrap {
    width: fit-content;
    max-width: 100%;
}

/* Фото: квадрат 1:1 по схеме orientation: square, без «лески» от h-full во flex */
.hero-v16-media {
    width: 100%;
    max-width: 28rem;
    min-width: min(100%, 17.5rem);
    box-sizing: border-box;
}

/* Карточка вокруг фото — одна ширина в TW и BS (BS .card иначе может сжимать контент) */
.hero-v16-card-box {
    width: 100%;
    box-sizing: border-box;
}

.hero-v16-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero-v16-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-v16-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.hero-v16-offset-tr {
    margin-top: -0.5rem;
    margin-right: -0.5rem;
    width: 4rem;
    height: 4rem;
}

.hero-v16-offset-bl {
    margin-bottom: -0.5rem;
    margin-left: -0.5rem;
    width: 3rem;
    height: 3rem;
}

.hero-v16-orb-lg {
    width: 5rem;
    height: 5rem;
    animation-duration: 2s;
}

.hero-v16-orb-md {
    width: 4rem;
    height: 4rem;
    animation-duration: 8s;
}

.hero-v16-orb-sm {
    width: 3rem;
    height: 3rem;
    animation-duration: 2.5s;
}

.hero-v16-connector {
    width: 5rem;
    height: 0.25rem;
}

.hero-v16-anim-a {
    animation-duration: 1.5s;
    animation-delay: 0.3s;
}

.hero-v16-anim-b {
    animation-duration: 1.5s;
    animation-delay: 0.6s;
}

.hero-v16-float-a {
    animation-duration: 3s;
    left: 25%;
    width: 2rem;
    height: 2rem;
}

.hero-v16-float-b {
    animation-duration: 2s;
    right: 25%;
    width: 1.5rem;
    height: 1.5rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.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%;
}

.perks-orbit-rows__chip,
.perks-orbit-rows__feature {
    transition: transform 0.2s ease;
}

.perks-orbit-rows__feature {
    width: 17.5rem;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .perks-orbit-rows__feature {
        width: 20rem;
    }
}

.perks-orbit-rows__feature-thumb {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 640px) {
    .perks-orbit-rows__chip:hover {
        transform: scale(1.05);
    }

    .perks-orbit-rows__feature:hover {
        transform: scale(1.02);
    }
}

.steps-bg-timeline__card-col {
    max-width: 28rem;
}

.steps-bg-timeline__badge-circle {
    width: 4rem;
    height: 4rem;
}

.steps-bg-timeline__timeline-line {
    height: 1px;
}

/* Mobile: label stays in flow under the badge (no overlap between adjacent steps).
   From md up it detaches below the timeline line, centered on the badge. */
.steps-bg-timeline__badge-label {
    max-width: 8rem;
}

@media (min-width: 768px) {
    .steps-bg-timeline__badge-label {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 2rem;
        max-width: none;
        white-space: nowrap;
    }
}

.whyus-full-band__inner {
    max-width: 56rem;
}

.whyus-full-band__text {
    max-width: 48rem;
}

.staircase-cascade-quote__portrait {
    width: 5rem;
    height: 5rem;
}

.staircase-cascade-quote__step:nth-child(1) .staircase-cascade-quote__shadow {
    transform: translate(0, 0);
}

.staircase-cascade-quote__step:nth-child(2) .staircase-cascade-quote__shadow {
    transform: translate(16px, 16px);
}

.staircase-cascade-quote__step:nth-child(3) .staircase-cascade-quote__shadow {
    transform: translate(32px, 32px);
}

.staircase-cascade-quote__step:nth-child(4) .staircase-cascade-quote__shadow {
    transform: translate(48px, 48px);
}

.staircase-cascade-quote__step:nth-child(5) .staircase-cascade-quote__shadow {
    transform: translate(64px, 64px);
}

.staircase-cascade-quote__step:nth-child(6) .staircase-cascade-quote__shadow {
    transform: translate(80px, 80px);
}

.staircase-cascade-quote__step:nth-child(n + 7) .staircase-cascade-quote__shadow {
    transform: translate(96px, 96px);
}

/* 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;
}


.prompt-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.prompt-beacon__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.prompt-beacon__sheet--haze { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

