/* ==========================================================================
   Component: service card + the 3-across "stack" (.cm-services / .cm-service-card)
   Each card: a numbered step with a connector line, an icon, a heading that
   links to the service page, body copy, and a "connects to…" footnote that
   expresses the connected-stack story.
   ========================================================================== */

.cm-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 36px;
}

.cm-service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Step row: numbered circle → dashed connector → chevron. */
.cm-service-card__step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cm-service-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--cm-navy);
  color: var(--cm-navy);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.cm-service-card__connector {
  flex: 1;
  border-top: 2px dashed var(--cm-paper-3);
}

/* Once the cards stack (single column) the → connector points nowhere — hide it
   and the trailing chevron, keep just the number. */
@media (max-width: 600px) {
  .cm-service-card__connector,
  .cm-service-card__step > svg {
    display: none;
  }
}

.cm-service-card__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.cm-service-card__title a {
  color: var(--cm-ink);
}

.cm-service-card__title a:hover {
  color: var(--cm-red);
}

.cm-service-card__body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cm-muted);
  text-wrap: pretty;
}

/* "Connects to…" footnote, pinned to the card bottom. */
.cm-service-card__link-note {
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cm-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cm-service-card__link-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cm-navy);
  flex: none;
}
