/* =========================================================
   LEVEL TEN - service page components
   Reuses base/components/directions/v2; adds page-specific
   pieces: breadcrumb, service hero, at-a-glance, steps,
   related services.
   ========================================================= */

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--mute); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--mute); text-decoration: none; transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--mute-2); }
.breadcrumb .cur { color: var(--ink); font-weight: 500; }

/* Service hero */
.svc-hero { position: relative; padding: 132px 0 60px; overflow: clip; }
.svc-hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.svc-visual { display: none !important; }
.svc-hero-copy { max-width: 820px; }
.svc-hero h1 { max-width: 760px; }
.svc-hero .lead { max-width: 620px; }
.svc-hero h1 { font-size: calc(clamp(38px, 5vw, 66px) * var(--scale)); line-height: 1.02; }
.svc-hero .lead { margin-top: 22px; max-width: 540px; }
.svc-hero .hero-ctas { margin-top: 32px; }
.svc-hero .hero-trust { margin-top: 30px; }
@media (max-width: 980px){
  .svc-hero { padding-top: 112px; }
  .svc-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .glance { max-width: 100%; margin: 0; }
}

/* At-a-glance card */
.glance { background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 24px; box-shadow: var(--shadow); max-width: 420px; margin-left: auto; position: relative; overflow: hidden; }
.glance::before { content: ""; position: absolute; top: 0; left: 28px; width: 40px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.glance h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-2); font-weight: 700; margin-bottom: 8px; }
.glance ul { list-style: none; margin: 0; padding: 0; }
.glance li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: var(--hair) solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.glance li:last-child { border-bottom: 0; }
.glance li .gi { width: 26px; height: 26px; border-radius: 8px; flex: none; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.glance li .gi svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.glance-foot { margin-top: 18px; padding-top: 18px; border-top: var(--hair) solid var(--line); display: flex; align-items: center; gap: 13px; }
.glance-foot img { height: 50px; width: auto; }
.glance-foot .gf-t strong { display: block; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 13.5px; letter-spacing: -0.01em; }
.glance-foot .gf-t span { font-size: 12px; color: var(--mute); }

/* Security/system visual (hero side) */
.svc-visual { position: relative; max-width: 440px; margin-left: auto; width: 100%; aspect-ratio: 1 / 0.9; min-height: 360px; background: var(--night); border: var(--hair) solid var(--night-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.svc-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1.2px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 26%, transparent 76%); mask-image: radial-gradient(circle at 50% 50%, #000 26%, transparent 76%); }
.sv-field { position: absolute; inset: 0; transform-origin: 50% 50%; }
.sv-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.sv-ring.r1 { width: 150px; height: 150px; }
.sv-ring.r2 { width: 248px; height: 248px; opacity: .8; }
.sv-ring.r3 { width: 346px; height: 346px; opacity: .55; }
.sv-arc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 248px; height: 248px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent); }
.sv-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; z-index: 3; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); }
.sv-core svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sv-node { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--night); z-index: 2; }
.sv-node.n1 { left: 50%; top: calc(50% - 124px); transform: translate(-50%, -50%); }
.sv-node.n2 { left: calc(50% - 124px); top: calc(50% + 40px); transform: translate(-50%, -50%); }
.sv-node.n3 { left: calc(50% + 110px); top: calc(50% - 64px); transform: translate(-50%, -50%); }
.sv-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.07); border: var(--hair) solid rgba(255,255,255,.15); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: #F5F3EE; box-shadow: 0 8px 22px -10px rgba(0,0,0,.55); z-index: 4; white-space: nowrap; letter-spacing: -0.005em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sv-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.sv-chip.c1 { top: 11%; left: 50%; transform: translateX(-50%); }
.sv-chip.c2 { bottom: 15%; left: 7%; }
.sv-chip.c3 { bottom: 27%; right: 6%; }
@media (max-width: 980px){ .svc-visual { margin: 0 auto; max-width: 460px; } }

