.hero-planner__glow { width: 42rem; height: 42rem; top: -14rem; right: -16rem; filter: blur(80px); opacity: .8; }
.hero-planner__title { letter-spacing: -0.02em; }

.hero-planner__copy > * { opacity: 0; transform: translateY(1rem); animation: hero-planner-rise 700ms cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-planner__copy > *:nth-child(2) { animation-delay: 90ms; }
.hero-planner__copy > *:nth-child(3) { animation-delay: 180ms; }
.hero-planner__copy > *:nth-child(4) { animation-delay: 270ms; }
.hero-planner__copy > *:nth-child(5) { animation-delay: 360ms; }

.hero-planner__tick { width: 1.5rem; height: 1.5rem; flex-shrink: 0; margin-top: .125rem; }
.hero-planner__icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.hero-planner__micro { font-size: .75rem; line-height: 1rem; }
.hero-planner__body { min-width: 0; }

.hero-planner__card { opacity: 0; transform: translateY(2rem) scale(.98); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .8, .2, 1); }
[data-planner].is-visible .hero-planner__card { opacity: 1; transform: none; }

.hero-planner__donut { width: 11rem; height: 11rem; flex-shrink: 0; }
.hero-planner__donut svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-planner__seg { stroke-dasharray: 0 302; transition: stroke-dasharray 900ms cubic-bezier(.2, .8, .2, 1); }
.hero-planner__seg--0 { opacity: 1; }
.hero-planner__seg--1 { opacity: .68; }
.hero-planner__seg--2 { opacity: .42; }
.hero-planner__seg--3 { opacity: .22; }
.hero-planner__dot { width: .625rem; height: .625rem; flex-shrink: 0; }

.hero-planner__track { height: .5rem; }
.hero-planner__fill { width: 0; height: 100%; transition: width 1300ms cubic-bezier(.2, .8, .2, 1); }

.hero-planner__goal { opacity: 0; transform: translateX(1.25rem); transition: opacity 500ms ease, transform 500ms ease; }
[data-planner].is-visible .hero-planner__goal { opacity: 1; transform: none; }
[data-planner].is-visible .hero-planner__goal:nth-child(1) { transition-delay: 450ms; }
[data-planner].is-visible .hero-planner__goal:nth-child(2) { transition-delay: 600ms; }
[data-planner].is-visible .hero-planner__goal:nth-child(3) { transition-delay: 750ms; }

.hero-planner__chip { top: -1.25rem !important; right: -.5rem !important; animation: hero-planner-float 5s ease-in-out infinite; }

