/* Home Services parent page: existing service scenes and homepage videos. */
.home-services-hero { background: #e8f4fc; }
.home-services-slides { position: absolute; z-index: -2; inset: 0; background: #e8f4fc; }
.home-services-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; animation: home-service-scene 30s linear infinite; animation-delay: var(--slide-delay); }
.home-services-hero::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg,rgba(245,251,255,.91),rgba(245,251,255,.8) 48%,rgba(245,251,255,.35)); }
@keyframes home-service-scene { 0%,16% { opacity: 1; } 20%,96% { opacity: 0; } 100% { opacity: 1; } }
.home-services-slides.is-paused img { animation-play-state: paused; }
.home-services-slideshow-control { position: absolute; z-index: 2; right: 1.5rem; bottom: 4.7rem; padding: .4rem .7rem; border: 1px solid #c4d6e9; border-radius: 1rem; background: #ffffffdf; color: var(--navy); font: inherit; font-size: .75rem; cursor: pointer; }
.home-services-presentation.video-frame { width: 100%; min-height: 0; aspect-ratio: 16 / 9; border-radius: 2rem; transform: none; }
.home-services-presentation.video-frame img { display: block; width: 100%; height: 100%; min-height: 0; object-position: center; }
.home-services-presentation.video-frame p { left: 1.2rem; right: 1.2rem; bottom: 1rem; }
.home-services-hub .industry-split .journey-welcome-video { width: min(100%,20rem); height: auto; aspect-ratio: 9 / 16; margin: 2rem auto 0; transform: none; border-radius: 1.75rem; }
.home-services-hub .journey-welcome-video > img.journey-welcome-clark { height: 78%; }
.home-services-hub .journey-welcome-heading { padding: 1rem; }
.home-services-hub .journey-welcome-title { font-size: 1.15rem; }
.home-services-hub .journey-welcome-play { width: 3.5rem; height: 3.5rem; }
.home-services-hub .journey-welcome-player { object-fit: contain; object-position: center; }
@media (max-width: 1020px) {
 .home-services-presentation.video-frame { max-width: 38rem; margin-inline: auto; }
 .home-services-hero::before { background: rgba(245,251,255,.77); }
 .home-services-hero { padding-bottom: 7rem; }
 .home-services-slideshow-control { bottom: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) {
 .home-services-slides img { animation: none; }
 .home-services-slides img:first-child { opacity: 1; }
 .home-services-slideshow-control { display: none; }
}
.home-services-hero .inner-hero-wave { pointer-events: none; }

/* Center every content section on phones. */
@media (max-width: 767px) {
 .home-services-hub main { text-align: center; }
 .home-services-hub .industry-section-heading { margin-inline: auto; }
 .home-services-hub :is(.industry-breadcrumbs ol, .industry-type-chips, .industry-actions) { justify-content: center; }
 .home-services-hub :is(.industry-number, .industry-small-note, .inner-next-card p) { margin-inline: auto; }
 .home-services-hub .inner-next-card { justify-items: center; text-align: center; }
 .home-services-hub .home-services-slideshow-control { right: 50%; transform: translateX(50%); }
 .home-services-hub .journey-welcome-play { left: 50%; right: auto; transform: translateX(-50%); }
}

/* Inline card numbering and clear closing signup action, scoped to this hub. */
.home-services-hub .hub-inline-title{display:flex;align-items:baseline;gap:8px;text-align:left}.hub-inline-number{flex-shrink:0;color:var(--blue)}.home-services-hub .industry-content-card:nth-child(2) .hub-inline-number{color:var(--green-dark)}.home-services-hub .hub-next-actions{display:flex;flex-direction:column;align-items:stretch;gap:16px;flex-shrink:0;max-width:100%}.home-services-hub .hub-next-actions .button{justify-content:center;white-space:normal;text-align:center}.home-services-hub :is(#service-foundation,#start-your-project){scroll-margin-top:120px}
@media(max-width:767px){.home-services-hub .hub-inline-title{justify-content:center}.home-services-hub .hub-next-actions{width:100%;max-width:350px;margin-inline:auto}}
