/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

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

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.steps-badge-cards__number-circle {
    width: 3rem;
    height: 3rem;
}

.steps-badge-cards__icon-box {
    width: 4rem;
    height: 4rem;
}

/* Bootstrap: сетка 1→3 колонки + gap как у Tailwind (row + row-cols без col — слипание) */
.whyus-highlight-cards__grid-mb {
    margin-bottom: 2rem;
}

.whyus-highlight-cards__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .whyus-highlight-cards__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.whyus-highlight-cards__subtitle-max {
    max-width: 42rem;
}

.whyus-highlight-cards__desc-max {
    max-width: 48rem;
}

.whyus-highlight-cards__thumb {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

.whyus-highlight-cards__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-highlight-cards__inner {
    z-index: 10;
}

.whyus-highlight-cards__decor {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
}

.whyus-highlight-cards__accent {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 1rem;
    height: 1rem;
}

.stats__icon-dim {
  width: 4rem;
  height: 4rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.5rem) scale(1.05);
}

.stats-icon-inner-hover {
  transition: transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-inner-hover {
  transform: scale(1.1);
}


