/**
 * Service & Industry detail pages – Professional design
 * Matches corporate theme
 */

.spHero {
  padding: 56px 24px 44px;
  text-align: center;
  background: linear-gradient(180deg, var(--corp-bg-elevated) 0%, var(--corp-bg) 100%);
  border-bottom: 1px solid var(--corp-border);
  position: relative;
}

.spHeroWithImage {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 24px 56px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spHeroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 12, 16, 0.92) 0%, rgba(12, 12, 16, 0.85) 50%, rgba(14, 116, 144, 0.15) 100%);
  z-index: 0;
}

.spHeroWithImage .spHeroContent {
  position: relative;
  z-index: 1;
}

.spHeroContent {
  max-width: 720px;
  margin: 0 auto;
}

.spHeroWithImage .spTitle,
.spHeroWithImage .spSubtitle,
.spHeroWithImage .spBreadcrumb,
.spHeroWithImage .spBreadcrumb a {
  color: var(--corp-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.spHeroWithImage .spBreadcrumb span:not(:last-child) {
  color: var(--corp-text-muted);
}

.spHeroWithImage .spSubtitle {
  color: var(--corp-text-muted);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Featured image in content */
.spFeaturedImage {
  margin-bottom: 2rem;
  border-radius: var(--corp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--corp-border);
  box-shadow: var(--corp-shadow-lg);
}

.spFeaturedImage img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.spBreadcrumb {
  font-size: 0.875rem;
  color: var(--corp-text-muted);
  margin-bottom: 1rem;
}

.spBreadcrumb a {
  color: var(--corp-text-muted);
  text-decoration: none;
}

.spBreadcrumb a:hover {
  color: var(--corp-accent);
}

.spBreadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.spTitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--corp-text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.spTitleAccent {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--corp-accent), var(--corp-accent-hover));
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.spSubtitle {
  font-size: 1.125rem;
  color: var(--corp-text-muted);
  margin: 0;
  line-height: 1.6;
}

.spMain {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.spProse {
  font-size: 1.0625rem;
  color: var(--corp-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.spProse p {
  margin: 0 0 1.25rem;
}

.spProse p:last-of-type {
  margin-bottom: 0;
}

.spHighlights {
  margin: 2rem 0;
  padding: 1.75rem;
  background: var(--corp-bg-card);
  border: 1px solid var(--corp-border);
  border-radius: var(--corp-radius-lg);
}

.spHighlightsTitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--corp-text);
  margin: 0 0 1rem;
}

.spHighlightsList {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--corp-text-muted);
  line-height: 1.8;
}

.spHighlightsList li {
  margin-bottom: 0.5rem;
}

.spHighlightsList li::marker {
  color: var(--corp-accent);
}

.spCta {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--corp-accent-soft) 0%, rgba(14, 116, 144, 0.06) 100%);
  border: 1px solid rgba(14, 116, 144, 0.2);
  border-radius: var(--corp-radius-lg);
}

.spCtaTitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--corp-text);
  margin: 0 0 0.5rem;
}

.spCtaDesc {
  font-size: 0.9375rem;
  color: var(--corp-text-muted);
  margin: 0 0 1.25rem;
}

.spCta .ctaButton {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.spCtaLink {
  color: var(--corp-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

.spCtaLink:hover {
  color: var(--corp-accent-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .spHero {
    padding: 44px 20px 36px;
  }

  .spTitle {
    font-size: 1.625rem;
  }

  .spMain {
    padding: 36px 20px 48px;
  }
}
