/* ───── NEXTON trust strip ─────
   A bordered, rounded row of benefit items, evenly spaced with vertical
   hairline dividers between them. Each item: line icon (left) + a stack of
   bold title over a muted subtitle. 4-up desktop → 2×2 tablet → 1-up mobile;
   dividers adapt to the active layout. */

.nx-trust {
  background: var(--color-bg);
  color: var(--color-text);
  padding-block: var(--space-6);
}

.nx-trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.nx-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  min-height: 44px;
}

/* Vertical hairline dividers between items (not before the first in a row) */
.nx-trust__item + .nx-trust__item {
  border-inline-start: 1px solid var(--color-border);
}

.nx-trust__icon {
  flex-shrink: 0;
  color: var(--color-text);
}
.nx-trust__icon svg {
  width: 28px;
  height: 28px;
}

.nx-trust__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nx-trust__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-md);
  line-height: 1.3;
  color: var(--color-text);
}

.nx-trust__subtitle {
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* ── Tablet: 2×2. Reset the inline divider, redraw dividers per the grid
   so the seam between the two columns shows, plus a row seam. ── */
@media (max-width: 1024px) {
  .nx-trust__row {
    grid-template-columns: repeat(2, 1fr);
  }
  .nx-trust__item {
    border-inline-start: 0;
  }
  /* right-column items get a left divider */
  .nx-trust__item:nth-child(2n) {
    border-inline-start: 1px solid var(--color-border);
  }
  /* second row gets a top divider */
  .nx-trust__item:nth-child(n + 3) {
    border-block-start: 1px solid var(--color-border);
  }
}

/* ── Mobile: single column, horizontal dividers between stacked items. ── */
@media (max-width: 600px) {
  .nx-trust__row {
    grid-template-columns: 1fr;
  }
  .nx-trust__item {
    border-inline-start: 0;
    padding: var(--space-4) var(--space-5);
  }
  .nx-trust__item:nth-child(2n) {
    border-inline-start: 0;
  }
  .nx-trust__item + .nx-trust__item {
    border-block-start: 1px solid var(--color-border);
  }
}
