/* A single service page: short editorial rows, real equipment imagery and no
   animation or hover affordance on non-interactive photographs and copy. */
.services-page {
  --services-anchor-offset: 136px;
  color: var(--ink);
  background: var(--site-surface);
}

.services-page .services-intro {
  padding-block: clamp(36px, 3.2vw, 56px) clamp(26px, 2.4vw, 40px);
  text-align: center;
}

.services-page .services-intro h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: var(--site-title-page);
  font-weight: var(--site-weight-title);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.services-page .services-intro p {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.services-page .services-row {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  grid-template-areas: "media copy";
  align-items: center;
  column-gap: var(--layout-column-gap);
  padding-block: clamp(24px, 2.1vw, 36px);
  border-top: 1px solid rgba(16, 64, 47, .14);
  scroll-margin-top: var(--services-anchor-offset);
}

.services-page .services-row--reverse {
  grid-template-columns: minmax(0, .58fr) minmax(0, .42fr);
  grid-template-areas: "copy media";
}

.services-page .services-photo {
  grid-area: media;
  width: 100%;
  max-width: 600px;
  height: clamp(220px, 14.1vw, 270px);
  margin: 0;
}

.services-page .services-row--reverse .services-photo {
  justify-self: end;
}

.services-page .services-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-page #technical-support .services-photo img {
  object-position: 50% 47%;
}

.services-page #system-upgrades .services-photo img {
  object-position: 50% 35%;
}

.services-page #commissioning-troubleshooting .services-photo img {
  object-position: 50% 40%;
}

.services-page #spare-parts .services-photo {
  width: min(100%, 340px);
  height: auto;
  aspect-ratio: 411 / 323;
}

.services-page #spare-parts .services-photo img {
  object-fit: contain;
}

.services-page .services-copy {
  grid-area: copy;
  min-width: 0;
}

.services-page :is(.services-row h2, .services-contact h2) {
  max-width: 34ch;
  margin: 0 0 14px;
  font-size: var(--site-title-section);
  font-weight: var(--site-weight-section);
  line-height: 1.3;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.services-page :is(.services-row p, .services-contact p) {
  max-width: var(--layout-copy-measure);
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.services-page .services-row--text {
  grid-template-areas: none;
  padding-block: clamp(32px, 3vw, 48px);
}

.services-page .services-row--text h2 {
  margin-bottom: 0;
}

.services-page .services-contact {
  background: var(--site-surface-soft);
  border-top: 1px solid rgba(16, 64, 47, .14);
  padding-block: clamp(32px, 3vw, 48px);
}

.services-page .services-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--layout-column-gap);
}

.services-page .services-contact__copy {
  min-width: 0;
}

.services-page .services-contact__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
}

.services-page .services-contact .button {
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 0;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.services-page .services-email {
  color: var(--site-brand-green);
  font-size: .9375rem;
  white-space: nowrap;
}

@media (max-width: 1150px) {
  .services-page .services-contact__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 800px) {
  .services-page .services-row,
  .services-page .services-row--reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "media";
    row-gap: 20px;
  }
  .services-page .services-photo,
  .services-page .services-row--reverse .services-photo {
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    justify-self: start;
  }
  .services-page .services-row--text {
    grid-template-areas: none;
    row-gap: 12px;
  }
  .services-page .services-contact__inner {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .services-page .services-intro { padding-block: 30px 24px; }
  .services-page .services-intro h1 { margin-bottom: 14px; }
  .services-page .services-intro p,
  .services-page :is(.services-row p, .services-contact p) { font-size: 1rem; line-height: 1.65; }
  .services-page .services-row { padding-block: 26px; }
  .services-page :is(.services-row h2, .services-contact h2) { font-size: var(--site-title-section); margin-bottom: 10px; }
  .services-page .services-row--text { row-gap: 0; }
  .services-page .services-contact__inner { flex-direction: column; gap: 22px; }
  .services-page .services-contact__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
}
