.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-mosaic__title { letter-spacing: -0.02em; }
.stats-mosaic__big { letter-spacing: -0.03em; }
.stats-mosaic__micro { font-size: .75rem; line-height: 1rem; }
/* value + unit suffix never push the tile wider: the suffix is smaller and the rows may wrap the chip below */
.stats-mosaic__suffix { font-size: .5em; margin-left: .15em; letter-spacing: 0; }
.stats-mosaic [data-tile] strong { min-width: 0; overflow-wrap: anywhere; }
.stats-mosaic :has(> .stats-mosaic__big) { flex-wrap: wrap; }
.stats-mosaic__chip { max-width: 100%; }

.stats-mosaic__tile { opacity: 0; transform: translateY(1.5rem) scale(.97); transition: opacity 600ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); }
.stats-mosaic__tile.is-in { opacity: 1; transform: none; }
.stats-mosaic__tile--lead { min-height: 26rem; }

.stats-mosaic__chip { transform: scale(0); transition: transform 500ms cubic-bezier(.34, 1.56, .64, 1) 900ms; }
.stats-mosaic__tile.is-in .stats-mosaic__chip { transform: none; }

.stats-mosaic__spark { display: block; height: 3.5rem; overflow: visible; flex-shrink: 0; }
.stats-mosaic__spark--lead { height: 9rem; }
.stats-mosaic__spark [data-line] { transition: stroke-dashoffset 1600ms cubic-bezier(.45, .05, .35, 1) 300ms; }
.stats-mosaic__spark [data-area] { transition: opacity 800ms ease 1500ms; }
.stats-mosaic__tile.is-in .stats-mosaic__spark [data-area] { opacity: .18; }

@media (prefers-reduced-motion: reduce) {
    .stats-mosaic__tile, .stats-mosaic__chip, .stats-mosaic__spark [data-line],
    .stats-mosaic__spark [data-area] { transition: none; opacity: 1; transform: none; }
    .stats-mosaic__tile.is-in .stats-mosaic__spark [data-area] { opacity: .18; }
}

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

.values-card-strip__item {
    max-width: 24rem;
}

.values-card-strip__thumb {
    width: 5rem;
    height: 5rem;
}

.values-card-strip__panel {
    max-width: 48rem;
}

/* 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-hub__stage { min-height: 24rem; }
.cta-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-hub__lines path { stroke-dasharray: 6 8; opacity: 0; }
[data-hub].is-visible .cta-hub__lines path { opacity: .5; animation: cta-hub-flow 1.2s linear infinite; transition: opacity 600ms ease 400ms; }

.cta-hub__node { opacity: 0; transition: opacity 500ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); }
.cta-hub__node--0 { top: 12% !important; left: 4% !important; transform: translate(-1.5rem, -1.5rem); }
.cta-hub__node--1 { top: 12% !important; left: auto !important; right: 4%; transform: translate(1.5rem, -1.5rem); }
.cta-hub__node--2 { top: auto !important; bottom: 12%; left: 4% !important; transform: translate(-1.5rem, 1.5rem); }
.cta-hub__node--3 { top: auto !important; bottom: 12%; left: auto !important; right: 4%; transform: translate(1.5rem, 1.5rem); }
[data-hub].is-visible .cta-hub__node { opacity: 1; transform: none; animation: cta-hub-bob 5s ease-in-out 1s infinite; }
[data-hub].is-visible .cta-hub__node--1 { transition-delay: 120ms; animation-delay: 1.6s; }
[data-hub].is-visible .cta-hub__node--2 { transition-delay: 240ms; animation-delay: 2.2s; }
[data-hub].is-visible .cta-hub__node--3 { transition-delay: 360ms; animation-delay: 2.8s; }

.cta-hub__core { transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: transform 700ms cubic-bezier(.2, .8, .2, 1) 500ms, opacity 500ms ease 500ms; }
[data-hub].is-visible .cta-hub__core { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.cta-hub__micro { font-size: .75rem; }

@keyframes cta-hub-flow { to { stroke-dashoffset: -28; } }
@keyframes cta-hub-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (prefers-reduced-motion: reduce) {
    .cta-hub__node, .cta-hub__core { transition: none; animation: none; opacity: 1; }
    [data-hub].is-visible .cta-hub__lines path { animation: none; }
}
/* phones: keep the four orbit nodes from colliding */
@media (max-width: 575px) {
    .cta-hub__node { max-width: 44%; padding: .5rem .75rem !important; font-size: .8125rem; line-height: 1.15rem; }
}

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

