/* Retain the approved procedure boxes without changing the surrounding design. */
.services {
  --procedure-panel-refined: color-mix(in srgb, var(--canvas) 94%, var(--blue));
  --procedure-line-refined: color-mix(in srgb, var(--line) 70%, transparent);
}

.services .service-list { gap: 14px; }
.services .service-row {
  border-color: var(--procedure-line-refined);
  background: var(--procedure-panel-refined);
  border-radius: 14px;
  box-shadow: none;
  position: relative;
}
.services .service-row[open] {
  border-color: var(--blue);
  background: var(--procedure-card);
  box-shadow: inset 3px 0 var(--blue);
}
.services .service-price strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.services .service-index { color: var(--muted); }
.services .service-row[open] .service-index { color: var(--blue); }
.services .service-arrow {
  border: 1px solid var(--procedure-line-refined);
  background: var(--canvas);
}
.services .service-contact { min-height: 34px; }
.services .service-answer { max-width: 70ch; }
.services .service-row:hover { transform: none; }

/* Give every illustration the same stage while preserving the complete artwork. */
.services .service-illustration {
  min-width: 0;
  width: 100%;
  max-width: 520px;
  margin: 24px auto 0;
}
.services .service-illustration > img {
  display: block;
  width: 100%;
  height: 360px;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.services .service-illustration figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.services .service-illustrations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
.services .service-illustrations .service-illustration { margin-top: 0; }

.services .service-illustrations-paired {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  align-items: start;
}
.services .service-illustrations-paired .service-illustration > img { height: 240px; }
.services .service-illustration-compact > img {
  width: 75%;
  height: 270px;
  margin-inline: auto;
}
.services .service-illustration-model { overflow: clip; }
.services .service-illustration-model > img { transform: scaleX(1.35); }

/* Separate the supplied two-diagram graphic at its transparent central gap. */
.services .service-illustration-art {
  display: grid;
  place-items: center;
  height: 240px;
}
.services .service-illustration-slice {
  position: relative;
  width: 100%;
  max-width: 278px;
  aspect-ratio: 500 / 431;
  overflow: clip;
}
.services .service-illustration-slice img {
  position: absolute;
  top: 0;
  left: 4%;
  display: block;
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: fill;
}
.services .service-illustration-slice-end img { left: -96%; }

@media (max-width: 540px) {
  .services .service-answer { padding-inline: 18px; }
  .services .service-illustration > img { height: 300px; }
  .services .service-illustration-compact > img { height: 225px; }
  .services .service-illustrations-paired { column-gap: 20px; }
  .services .service-illustrations-paired .service-illustration > img,
  .services .service-illustration-art { height: 160px; }
}

@media (min-width: 1000px) {
  .services .service-question { padding: 22px; min-height: 112px; }
  .services .service-answer { padding: 0 22px 24px 56px; }
}
