/* intro v26 — Dieter Rams node: hex grid, bottom band, blurred ghost image, serif, typewriter */

/* Hexagon-ish grid (minimal, colour from Tailwind text-*, lines via currentColor) */
.intro-node__hex {
    background-image:
        repeating-linear-gradient(60deg, currentColor 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 26px);
    opacity: 0.1;
}

.intro-node__band { height: 10rem; opacity: 0.7; }

/* Blurred background photo behind the spotlight node */
.intro-node__ghost { height: 14rem; }
.intro-node__img {
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.35;
    transform: scale(1.08);
}

/* Serif heading */
.intro-node__serif {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* Org-chart stem connector */
.intro-node__stem {
    width: 1px;
    height: 2rem;
}

/* Typewriter caret */
.intro-node__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-node-caret 800ms step-end infinite;
}
@keyframes intro-node-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-node__type .is-typing { animation: none; }
}

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

.services-tabs__btn {
    background-color: transparent;
}
.services-tabs__btn:hover {
    background-color: color-mix(in srgb, var(--bs-secondary-color) 6%, transparent);
}
.services-tabs__btn.is-active {
    border-color: var(--bs-primary) !important;
    background-color: color-mix(in srgb, var(--bs-primary) 8%, transparent) !important;
}

/* Лише 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__section {
    position: relative;
}

.socialproof__section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
}

.socialproof__card {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    animation: socialproof-breathe 4s ease-in-out infinite;
}

.socialproof__card:hover {
    transform: translateY(-2px);
}

@keyframes socialproof-breathe {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.socialproof__value-text {
    font-family: 'Courier New', Courier, monospace;
    font-variant-numeric: tabular-nums;
}

.socialproof__label {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.2em;
}

.socialproof__icon-glow {
    line-height: 1;
}

.socialproof__card:nth-child(1) {
    animation-delay: 0s;
}

.socialproof__card:nth-child(2) {
    animation-delay: 0.5s;
}

.socialproof__card:nth-child(3) {
    animation-delay: 1s;
}

.socialproof__card:nth-child(4) {
    animation-delay: 1.5s;
}

.socialproof__card:nth-child(5) {
    animation-delay: 2s;
}

.socialproof__card:nth-child(6) {
    animation-delay: 2.5s;
}

.socialproof__label--sm {
    font-size: 0.65rem;
}

.socialproof__corner-grid {
    width: 8rem;
    height: 8rem;
    opacity: 0.1;
    background:
        linear-gradient(to right, currentColor 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(to bottom, currentColor 1px, transparent 1px) 0 0 / 20px 20px;
}

.socialproof__title-text {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.15em;
}

.socialproof__min-shrink {
    min-width: 0;
    max-width: 13rem;
}

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

    .socialproof__card:hover {
        transform: none;
    }
}

