/**
 * Hero Highlights Component
 *
 * Shared styles for the CMS-managed hero highlight cards.
 * Used by: home, about, packages, services, coverage, contact, careers.
 */

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem; /* Slightly tighter gap for more text room */
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metric {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-metric-number {
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #6FB3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    height: 3.4em; /* Accommodates 2 lines with smaller font + buffer */
    display: flex;
    align-items: flex-end; /* Align single-line text to bottom for consistent label baseline */
    /* Normal word wrapping - breaks at spaces/hyphens only, never mid-word */
}

.hero-metric-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 500;
}

/* Tablet - 2x2 grid */
@media (max-width: 991.98px) {
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-content: center;
    }
    .hero-metric-number {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        min-height: 2.6em;
    }
}

/* Mobile - 2x2 grid */
@media (max-width: 767.98px) {
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .hero-metric {
        flex: none;
        align-items: flex-start;
    }
    .hero-metric-number {
        font-size: clamp(1.15rem, 3vw, 1.35rem);
        min-height: 2.4em;
    }
    .hero-metric-label {
        font-size: 0.65rem;
    }
}

/* Small mobile - single column */
@media (max-width: 480px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }
    .hero-metric-number {
        font-size: clamp(1.2rem, 4vw, 1.45rem);
    }
}