/* Native page scrolling brings each card over the one before it. */
.services-scroll-hint{display:none}
@media(max-width:760px){
  #services{padding:56px 16px 40px;isolation:isolate}
  #services .section-top{padding:0 12px;margin-bottom:24px}
  #services .services-scroll-hint{display:block;margin:0 12px 28px;font-size:12px;letter-spacing:.4px;color:#53654c}
  #services .service-grid{display:block;position:relative;overflow:visible;border:0;background:transparent;padding-bottom:0}
  #services .service{
    position:sticky;top:16px;display:flex;flex-direction:column;justify-content:center;
    min-height:calc(100vh - 32px);min-height:calc(100svh - 32px);
    margin:0 0 32px;padding:80px 30px 64px;
    border-radius:18px;border:1px solid #b4bea5;
    box-shadow:0 -8px 30px #273e2914;
    transform:none;transition:none;scroll-margin-top:16px;
  }
  #services .service:last-child{margin-bottom:0}
  #services .service .num{position:absolute;left:30px;top:32px;font-size:12px;letter-spacing:2px}
  #services .service:after{top:26px;right:28px;font-size:23px}
  #services .service h3{font-family:Arial,Helvetica,sans-serif;font-size:clamp(32px,9vw,44px);font-weight:700;line-height:1.08;letter-spacing:-1.4px;margin:0 0 24px}
  #services .service p{font-size:18px;line-height:1.7;margin:0;max-width:34ch}
  #services .service:before{width:80px;height:3px}
  #services .service:hover{transform:none;box-shadow:0 -8px 30px #273e2914}
  /* Focused cards remain above the stack when navigating by keyboard. */
  #services .service:focus-visible{z-index:2;outline:3px solid #416b43;outline-offset:-6px}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
  #services .service{position:relative;top:auto;min-height:420px}
}
@media(max-width:760px) and (max-height:480px){
  #services .service{position:relative;top:auto;min-height:400px}
}
@media print{#services .service{position:static;min-height:0;box-shadow:none}}
