/* ============================================================
   Service hub pages (service-category.php). Builds on the shared
   ip-* sections in css/industry-page.css; this file adds the light
   hero tweaks, the group jump links and the service cards.
   ============================================================ */

/* ---------- Hero ---------- */
.sc-hero .sc-crumb{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; margin:0 0 18px; font-size:13.5px; color:#5b6a86; }
.sc-hero .sc-crumb a{ color:#0b5fd6; text-decoration:none; }
.sc-hero .sc-crumb a:hover{ text-decoration:underline; }
.sc-hero .sc-crumb span[aria-hidden]{ opacity:.5; }
.sc-hero .g-eyebrow i{ margin-right:4px; }

/* ---------- Group jump links ---------- */
.sc-jump{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:-14px auto 44px; }
.sc-jump a{
  display:inline-flex; align-items:center; gap:9px; padding:10px 18px; border-radius:999px; text-decoration:none;
  background:#fff; border:1px solid var(--ip-line); box-shadow:0 6px 16px rgba(10,22,51,.05);
  color:var(--ip-ink); font-size:15px; font-weight:600; transition:background .2s, color .2s, border-color .2s, translate .2s var(--ip-ease);
}
.sc-jump a b{ display:grid; place-items:center; min-width:24px; height:24px; padding:0 6px; border-radius:999px; background:#eef5ff; color:#0b5fd6; font-size:12.5px; }
.sc-jump a:hover, .sc-jump a:focus-visible{ background:var(--ip-grad); border-color:transparent; color:#fff; translate:0 -2px; text-decoration:none; }
.sc-jump a:hover b{ background:rgba(255,255,255,.2); color:#fff; }

/* ---------- Service groups ---------- */
.sc-services{ background:radial-gradient(800px 360px at 10% 0%, #e7f0ff 0%, transparent 60%), linear-gradient(180deg,#f6f9ff 0%,#ffffff 100%); }
.sc-group{ scroll-margin-top:110px; }
.sc-group + .sc-group{ margin-top:52px; }
.sc-group-head{ display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 16px; margin:0 0 20px; padding-bottom:14px; border-bottom:1px solid var(--ip-line); }
.sc-group-head h3{ position:relative; margin:0; padding:0 0 0 16px; color:var(--ip-ink); font-size:clamp(20px,2vw,24px); font-weight:800; line-height:1.3; text-align:left; }
.sc-group-head h3::before{ content:''; position:absolute; left:0; top:.18em; bottom:.18em; width:5px; border-radius:5px; background:var(--ip-grad); }
.sc-group-head p{ margin:0; color:var(--ip-muted); font-size:15.5px; text-align:left; }

.sc-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.sc-card{
  position:relative; display:flex; align-items:center; gap:16px; padding:20px 20px; border-radius:18px; text-decoration:none;
  background:#fff; border:1px solid var(--ip-line); box-shadow:0 8px 22px rgba(10,22,51,.05);
  transition:translate .3s var(--ip-ease), box-shadow .3s, border-color .3s;
}
.sc-card:hover, .sc-card:focus-visible{ translate:0 -5px; box-shadow:0 20px 42px rgba(10,22,51,.12); border-color:rgba(11,140,255,.4); text-decoration:none; outline:none; }
.sc-card-ic{
  flex:0 0 50px; width:50px; height:50px; display:grid; place-items:center; border-radius:15px; font-size:21px;
  color:#0b6fe0; background:#e8f2ff; transition:background .3s, color .3s, transform .4s var(--ip-ease);
}
.sc-card:hover .sc-card-ic{ background:var(--ip-grad); color:#fff; transform:rotate(-6deg) scale(1.05); }
.sc-card-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; text-align:left; }
.sc-card-body b{ color:var(--ip-ink); font-size:16.5px; font-weight:700; line-height:1.35; }
.sc-card-body small{ color:var(--ip-muted); font-size:14px; line-height:1.5; }
.sc-card-go{
  flex:0 0 32px; width:32px; height:32px; display:grid; place-items:center; border-radius:50%;
  color:#0b5fd6; background:#eef5ff; font-size:13px; transition:background .3s, color .3s, translate .3s var(--ip-ease);
}
.sc-card:hover .sc-card-go{ background:var(--ip-grad); color:#fff; translate:3px 0; }

/* ---------- Sections reused from industry pages ---------- */
.sc-tech{ padding-top:96px; }
.sc-process{ background:linear-gradient(180deg,#f6f9ff 0%,#ffffff 100%); }
.sc-cta{ padding-top:96px; }

@media (max-width:1100px){ .sc-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px){
  .sc-jump{ margin:-6px auto 32px; }
  .sc-jump a{ font-size:14px; padding:8px 14px; }
  .sc-grid{ grid-template-columns:1fr; gap:12px; }
  .sc-card{ padding:16px; }
  .sc-tech, .sc-cta{ padding-top:64px; }
  .sc-hero .g-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}
@media (prefers-reduced-motion:reduce){
  .sc-card:hover, .sc-jump a:hover{ translate:none; }
  .sc-card:hover .sc-card-ic{ transform:none; }
  .sc-card:hover .sc-card-go{ translate:none; }
}
