/* Shared by turnkey selection and mobile diagnostics only.
 * Keep heading fonts, sizes, weights and leading in this file.
 * Repeated scope class wins over block styles loaded later by main.js.
 */
.service-headings {
  --service-h1-size: clamp(36px, 3.6vw, 46px);
  --service-h2-size: 40px;
  --service-h3-size: 20px;
}

.service-headings.service-headings h1 {
  font-family: Inter, Arial, sans-serif;
  /* Legacy diagnostics sets .h1 to 22px !important below 1180px. */
  font-size: var(--service-h1-size) !important;
  font-weight: 700;
  line-height: 1.2;
}

.service-headings.service-headings h2,
.service-headings.service-headings h3 {
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.service-headings.service-headings h2 {
  font-size: var(--service-h2-size);
  line-height: 1.2;
}

.service-headings.service-headings h3 {
  font-size: var(--service-h3-size);
  line-height: 1.3;
}

.service-headings .turnkey-stages__trigger,
.service-headings .queue__title {
  font: inherit;
}

/* Reproduce the existing body grid spacing inside the diagnostic main. */
.service-diagnostics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: inherit;
  min-width: 0;
}

@media (max-width: 1100px) {
  .service-headings { --service-h1-size: 30px; }
}

@media (max-width: 767px) {
  .service-headings {
    --service-h1-size: 28px;
    --service-h2-size: 24px;
  }
}