@keyframes hero-planner-rise { to { opacity: 1; transform: none; } }
@keyframes hero-planner-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* the floating chip must never cover the card heading: on wide screens the heading row keeps room for it, below lg the chip sits in the flow above the card */
.hero-planner__chip { max-width: 14rem; }
.hero-planner__chip .hero-planner__micro { overflow-wrap: anywhere; }
@media (min-width: 992px) {
    .hero-planner__card > :first-child { padding-right: 10rem; }
}
@media (max-width: 991.98px) {
    .hero-planner [data-planner] { display: flex; flex-direction: column; }
    .hero-planner__chip { position: relative !important; top: auto !important; right: auto !important; order: -1; align-self: flex-end; margin-bottom: .75rem; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-planner__copy > *, .hero-planner__card, .hero-planner__goal { animation: none; opacity: 1; transform: none; transition: none; }
    .hero-planner__seg, .hero-planner__fill { transition: none; }
    .hero-planner__chip { animation: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.hero-planner[hidden], .hero-planner [hidden], .hero-planner .hidden.d-none { display: none !important; }

.stats-ladder__title { letter-spacing: -0.02em; }
.stats-ladder__medal { width: 5.5rem; height: 5.5rem; flex-shrink: 0; }
.stats-ladder__rank { opacity: 0; transform: scale(.94); transition: opacity 600ms ease, transform 700ms cubic-bezier(.34, 1.56, .64, 1); }
.stats-ladder.is-visible .stats-ladder__rank { opacity: 1; transform: none; }

.stats-ladder__row { transition: transform 900ms cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.stats-ladder__track { height: .75rem; }
.stats-ladder__fill { width: 0; height: 100%; transition: width 1500ms cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
    .stats-ladder__rank { opacity: 1; transform: none; transition: none; }
    .stats-ladder__row, .stats-ladder__fill { transition: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.stats-ladder[hidden], .stats-ladder [hidden], .stats-ladder .hidden.d-none { display: none !important; }

.values-circle-block__card {
    max-width: 24rem;
}

.values-circle-block__item {
    max-width: 24rem;
}

.values-circle-block__thumb {
    width: 5rem;
    height: 5rem;
}

/* v23 — Bootstrap branch: same rhythm as Tailwind gap-lg + grid columns */
.numbered-step-grid-timeline__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .numbered-step-grid-timeline__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Parity with Tailwind max-w-2xl on header block */
.numbered-step-grid-timeline__area-bw {
    max-width: 42rem;
}

.numbered-step-grid-timeline__min-shrink {
  min-width: 0;
}

/* group-hover та картка */
.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.75rem);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: translateY(-0.75rem) scale(1.05);
  }
}

.services__media {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__row:hover .services__media {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services__heading {
  transition: color 0.3s ease;
}

.services__row:hover .services__heading {
  color: #2563eb;
}

.dark .services__row:hover .services__heading {
  color: #60a5fa;
}

[data-bs-theme="dark"] .services__row:hover .services__heading {
  color: var(--bs-primary, #6ea8fe);
}

.services__accent {
  transition: width 0.3s ease;
}

.services__row:hover .services__accent {
  width: 6rem;
}

.services__badge--offset {
  top: 2rem;
  inset-inline-end: 2rem;
}

.services__decor--blur {
  filter: blur(64px);
}

.services__decor-root {
  z-index: -1;
}

/* BS: розміри блобів (TW — через w-72 / w-96 у sem) */
.services__blob-a {
  width: 18rem;
  height: 18rem;
}

.services__blob-b {
  width: 24rem;
  height: 24rem;
}

/* cta v40 — relay steps: scroll-driven progress line + node activation (no colors) */
.cta-relay__steps { --relay-p: 0; }
.cta-relay__node { width: 4rem; height: 4rem; z-index: 1; }
.cta-relay__on { opacity: 0; transform: scale(.6); transition: opacity 400ms ease, transform 500ms cubic-bezier(.2, .8, .2, 1); }
.cta-relay__step.is-active .cta-relay__on { opacity: 1; transform: none; }
.cta-relay__num { width: 1.5rem; height: 1.5rem; top: -.25rem !important; right: -.25rem !important; font-size: .75rem; z-index: 2; }
.cta-relay__body { min-width: 0; }
.cta-relay__badge { width: 3rem; height: 3rem; }

/* mobile: vertical track through node centres */
.cta-relay__track { width: .25rem; top: 2rem !important; bottom: 2rem; left: calc(2rem - .125rem) !important; z-index: 0; }
.cta-relay__fill { transform-origin: 50% 0; transform: scaleY(var(--relay-p)); transition: transform 120ms linear; }
.cta-relay__step { opacity: .55; transition: opacity 500ms ease; }
.cta-relay__step.is-active { opacity: 1; }

@media (min-width: 992px) {
    .cta-relay__steps:not(.is-row) .cta-relay__track { width: auto; height: .25rem; top: calc(2rem - .125rem) !important; bottom: auto; left: 16.666% !important; right: 16.666%; }
}
.cta-relay__steps.is-row .cta-relay__fill { transform-origin: 0 50%; transform: scaleX(var(--relay-p)); }

@media (prefers-reduced-motion: reduce) {
    .cta-relay__on, .cta-relay__fill, .cta-relay__step { transition: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.cta-relay[hidden], .cta-relay [hidden], .cta-relay .hidden.d-none { display: none !important; }

/* CTA bar: the button group may shrink and wrap so long labels never run past the bar */
.cta-relay :has(> a[href] + a[href]) { flex-shrink: 1 !important; min-width: 0; max-width: 100%; }
.cta-relay :has(> a[href] + a[href]) > a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.cta-relay :has(+ :has(> a[href] + a[href])) { min-width: 0; }

