:root {
  --navy: #08255f;
  --ink: #13233e;
  --blue: #0d53d1;
  --teal: #17b7bd;
  --orange: #ff9d31;
  --paper: #f7faff;
  --line: #dfe8f5;
  --muted: #61708a;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(19, 57, 122, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px;
  color: white; background: var(--navy); border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223, 232, 245, .85); backdrop-filter: blur(18px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand img { width: 144px; height: auto; }
.brand span {
  padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted);
  font-size: 13px; letter-spacing: .12em;
}
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a { font-size: 14px; font-weight: 600; color: #40506c; transition: color .18s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--blue); }
.admin-link {
  padding: 9px 15px; border: 1px solid var(--line); border-radius: 10px;
  color: #51617a; font-size: 13px; font-weight: 600;
}
.menu-button {
  display: none; width: 42px; height: 42px; padding: 10px; background: transparent;
  border: 1px solid var(--line); border-radius: 10px;
}
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--navy); border-radius: 2px; }
.mobile-nav { display: none; }

.hero {
  position: relative; overflow: hidden; padding: 78px 0 70px;
  background:
    radial-gradient(circle at 8% 4%, rgba(35, 160, 255, .13), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #f3f8ff 44%, #eefafb 100%);
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 540px; height: 540px; right: -180px; top: -250px; border: 1px solid rgba(31, 111, 255, .13); }
.hero-orb-two { width: 350px; height: 350px; right: 110px; top: 80px; background: rgba(23, 183, 189, .06); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: 70px; }
.eyebrow, .section-kicker { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow span { width: 28px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 3px; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(46px, 5.1vw, 72px); line-height: 1.12; letter-spacing: -.05em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 24px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.search-box {
  display: flex; align-items: center; width: min(650px, 100%); padding: 8px 8px 8px 18px;
  background: var(--white); border: 1px solid #d5e2f2; border-radius: 16px;
  box-shadow: 0 16px 50px rgba(40, 84, 151, .11);
}
.search-box:focus-within { border-color: rgba(31, 111, 255, .55); box-shadow: 0 16px 50px rgba(40, 84, 151, .15), 0 0 0 4px rgba(31, 111, 255, .08); }
.search-box svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: #7d8ca4; stroke-width: 1.8; }
.search-box input { min-width: 0; flex: 1; padding: 13px 13px; color: var(--ink); background: transparent; border: 0; outline: 0; }
.search-box input::placeholder { color: #92a0b4; }
.search-box button, .button {
  border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-weight: 700;
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
}
.search-box button { flex: 0 0 auto; padding: 13px 22px; color: white; background: var(--navy); }
.search-box button:hover, .button:hover { transform: translateY(-2px); }
.search-result { min-height: 20px; margin: 8px 2px 0; color: var(--blue); font-size: 13px; }
.hot-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; margin-top: 2px; color: #8491a6; font-size: 12px; }
.hot-searches button { padding: 0; color: #4c6486; background: transparent; border: 0; cursor: pointer; }
.hot-searches button:hover { color: var(--blue); text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; font-size: 14px;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), #0a56dd); box-shadow: 0 14px 28px rgba(31, 111, 255, .24); }
.button-secondary { color: var(--navy); background: white; border-color: #d9e4f1; }
.status-dot { width: 8px; height: 8px; background: #48e5a4; border-radius: 50%; box-shadow: 0 0 0 4px rgba(72, 229, 164, .2); }
.service-note { margin: 13px 0 0; color: #7b8ba4; font-size: 12px; }

.hero-visual { position: relative; padding: 0 0 38px; }
.visual-card {
  position: relative; display: grid; place-items: center; min-height: 520px; padding: 34px 20px;
  overflow: hidden; background: linear-gradient(145deg, #ffffff 0%, #f6faff 56%, #ecfbfc 100%);
  border: 1px solid rgba(255,255,255,.95); border-radius: 36px; box-shadow: var(--shadow);
}
.visual-card::before {
  content: ""; position: absolute; width: 330px; height: 330px; top: -130px; right: -90px;
  background: radial-gradient(circle, rgba(31,111,255,.14), transparent 65%);
}
.hero-art { position: relative; width: min(455px, 92%); mix-blend-mode: multiply; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.95); border: 1px solid #e8eef7; border-radius: 16px;
  box-shadow: 0 14px 35px rgba(31, 70, 127, .13); backdrop-filter: blur(10px);
}
.float-card img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.float-card span { color: #74839a; font-size: 11px; line-height: 1.5; }
.float-card strong { display: block; color: var(--navy); font-size: 13px; }
.float-card-top { top: 48px; left: -30px; }
.float-card-bottom { right: -24px; bottom: 100px; }
.visual-caption { display: flex; justify-content: space-between; gap: 12px; padding: 20px 8px 0; color: #8290a7; font-size: 12px; }
.visual-caption span:first-child { color: var(--navy); font-weight: 700; }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 14px; min-height: 114px; padding: 18px 28px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { color: #677a94; font-size: 27px; font-weight: 800; letter-spacing: -.05em; }
.trust-grid span { color: #61718b; font-size: 13px; line-height: 1.6; }

.section { padding: 108px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 44px; }
.section-heading h2, .service-intro h2, .faq-heading h2 { margin: 10px 0 0; color: var(--navy); font-size: clamp(34px, 3.5vw, 48px); line-height: 1.2; letter-spacing: -.035em; }
.section-heading > p { width: min(450px, 45%); margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.categories-section { background: var(--white); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card {
  position: relative; min-height: 280px; padding: 28px; overflow: hidden;
  background: #f8fbff; border: 1px solid #e6eef8; border-radius: var(--radius);
  transition: transform .24s, border-color .24s, box-shadow .24s;
}
.category-card::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -60px; bottom: -70px;
  border-radius: 50%; background: var(--card-tint, rgba(31,111,255,.08));
}
.category-card:hover { transform: translateY(-5px); border-color: var(--card-border, rgba(31,111,255,.3)); box-shadow: 0 18px 42px rgba(25, 74, 142, .1); }
.category-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 27px; background: white; border-radius: 15px; box-shadow: 0 9px 24px rgba(32, 72, 128, .1); }
.category-icon img { width: 38px; height: 38px; object-fit: contain; border-radius: 9px; }
.category-number { position: absolute; top: 29px; right: 28px; color: #c5d3e6; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.category-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; }
.category-card p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.category-card .card-link { position: absolute; left: 28px; bottom: 25px; z-index: 1; color: var(--card-accent, var(--blue)); font-size: 13px; font-weight: 700; }
.category-card .card-link b { margin-left: 4px; font-size: 16px; }
.category-card.is-teal { --card-accent: #06999e; --card-tint: rgba(23,183,189,.1); --card-border: rgba(23,183,189,.3); }
.category-card.is-orange { --card-accent: #d9760a; --card-tint: rgba(255,157,49,.12); --card-border: rgba(255,157,49,.35); }
.category-card.is-navy { --card-accent: var(--navy); --card-tint: rgba(8,37,95,.08); --card-border: rgba(8,37,95,.24); }

.self-service-section { background: #f5f9ff; }
.service-panel {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; padding: 64px;
  color: white; background: linear-gradient(130deg, #08255f 0%, #0a397f 55%, #095e8c 100%);
  border-radius: 32px; box-shadow: 0 28px 70px rgba(8, 37, 95, .2); overflow: hidden;
}
.service-intro .section-kicker { color: #70dcda; }
.service-intro h2 { color: white; }
.service-intro > p { margin: 20px 0 30px; color: #b9cae4; font-size: 15px; line-height: 1.8; }
.step-list { display: grid; gap: 16px; }
.step { display: flex; gap: 15px; align-items: center; }
.step b { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: var(--navy); background: #74e0dd; border-radius: 11px; }
.step span { color: #aebfd9; font-size: 13px; line-height: 1.55; }
.step strong { display: block; color: white; font-size: 14px; }
.evidence-card { align-self: center; padding: 30px; color: var(--ink); background: rgba(255,255,255,.97); border-radius: 22px; }
.evidence-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.evidence-title > span:first-child { color: var(--navy); font-size: 18px; font-weight: 800; }
.evidence-tag { padding: 5px 10px; color: #02666a; background: #ddfafa; border-radius: 999px; font-size: 11px; font-weight: 800; }
.evidence-card ul { list-style: none; padding: 0; margin: 10px 0 18px; }
.evidence-card li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 11px 0; color: #687992; font-size: 13px; line-height: 1.6; border-bottom: 1px dashed #e7eef7; }
.evidence-card li:last-child { border-bottom: 0; }
.evidence-card li span { color: var(--navy); font-weight: 700; }
.text-link { display: inline-flex; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 800; }

.faq-section { background: white; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading p { margin: 20px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 25px 4px; list-style: none; cursor: pointer; color: var(--navy); font-size: 17px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 20px; height: 20px; flex: 0 0 auto; border: 1px solid #c9d6e7; border-radius: 50%; }
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 1px; background: var(--blue); transition: transform .2s;
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { background: var(--blue); border-color: var(--blue); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: white; }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-answer { padding: 0 44px 24px 4px; }
.faq-answer p { margin: 0; color: #60708a; font-size: 14px; line-height: 1.85; }
.faq-empty { padding: 34px 4px; color: var(--muted); font-size: 14px; }

.contact-section { background: linear-gradient(180deg, #f8fbff, #ffffff); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; min-height: 340px; padding: 26px; text-align: left;
  background: white; border: 1px solid var(--line); border-radius: 22px; cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.contact-card:hover { transform: translateY(-5px); border-color: #bfd2eb; box-shadow: 0 18px 38px rgba(28,69,127,.1); }
.contact-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; background: #f4f8fe; border-radius: 15px; }
.contact-icon img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.contact-label { color: #61738d; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.contact-card > strong { margin: 8px 0 12px; color: var(--navy); font-size: 21px; }
.contact-card > span:not(.contact-icon):not(.contact-label) { color: var(--muted); font-size: 13px; line-height: 1.75; }
.contact-card > b { margin-top: auto; padding-top: 18px; color: var(--blue); font-size: 13px; }
.contact-primary { color: white; background: linear-gradient(145deg, var(--blue), #0a50cf); border-color: transparent; box-shadow: 0 18px 40px rgba(31,111,255,.23); }
.contact-primary .contact-icon { background: rgba(255,255,255,.15); }
.contact-primary .contact-label, .contact-primary > span:not(.contact-icon):not(.contact-label) { color: #dce9ff; }
.contact-primary > strong, .contact-primary > b { color: white; }
.contact-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.contact-actions a, .contact-actions button { padding: 8px 10px; color: var(--blue); background: #edf4ff; border: 0; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; }

.site-footer { padding-top: 66px; color: #c4d1e7; background: #061b43; }
.footer-top { display: grid; grid-template-columns: 1fr 1.35fr; gap: 90px; padding-bottom: 50px; }
.footer-brand img { width: 180px; padding: 8px 10px; background: white; border-radius: 10px; }
.footer-brand p { max-width: 390px; margin: 20px 0 0; font-size: 13px; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.footer-links div { display: flex; flex-direction: column; gap: 11px; }
.footer-links strong { margin-bottom: 4px; color: white; font-size: 13px; }
.footer-links a { color: #9fb1cd; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 25px; border-top: 1px solid rgba(255,255,255,.1); color: #7890b3; font-size: 11px; }

.chat-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.chat-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; background: rgba(4, 20, 51, .64); border: 0; backdrop-filter: blur(5px); }
.chat-dialog {
  position: relative; display: flex; flex-direction: column; width: min(470px, calc(100% - 28px)); height: min(720px, calc(100vh - 40px));
  overflow: hidden; background: white; border-radius: 24px; box-shadow: 0 35px 80px rgba(3,18,48,.35);
}
.chat-dialog > header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; color: white; background: linear-gradient(120deg, var(--navy), #0d5ed1); }
.chat-dialog header span { color: #9ec9ff; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.chat-dialog h2 { margin: 3px 0 0; font-size: 20px; }
.chat-dialog header button { width: 36px; height: 36px; color: white; background: rgba(255,255,255,.12); border: 0; border-radius: 10px; font-size: 25px; cursor: pointer; }
.chat-dialog iframe { width: 100%; flex: 1; border: 0; background: white; }
.chat-fallback { display: flex; align-items: center; gap: 13px; padding: 11px 16px; color: #7686a0; background: #f7faff; border-top: 1px solid var(--line); font-size: 11px; }
.chat-fallback span { margin-right: auto; }
.chat-fallback a { color: var(--blue); font-weight: 700; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; padding: 11px 18px;
  color: white; background: var(--navy); border-radius: 10px; box-shadow: 0 12px 30px rgba(4,23,58,.25);
  font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.error-page {
  min-height: 100vh; display: grid; place-items: center; padding: 60px 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(23,183,189,.14), transparent 28%),
    radial-gradient(circle at 15% 70%, rgba(31,111,255,.14), transparent 30%),
    #f7faff;
}
.error-shell { width: min(700px, 100%); text-align: center; }
.error-shell img { width: 210px; margin: 0 auto 46px; }
.error-code { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.error-shell h1 { margin: 12px 0 18px; color: var(--navy); font-size: clamp(38px, 7vw, 64px); letter-spacing: -.05em; }
.error-shell p { max-width: 540px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.8; }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 20px; }
  .hero-grid { gap: 34px; }
  .float-card-top { left: 8px; }
  .float-card-bottom { right: 8px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { gap: 48px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 720px); }
  .header-inner { min-height: 72px; }
  .desktop-nav, .admin-link { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 3px; padding: 10px 16px 18px;
    background: white; border-top: 1px solid var(--line);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 12px; color: #43536d; border-radius: 8px; font-size: 14px; }
  .mobile-nav a:hover { background: #f4f8fe; }
  .hero { padding: 54px 0; }
  .hero-grid, .service-panel, .faq-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 11vw, 62px); }
  .hero-visual { max-width: 600px; margin: 4px auto 0; }
  .visual-card { min-height: 440px; }
  .float-card-top { left: -4px; }
  .float-card-bottom { right: -4px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section-heading { display: block; }
  .section-heading > p { width: auto; margin-top: 16px; }
  .service-panel { padding: 38px 30px; gap: 30px; }
  .faq-heading { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .brand img { width: 118px; }
  .brand span { font-size: 11px; }
  .hero-lead { font-size: 15px; }
  .search-box { padding: 6px 6px 6px 13px; }
  .search-box button { padding: 12px 15px; }
  .hero-actions .button { width: 100%; }
  .visual-card { min-height: 360px; padding: 30px 14px 54px; border-radius: 26px; }
  .float-card { padding: 9px 10px; border-radius: 13px; }
  .float-card img { width: 34px; height: 34px; }
  .float-card span { font-size: 9px; }
  .float-card strong { font-size: 11px; }
  .float-card-top { top: 20px; left: -6px; }
  .float-card-bottom { right: -6px; bottom: 35px; }
  .visual-caption { display: none; }
  .trust-grid > div { min-height: 94px; padding: 15px 12px; }
  .trust-grid strong { font-size: 20px; }
  .trust-grid span { font-size: 11px; }
  .category-grid, .contact-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 250px; }
  .service-panel { margin-inline: -6px; padding: 32px 22px; }
  .evidence-card { padding: 22px; }
  .evidence-card li { grid-template-columns: 58px 1fr; }
  .faq-item summary { font-size: 15px; }
  .contact-card { min-height: 295px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .chat-dialog { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .chat-fallback { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
