/* Insurance & payment (client round, 2026-10-26). The two moving logo rows became a
   still wall: insurers are something a patient scans for their own logo, so every logo
   sits in view, in its own brand colours (no grayscale), at its own proportions.
   Home: copy + the three "how cover is checked" steps on the left, the 3×3 wall on the right.
   /insurance reuses .ins-card in info.css's grid. Logos: _src/partials/ins-logos.html. */

.insurance__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.insurance__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.insurance__note {
  margin: 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* how cover is checked: numbered, with a gold index */
.ins-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--line);
}
.ins-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ins-steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-deep);
}
.ins-steps strong { font-size: 16px; font-weight: 600; color: var(--navy); }
.ins-steps span { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* the logo wall */
.ins-wall {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ins-card {
  height: 112px;
  display: grid;
  place-items: center;
  padding: 22px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 41, 93, .09);
  box-shadow: 0 18px 36px -32px rgba(var(--shadow-tint), .4);
}
/* full colour, original proportions: only the height is capped (all files are 96px tall) */
.ins-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

/* optical balance: a bold wide wordmark reads larger than a small square badge */
.ins-card img[alt="Aetna"] { max-height: 36px; }
.ins-card img[alt="AXA"] { max-height: 54px; }

@media (max-width: 1099.98px) {
  .insurance__grid { grid-template-columns: 1fr; }
}
@media (max-width: 599.98px) {
  .ins-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ins-card { height: 88px; padding: 16px 18px; border-radius: 14px; }
  .ins-card img { max-height: 40px; }
  .ins-card img[alt="Aetna"] { max-height: 30px; }
  .ins-card img[alt="AXA"] { max-height: 46px; }
  /* nine logos in two columns: the last one centres under the others */
  .ins-wall .ins-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
}
