.hero-stage__copy > * { opacity: 0; transform: translateY(1rem); animation: hero-stage-rise 700ms cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-stage__copy > *:nth-child(2) { animation-delay: 100ms; }
.hero-stage__copy > *:nth-child(3) { animation-delay: 200ms; }

.hero-stage__tab { appearance: none; -webkit-appearance: none; cursor: pointer; transition: transform 200ms ease; }
.hero-stage__tab:hover { transform: translateY(-2px); }
.hero-stage__timer { transform: scaleX(0); transform-origin: left; }
.hero-stage__tab.is-active .hero-stage__timer { animation: hero-stage-timer var(--hero-stage-delay, 6s) linear forwards; }
.hero-stage__tab.is-active.is-paused .hero-stage__timer { animation: none; transform: scaleX(1); }

.hero-stage__chart { display: block; width: 100%; height: 16rem; }

.hero-stage__card { margin-top: -10rem; }
@media (max-width: 767px) { .hero-stage__card { margin-top: -4rem; } }
.hero-stage__pane.is-entering { animation: hero-stage-swap 450ms ease both; }
.hero-stage__track { height: .5rem; }
.hero-stage__fill { width: 0; transition: width 900ms cubic-bezier(.2, .8, .2, 1); }

@keyframes hero-stage-rise { to { opacity: 1; transform: none; } }
@keyframes hero-stage-timer { to { transform: scaleX(1); } }
@keyframes hero-stage-swap { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .hero-stage__copy > * { animation: none; opacity: 1; transform: none; }
    .hero-stage__tab.is-active .hero-stage__timer { animation: none; transform: scaleX(1); }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.hero-stage[hidden], .hero-stage [hidden], .hero-stage .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-mission-panel__col {
    max-width: 24rem;
}

.values-mission-panel__thumb {
    width: 6rem;
    height: 6rem;
}

.values-mission-panel__card {
    max-width: 24rem;
}

.sidebar-dot-card-timeline__line {
    width: 2px;
    left: 1rem;
}

@media (min-width: 768px) {
    .sidebar-dot-card-timeline__line {
        left: 2rem;
    }
}

.sidebar-dot-card-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .sidebar-dot-card-timeline__dot {
        left: 1.5rem;
        transform: translateX(-0.5rem);
    }
}

.sidebar-dot-card-timeline__card {
    margin-left: 0;
}

@media (min-width: 768px) {
    .sidebar-dot-card-timeline__card {
        margin-left: 4rem;
    }
}

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

