/* ==========================================================================
   SECTION: TRUST BAR — the numbers, counted up on scroll
   ========================================================================== */

.trustbar {
  background: var(--c-base);
  border-top: 1px solid var(--c-line-d);
  padding-block: var(--sp-10);
}

/* Six stats. The count is hard-coded rather than auto-fit so the amber rules
   stay evenly spaced — if you add or remove a stat, change this number too or
   the last one strands itself on its own row. */
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-6);
}

.trustbar__item {
  padding-left: var(--sp-5);
  border-left: 2px solid rgba(245,166,35,0.35);
}

.trustbar__num {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: var(--w-bold);
  line-height: 1;
  letter-spacing: -0.028em;
  font-variant-numeric: tabular-nums;
  color: var(--c-surface);
  margin-bottom: var(--sp-2);
}
.trustbar__num .unit {
  font-size: 0.55em; font-weight: var(--w-semi);
  color: var(--c-energy); margin-left: 2px;
}

.trustbar__label {
  font-size: var(--fs-caption);
  line-height: 1.4;
  color: rgba(247,245,240,0.60);
}

/* Six across gets tight before the tablet breakpoint, so split into 3 x 2. */
@media (max-width: 1150px) {
  .trustbar__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8) var(--sp-5); }
}
/* Six is an even count, so the old "stretch the last one full width" rule that
   tidied up an odd fifth item is no longer needed. */
@media (max-width: 900px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8) var(--sp-5); }
}
@media (max-width: 400px) {
  .trustbar__grid { grid-template-columns: 1fr; }
}
