.hero-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.team-page {
    background: #fff;
}

.hero-stat {
    min-width: 70px;
}

.hero-stat-value {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-blue);
}

.hero-stat-value [data-count-up] {
    display: inline-block;
    min-width: 4ch;
    text-align: right;
}

.hero-stat-label {
    margin-top: 6px;
    font-size: .68rem;
    color: var(--text-body);
    font-weight: 600;
    text-align: right;
}

.hero-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .12);
}

.team-filter {
    padding: 28px 0 8px;
}

.filter-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #7a849f;
    letter-spacing: .1em;
}

.btn-filter {
    border: 1px solid #dbe3f1;
    background: #fff;
    color: #6b7a99;
    border-radius: 7px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    transition: all .18s ease;
}

.btn-filter:hover,
.btn-filter.active {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    background: var(--light-purple-shade);
}

.dept-section {
    margin-top: 22px;
}

.dept-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.dept-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
}

.dept-line {
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.dept-count {
    font-size: 12px;
    font-weight: 600;
    color: #7a849f;
    white-space: nowrap;
}

.team-card {
    border: 1px solid #d7dff0;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    animation: fadeUp .45s ease forwards;
    opacity: 0;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(18, 36, 80, .12);
    border-color: var(--primary-purple);
}

.card-img-wrap {
    height: 188px;
    background: #eef2fb;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .35s ease;
}

.team-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-body-custom {
    padding: 12px 12px 14px;
}

.card-dept-badge {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 7px;
    background: var(--light-purple-shade);
    color: var(--primary-purple);
}

.card-name {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.card-role {
    font-size: .72rem;
    line-height: 1.3;
    color: var(--text-body);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        gap: 14px;
    }

    .hero-divider {
        display: none;
    }

    .card-img-wrap {
        height: 176px;
    }

    .dept-heading {
        align-items: flex-start;
    }
}
