/* intro v23 — BAPE grunge wizard: film strip, giant numbers, clip-path wipe hover, height-expand step */

/* Full-width step photo — cinematic banner, object-fit has no BS utility */
.intro-grit__photo {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

/* Progress track height (no BS h-N utility) */
.intro-grit__track { height: 0.25rem; }

/* Clip-path reveal on hover: primary wipe grows from the corner */
.intro-grit__wipe {
    clip-path: circle(0% at 90% 10%);
    opacity: 0.12;
    transition: clip-path 420ms ease;
}
.intro-grit__card:hover .intro-grit__wipe {
    clip-path: circle(150% at 90% 10%);
}

/* Height-expand accordion-style step entrance */
.intro-grit__step {
    animation: intro-grit-expand 420ms ease;
    transform-origin: top;
}
@keyframes intro-grit-expand {
    from { opacity: 0; transform: scaleY(0.96) translateY(-0.5rem); }
    to   { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Progress bar transition */
.intro-grit__bar { transition: width 360ms ease; width: 0; }

/* Stepper dots — state via opacity, colour stays a Tailwind class */
.intro-grit__dot {
    width: 0.625rem;
    height: 0.625rem;
    opacity: 0.35;
    transition: opacity 200ms ease, transform 200ms ease;
}
.intro-grit__dot.is-active {
    opacity: 1;
    transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
    .intro-grit__step { animation: none; }
    .intro-grit__wipe { transition: none; }
}

.services-timeline__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-timeline__body {
    min-width: 0;
}
.services-timeline__row:last-child .services-timeline__body {
    padding-bottom: 0;
}

.services-timeline__ghost {
    line-height: 1;
}

/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

/* —— акордеон (класи без номера секції) —— */
.socialproof__acc-panel {
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.socialproof__acc-panel[open] {
    border-left-color: var(--color-primary-500, #6366f1);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.dark .socialproof__acc-panel[open] {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.socialproof__acc-summary {
    transition: background-color 0.15s ease;
}

.socialproof__acc-summary::-webkit-details-marker {
    display: none;
}

.socialproof__acc-summary::marker {
    display: none;
}

@media (hover: hover) {
    .socialproof__acc-summary:hover {
        background-color: rgba(99, 102, 241, 0.06);
    }

    .dark .socialproof__acc-summary:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
}

.socialproof__acc-chevron {
    transition: transform 0.25s ease;
}

.socialproof__acc-panel[open] .socialproof__acc-chevron {
    transform: rotate(180deg);
}

/* Рядок статистики: без накладання (TW + BS) */
.socialproof__acc-stat {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
}

.socialproof__acc-stat-num {
    flex: 0 0 auto;
    width: 4.5rem;
    min-width: 4.5rem;
    max-width: 5.5rem;
    text-align: right;
    line-height: 1.25;
}

.socialproof__acc-stat-num .socialproof__stat-value {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.socialproof__acc-stat-copy {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .socialproof__acc-stat {
        flex-wrap: wrap;
    }

    .socialproof__acc-stat-num {
        width: 100%;
        max-width: none;
        text-align: left;
    }
}

.socialproof__acc-stat.socialproof__stat-row {
    transition: background-color 0.15s ease;
}

@media (hover: hover) {
    .socialproof__acc-stat.socialproof__stat-row:hover {
        background-color: rgba(99, 102, 241, 0.04);
    }

    .dark .socialproof__acc-stat.socialproof__stat-row:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
}

@keyframes socialproof-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes socialproof-bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.socialproof__deco-blob--pulse {
    animation: socialproof-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.socialproof__deco-blob--bounce {
    animation: socialproof-bounce 1s infinite;
}

.socialproof__deco-blob--delay-2 {
    animation-delay: 2s;
}

@media (prefers-reduced-motion: reduce) {
    .socialproof__deco-blob--pulse,
    .socialproof__deco-blob--bounce {
        animation: none;
    }
}

