/* ==========================================================================
   Block: Stats bar
   ========================================================================== */

/* The stats band is a tight ~180px card; separation comes from neighbours' padding. */
.rg-stats.rg-section { padding-block: 0; }

.rg-stats__card {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 36px;                 /* Figma card 1200x121 */
  background: rgba(var(--rg-white-rgb), 0.5);   /* #FFFFFF@50% — same fill as the no-fees card */
  box-shadow: none;
}

.rg-stats__intro {
  flex: 0 0 auto;
  width: 210px;
  padding-right: 30px;
  font-style: italic;
  font-size: var(--rg-fs-h5);                  /* matches live (20px italic #1d3a32) */
  font-weight: var(--rg-fw-semibold);
  line-height: var(--rg-lh-snug);
  color: var(--rg-green-deep);
}
.rg-stats__intro-a { color: var(--rg-green-deep); }  /* "Trusted by" — #1d3a32 */
.rg-stats__intro-b { color: var(--rg-muted-light); }        /* "clinics & families" — #77918a */

.rg-stats__item {
  position: relative;
  flex: 1 1 auto;             /* size to content (long labels wider, short narrower) */
  padding: 4px 24px;          /* air around content */
}
/* fixed-height divider (same length for every column, vertically centred) */
.rg-stats__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 67px;                       /* Figma divider Vector = 67px */
  background: var(--rg-line);
}

.rg-stats__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--rg-fs-display);  /* 55px */
  font-weight: var(--rg-fw-semibold); /* 600 — matches live */
  line-height: 1;
  color: var(--rg-green);           /* #215749 */
  margin-bottom: 12px;
}
.rg-stats__unit {
  font-size: var(--rg-fs-h5);                  /* matches live (20/600) */
  font-style: italic;
  font-weight: var(--rg-fw-semibold);
  color: var(--rg-muted-light);
}

.rg-stats__label {
  max-width: 205px;                 /* long labels wrap to 2 lines, short stay 1 */
  font-size: var(--rg-fs-body);     /* 16px */
  font-weight: var(--rg-fw-semibold);
  line-height: var(--rg-lh-snug);
  color: var(--rg-green-deep);
}

/* ---- Responsive ---- */
@media (max-width: 1180px) {   /* four stats + intro need ~1180px; below that, two columns */
  .rg-stats__card { flex-wrap: wrap; padding: 28px; gap: 20px 0; }
  .rg-stats__intro { width: 100%; padding-right: 0; }
  .rg-stats__item { flex: 1 1 45%; border-left: 0; padding: 4px 12px; }
}
@media (max-width: 560px) {
  .rg-stats__item { flex: 1 1 100%; }
}
