.service-page {
  --service-red: #c40000;
  --service-red-dark: #870000;
  --service-black: #101214;
  --service-ink: #1a1d20;
  --service-muted: #646b72;
  --service-line: #dfe2e5;
  --service-soft: #f2f3f4;
  color: var(--service-ink);
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page p {
  margin-top: 0;
}

.service-page h1,
.service-page h2,
.service-page h3 {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.service-page h2 {
  color: var(--service-black);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.service-page p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-page .perkins-eyebrow {
  color: var(--service-red);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.service-hero {
  background:
    radial-gradient(circle at 87% 15%, rgba(196, 0, 0, 0.3), transparent 28rem),
    linear-gradient(135deg, #171a1d 0%, #08090a 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

.service-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
}

.service-hero .perkins-eyebrow {
  color: #ff4b4b;
}

.service-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4.7vw, 4.6rem);
  line-height: 0.98;
  margin-bottom: 1.5rem;
  max-width: 58rem;
}

.service-hero__copy > p:last-of-type {
  color: #d9dcdf;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.7;
  max-width: 49rem;
}

.service-hero__actions,
.service-cta__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.service-button {
  align-items: center;
  border: 2px solid transparent;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 0.75rem;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 3.3rem;
  padding: 0.8rem 1.3rem;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.service-button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.service-button--primary {
  background: var(--service-red);
  color: #fff;
}

.service-button--primary:hover {
  background: #e00000;
  color: #fff;
}

.service-button--secondary {
  border-color: #70757a;
  color: #fff;
}

.service-button--secondary:hover {
  border-color: #fff;
  color: #fff;
}

.service-hero__panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 1.1rem 1.1rem 0 rgba(196, 0, 0, 0.24);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}

.service-hero__panel > p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ff5c5c;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  padding-bottom: 1.2rem;
  text-transform: uppercase;
}

.service-hero__panel > div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem 0;
}

.service-hero__panel > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-hero__panel strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.service-hero__panel span {
  color: #bec2c6;
  line-height: 1.55;
}

.service-intro,
.service-capabilities,
.service-warranty,
.service-process,
.service-signs,
.service-cta {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.service-intro__grid {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.service-intro h2 {
  margin-bottom: 0;
  max-width: 34rem;
}

.service-intro__grid > div:last-child {
  border-left: 4px solid var(--service-red);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.service-intro__grid > div:last-child p {
  color: #4e555b;
  font-size: 1.12rem;
}

.service-intro__grid > div:last-child p:last-child {
  margin-bottom: 0;
}

.service-capabilities {
  background: var(--service-soft);
}

.service-section-heading {
  margin-bottom: 3rem;
  max-width: 49rem;
}

.service-section-heading > p:last-child {
  color: var(--service-muted);
  margin-bottom: 0;
  max-width: 42rem;
}

#service-capabilities-heading {
  white-space: nowrap;
}

.service-section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: #fff;
  border-top: 4px solid var(--service-red);
  box-shadow: 0 0.6rem 1.7rem rgba(20, 25, 30, 0.07);
  padding: 1.75rem 2rem 1.4rem;
}

.service-card h3 {
  color: var(--service-black);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--service-muted);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.service-warranty {
  background: linear-gradient(125deg, #9e0000, var(--service-red));
  color: #fff;
}

.service-warranty__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(30rem, 1.2fr);
}

.service-warranty .perkins-eyebrow {
  color: #ffd0d0;
}

.service-warranty h2 {
  color: #fff;
}

.service-warranty__copy > p:not(.perkins-eyebrow):not(.service-warranty__note) {
  color: #fff;
  font-size: 1.1rem;
}

.service-warranty__note {
  border-left: 3px solid rgba(255, 255, 255, 0.65);
  color: #f5caca;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  margin-bottom: 0;
  margin-top: 1.7rem;
  padding-left: 1rem;
}

.service-logo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-logo-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 12.5rem;
  padding: 1.6rem;
  text-align: center;
}

.service-logo-card--light {
  background: #fff;
}

.service-logo-card--perkins {
  background: #005596;
}

.service-logo-card--dark {
  background: #141719;
}

.service-logo-card img {
  display: block;
  height: 5.2rem;
  margin: 0 auto 1.25rem;
  max-width: 82%;
  object-fit: contain;
  width: auto;
}

.service-logo-card--isuzu img {
  height: 6.5rem;
}

.service-logo-card--jcb img {
  height: 5.5rem;
}

.service-logo-card span {
  color: #636a70;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-logo-card--dark span {
  color: #c7cbce;
}

.service-logo-card--perkins span {
  color: #dcecf7;
}

.service-process {
  background: #fff;
}

.service-process__steps {
  counter-reset: none;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-process__steps li {
  background: var(--service-black);
  color: #fff;
  min-height: 18rem;
  padding: 2rem;
}

.service-process__steps li:nth-child(even) {
  background: #1c2023;
}

.service-process__steps li > span {
  align-items: center;
  background: var(--service-red);
  border-radius: 50%;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 2.4rem;
  justify-content: center;
  margin-bottom: 3rem;
  width: 2.4rem;
}

.service-process__steps h3 {
  color: #fff;
  font-size: 1.23rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.service-process__steps p {
  color: #c4c9cd;
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.service-signs {
  background: var(--service-soft);
}

.service-signs__grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.service-signs h2 {
  margin-bottom: 0;
}

.service-signs ul {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-signs li {
  border-bottom: 1px solid #cfd3d6;
  color: #34393e;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.5rem 1rem 1.7rem;
  position: relative;
}

.service-signs li::before {
  background: var(--service-red);
  content: "";
  height: 0.48rem;
  left: 0;
  position: absolute;
  top: 1.55rem;
  transform: rotate(45deg);
  width: 0.48rem;
}

.service-cta {
  background: var(--service-black);
  border-top: 0.4rem solid var(--service-red);
  color: #fff;
}

.service-cta__inner {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
}

.service-cta .perkins-eyebrow {
  color: #ff5d5d;
}

.service-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 50rem;
}

.service-cta p:not(.perkins-eyebrow) {
  color: #c4c9cd;
  margin-bottom: 0;
}

.service-cta__actions {
  align-items: stretch;
  flex-direction: column;
  margin-top: 0;
}

.service-button--white {
  background: #fff;
  color: var(--service-red-dark);
}

.service-button--white:hover {
  background: #f0f1f2;
  color: var(--service-red-dark);
}

.service-cta__phone {
  border: 1px solid #454a4e;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  text-align: center;
}

.service-cta__phone:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

.service-cta__phone small {
  color: #aeb4b8;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-cta__phone strong {
  font-size: 1.3rem;
  margin-top: 0.15rem;
}

.service-page a:focus-visible {
  outline: 3px solid #ffce00;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .service-hero__grid,
  .service-warranty__grid,
  .service-cta__inner {
    grid-template-columns: 1fr;
  }

  .service-hero__panel {
    max-width: 42rem;
  }

  .service-warranty__copy {
    max-width: 48rem;
  }

  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-cta__actions {
    max-width: 25rem;
  }
}

@media (max-width: 720px) {
  #service-capabilities-heading {
    white-space: normal;
  }

  .service-hero {
    padding: 4.2rem 0;
  }

  .service-hero__grid,
  .service-intro__grid,
  .service-signs__grid {
    gap: 2.2rem;
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .service-hero__actions,
  .service-hero__actions .service-button {
    width: 100%;
  }

  .service-intro__grid > div:last-child {
    border-left-width: 3px;
    padding-left: 1.25rem;
  }

  .service-card-grid,
  .service-logo-grid,
  .service-process__steps,
  .service-signs ul {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-warranty__grid {
    gap: 2.5rem;
  }

  .service-logo-card {
    min-height: 11rem;
  }

  .service-process__steps li {
    min-height: 0;
  }

  .service-process__steps li > span {
    margin-bottom: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-button {
    transition: none;
  }
}
