/* ============================================================
   I9 Experts — Service page template (orbital theme)
   Pairs with site.css. Scope: .svc-page
   ============================================================ */

.svc-page { overflow-x: hidden; }
.svc-section { padding: 100px 0; }
.svc-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.svc-head.left { margin-left: 0; text-align: left; }
.svc-head .eyebrow { display: block; margin-bottom: 12px; color: var(--accent-strong); }
.svc-head h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); line-height: 1.08; letter-spacing: -.02em; color: var(--fg1); }
.svc-head p { font-size: var(--text-md); line-height: 1.6; color: var(--fg2); margin-top: 14px; }

/* ---------- 1. HERO ---------- */
.svc-hero { position: relative; overflow: hidden; background: var(--i9-navy-900); color: #fff; padding: 176px 0 104px; }
.svc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(115% 90% at 80% 14%, rgba(56,182,171,.30) 0%, transparent 52%), radial-gradient(90% 80% at 8% 96%, rgba(78,85,162,.55) 0%, transparent 55%), linear-gradient(125deg, #23264f 0%, #343980 55%, #2c3170 100%); }
.svc-hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.svc-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 20px; letter-spacing: .02em; }
.svc-hero .crumbs a { color: var(--i9-teal-300); }
.svc-hero .crumbs span { opacity: .5; padding: 0 8px; }
.svc-hero .eyebrow { color: var(--i9-teal-300); margin-bottom: 18px; }
.svc-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 22px; }
.svc-hero h1 .accent { color: var(--i9-teal-300); }
.svc-hero .lead { font-size: var(--text-lg); line-height: 1.6; color: rgba(255,255,255,.84); max-width: 520px; margin-bottom: 32px; }
.svc-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.svc-hero .hero-tags { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.svc-hero .hero-tags span { font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-pill); padding: 8px 16px; }

/* orbital stage (reused from home hero) */
.svc-orbit { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; justify-self: center; }
.svc-orbit .glow { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(56,182,171,.5) 0%, rgba(78,85,162,.18) 55%, transparent 72%); filter: blur(8px); animation: pulse-soft 5s ease-in-out infinite; }
.svc-orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.14); transform-origin: 50% 50%; }
.svc-orbit .ring.r1 { inset: 4%;  border-color: rgba(142,214,207,.34); animation: orbit-spin 26s linear infinite; }
.svc-orbit .ring.r2 { inset: 16%; border-color: rgba(255,255,255,.16); animation: orbit-spin-rev 34s linear infinite; }
.svc-orbit .ring.r3 { inset: 28%; border-color: rgba(142,214,207,.22); animation: orbit-spin 20s linear infinite; }
.svc-orbit .ring .dot { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--i9-teal); box-shadow: 0 0 16px 3px rgba(56,182,171,.7); }
.svc-orbit .ring.r2 .dot { background: var(--i9-cyan); box-shadow: 0 0 16px 3px rgba(62,166,214,.7); }
.svc-orbit .ring.r3 .dot { background: #fff; box-shadow: 0 0 14px 2px rgba(255,255,255,.7); }
.svc-orbit .mark { position: absolute; inset: 0; margin: auto; width: 54%; height: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,.35)); animation: orbit-float 6s ease-in-out infinite; }

/* ---------- 2. CLIENT PROBLEMS ---------- */
.svc-problems { background: var(--bg2); }
.svc-problems .svc-head .eyebrow { color: var(--danger); }
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prob-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); position: relative; }
.prob-card .ic { width: 46px; height: 46px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--danger) 12%, #fff); color: var(--danger); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prob-card .ic svg { width: 23px; height: 23px; }
.prob-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg1); margin-bottom: 7px; }
.prob-card p { font-size: 14.5px; line-height: 1.6; color: var(--fg2); }

/* ---------- 3. SOLUTION ---------- */
.svc-solution { background: #fff; }
.svc-solution .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.svc-solution .eyebrow { color: var(--accent-strong); margin-bottom: 14px; display: block; }
.svc-solution h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.svc-solution p { font-size: var(--text-md); line-height: 1.68; color: var(--fg2); margin-bottom: 16px; }
.svc-solution ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.svc-solution ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--fg1); }
.svc-solution ul li svg { width: 22px; height: 22px; color: var(--i9-teal); flex: 0 0 22px; margin-top: 1px; }
.sol-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--i9-grad-hero); aspect-ratio: 5/4; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; }
.sol-visual .orbit-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.sol-visual .ring2 { position: absolute; border-radius: 50%; border: 1.5px solid rgba(142,214,207,.4); inset: 20%; animation: orbit-spin 24s linear infinite; }
.sol-visual .ring2 .dot { position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(255,255,255,.6); }
.sol-visual .mark { position: relative; z-index: 2; width: 44%; filter: brightness(0) invert(1) drop-shadow(0 10px 24px rgba(0,0,0,.3)); animation: orbit-float 6s ease-in-out infinite; }

/* ---------- 4. WHAT WE DELIVER ---------- */
.svc-deliver { background: var(--bg2); }
.svc-deliver .svc-head .eyebrow { color: var(--accent-strong); }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliver-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.deliver-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.deliver-card .ic { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.deliver-card .ic svg { width: 26px; height: 26px; color: #fff; }
.deliver-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--fg1); margin-bottom: 8px; }
.deliver-card p { font-size: 15px; line-height: 1.6; color: var(--fg2); }

