.hero-milestone__title { letter-spacing: -0.02em; }

.hero-milestone__copy > * { opacity: 0; transform: translateY(1.25rem); animation: hero-milestone-rise 800ms cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-milestone__copy > *:nth-child(2) { animation-delay: 100ms; }
.hero-milestone__copy > *:nth-child(3) { animation-delay: 200ms; }
.hero-milestone__copy > *:nth-child(4) { animation-delay: 300ms; }

.hero-milestone__panel { opacity: 0; transform: translateY(2rem); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .8, .2, 1); }
.hero-milestone__panel.is-visible { opacity: 1; transform: none; }

.hero-milestone__stage { height: 16rem; }
.hero-milestone__chart { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-milestone__chart [data-line] { transition: stroke-dashoffset 2200ms cubic-bezier(.45, .05, .35, 1) 300ms; }
.hero-milestone__chart [data-area] { transition: opacity 900ms ease 1800ms; }
.hero-milestone__panel.is-visible .hero-milestone__chart [data-area] { opacity: .16; }

.hero-milestone__pin { transform: translate(-50%, calc(-100% + .625rem)); }
.hero-milestone__tip { white-space: nowrap; opacity: 0; transform: translateY(.5rem) scale(.8); transform-origin: bottom center; transition: opacity 400ms ease, transform 500ms cubic-bezier(.34, 1.56, .64, 1); }
.hero-milestone__dot { width: 1.25rem; height: 1.25rem; transform: scale(0); transition: transform 450ms cubic-bezier(.34, 1.56, .64, 1); }
.hero-milestone__pin.is-on .hero-milestone__tip { opacity: 1; transform: none; transition-delay: 120ms; }
.hero-milestone__pin.is-on .hero-milestone__dot { transform: scale(1); }
.hero-milestone__micro { font-size: .75rem; line-height: 1rem; }

.hero-milestone__icon { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.hero-milestone__icon + * { min-width: 0; overflow-wrap: anywhere; }
.hero-milestone__badge { opacity: 0; transform: translateY(1rem); transition: opacity 500ms ease, transform 500ms ease; }
.hero-milestone.is-done .hero-milestone__badge { opacity: 1; transform: none; }
.hero-milestone.is-done li:nth-child(2) > .hero-milestone__badge { transition-delay: 100ms; }
.hero-milestone.is-done li:nth-child(3) > .hero-milestone__badge { transition-delay: 200ms; }
.hero-milestone.is-done li:nth-child(4) > .hero-milestone__badge { transition-delay: 300ms; }

@keyframes hero-milestone-rise { to { opacity: 1; transform: none; } }

@media (max-width: 575.98px) {
    .hero-milestone__stage { height: 12rem; }
    .hero-milestone__tip { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-milestone__copy > * { animation: none; opacity: 1; transform: none; }
    .hero-milestone__panel, .hero-milestone__badge, .hero-milestone__tip, .hero-milestone__dot,
    .hero-milestone__chart [data-line], .hero-milestone__chart [data-area] { transition: none; opacity: 1; transform: none; }
}

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

.stats-strata__swatch { width: 1rem; height: 1rem; flex-shrink: 0; }
.stats-strata__layer--1 { opacity: .55; }
.stats-strata__layer--2 { opacity: .25; }

.stats-strata__stage { height: 16rem; }
.stats-strata__chart { display: block; width: 100%; height: 100%; overflow: visible; }
.stats-strata__area { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; transition: transform 1100ms cubic-bezier(.2, .8, .2, 1); }
.stats-strata__area.stats-strata__layer--0 { opacity: .9; transition-delay: 600ms; }
.stats-strata__area.stats-strata__layer--1 { transition-delay: 300ms; }
[data-strata].is-visible .stats-strata__area { transform: scaleY(1); }

[data-guides] line { stroke-dasharray: 4 5; opacity: 0; transition: opacity 400ms ease 1400ms; }
[data-strata].is-visible [data-guides] line { opacity: 1; }

.stats-strata__pin { width: 2rem; height: 2rem; transform: translate(-50%, -50%) scale(0); transition: transform 400ms cubic-bezier(.3, 1.6, .5, 1); }
[data-strata].is-visible .stats-strata__pin { transform: translate(-50%, -50%) scale(1); }
.stats-strata__pin.is-hot { transform: translate(-50%, -50%) scale(1.3) !important; }

.stats-strata__num { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.stats-strata__callout { cursor: default; transition: transform 200ms ease; }
.stats-strata__callout:hover,
.stats-strata__callout:focus-visible { transform: translateY(-3px); }
.stats-strata__micro { font-size: .75rem; }

@media (prefers-reduced-motion: reduce) {
    .stats-strata__area, .stats-strata__pin, [data-guides] line { transition: none; transform: none; opacity: 1; }
    [data-strata].is-visible .stats-strata__pin { transform: translate(-50%, -50%); }
}
.stats-strata__micro { min-width: 0; }
.stats-strata__micro > span { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.stats-strata__micro > span:first-child { text-align: left; }
.stats-strata__micro > span:last-child { text-align: right; }
/* long values must wrap inside the 2-column grid on phones */
.stats-strata__callout { min-width: 0; }
/* badge always sits above the value so all four callouts line up */
.stats-strata__callout > dd { flex-direction: column; align-items: flex-start !important; gap: .5rem !important; min-width: 0; }
.stats-strata__value { min-width: 0; overflow-wrap: anywhere; line-height: 1.1; }
.stats-strata__suffix { display: inline-block; font-size: .6em; margin-left: .1em; line-height: 1.2; vertical-align: baseline; }
@media (max-width: 575px) { .stats-strata__callout > dd { font-size: 1.5rem !important; } }

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

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

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

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

.classic-rail-timeline__line {
    width: 2px;
    left: 2rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.classic-rail-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .classic-rail-timeline__dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.classic-rail-timeline__content {
    margin-left: 5rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__content {
        margin-left: 0;
        width: 50%;
    }

    .classic-rail-timeline__content--start {
        padding-right: 2.5rem;
    }

    .classic-rail-timeline__content--end {
        padding-left: 2.5rem;
    }

    .classic-rail-timeline__row--reverse {
        flex-direction: row-reverse;
    }
}

/* Hover — поза @sem */
.services__tile--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

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

.services__cta--lift {
  transition: filter 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* cta v39 — pocket phone mock: sizes, bar growth, toast slide-in (no colors) */
.cta-pocket__stage { min-height: 36rem; align-items: center; }
.cta-pocket__halo { width: 26rem; height: 26rem; max-width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cta-pocket__phone { width: 18.5rem; max-width: 100%; height: 36rem; border-radius: 2.75rem; z-index: 1; opacity: 0; transform: translateY(2rem) rotate(-2deg); transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1); }
[data-pocket].is-visible .cta-pocket__phone { opacity: 1; transform: none; }
.cta-pocket__notch { width: 6rem; height: 1.25rem; transform: translateX(-50%); }
.cta-pocket__tick { width: 1.5rem; height: 1.5rem; margin-top: .125rem; font-size: .75rem; }
.cta-pocket__micro { font-size: .75rem; line-height: 1.1rem; }
.cta-pocket__tiny { font-size: .625rem; line-height: .875rem; }
.cta-pocket__grow { min-width: 0; }
/* phone mock text keeps its small size in both frameworks and never pushes out of the frame */
.cta-pocket__phone .cta-pocket__micro { font-size: .75rem !important; line-height: 1.1rem !important; overflow-wrap: anywhere; }
.cta-pocket__phone .cta-pocket__tiny { font-size: .625rem !important; line-height: .875rem !important; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cta-pocket__bars > * { min-width: 0; }
.cta-pocket__ico { width: 2rem; height: 2rem; }

.cta-pocket__bars { height: 8.5rem; }
.cta-pocket__bar { display: block; height: 0; min-height: .25rem; transition: height 900ms cubic-bezier(.2, .8, .2, 1); }

.cta-pocket__toast { opacity: 0; transform: translateX(110%); transition: opacity 450ms ease, transform 550ms cubic-bezier(.2, .8, .2, 1); }
.cta-pocket__toast.is-in { opacity: 1; transform: none; }

.cta-pocket__chip { z-index: 2; left: -.5rem !important; bottom: 4rem !important; animation: cta-pocket-bob 5s ease-in-out infinite; }
@media (min-width: 992px) { .cta-pocket__chip { left: -1.5rem !important; } }

@keyframes cta-pocket-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.5rem; } }

@media (prefers-reduced-motion: reduce) {
    .cta-pocket__phone, .cta-pocket__bar, .cta-pocket__toast { transition: none; }
    .cta-pocket__phone, .cta-pocket__toast { opacity: 1; transform: none; }
    .cta-pocket__chip { animation: none; }
}

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

