/* Service pages and the service directory share the same reading width as the home page. */
.gm-service,
.gm-catalog {
  color: var(--ink, #18252a);
}

.gm-service h1,
.gm-service h2,
.gm-service h3,
.gm-catalog h1,
.gm-catalog h2,
.gm-service p,
.gm-catalog p {
  margin: 0;
}

.gm-service .gm-service-hero,
.gm-catalog .gm-catalog-hero {
  --hero-bg: #edf1ef;
  background: var(--hero-bg);
  overflow: hidden;
}

.gm-service--recovery .gm-service-hero {
  --hero-bg: #f3f0eb;
}

.gm-service--tanks .gm-service-hero,
.gm-catalog .gm-catalog-hero {
  --hero-bg: #203034;
  color: white;
}

.gm-service-hero__layout,
.gm-catalog-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.gm-service-hero__text,
.gm-catalog-hero__layout > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(18px, 1.7vw, 32px);
  padding: clamp(48px, 5.2vw, 100px) clamp(32px, 4.2vw, 82px) clamp(48px, 5.2vw, 100px) 0;
}

.gm-service-hero h1,
.gm-catalog-hero h1 {
  max-width: 100%;
  font-size: clamp(42px, 4.4vw, 82px);
  line-height: 1.015;
  letter-spacing: -.059em;
  font-weight: 630;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.gm-service-hero p,
.gm-catalog-hero p {
  max-width: 48ch;
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.55;
  color: #445257;
}

.gm-service--tanks .gm-service-hero p,
.gm-catalog-hero p {
  color: #e0e6e6;
}

.gm-service-hero .btn {
  margin-top: 6px;
}

.gm-service-alternative,
.gm-catalog-disposal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-underline-offset: .25em;
  line-height: 1.45;
}

.gm-service-alternative { font-size: 15px; }
.gm-catalog-disposal { font-weight: 550; font-size: 15px; text-decoration: underline; }
.gm-catalog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

.gm-catalog-main {
  display: grid;
  scroll-margin-top: 85px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 6vw, 100px);
  padding-block: clamp(30px, 4vw, 70px) 12px;
}

.gm-catalog-main a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 20px;
  color: inherit;
  border-top: 2px solid var(--ink, #18252a);
  padding: 20px 0 26px;
  text-decoration: none;
}

.gm-catalog-main a:hover strong { text-decoration: underline; }
.gm-catalog-main strong { font-size: clamp(21px, 2vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
.gm-catalog-main span { grid-column: 1 / -1; color: var(--muted, #526064); max-width: 50ch; line-height: 1.55; }
.gm-service-materials h2 { margin-bottom: 26px; }
.gm-service-materials .gm-service-facts > div { grid-template-columns: minmax(130px, .48fr) minmax(0, 1fr); }

.gm-service-hero__image,
.gm-catalog-hero__image {
  position: relative;
  min-height: clamp(375px, 29vw, 550px);
  margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - 2024px) / 2));
  overflow: hidden;
}

.gm-service-hero__image img,
.gm-catalog-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gm-image--truck img { object-position: 51% 61%; }
.gm-image--diesel img { object-position: 51% 52%; }
.gm-image--tank img { object-position: 50% 50%; }
.gm-image--service-coupling img { object-position: 50% 56%; }
.gm-image--tank-residue-pumping { min-height: 0; aspect-ratio: 3 / 2; align-self: center; }

.gm-image-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 3px;
  background: #203034;
  color: #fff;
  font-size: 13px;
  text-underline-offset: 3px;
}

.gm-service-block {
  padding-block: clamp(52px, 5.5vw, 100px);
}

.gm-service-alternatives{display:grid;gap:12px;max-width:48ch}
.gm-customer-entries{padding-top:0}
.gm-customer-entries>h2{max-width:27ch;margin-bottom:28px}
.gm-customer-entry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:clamp(22px,3vw,48px)}
.gm-customer-entry-grid>article[id],#seasonality{scroll-margin-top:110px}
.gm-customer-entry-grid>article{display:flex;flex-direction:column;align-items:flex-start;min-width:0;border-top:2px solid var(--ink);padding-top:20px}
.gm-customer-entry-grid h3{font-size:clamp(21px,1.65vw,29px);line-height:1.2;letter-spacing:-.03em;max-width:26ch}
.gm-customer-entry-grid p{font-size:16px;line-height:1.55;color:var(--muted);margin:14px 0 18px;max-width:48ch}
.gm-customer-entry-grid .text-link{font-size:15px;line-height:1.4;min-height:44px;max-width:100%;margin-top:auto}
.gm-customer-entry-grid .gm-entry-secondary{margin-top:8px;font-size:14px}
.gm-entry-related{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px}
.gm-entry-related a{font-size:15px;min-height:44px}
@media(max-width:800px){.gm-customer-entry-grid{grid-template-columns:1fr}.gm-customer-entries>h2{max-width:26ch}.gm-customer-entry-grid p{max-width:65ch}}

