/* About page — counter stats (modern) */

.about-counter {
    padding-top: 3rem;
}

.about-counter__grid {
    row-gap: 1.25rem;
}

.about-counter__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 168px;
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
    border: 1px solid hsl(var(--base) / 0.18);
    background: hsl(var(--white) / 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px hsl(var(--dark) / 0.12);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-counter__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    background: hsl(var(--base) / 0.35);
    border-bottom-left-radius: 100%;
    transition: transform 0.25s ease;
}

.about-counter__card:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--base) / 0.45);
    box-shadow: 0 14px 40px hsl(var(--base) / 0.15);
    color: inherit;
}

.about-counter__card:hover::before {
    transform: scale(1.08);
}

.about-counter__icon {
    font-size: 2.35rem;
    line-height: 1;
    color: hsl(var(--base));
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 1;
}

.about-counter__icon i {
    display: inline-block;
}

.about-counter__value {
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 0.35rem;
    color: hsl(var(--heading-color));
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 1;
}

.about-counter__label {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0;
    color: hsl(var(--body-color) / 0.8);
    position: relative;
    z-index: 1;
}

.about-counter__badge {
    display: inline-block;
    margin-top: 0.45rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: hsl(var(--base));
    background: hsl(var(--base) / 0.12);
    position: relative;
    z-index: 1;
}

.dark .about-counter__card {
    background: hsl(var(--white) / 0.04);
    border-color: hsl(var(--white) / 0.1);
    box-shadow: 0 12px 36px hsl(var(--black) / 0.25);
}

.dark .about-counter__value {
    color: hsl(var(--white));
}

.dark .about-counter__label {
    color: hsl(var(--white) / 0.72);
}

@media (max-width: 575px) {
    .about-counter__card {
        min-height: 148px;
        padding: 1.25rem 1rem;
    }
}
