.service-hero {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.service-hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: 4rem;
  line-height: 1.04;
}

.service-hero-copy .lead {
  max-width: 690px;
}

.service-hero-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
}

.service-image-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 18px;
  color: #ffffff;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(14px);
}

.service-image-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.service-image-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.service-meta-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.service-meta-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-meta-grid strong {
  color: var(--ink);
  line-height: 1.35;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: start;
}

.service-story,
.scope-panel,
.fit-card,
.related-panel,
.flow-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(24, 38, 57, 0.08);
}

.service-story {
  padding: 34px;
}

.service-story h2,
.flow-section h2,
.fit-card h2,
.related-panel h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1.08;
}

.service-story p {
  margin: 0 0 18px;
  font-size: 1.04rem;
}

.scope-panel {
  position: sticky;
  top: 102px;
  padding: 26px;
}

.scope-panel h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.5rem;
}

.scope-list,
.fit-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li,
.fit-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.scope-list li::before,
.fit-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 6px rgba(88, 189, 22, 0.12);
}

.flow-section {
  padding: 34px;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
}

.flow-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06111f;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  font-weight: 800;
}

.flow-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.95rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fit-card,
.related-panel {
  padding: 30px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-links a {
  min-height: 94px;
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  transition: border 180ms ease, background 180ms ease, transform 180ms ease;
}

.related-links a:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--panel-strong);
}

.service-final {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 92px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-final h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 2rem;
}

.service-final p {
  margin: 0;
}

@media (max-width: 1080px) {
  .service-hero-grid,
  .service-detail-layout,
  .service-final {
    grid-template-columns: 1fr;
  }

  .service-hero-copy h1 {
    font-size: 3.2rem;
  }

  .scope-panel {
    position: static;
  }

  .flow-track,
  .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-hero-copy h1 {
    font-size: 2.55rem;
  }

  .service-hero-image,
  .service-hero-image img {
    min-height: 360px;
  }

  .service-meta-grid,
  .flow-track,
  .fit-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .service-story,
  .flow-section,
  .fit-card,
  .related-panel,
  .service-final {
    padding: 24px;
  }
}