/* Steps (how we deliver) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Process flow - connected timeline */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.flow::before { content: ""; position: absolute; top: 27px; left: 9%; right: 9%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-line)); z-index: 0; }
.flow-step { position: relative; z-index: 1; }
.fnum { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 21px; margin-bottom: 22px; box-shadow: 0 0 0 7px var(--bg); }
.fstep-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.flow-step h4 { font-size: calc(20px * var(--scale)); color: var(--ink); letter-spacing: -0.02em; margin-bottom: 9px; }
.flow-step p { font-size: 14px; line-height: 1.6; color: var(--mute); max-width: 300px; }
@media (max-width: 820px){
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 27px; right: auto; top: 8%; bottom: 8%; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--accent-line)); }
  .flow-step { padding: 0 0 30px 74px; }
  .flow-step:last-child { padding-bottom: 0; }
  .fnum { position: absolute; left: 0; top: 0; margin: 0; }
  .flow-step p { max-width: none; }
}

/* Dark feature band (reusable) */
.feature-band { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink); border-radius: var(--radius-lg); padding: clamp(34px, 4.5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; box-shadow: var(--shadow); }
.feature-band::before { content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent); }
.fb-glow { position: absolute; top: -60%; right: -8%; width: 46%; height: 240%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 62%); opacity: .22; pointer-events: none; }
.feature-band > *:not(.fb-glow) { position: relative; z-index: 2; }
.feature-band h2 { color: #fff; font-size: calc(clamp(26px, 3.2vw, 40px) * var(--scale)); }
.feature-band .lead { color: var(--night-mute); margin-top: 16px; }
.fb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fb-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: rgba(244,243,239,.9); font-size: 15px; line-height: 1.45; }
.fb-list li .fbi { width: 28px; height: 28px; flex: none; border-radius: 8px; background: color-mix(in srgb, var(--accent) 18%, transparent); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.fb-list li .fbi svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fb-list li strong { color: #fff; font-weight: 600; }
@media (max-width: 820px){ .feature-band { grid-template-columns: 1fr; } }

/* Service FAQ (centered, simple) */
.svc-faq { max-width: 820px; margin: 0 auto; }

/* Related services */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.rel-card .ri { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.rel-card .ri svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rel-card h4 { font-size: 16px; color: var(--ink); }
.rel-card p { font-size: 13px; color: var(--mute); line-height: 1.5; }
.rel-card .rl { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 820px){ .related { grid-template-columns: 1fr; } }

/* =========================================================
   Proof panel - replaces the generic 1-2-3 flow.
   "Show the promise" - one repeatable frame, swappable proof.
   Reuses surface / night / accent / mono tokens.
   ========================================================= */
.pf-panel { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(30px, 4.5vw, 60px); align-items: center; }
.proof-copy { max-width: 440px; }
.proof-copy .pf-kicker { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.proof-copy h3 { font-family: var(--display); font-weight: var(--display-weight); font-size: calc(clamp(25px, 2.9vw, 35px) * var(--scale)); line-height: 1.06; letter-spacing: var(--h1-track); color: var(--ink); }
.proof-copy h3 .accent { color: var(--accent-ink); }
.proof-copy p { margin-top: 16px; font-size: calc(15.5px * var(--scale)); line-height: 1.6; color: var(--mute); }
.proof-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pf-chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border: var(--hair) solid var(--accent-line); border-radius: 999px; padding: 6px 12px; }

/* The proof card (window) */
.pf-card { position: relative; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.pf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: var(--hair) solid var(--line-2); }
.pf-where { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-2); display: inline-flex; align-items: center; gap: 8px; }
.pf-where svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); white-space: nowrap; }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: pfpulse 2.6s var(--ease) infinite; }
@keyframes pfpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.pf-body { padding: 20px; }
.pf-foot { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-top: var(--hair) solid var(--line-2); background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.pf-foot .pf-seal { width: 22px; height: 22px; flex: none; border-radius: 7px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.pf-foot .pf-seal svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Body type A - conversation thread */
.pf-thread { display: flex; flex-direction: column; gap: 12px; }
.pf-line { max-width: 86%; }
.pf-line.me { align-self: flex-end; max-width: 90%; }
.pf-who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 11.5px; color: var(--mute); }
.pf-ava { width: 25px; height: 25px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 10.5px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pf-bub { border-radius: 14px; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; }
.pf-bub.cust { background: var(--bg); border: var(--hair) solid var(--line); color: var(--ink-2); border-top-left-radius: 5px; }
.pf-bub.eng { background: var(--night); color: var(--night-ink); border-bottom-right-radius: 5px; }

/* Body type B - timeline */
.pf-tl { list-style: none; margin: 0; padding: 0 0 0 4px; }
.pf-tl li { position: relative; padding: 0 0 16px 22px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pf-tl li:last-child { padding-bottom: 0; }
.pf-tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.pf-tl li::after { content: ""; position: absolute; left: 4px; top: 13px; bottom: -1px; width: 1.5px; background: var(--line); }
.pf-tl li:last-child::after { display: none; }
.pf-tl time { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mute-2); margin-bottom: 2px; }
.pf-tl strong { font-weight: 600; color: var(--ink); }

/* Body type C - metric / record rows */
.pf-rows { list-style: none; margin: 0; padding: 0; }
.pf-rows li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: var(--hair) solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.pf-rows li:first-child { padding-top: 0; }
.pf-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.pf-rows .pf-val { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.pf-rows .pf-val.good { color: var(--green); }
.pf-tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.pf-tick svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pf-prog { margin-top: 7px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pf-prog span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.pf-spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.pf-spark span { flex: 1; background: var(--accent); border-radius: 2px; opacity: 0.85; }

@media (max-width: 860px){ .pf-panel { grid-template-columns: 1fr; gap: 30px; } .proof-copy { max-width: none; } }

/* Proof card moved into the service hero (fills the empty right) */
.svc-hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.svc-hero .pf-card { max-width: 480px; width: 100%; margin-left: auto; }
@media (max-width: 900px){
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-hero .pf-card { margin: 0 auto; max-width: 520px; }
}

/* Breadcrumb + eyebrow removed from service heroes - pull content up slightly */
.svc-hero { padding-top: clamp(112px, 11vw, 144px) !important; }

/* Service hero sits on the warm band so it reads as a distinct opening block */
.svc-hero { background: var(--bg-2); border-bottom: var(--hair) solid var(--line); }

/* On service/contact pages the hero is the warm band; match the header at the top
   so there's no seam, then fall back to the light bar once scrolled onto content */
body.page-service .site-nav:not(.scrolled){ background: var(--bg-2); -webkit-backdrop-filter:none; backdrop-filter:none; }
@media (max-width: 920px){
  body.page-service .site-nav:not(.scrolled){ background: var(--bg-2) !important; }
}

/* Tighten service-page section spacing (luxury 152px gap was too much here) */
body.page-service section.block { padding-top: clamp(56px, 6vw, 92px) !important; padding-bottom: clamp(56px, 6vw, 92px) !important; }

/* Helpdesk chat card: Intercom-style messenger bubbles */
.pf-thread { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.pf-line { display: flex; max-width: 100%; }
.pf-line.cust { align-self: flex-end; justify-content: flex-end; max-width: 86%; }
.pf-line.me { align-self: flex-start; align-items: flex-end; gap: 10px; max-width: 92%; }
.pf-line.me .pf-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pf-msg { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pf-name { font-size: 11px; color: var(--mute); font-weight: 600; padding-left: 2px; }
.pf-bub { border-radius: 18px; padding: 11px 15px; font-size: 13.5px; line-height: 1.5; }
.pf-bub.cust { background: var(--accent-soft) !important; color: var(--ink) !important; border: 0 !important; border-bottom-right-radius: 6px !important; }
.pf-bub.eng { background: var(--surface-2) !important; color: var(--ink-2) !important; border: var(--hair) solid var(--line) !important; border-bottom-left-radius: 6px !important; }
