.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; }

@keyframes driftLeftRight {
    0% { transform: translateX(-15%); }
    50% { transform: translateX(15%); }
    100% { transform: translateX(-15%); }
}

@keyframes driftRightLeft {
    0% { transform: translateX(15%); }
    50% { transform: translateX(-15%); }
    100% { transform: translateX(15%); }
}

.intro-drift-strip-a {
    width: 33%;
    height: 6rem;
    animation: driftLeftRight 14s ease-in-out infinite;
}

.intro-drift-strip-b {
    width: 50%;
    height: 4rem;
    animation: driftRightLeft 18s ease-in-out infinite;
}

.intro-drift-strip-c {
    width: 25%;
    height: 5rem;
    animation: driftLeftRight 12s ease-in-out infinite;
    animation-delay: 3s;
}

.intro-drift-container {
    max-width: 80rem;
}

.intro-drift-textbox {
    max-width: 48rem;
}

/* Flex: дозволити прокрутку тексту в колонці однакової висоти (BS + TW) */
/* Flex column: allow inner scroll in equal-height grid */
.portfolio-v8-item {
    min-height: 0;
}

.portfolio-v8-box {
    min-height: 0;
}

.portfolio-v8-tech {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-v8-tech:hover {
    transform: scale(1.05);
}

/* Card hover: lift up + scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: translateY(-0.5rem) scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.5s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.1);
}

.steps-icon-grid__step-badge {
    width: 2rem;
    height: 2rem;
}

.steps-icon-grid__icon-box {
    width: 4rem;
    height: 4rem;
}

.faq-insight__summary { cursor: pointer; }
.faq-insight__summary::-webkit-details-marker { display: none; }
.faq-insight__summary::marker { content: ""; }
.faq-insight__tile { width: 3rem; height: 3rem; transition: transform 300ms cubic-bezier(.2, .8, .2, 1); }
.faq-insight__item.is-open .faq-insight__tile { transform: rotate(-6deg) scale(1.05); }

.faq-insight__sign { width: 2.5rem; height: 2.5rem; }
.faq-insight__sign::before, .faq-insight__sign::after { content: ""; position: absolute; top: 50%; left: 50%; width: .875rem; height: 2px; border-top: 2px solid; transform: translate(-50%, -50%); transition: transform 300ms cubic-bezier(.2, .8, .2, 1); }
.faq-insight__sign::before { height: 0; }
.faq-insight__sign::after { height: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-insight__item.is-open .faq-insight__sign::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-insight__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(.2, .8, .2, 1); }
.faq-insight__item.is-open .faq-insight__panel { grid-template-rows: 1fr; }
.faq-insight__inner { overflow: hidden; min-height: 0; }
.faq-insight__inner > * { opacity: 0; transform: translateY(-.5rem); transition: opacity 300ms ease, transform 300ms ease; }
.faq-insight__item.is-open .faq-insight__inner > * { opacity: 1; transform: none; transition-delay: 120ms; }

.faq-insight__stat { align-self: start; }
.faq-insight__ring { width: 5rem; height: 5rem; }
.faq-insight__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.faq-insight__ring [data-arc] { stroke-dasharray: 214; stroke-dashoffset: 214; transition: stroke-dashoffset 1200ms cubic-bezier(.2, .8, .2, 1) 150ms; }
.faq-insight__num { white-space: nowrap; }
.faq-insight__check { margin-top: .2rem; }
.faq-insight__bullet { opacity: 0; transform: translateX(-.5rem); transition: opacity 350ms ease, transform 350ms ease; }
.faq-insight__item.is-open .faq-insight__bullet { opacity: 1; transform: none; }
.faq-insight__item.is-open .faq-insight__bullet:nth-child(2) { transition-delay: 120ms; }
.faq-insight__item.is-open .faq-insight__bullet:nth-child(3) { transition-delay: 240ms; }

.faq-insight__bar { opacity: 0; transform: translateY(1.5rem); transition: opacity 450ms ease, transform 450ms cubic-bezier(.2, .8, .2, 1); }
.faq-insight__bar.is-shown { opacity: 1; transform: none; }
.faq-insight__pulse { width: 2.75rem; height: 2.75rem; }

@media (prefers-reduced-motion: reduce) {
    .faq-insight__tile, .faq-insight__sign::after, .faq-insight__panel, .faq-insight__inner > *, .faq-insight__bullet, .faq-insight__bar, .faq-insight__ring [data-arc] { transition: none; }
    .faq-insight__bar { opacity: 1; transform: none; }
}

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


.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); }

