/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v30-decor-layer {
    pointer-events: none;
}

.hero-v30-quote-mark {
    position: absolute;
    z-index: 0;
    font-size: clamp(12rem, 25vw, 22rem);
    line-height: 0.75;
    opacity: 0.7;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-v30-block {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.hero-v30-divider {
    max-width: 20rem;
}

/* Размер звёзд (иконки не растягиваются в flex) */
.hero-v30-star {
    font-size: 0.875rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .hero-v30-cta:hover {
        transform: scale(1.05);
    }
}

.hero-v30-cta {
    transition: transform 150ms ease;
}

.hero-v30-cta-icon {
    line-height: 1;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
@media (min-width: 768px) {
    .steps-dual-panel__sticky-col {
        position: sticky;
        top: 2rem;
    }
}

.steps-dual-panel__badge-circle {
    width: 3rem;
    height: 3rem;
}

.steps-dual-panel__decor-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* process studio — services grid, CTA ring, card drift animations */
.process-studio__cta {
    width: 7.5rem;
    height: 7.5rem;
    line-height: 1.25;
    padding: 1rem;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.process-studio__cta:hover {
    transform: scale(1.04);
}

.process-studio__card-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.process-studio__drift {
    animation: process-studio-drift 4.5s ease-in-out infinite;
}

.process-studio__drift--a {
    animation-delay: 0s;
}

.process-studio__drift--b {
    animation-delay: 0.5s;
}

.process-studio__drift--c {
    animation-delay: 1s;
}

.process-studio__card--1 .process-studio__drift {
    animation-duration: 4.5s;
}

.process-studio__card--2 .process-studio__drift {
    animation-duration: 5s;
}

.process-studio__card--3 .process-studio__drift {
    animation-duration: 4s;
}

.process-studio__card--4 .process-studio__drift {
    animation-duration: 5.5s;
}

.process-studio__card--5 .process-studio__drift {
    animation-duration: 4.2s;
}

.process-studio__card--6 .process-studio__drift {
    animation-duration: 4.8s;
}

@keyframes process-studio-drift {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.2rem);
    }
}

@media (min-width: 768px) {
    .process-studio__cta {
        width: 8.5rem;
        height: 8.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-studio__drift {
        animation: none;
    }

    .process-studio__cta:hover {
        transform: none;
    }
}

.compact-gradient-timeline__badge {
    width: 4rem;
    height: 4rem;
}

.compact-gradient-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.compact-gradient-timeline__arrow {
    width: 1.5rem;
    height: 1.5rem;
}

.compact-gradient-timeline__summary-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.compact-gradient-timeline__min-shrink {
  min-width: 0;
}

/* whyus v20 — fluid parametric backdrop, glitch/scroll reveals */
/* No colors here: `currentColor` reads the Tailwind text-color class already applied on each node. */

/* ── Left-half backdrop: fluid swooping edge instead of a straight 50% cut ── */
.whyus-parametric__bg-half {
    overflow: hidden;
    clip-path: polygon(0 0, 92% 0, 100% 18%, 94% 40%, 100% 62%, 90% 100%, 0 100%);
}

/* ── Mesh-gradient blobs — radial gradient from currentColor, slow organic drift ── */
.whyus-parametric__blob {
    background-image: radial-gradient(circle at 50% 50%, currentColor 0%, transparent 70%);
    will-change: transform;
}

.whyus-parametric__blob--a {
    animation: whyus-parametric-drift-a 22s ease-in-out infinite;
}

.whyus-parametric__blob--b {
    animation: whyus-parametric-drift-b 28s ease-in-out infinite;
}

.whyus-parametric__blob--c {
    animation: whyus-parametric-drift-c 34s ease-in-out infinite;
}

@keyframes whyus-parametric-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2rem, 3rem) scale(1.08); }
}

@keyframes whyus-parametric-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-3rem, -2rem) scale(0.95); }
}

@keyframes whyus-parametric-drift-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(1.5rem, -2.5rem) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-parametric__blob--a,
    .whyus-parametric__blob--b,
    .whyus-parametric__blob--c {
        animation: none;
    }
}

/* ── Film-perforation edge strip ── */
.whyus-parametric__perf-strip {
    background-image: repeating-linear-gradient(to bottom, currentColor 0, currentColor 6px, transparent 6px, transparent 18px);
}

/* ── Row / card containers ── */
.whyus-parametric__row {
    position: relative;
}

.whyus-parametric__card {
    transition: transform 200ms ease;
}

.whyus-parametric__card:hover {
    transform: translateY(-0.25rem);
}

.whyus-parametric__note {
    transition: transform 200ms ease;
}

.whyus-parametric__note:hover {
    transform: translateX(0.25rem);
}

/* ── Skewed swoop divider between rows (Zaha-Hadid-style dynamic line) ── */
.whyus-parametric__divider {
    display: block;
    height: 0.375rem;
    margin-top: 2.5rem;
    clip-path: polygon(0 40%, 20% 60%, 40% 20%, 60% 70%, 80% 30%, 100% 55%, 100% 100%, 0 100%);
}

.whyus-parametric__divider--lg {
    height: 0.5rem;
    margin-top: 3rem;
}

/* ── Appearance animation: glitch flicker on load, then settle ── */
.whyus-parametric__glitch {
    animation: whyus-parametric-glitch 900ms steps(2, end) 1 both;
}

@keyframes whyus-parametric-glitch {
    0% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 1; transform: translate(-6px, 2px); }
    20% { opacity: 0.2; transform: translate(4px, -3px); }
    30% { opacity: 1; transform: translate(-3px, 0); }
    45% { opacity: 0.4; transform: translate(3px, 2px); }
    60% { opacity: 1; transform: translate(0, -2px); }
    80% { opacity: 0.8; transform: translate(-1px, 1px); }
    100% { opacity: 1; transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-parametric__glitch {
        animation: none;
    }
}

/* ── Scroll-driven reveal for the micro-ring rows ──
   Static, fully visible fallback for browsers without scroll-timeline support. */
.whyus-parametric__row--micro {
    opacity: 1;
    transform: none;
}

@supports (animation-timeline: view()) {
    .whyus-parametric__row--micro {
        opacity: 0;
        animation: whyus-parametric-reveal linear both;
        animation-timeline: view();
        /* entry-based range: cover-N% never completes for bottom-of-section cards */
        animation-range: entry 0% entry 100%;
    }
}

@keyframes whyus-parametric-reveal {
    from { opacity: 0; transform: translateY(2rem); }
    to { opacity: 1; transform: translateY(0); }
}


.invite-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@keyframes invite-boost-flare-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.invite-boost__flare--throb {
    animation: invite-boost-flare-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes invite-boost-flare-rebound-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.invite-boost__flare--rebound {
    animation: invite-boost-flare-rebound-cycle 1s infinite;
}

@keyframes invite-boost-flare-ping-cycle {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.invite-boost__flare--ping {
    animation: invite-boost-flare-ping-cycle 1s cubic-bezier(0,0,.2,1) infinite;
}

@keyframes invite-boost-stroke-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.invite-boost__stroke--throb {
    animation: invite-boost-stroke-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

.invite-boost__layer--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.invite-boost__flare--lift:hover { transform: scale(1.25); transition: transform .2s ease; }

.invite-boost__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

