/* ═══════════════════════════════════════════════════════════════════════
   Park Nahal Oren — stats presentation (data-strip + hero-stats).
   Loads LAST so it owns the figures. Based on a GLM frontend consult:
   orphan-free responsive grid, gap:1px hairlines (RTL-safe), tabular-nums,
   gold units + tick, premium typography. 2026-06-23.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── DATA STRIP ─────────────────────────────────────────────────────────
   Desktop: 5 across. Hairline = 1px grid gap showing the lighter-navy
   container behind the navy items (no per-item borders → nothing dangles
   in RTL when items wrap). */
.data-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--primary-light);   /* the hairline colour */
}
.data-strip-item {
    background: var(--primary);          /* sits above the 1px gap */
    padding: 60px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background .35s ease;
    border-left: none;                   /* drop the original per-item border */
}
.data-strip-item:hover { background: var(--primary-light); }

/* subtle gold tick above each figure — anchors the eye, reads as a system */
.data-strip-item::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--accent);
    opacity: .85;
    margin-bottom: 18px;
}

.data-strip-number {
    font-size: clamp(2.25rem, 1.4rem + 2vw, 3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}
.data-strip-unit {
    font-size: .95rem;
    color: var(--accent);                /* gold unit = premium accent */
    font-weight: 400;
}
.data-strip-label {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    margin-top: 10px;
    font-weight: 300;
    line-height: 1.45;
    max-width: 22ch;
    text-wrap: balance;
}

/* Tablet & down: 2 columns + the 5th item becomes a full-width feature row */
@media (max-width: 1024px) {
    .data-strip { grid-template-columns: repeat(2, 1fr); }
    .data-strip-item:last-child {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 22px;
        padding: 34px 28px;
        background: var(--primary-light);
        border-top: 1px solid rgba(200,169,110,.25);
    }
    .data-strip-item:last-child::before { display: none; }
    .data-strip-item:last-child .data-strip-label { max-width: none; margin-top: 0; }
}

/* Phone: single clean stacked column, each stat a right-aligned row */
@media (max-width: 600px) {
    .data-strip { grid-template-columns: 1fr; }
    .data-strip-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        text-align: right;
        gap: 2px 14px;
        padding: 26px 24px;
    }
    .data-strip-item::before { display: none; }
    .data-strip-number { margin-bottom: 0; }
    .data-strip-label { width: 100%; max-width: none; margin-top: 4px; }
}

/* ── HERO STATS ─────────────────────────────────────────────────────────
   4-col grid over the photo → 2×2 on phones. clamp() keeps it from
   overflowing. Hairline via gap:1px over the (translucent) container. */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    overflow: hidden;
}
.hero-stat {
    background: rgba(26,42,58,0.50);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-stat-number {
    font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3.15rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
}
.hero-stat-label {
    font-size: clamp(.92rem, .82rem + .3vw, 1.2rem);
    color: rgba(255,255,255,.72);
    margin-top: 8px;
    font-weight: 300;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
    .hero-stat { padding: 18px 14px; }
}
@media (max-width: 360px) {
    .hero-stats { grid-template-columns: 1fr; }
}
