/* What you get: the headline on the left and its line on the right, then the six services in soft cards,
   each with its small drawing top left (sections.css), three to a row on wide screens, two on tablets, one
   on phones. */
.offer-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 64px; }
.offer-title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--t-headline);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.offer-lead { max-width: 460px; font-size: var(--t-lead); line-height: 1.5; color: var(--fg-soft); text-wrap: pretty; }
.offer-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

/* the icons, the names and the words line up across a row, even when one name takes two lines */
.offer-grid > .card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }

@media (max-width: 1023px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .offer-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; } }
