.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border: 1px solid #f1f5f9;
    transition: transform .3s ease, box-shadow .3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.stat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.stat-card__number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.stat-card__label {
    font-size: .85rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.team-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.team-section-header__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.team-section-header__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.team-section-header__sub {
    font-size: .9rem;
    color: #64748b;
    margin: 2px 0 0;
}

.team-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.team-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
    border-color: #e2e8f0;
}

.team-info-card--pillar {
    background: linear-gradient(135deg, #fffbeb 0%, #fff 50%);
    border-color: #fde68a;
}

.team-info-card--pillar:hover {
    border-color: #f59e0b;
}

.team-info-card--centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-info-card--centered .team-info-card__meta {
    justify-content: center;
}

.team-info-card--centered .team-info-card__socials {
    justify-content: center;
}

.team-info-card__initials {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.team-info-card__body {
    flex: 1;
    min-width: 0;
}

.team-info-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-info-card__role {
    font-size: .82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.team-info-card__role i {
    font-size: .75rem;
}

/* Meta (city, years, gender, email, phone) */
.team-info-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    font-size: .8rem;
    color: #64748b;
}

.team-info-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.team-info-card__meta i {
    font-size: .78rem;
}

/* Colorful icons */
.team-info-card__meta .meta-gender i {
    color: #8b5cf6;
}

.team-info-card__meta .meta-location i {
    color: #ef4444;
}

.team-info-card__meta .meta-clock i {
    color: #f59e0b;
}

.team-info-card__meta .meta-email i {
    color: #2563eb;
}

.team-info-card__meta .meta-phone i {
    color: #10b981;
}

.team-info-card__socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.team-info-card__socials a {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    font-size: .85rem;
    transition: all .25s ease;
    text-decoration: none;
}

.team-info-card__socials a:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.team-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.team-filter__btn {
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.team-filter__btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.team-filter__btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.team-card {
    transition: opacity .4s ease, transform .4s ease;
}

.team-card.hidden {
    display: none !important;
}

.team-card.fade-in {
    animation: teamFadeIn .45s ease forwards;
}

@keyframes teamFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
    .team-info-card {
        padding: 18px;
        gap: 12px;
    }

    .team-info-card__initials {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .team-info-card__name {
        font-size: .95rem;
    }

    .stat-card__number {
        font-size: 1.5rem;
    }
}