/* ============ SERVICES LANDING — page-specific compositions ============ */

/* Hero (services) — tightened editorial spacing */
.svc-hero { position: relative; overflow: hidden; padding-top: clamp(44px,5vw,76px); padding-bottom: 0; }
.svc-hero .hero-bg { position:absolute; inset:0; z-index:-1;
  background: radial-gradient(50% 60% at 50% -6%, var(--brand-50), transparent 70%); }
.svc-hero .section-head { margin-inline: auto; }
.svc-hero .lead { margin-inline: auto; }

/* Editorial service-journey navigation — a content guide, not a filter bar */
.svc-journey {
  margin-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 0;
}
.jn {
  position: relative; display: inline-flex; align-items: center;
  padding: 6px 22px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  letter-spacing: -.01em; transition: color .2s var(--ease);
}
.jn::after {
  content: ""; position: absolute; bottom: -1px; left: 22px; right: 22px;
  height: 1.5px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: center;
  transition: transform .22s var(--ease);
}
.jn:not(:last-child) {
  box-shadow: 1px 0 0 var(--line);  /* hairline divider between items */
}
.jn:hover { color: var(--ink); }
.jn.is-active { color: var(--brand); font-weight: 600; }
.jn.is-active::after { transform: scaleX(1); }
@media (max-width: 560px){
  .jn { padding: 11px 14px; font-size: 14.5px; }  /* taller hit area for touch (≥40px) */
  .jn::after { left: 14px; right: 14px; }
}

/* Service chapters — each service its own full-bleed chapter with subtle background rhythm */
.svc-chapter { padding-block: clamp(48px,6vw,66px); }
.svc-chapter.chapter-first { padding-top: 64px; }
.svc-chapter.tint-a { background: #FAFBFC; }
.svc-chapter.tint-b { background: #F7F9FC; }

.cat {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(40px,5.5vw,84px); align-items: center;
  scroll-margin-top: 92px;
}
.cat.flip .cat-media { order: -1; }
.cat-media { width: 100%; max-width: 440px; justify-self: end; }
.cat.flip .cat-media { justify-self: start; }

/* Section label — refined editorial marker (Start · Operate · Tax …) */
.cat-copy .catnum {
  display: inline-flex; align-items: baseline; gap: 9px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.cat-copy .catnum::before {
  content: attr(data-n); font-family: var(--font-display);
  font-weight: 600; letter-spacing: .04em; color: var(--brand);
  font-variant-numeric: tabular-nums; text-transform: none; opacity: .8;
}

/* Statement — bold, editorial, the first thing you read */
.cat-copy .problem {
  margin-top: 16px; font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px); font-weight: 800;
  line-height: 1.04; letter-spacing: -.032em; color: var(--ink);
}
/* Service name — authoritative, brand-blue */
.cat-copy h2 {
  margin-top: 14px; font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700; letter-spacing: -.014em; color: var(--brand);
}

/* Featured (primary) section — a touch more presence as the entry point */
.cat-featured .problem { font-size: clamp(38px, 4.6vw, 60px); }
.cat-featured .deliver { font-size: 18px; max-width: 500px; }

.cat-copy .deliver { margin-top: 13px; color: var(--body); font-size: 17px; line-height: 1.58; max-width: 480px; }
.cat-feats { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; }
.cat-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink-2); font-weight: 500; }
.cat-feats li i[data-lucide] { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.cat-cta { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Refined buttons — quieter, Stripe-like (no heavy brand glow) on this page's content */
.cat-cta .btn-primary { box-shadow: 0 1px 2px rgba(10,16,32,.10); }
.cat-cta .btn-primary:hover { box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--brand) 45%, transparent); }

/* Category media — a small, quieted UI panel (content is the hero) */
.cat-panel {
  position: relative; border-radius: var(--r-xl); padding: 21px;
  background: linear-gradient(180deg, var(--soft), var(--surface) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cat.flip .cat-panel { background: linear-gradient(180deg, var(--brand-50), var(--surface) 70%); }
.panel-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 8px 24px -14px rgba(10,16,32,.20), inset 0 0 0 1px var(--line); padding: 16px; position: relative; }
.panel-sample { position: absolute; top: 13px; right: 13px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 3px 8px; border-radius: 999px; }
.panel-head { padding-right: 62px; }
.panel-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.panel-head .chip { width: 38px; height: 38px; border-radius: 11px; }
.panel-head .chip [data-lucide] { width: 18px; height: 18px; }
.panel-head b { color: var(--ink); font-size: 14.5px; }
.panel-head small { display:block; color: var(--muted); font-size: 12px; }
.panel-row { display: flex; align-items: center; gap: 11px; padding: 10px 2px; border-top: 1px solid var(--line-2); }
.panel-row:first-of-type { border-top: 0; }
.panel-row .pl { color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.panel-row .pr { margin-left: auto; font-size: 12px; font-weight: 600; }
.panel-row .ok { color: var(--green); display:inline-flex; align-items:center; gap:5px; }
.panel-row .ok [data-lucide]{ width:14px;height:14px; }
.panel-row .pend { color: var(--amber); }
.panel-row .neu { color: var(--muted); }
.panel-stat { margin-top: 11px; display: flex; gap: 10px; }
.panel-stat .ps { flex:1; background: var(--soft); border-radius: var(--r-md); padding: 11px; }
.panel-stat .ps .v { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing:-.02em; }
.panel-stat .ps .k { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cat-float {
  position: absolute; right: -14px; bottom: -14px; z-index: 3; background: var(--surface);
  border-radius: 13px; box-shadow: var(--sh-md), inset 0 0 0 1px var(--line); padding: 10px 13px;
  display: flex; align-items: center; gap: 10px;
}
.cat-float .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--green-100); color: var(--green); display: grid; place-items: center; }
.cat-float .ic [data-lucide]{ width:16px;height:16px; }
.cat-float b { display:block; color: var(--ink); font-size: 12.5px; }
.cat-float small { color: var(--muted); font-size: 11px; }

@media (max-width: 860px){
  .cat { grid-template-columns: 1fr; gap: 34px; }
  .cat.flip .cat-media { order: 0; }
  .cat-media, .cat.flip .cat-media { justify-self: stretch; max-width: 480px; }
  .cat-feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){ .cat-feats { grid-template-columns: 1fr; } }

/* Comparison / why-choose strip */
.choose-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.choose { padding: 28px; }
.choose .chip { margin-bottom: 18px; }
.choose h4 { color: var(--ink); }
.choose p { margin-top: 8px; color: var(--body); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px){ .choose-grid { grid-template-columns: 1fr; } }
