.service-hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 35vh;
  min-height: 280px;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.service-hero > div:first-child,
.service-hero > div:first-child::after {
  position: absolute;
  inset: 0;
}

.service-hero > div:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero > div:nth-child(2) {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-inline: 24px;
}

.service-hero + section {
  padding-inline: 24px;
}

.service-hero h1 {
  max-width: 980px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.08;
}

.service-hero h1 + p {
  max-width: 980px;
  margin: 0;
  padding-left: 12px;
  border-left: 4px solid #f9ad55;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.625;
}

.service-seo {
  padding: clamp(64px, 8vw, 112px) 24px;
  background: #f8fafc;
  color: #0f172a;
}

.service-seo--equipment-faq {
  background: #eef0f3;
}

.service-seo--infrastructure-faq {
  background: #eef0f3;
}

.service-seo--automation-faq {
  background: #eef0f3;
}

.service-seo__inner {
  width: 100%;
  margin: 0;
}

.service-seo__eyebrow {
  margin: 0 0 14px;
  color: #f9ad55;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-seo h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.06;
}

.service-seo__lead {
  max-width: 850px;
  margin: 26px 0 0;
  color: #475569;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.75;
}

.service-seo__grid {
  display: block;
  margin-top: 44px;
}

.service-seo__card {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid #cbd5e1;
}

.service-seo__card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.service-seo__card p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.service-seo__faq {
  margin-top: clamp(64px, 8vw, 96px);
}

.service-seo__faq--standalone {
  margin-top: 0;
}

.service-seo__feature {
  margin-top: clamp(64px, 8vw, 96px);
  padding: clamp(32px, 5vw, 56px);
  background: #0f172a;
  color: #fff;
}

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

.service-seo__feature .service-seo__lead {
  color: #cbd5e1;
}

.service-seo__feature .service-seo__grid {
  border-color: rgba(255, 255, 255, .18);
}

.service-seo__feature .service-seo__card {
  border-color: rgba(255, 255, 255, .18);
}

.service-seo__feature .service-seo__card p {
  color: #cbd5e1;
}

.service-seo__note {
  max-width: 850px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid #f9ad55;
  color: #cbd5e1;
  line-height: 1.7;
}

.service-seo__faq h2 {
  margin-bottom: 30px;
}

.service-seo details {
  border-top: 1px solid #cbd5e1;
}

.service-seo details:last-of-type {
  border-bottom: 1px solid #cbd5e1;
}

.service-seo summary {
  padding: 20px 38px 20px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.service-seo details p {
  max-width: 850px;
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.7;
}

.service-seo__related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.service-seo__related a {
  padding: 12px 16px;
  border: 1px solid #f9ad55;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.service-seo__related a:hover,
.service-seo__related a:focus-visible {
  background: #f9ad55;
}

.service-seo__cta {
  display: inline-flex;
  margin-top: 32px;
  padding: 16px 22px;
  background: #f9ad55;
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.service-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(36px, 5vw, 64px) 15%;
  background: #f9ad55;
  color: #111;
}

.service-final-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.service-final-cta p {
  max-width: 760px;
  margin: 12px 0 0;
  line-height: 1.6;
}

.service-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: #171717;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.service-final-cta a:hover,
.service-final-cta a:focus-visible {
  background: #333;
}

@media (max-width: 800px) {
  .service-seo__card {
    grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .service-hero {
    height: 45vh;
    min-height: 380px;
    padding-top: 7rem;
  }

  .service-hero > div:nth-child(2) {
    padding-inline: 15%;
  }

  .service-hero + section,
  .service-seo {
    padding-inline: 15%;
  }

  .service-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(34px, 3.2vw, 42px);
  }

  .service-hero h1 + p {
    padding-left: 20px;
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .service-hero h1 {
    font-size: 42px;
  }

  .service-hero h1 + p {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .service-seo__card { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 767px) {
  .service-final-cta {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 24px;
  }
}
