/* Loaded exclusively by nested service pages. */
.service-page .service-detail-hero {
  height: clamp(620px, 70vh, 680px);
  min-height: clamp(620px, 70vh, 680px);
}
.service-page .service-detail-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
}
.service-page .service-detail-hero p:not(.eyebrow) { margin: 18px 0 0; line-height: 1.5; }
.service-page .service-detail-hero .hero-actions { margin-top: 24px; }
@media (max-width: 640px) {
  .service-page .service-detail-hero { height: 590px; min-height: 590px; padding-top: 112px; padding-bottom: 36px; }
  .service-page .service-detail-hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.8rem); }
  .service-page .service-detail-hero .hero-kicker { margin-bottom: 12px; font-size: .7rem; }
  .service-page .service-detail-hero p:not(.eyebrow) { font-size: 1rem; margin-top: 14px; }
  .service-page .service-detail-hero .hero-actions { margin-top: 18px; gap: 10px; }
  .service-page .service-detail-hero .button { padding: 12px 16px; font-size: .85rem; }
}
.service-page main > .section { padding: 48px 20px; position: relative; }
.service-page main > .section + .section { border-top: 1px solid rgba(9,87,85,.12); }
.service-page main > .section-dark + .section-dark,
.service-page main > .section-soft + .section-soft,
.service-page main > .section-white + .section-white { padding-top: 36px; }
.service-page main > .section-dark + .section-dark::before,
.service-page main > .section-soft + .section-soft::before,
.service-page main > .section-white + .section-white::before {
  content: ""; position: absolute; top: -2px; left: max(20px, calc((100% - 1200px) / 2));
  width: 72px; height: 3px; background: var(--gold);
}
.service-page main > .section-dark + .section-dark { border-top-color: rgba(255,255,255,.18); }
.service-page .service-section-head { margin-bottom: 24px; }
.service-page .service-section-head h2 { margin-bottom: 12px; }
.service-page main .detail-layout { gap: clamp(24px,4vw,48px); align-items: center; }
.service-page main .detail-layout > .service-copy,
.service-page main .detail-layout > .service-intro-copy { padding-top: 0; }
.service-page main .detail-layout > .dashboard-list,
.service-page main .detail-layout > .service-list-grid { margin-top: 0; }
.service-page .service-image-card { min-height: 0; padding: 0; overflow: hidden; }
.service-page .service-card-image { display: block; width: 100%; height: 124px; object-fit: cover; }
.service-page .service-card-copy { padding: 16px 18px 18px; }
.service-page .service-card-copy .card-number { margin-bottom: 10px; font-size: .72rem; }
.service-page .service-card-copy h3 { margin: 0; }
.service-page .service-card-copy p { margin-top: 8px; font-size: .88rem; line-height: 1.5; }
.service-page .specialty-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-page .process-line { margin-top: 24px; gap: 12px; }
.service-page .process-line .process-step { min-height: 0; padding: 18px; }
.service-page .tool-chip { min-height: 66px; padding: 14px; }
.service-page .benefit-item { padding: 16px 0; }
.service-page .sector-list { margin-top: 18px; gap: 8px; }
.service-page .sector-list li { padding: 8px 12px; }
.service-page .bim-dimension { min-height: 0; padding: 18px; }
.service-page .methodology-timeline { margin-top: 28px; gap: 16px; }
.service-page .comparison-card { padding: 22px; }
.service-page .comparison-card ul { margin-top: 16px; }
.service-page .cta-strip { height: 346px; padding: 42px 20px; display: flex; align-items: center; }
.service-page .cta-inner { width: 100%; }
.service-page .cta-inner h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.service-page .cta-inner > div { min-width: 0; }
.service-page .cta-inner > .button { flex-shrink: 0; }
.service-page .cta-strip.cta-long-copy h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.12; }
@media (max-width: 640px) {
  .service-page .cta-strip { height: 380px; padding: 32px 20px; }
  .service-page .cta-inner { display: grid; gap: 20px; }
  .service-page .cta-inner h2 { font-size: 2rem; line-height: 1.1; }
  .service-page .cta-strip.cta-long-copy h2 { font-size: 1.5rem; line-height: 1.15; }
  .service-page .cta-inner > .button { justify-self: start; }
}
.service-page .service-coordination { margin: 0; border: 1px solid rgba(9,87,85,.16); border-radius: 12px; overflow: hidden; background: #edf3f1; }
.service-page .service-coordination img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .service-page .specialty-grid, .service-page .application-grid,
  .service-page .specialty-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .service-page main > .section { padding: 32px 20px; }
  .service-page main .detail-layout { gap: 22px; }
  .service-page .specialty-grid, .service-page .application-grid,
  .service-page .specialty-grid:has(> :nth-child(6):last-child) { grid-template-columns: 1fr; }
  .service-page .service-card-image { height: 150px; }
  .service-page .service-section-head { margin-bottom: 20px; }
}

/* BIM capability photos; keep the separate 3D–7D overview unchanged. */
.service-page .bim-capability-card { padding: 0; overflow: hidden; }
.service-page .bim-capability-card strong { font-size: 1.12rem; line-height: 1.3; margin-bottom: 8px; }
.service-page .bim-capability-card .service-card-copy > span { display: block; font-size: .9rem; line-height: 1.5; }

/* Engineering process: compact photos above the numbered steps. */
.service-page .engineering-process-line::before { display: none; }
.service-page .process-line .engineering-process-card { padding: 0; overflow: hidden; }
.service-page .engineering-process-card .service-card-image { height: 112px; }
.service-page .engineering-process-card .service-card-copy { padding: 14px; }
.service-page .engineering-process-card h3 { margin: 12px 0 0; }
@media (max-width: 600px) {
  .service-page .engineering-process-card .service-card-image { height: 150px; }
}
