/* components/services-stats.css — Pill-shaped statistics bar
 * Page background holds the pill with dark background and very rounded ends.
 * 4 stats in a row: number (white) + accent symbol (--color-primary) + label.
 */

.services-stats {
    background-color: var(--color-nav-dark-red);
    padding-inline: 0.75rem;
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
}

.services-stats__pill {
    background-color: var(--color-light);
    border-radius: var(--radius-pill);
    /* No max-width — pill fills the full padded section width. */
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(2.5rem, 6vw, 5.5rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.services-stats__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.services-stats__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    color: var(--color-primary);
}

.services-stats__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.services-stats__num {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.services-stats__accent {
    color: var(--color-primary);
}

.services-stats__label {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .services-stats__pill {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 1rem;
        border-radius: var(--radius-lg);
        padding-block: 2rem;
    }
}

@media (max-width: 360px) {
    .services-stats__pill {
        grid-template-columns: 1fr;
    }
}