.gm-service h2,
.gm-catalog-group h2 {
  font-size: clamp(29px, 2.85vw, 52px);
  font-weight: 610;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.gm-service-brief,
.gm-service-faq,
.gm-service-related,
.gm-catalog-group {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1fr);
  gap: clamp(45px, 9vw, 154px);
  align-items: start;
}

.gm-service-brief__text p,
.gm-catalog-group__heading p {
  margin-top: 20px;
  max-width: 55ch;
  color: var(--muted, #526064);
  font-size: clamp(16px, 1.12vw, 20px);
  line-height: 1.6;
}

.gm-service-facts {
  margin: 0;
  border-top: 2px solid var(--ink, #18252a);
}

.gm-service-facts > div {
  display: grid;
  grid-template-columns: minmax(110px, .6fr) minmax(0, 1.4fr);
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line, #d6dbd9);
}

.gm-service-facts dt,
.gm-service-facts dd {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.45;
}

.gm-service-facts dt { font-weight: 620; }
.gm-service-facts dd { color: var(--muted, #526064); }

.gm-service-flow {
  background: #f1f2ee;
}

.gm-service-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  list-style: none;
  padding: 0;
  margin: clamp(28px, 3vw, 50px) 0 0;
  counter-reset: stage;
}

.gm-service-stages li {
  padding-top: 18px;
  border-top: 1px solid #aeb7b6;
  counter-increment: stage;
}

.gm-service-stages li::before {
  content: counter(stage, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: #a64018;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.gm-service-stages h3,
.gm-service-outcome h3 {
  font-size: clamp(20px, 1.6vw, 28px);
  letter-spacing: -.035em;
  line-height: 1.19;
  font-weight: 610;
}

.gm-service-stages p,
.gm-service-outcome p,
.gm-service-faq details p,
.gm-service-request p {
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.55;
}

.gm-service-stages p {
  margin-top: 10px;
  max-width: 46ch;
  color: var(--muted, #526064);
}

.gm-service-outcome {
  border-left: 3px solid var(--accent, #f6682c);
  margin-top: clamp(36px, 3.4vw, 62px);
  padding: 3px 0 3px clamp(18px, 1.6vw, 30px);
}

.gm-service-outcome p {
  margin-top: 7px;
  max-width: 80ch;
}

.gm-service-faq details,
.gm-service-link {
  border-bottom: 1px solid var(--line, #d6dbd9);
}

.gm-service-faq details:first-child,
.gm-service-link:first-child {
  border-top: 1px solid var(--line, #d6dbd9);
}

.gm-service-faq summary,
.gm-service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 1.6vw, 28px) 0;
  color: inherit;
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 560;
  letter-spacing: -.026em;
  line-height: 1.25;
}

.gm-service-faq summary {
  cursor: pointer;
  list-style: none;
}

.gm-service-faq summary::-webkit-details-marker { display: none; }
.gm-service-faq summary svg,
.gm-service-link svg { flex: none; }

.gm-service-faq details p {
  color: var(--muted, #526064);
  max-width: 58ch;
  margin-bottom: 22px;
}

.gm-service-faq details[open] summary svg { transform: rotate(45deg); }

.gm-service-link {
  text-decoration: none;
}

.gm-service-link:hover,
.gm-service-faq summary:hover {
  color: #a7411c;
}

.gm-service-link:focus-visible,
.gm-service-faq summary:focus-visible {
  outline: 2px solid #a7411c;
  outline-offset: 3px;
}

.gm-service-request {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-block: clamp(35px, 3.4vw, 62px);
  color: white;
  background: #203034;
}

.gm-service-request p {
  margin-top: 12px;
  max-width: 64ch;
  color: #e0e6e6;
}

.gm-service-request .btn { flex-shrink: 0; }
.gm-catalog-hero__image { min-height: clamp(290px, 24vw, 450px); }
.gm-catalog-hero__image img { object-position: center 59%; }

.gm-catalog-groups {
  padding-block: clamp(15px, 2vw, 40px) clamp(40px, 4vw, 75px);
}

.gm-catalog-group {
  padding-block: clamp(34px, 4vw, 70px);
  border-bottom: 1px solid var(--line, #d6dbd9);
}

.gm-catalog-group:last-child { border-bottom: none; }
.gm-catalog-group__heading p { margin-top: 13px; }

@media (min-width: 731px) {
  .gm-service--panoramic .gm-service-hero {
    position: relative;
    isolation: isolate;
  }

  .gm-service--panoramic .gm-service-hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    min-height: clamp(420px, 32vw, 600px);
  }

  .gm-service--panoramic .gm-service-hero__image {
    position: absolute;
    inset: 0 0 0 21%;
    min-height: 0;
    margin: 0;
    z-index: -1;
  }

  .gm-service--panoramic .gm-service-hero__image::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, #203034 0%, rgba(32,48,52,.98) 14%, rgba(32,48,52,.86) 38%, rgba(32,48,52,.14) 73%, transparent 92%);
  }
}

@media (max-width: 900px) {
  .gm-service-brief,
  .gm-service-faq,
  .gm-service-related,
  .gm-catalog-group { gap: 40px; }
  .gm-service-hero__text,
  .gm-catalog-hero__layout > div:first-child { padding-right: 24px; }
  .gm-service-facts > div { grid-template-columns: .65fr 1fr; gap: 12px; }
}

@media (max-width: 730px) {
  .gm-catalog-main { grid-template-columns: minmax(0, 1fr); }
  .gm-service-hero__layout,
  .gm-catalog-hero__layout { grid-template-columns: minmax(0, 1fr); }
  .gm-service-hero__text,
  .gm-catalog-hero__layout > div:first-child { padding: 36px 0 29px; gap: 16px; }
  .gm-service-hero h1,
  .gm-catalog-hero h1 { font-size: clamp(36px, 7.7vw, 54px); }
  .gm-service-hero__image,
  .gm-catalog-hero__image { min-height: 0; height: clamp(195px, 48vw, 335px); margin-inline: calc(-1 * var(--gutter)); }
  .gm-image--technical-fluids,
  .gm-image--tank-residue-pumping,
  .gm-image--tank-calibration { height: auto; aspect-ratio: 3 / 2; }
  .gm-image--truck img { object-position: center 64%; }
  .gm-service-brief,
  .gm-service-faq,
  .gm-service-related,
  .gm-catalog-group { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gm-service-block { padding-block: 45px; }
  .gm-service-brief__text p { margin-top: 14px; }
  .gm-service-facts > div { grid-template-columns: minmax(90px, .6fr) minmax(0, 1.4fr); padding-block: 14px; }
  .gm-service-stages { grid-template-columns: 1fr; gap: 22px; }
  .gm-service-stages li { display: grid; grid-template-columns: 36px 1fr; gap: 6px 10px; padding-top: 14px; }
  .gm-service-stages li::before { grid-row: span 2; margin: 2px 0 0; }
  .gm-service-stages p { margin: 0; }
  .gm-service-request { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  .gm-service-facts > div,
  .gm-service-materials .gm-service-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 370px) {
  .gm-service-hero h1,
  .gm-catalog-hero h1 { font-size: 34px; }
  .gm-service h2,
  .gm-catalog-group h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .gm-service *,
  .gm-catalog * { scroll-behavior: auto; }
}
.gm-service-hero__image.gm-image--containers{background:#e8e3da}
.gm-service-hero__image.gm-image--containers img{object-fit:contain}

.gm-service--delivery .gm-service-hero__text { gap: 18px; padding-block: clamp(36px, 4vw, 72px); }
.gm-service--delivery .gm-delivery-geography { color: var(--ink); font-weight: 550; }
.gm-service--delivery .gm-service-minimum { font-weight: 650; color: var(--ink); }
.gm-service--delivery .gm-delivery-price { max-width: 40ch; font-size: 16px; }
@media (max-width: 730px) {
  .gm-service--delivery .gm-service-hero__text { gap: 14px; padding: 24px 0; }
  .gm-service--delivery .gm-service-hero h1 { font-size: clamp(30px, 7.7vw, 48px); }
  .gm-service--delivery .gm-service-hero p { font-size: 15px; line-height: 1.45; }
  .gm-service--delivery .gm-service-hero .btn { margin-top: 2px; min-height: 48px; }
}
