/* Shenyun Service Pages V3 — brand-aligned light editorial system. */
:root {
  --font-sans: "LXGW WenKai Screen", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "IBM Plex Mono", "Source Code Pro", monospace;
  --brand: #1677ff;
  --accent: #1677ff;
  --accent-soft: #eaf3ff;
  --accent-ink: #0f68e8;
  --ink: #10243e;
  --body: #42566e;
  --muted: #6d7f93;
  --line: #d9e5f2;
  --paper: #f4f8fd;
  --surface: #fbfdff;
  --dark: #eaf3ff;
  --dark-2: #f5f9ff;
  --max: 1180px;
}
.svc-ai { --accent: #1677ff; --accent-soft: #eaf3ff; --accent-ink: #0f68e8; }
.svc-wb { --accent: #2d6fda; --accent-soft: #edf4ff; --accent-ink: #245fbd; }
.svc-adp { --accent: #1f72c9; --accent-soft: #eaf5ff; --accent-ink: #175ea9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: radial-gradient(circle at 86% 8%, rgba(22, 119, 255, .11), transparent 28rem), linear-gradient(180deg, #f7fbff 0%, var(--paper) 42%, #eef5fc 100%); color: var(--ink); font-family: var(--font-sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
:where(a, button):focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 3px; }

/* Header (shared with main site) */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 34px; min-height: 74px; padding: 10px max(24px, calc((100vw - var(--max))/2)); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.brand-mark { display: block; width: 54px; height: 30px; flex: 0 0 54px; }
.brand-mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logo-bar { fill: var(--brand); }
.brand-word strong { display: block; color: var(--brand); font-size: 18px; line-height: 1; letter-spacing: .12em; }
.brand-word small { display: block; margin-top: 4px; color: var(--brand); font-size: 8px; font-weight: 650; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 24px; color: #52606c; font-size: 14px; }
.main-nav a { position: relative; padding: 10px 1px; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; border-radius: 999px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-toggle { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 1px; border: 0; background: none; color: inherit; font: inherit; font-size: inherit; cursor: pointer; }
.nav-dropdown-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translate(-1px, -2px); transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-dropdown-toggle::before { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; border-radius: 999px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-toggle::before { transform: scaleX(1); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; display: grid; gap: 4px; min-width: 300px; padding: 9px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 22px 54px rgba(14, 27, 44, .16); opacity: 0; visibility: hidden; transform: translate(0, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-dropdown-menu--end { left: auto; right: 0; }
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(0, 0); }
.nav-dropdown-menu a { display: grid; gap: 3px; padding: 13px 15px; border-radius: 12px; white-space: nowrap; }
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: #f2f6fb; }
.nav-dropdown-menu b { color: var(--ink); font-size: 14px; font-weight: 650; }
.nav-dropdown-menu small { color: var(--muted); font-size: 11px; }
.header-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 19px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 650; font-size: 14px; transition: .2s; }
.header-cta:hover { background: #0f68e8; transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef4fb; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); }

/* Breadcrumb */
.breadcrumb { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding-top: 22px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* Brand-aligned luminous hero */
.svc-hero { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(135deg, #f8fbff 0%, var(--accent-soft) 55%, #f2f8ff 100%); border-block: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)); }
.svc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 340px at 84% 4%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 72%), radial-gradient(520px 300px at 5% 100%, rgba(255,255,255,.88), transparent 72%); pointer-events: none; }
.svc-hero::after { content: ""; position: absolute; inset: 0; opacity: .26; pointer-events: none; background-image: linear-gradient(rgba(22,119,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(22,119,255,.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 88%); }
.svc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: clamp(48px, 7vw, 88px); align-items: center; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 clamp(52px, 7vw, 84px); }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--accent-ink); font-family: var(--font-mono); font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.svc-hero h1 { max-width: 14ch; margin: 22px 0 24px; font-size: clamp(42px, 5.6vw, 70px); font-weight: 680; line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
.svc-hero h1 em { color: var(--accent-ink); font-style: normal; }
.svc-lead { max-width: 620px; margin: 0; color: var(--body); font-size: 17px; line-height: 1.85; }
.svc-lead strong { color: var(--ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-tags span { padding: 9px 14px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-radius: 999px; background: rgba(255,255,255,.68); color: var(--body); font-size: 12px; backdrop-filter: blur(8px); }
.spec-panel { border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: 24px; background: rgba(251,253,255,.86); box-shadow: 0 24px 64px rgba(25, 75, 128, .13); backdrop-filter: blur(14px); }
.spec-head { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; }
.spec-row { display: grid; grid-template-columns: 118px 1fr; gap: 18px; padding: 18px 22px; }
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row small { color: var(--accent-ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; }
.spec-row b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.6; font-weight: 650; }
.spec-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* Light editorial sections */
.svc-section { padding: clamp(64px, 8vw, 104px) 0; }
.svc-section + .svc-section { border-top: 1px solid var(--line); }
.svc-section.dark { background: linear-gradient(145deg, #e8f2ff 0%, #f7fbff 52%, #edf6ff 100%); color: var(--ink); border-block: 1px solid var(--line); }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.band-head { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 6vw, 72px); margin-bottom: clamp(36px, 5vw, 56px); }
.band-label { color: var(--accent-ink); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.dark .band-label { color: var(--accent-ink); }
.band-head h2 { max-width: 20ch; margin: 0; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.band-head p { grid-column: 2; max-width: 660px; margin: 14px 0 0; color: var(--body); font-size: 15px; line-height: 1.85; }
.dark .band-head p { color: var(--body); }

/* Numbered capability bands */
.cap-list { border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: 90px minmax(200px, .5fr) 1fr; gap: clamp(20px, 4vw, 48px); align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.cap-row > i { color: var(--accent-ink); font-family: var(--font-mono); font-size: 12px; font-style: normal; letter-spacing: .1em; }
.cap-row h3 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.cap-row p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.8; }
.cap-row p + small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Light step rail */
.step-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.72); box-shadow: 0 18px 46px rgba(25,75,128,.08); }
.step { position: relative; padding: 28px 26px 32px; background: rgba(255, 255, 255, .78); }
.step::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #fff)); }
.step + .step { border-left: 1px solid var(--line); }
.step small { color: var(--accent-ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; }
.step h3 { margin: 40px 0 12px; color: var(--ink); font-size: 18px; }
.step p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.8; }
.step b { display: block; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.65; }

/* Boundary split */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.split-2 > div { padding: 34px 32px; }
.split-2 > div:first-child { background: rgba(251,253,255,.92); }
.split-2 > div:last-child { background: var(--accent-soft); }
.split-2 small { color: var(--accent-ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; }
.split-2 h3 { margin: 16px 0 16px; font-size: 21px; }
.split-2 ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.split-2 li { color: var(--body); font-size: 14px; line-height: 1.75; padding-left: 18px; position: relative; }
.split-2 li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 2px; background: var(--accent-ink); }

/* Comparison table */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(251,253,255,.9); box-shadow: 0 18px 46px rgba(25,75,128,.06); }
.cmp th, .cmp td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13.5px; line-height: 1.75; color: var(--body); }
.cmp th { background: var(--accent-soft); color: var(--ink); font-size: 12px; letter-spacing: .05em; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--ink); font-weight: 650; white-space: nowrap; }

/* FAQ */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 24px 52px 24px 4px; font-size: 16.5px; font-weight: 650; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 50%; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-ink); font-weight: 500; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; background: var(--accent-soft); border-color: transparent; }
.faq-item p { margin: 0; max-width: 760px; padding: 0 4px 26px; color: var(--body); font-size: 14px; line-height: 1.9; }

/* Related services */
.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rel-card { display: flex; flex-direction: column; min-height: 190px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.96), var(--accent-soft)); transition: .2s; }
.rel-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14, 27, 44, .08); }
.rel-card small { color: var(--accent-ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; }
.rel-card h3 { margin: 22px 0 8px; font-size: 19px; }
.rel-card p { margin: 0 0 18px; color: var(--body); font-size: 13.5px; line-height: 1.75; }
.rel-card span { margin-top: auto; color: var(--accent-ink); font-size: 13px; font-weight: 700; }

/* Floating contact (kept site-wide) */
.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; justify-items: end; gap: 10px; }
.floating-contact-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 650; box-shadow: 0 14px 34px rgba(22, 119, 255, .3); cursor: pointer; }
.floating-contact-panel { display: none; width: min(350px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .98); box-shadow: 0 24px 70px rgba(14, 27, 44, .2); }
.floating-contact-panel.open { display: block; }
.floating-contact-head { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 15px; }
.floating-contact-head strong, .floating-contact-head span { display: block; }
.floating-contact-head span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.floating-contact-close { flex: 0 0 32px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f2f6fb; color: var(--muted); cursor: pointer; }
.wechat-contact-card { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 15px; background: #eaf3ff; }
.wechat-contact-card img { width: 132px; height: 132px; border-radius: 10px; background: #fff; object-fit: contain; }
.wechat-contact-card b, .wechat-contact-card span { display: block; }
.wechat-contact-card span { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.floating-contact-options { margin-top: 10px; }
.floating-contact-options a { display: flex; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); font-size: 13px; font-weight: 650; }
.floating-contact-panel > p { margin: 12px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.floating-contact-panel > p a { color: var(--brand); }

/* Footer */
footer { padding: 56px max(24px, calc((100vw - var(--max))/2)) 26px; border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 56px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand strong, .footer-brand small { display: block; color: var(--brand); }
.footer-brand small { margin-top: 5px; font-size: 8px; letter-spacing: .18em; }
.footer-brand p { max-width: 270px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer-links div { display: grid; align-content: start; gap: 10px; }
.footer-links b { margin-bottom: 5px; font-size: 13px; }
.footer-links a, .footer-links span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom a { color: var(--body); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .main-nav { gap: 16px; font-size: 13px; }
  .svc-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .band-head { grid-template-columns: 1fr; gap: 16px; }
  .band-head p { grid-column: 1; }
  .cap-row { grid-template-columns: 60px 1fr; }
  .cap-row p { grid-column: 2; }
  .step-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .site-header { min-height: 66px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 22px 54px rgba(14, 27, 44, .16); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .main-nav a:hover { background: #f2f6fb; }
  .nav-dropdown { display: grid; }
  .nav-dropdown-toggle { justify-content: space-between; width: 100%; padding: 12px 14px; border-radius: 10px; }
  .nav-dropdown-toggle:hover { background: #f2f6fb; }
  .nav-dropdown-toggle::before { display: none; }
  .nav-dropdown-menu { position: static; min-width: 0; padding: 0 0 0 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; transform: none; opacity: 1; visibility: visible; }
  .nav-dropdown-menu a { white-space: normal; }
  .breadcrumb { width: calc(100% - 32px); }
  .svc-hero-grid { width: calc(100% - 32px); }
  .svc-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .wrap { width: calc(100% - 32px); }
  .cap-row { grid-template-columns: 1fr; gap: 8px; }
  .cap-row p { grid-column: 1; }
  .step-rail, .split-2, .rel-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .cmp { display: block; overflow-x: auto; }
  .wechat-contact-card { grid-template-columns: 110px 1fr; }
  .wechat-contact-card img { width: 110px; height: 110px; }
  .floating-contact { right: 16px; bottom: 16px; }
  .floating-contact-panel { max-height: calc(100vh - 88px); overflow-y: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: grid; }
}
@media (max-width: 480px) { .footer-links { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
