/* Shared Services layout, independent of legacy homepage and landing heroes. */
.section.service-hero { margin: 0; padding-block: clamp(48px, 6vw, 88px); min-height: 0; }
.service-hero__layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(32px, 4vw, 64px); }
.service-hero__layout--visual { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.service-hero__copy { display: grid; gap: 20px; min-width: 0; max-width: 960px; margin: 0; padding: 0; }
.service-hero__copy > .section-kicker { min-height: 1.5em; margin: 0; }
.service-hero .service-hero__title { max-width: 22ch; margin: 0; color: var(--text); font-family: inherit; font-size: clamp(2.7rem, 5vw, 5.2rem); font-weight: 600; line-height: 1.03; letter-spacing: -.055em; overflow-wrap: anywhere; text-wrap: balance; }
.service-hero .service-hero__intro { max-width: 62ch; margin: 0; color: var(--muted); font-size: 1.05rem; font-weight: 400; line-height: 1.7; }
.service-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; min-width: 0; }
.service-hero__actions a { max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
.service-hero__visual { min-width: 0; }
.services-page-links { margin: 0 0 28px; }
.services-page-links ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.services-page-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface-soft); font-size: .86rem; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.services-page-links a:hover { border-color: var(--border-strong); background: var(--surface-2); }
.services-page-links a:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
/* Preserve the section layout previously selected by the landing-hero sibling. */
.service-hero ~ .section .compact-section-head { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service-hero ~ .section .compact-section-head .section-title { max-width: none; width: min(100%, 1220px); font-size: clamp(3.2rem, 6.8vw, 6.8rem); line-height: .92; }
.service-hero ~ .section .compact-section-head .section-text { max-width: 78ch; margin-top: 0; font-size: clamp(1.02rem, 1.45vw, 1.28rem); line-height: 1.68; }
@media (max-width: 980px) {
  .service-hero__layout--visual { grid-template-columns: minmax(0, 1fr); }
  .service-hero__visual { width: 100%; max-width: 760px; }
}
@media (max-width: 720px) {
  .services-page-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-hero ~ .section .compact-section-head { gap: 14px; margin-bottom: 24px; }
  .service-hero ~ .section .compact-section-head .section-title { max-width: none; width: 100%; font-size: clamp(2.45rem, 12vw, 3.7rem); line-height: .94; }
  .service-hero ~ .section .compact-section-head .section-text { max-width: none; font-size: .98rem; line-height: 1.65; }
}
@media (max-width: 600px) {
  .service-hero__actions { align-items: stretch; flex-direction: column; }
  .service-hero__actions a { width: 100%; }
}
@media (max-width: 480px) {
  .services-page-links ul { grid-template-columns: minmax(0, 1fr); }
}