/* ---------- 5. PROCESS ---------- */
.svc-process { background: #fff; }
.svc-process .svc-head .eyebrow { color: var(--accent-strong); }
.proc-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-node { position: relative; padding-top: 30px; }
.proc-node::before { content: ""; position: absolute; top: 13px; left: 0; right: 0; height: 2px; background: var(--border-strong); }
.proc-node::after { content: ""; position: absolute; top: 8px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--i9-grad-orbit); box-shadow: 0 0 0 4px color-mix(in srgb, var(--i9-teal) 18%, #fff); }
.proc-node:last-child::before { background: linear-gradient(90deg, var(--border-strong) 0%, transparent 100%); }
.proc-node .step-no { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent-strong); margin-bottom: 10px; }
.proc-node h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--fg1); margin-bottom: 7px; }
.proc-node p { font-size: 14.5px; line-height: 1.58; color: var(--fg2); }

/* ---------- 6. TOOLS & TECH ---------- */
.svc-tech { background: var(--i9-navy-900); color: #fff; position: relative; overflow: hidden; }
.svc-tech::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 88% 0%, rgba(56,182,171,.18) 0%, transparent 50%); }
.svc-tech .wrap { position: relative; z-index: 2; }
.svc-tech .svc-head { text-align: center; }
.svc-tech .svc-head .eyebrow { color: var(--i9-teal-300); }
.svc-tech .svc-head h2 { color: #fff; }
.svc-tech .svc-head p { color: rgba(255,255,255,.72); }
.tech-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.tech-chips .tc { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-pill); padding: 11px 20px; font-size: 15px; font-weight: 700; color: rgba(255,255,255,.9); transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.tech-chips .tc:hover { transform: translateY(-3px); border-color: rgba(56,182,171,.5); background: rgba(255,255,255,.08); }
.tech-chips .tc .d { width: 8px; height: 8px; border-radius: 50%; background: var(--i9-teal-300); }

/* ---------- 7. BUSINESS BENEFITS ---------- */
.svc-benefits { background: var(--bg2); }
.svc-benefits .svc-head .eyebrow { color: var(--accent-strong); }
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ben-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); }
.ben-card .stat { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; background: var(--i9-grad-orbit); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-bottom: 10px; }
.ben-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg1); margin-bottom: 6px; }
.ben-card p { font-size: 14px; line-height: 1.55; color: var(--fg2); }

/* ---------- 8. CASE STUDY ---------- */
.svc-case { background: #fff; }
.svc-case .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.svc-case .badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--i9-teal-deep); background: var(--i9-teal-100); border-radius: var(--radius-pill); padding: 7px 14px; margin-bottom: 18px; }
.svc-case h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 14px; }
.svc-case p { font-size: 16px; line-height: 1.65; color: var(--fg2); margin-bottom: 24px; }
.svc-case .res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.svc-case .res .r b { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--i9-indigo); display: block; line-height: 1; }
.svc-case .res .r span { font-size: 13px; color: var(--fg2); }
.case-scene { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--i9-grad-hero); aspect-ratio: 4/3; box-shadow: var(--shadow-lg); display: flex; align-items: flex-end; justify-content: center; padding: 32px 32px 0; }
.case-scene .orbit-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.case-scene .browser { position: relative; z-index: 2; width: 88%; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -12px 40px rgba(35,38,79,.3); overflow: hidden; }
.case-scene .browser .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--i9-gray-100); border-bottom: 1px solid var(--border); }
.case-scene .browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--i9-gray-300); display: block; }
.case-scene .browser .bar .url { flex: 1; height: 22px; margin-left: 8px; border-radius: 6px; background: #fff; border: 1px solid var(--border); }
.case-scene .browser image-slot { display: block; width: 100%; aspect-ratio: 16/10; }

/* ---------- 9. FAQ ---------- */
.svc-faq { background: var(--bg2); }
.svc-faq .svc-head .eyebrow { color: var(--accent-strong); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg1); background: none; border: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { flex: 0 0 22px; width: 22px; height: 22px; color: var(--i9-indigo); transition: transform .2s ease; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { font-size: 15px; line-height: 1.65; color: var(--fg2); padding: 0 22px 20px; margin: 0; }

/* ---------- 10. FINAL CTA ---------- */
.svc-cta { position: relative; overflow: hidden; background: var(--i9-grad-primary); color: #fff; padding: 104px 0; }
.svc-cta .orbit-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.14); }
.svc-cta .wrap { position: relative; z-index: 2; text-align: center; max-width: 720px; }
.svc-cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.07; letter-spacing: -.02em; margin-bottom: 16px; }
.svc-cta p { font-size: var(--text-md); line-height: 1.6; color: rgba(255,255,255,.88); margin-bottom: 32px; }
.svc-cta .acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- related services ---------- */
.svc-related { background: #fff; padding: 0 0 100px; }
.svc-related .wrap { border-top: 1px solid var(--border); padding-top: 48px; }
.svc-related .lbl { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 22px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.rel-card:hover { transform: translateY(-3px); border-color: var(--i9-indigo); box-shadow: var(--shadow-sm); }
.rel-card .ic { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--i9-indigo-100); color: var(--i9-indigo); display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.rel-card .ic svg { width: 20px; height: 20px; }
.rel-card b { font-size: 15px; font-weight: 700; color: var(--fg1); }
.rel-card .arr { margin-left: auto; color: var(--i9-gray-400); }
.rel-card .arr svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .svc-hero .wrap { grid-template-columns: 1fr; }
  .svc-orbit { order: -1; max-width: 340px; }
  .prob-grid, .deliver-grid { grid-template-columns: 1fr 1fr; }
  .svc-solution .wrap, .svc-case .wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-solution .sol-visual, .svc-case .case-scene { order: -1; }
  .proc-track { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .proc-node::before, .proc-node:last-child::before { display: none; }
  .ben-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .prob-grid, .deliver-grid, .ben-grid { grid-template-columns: 1fr; }
  .svc-case .res { grid-template-columns: 1fr 1fr; }
}
