/* ============================================
   web.251w.com - 尊云科技 建站/开发业务子站
   数据来源 zunyun.cc
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4f46e5;
  --primary-deep: #4338ca;
  --accent: #7c3aed;
  --dark: #1e1b4b;
  --text: #475569;
  --text-light: #94a3b8;
  --bg: #f5f6fb;
  --border: #e5e9f2;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(30, 27, 75, .06);
  --shadow-lg: 0 14px 34px rgba(79, 70, 229, .16);
}

body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text); line-height: 1.65; background: #fff; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---------- 顶栏 ---------- */
.topbar { background: linear-gradient(90deg, #1e1b4b, #3730a3); color: #c7d2fe; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.tb-left { display: flex; gap: 24px; }
.tb-right { display: flex; gap: 18px; }
.tb-right a { color: #c7d2fe; transition: color .2s; }
.tb-right a:hover { color: #fff; }

/* ---------- 头部 ---------- */
.header { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 999; box-shadow: 0 10px 30px rgba(30,27,75,.05); }
.header .container { display: flex; align-items: center; height: 78px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(79,70,229,.35); position: relative; overflow: hidden; }
.logo-icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.35)); }
.logo-icon svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.logo-text b { display: block; font-size: 21px; color: var(--dark); line-height: 1.2; }
.logo-text small { font-size: 10px; color: var(--text-light); letter-spacing: 1.5px; }

.header nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; }
.nav { display: flex; list-style: none; gap: 2px; }
.nav a { display: block; padding: 29px 16px; font-size: 15px; color: var(--dark); font-weight: 500; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.h-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all .25s; }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(79,70,229,.45); }
.btn-outline { border: 2px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 3px; background: var(--dark); border-radius: 2px; }
.mobile-mask { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(130deg, #1e1b4b 0%, #312e81 45%, #4f46e5 75%, #7c3aed 100%); color: #fff; padding: 84px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 15%, rgba(0,212,255,.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(251,191,36,.12), transparent 40%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-block; padding: 7px 18px; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 12px; color: #e0e7ff; margin-bottom: 22px; letter-spacing: .5px; }
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, #22d3ee, #a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #c7d2fe; font-size: 16px; margin: 20px 0 30px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span { padding: 6px 16px; border-radius: 20px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2); font-size: 13px; color: #e0e7ff; }

.hero-art { position: relative; }
.art-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; backdrop-filter: blur(8px); }
.art-main { padding: 34px 30px; }
.art-main b { font-size: 20px; display: block; }
.art-main p { color: #c7d2fe; font-size: 14px; margin: 12px 0 22px; }
.art-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.art-badges span { padding: 6px 14px; border-radius: 20px; background: linear-gradient(90deg, #4f46e5, #7c3aed); font-size: 12px; font-weight: 600; }
.art-sub { display: flex; gap: 12px; align-items: center; padding: 16px 20px; margin-top: 16px; }
.art-sub .dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #22d3ee, #4f46e5); flex-shrink: 0; }
.art-sub .dot2 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.art-sub b { font-size: 15px; display: block; }
.art-sub p { color: #c7d2fe; font-size: 13px; margin-top: 2px; }

/* ---------- 通用 section ---------- */
.section { padding: 76px 0; }
.sec-gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-tag { display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--primary); font-weight: 700; }
.sec-head h2 { font-size: 34px; color: var(--dark); margin: 10px 0 12px; }
.sec-head p { color: var(--text-light); font-size: 15px; }

/* ---------- 服务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: all .25s; position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(79,70,229,.3); }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 18px; color: var(--dark); margin: 18px 0 10px; }
.svc-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-tags span { font-size: 12px; padding: 4px 12px; border-radius: 16px; background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all .25s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.case-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.case-num { font-size: 30px; font-weight: 800; color: var(--cc); opacity: .85; }
.case-type { font-size: 12px; padding: 4px 12px; border-radius: 16px; background: color-mix(in srgb, var(--cc) 12%, #fff); color: var(--cc); font-weight: 600; }
.case-card h3 { font-size: 16px; color: var(--dark); line-height: 1.5; }
.case-card p { font-size: 13px; color: var(--text-light); margin-top: 10px; line-height: 1.75; }
.case-more { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--primary); font-weight: 600; transition: color .2s; }
.case-more:hover { color: var(--accent); }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: all .25s; }
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.adv-n { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 16px; font-weight: 700; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(79,70,229,.3); }
.adv-card h3 { font-size: 17px; color: var(--dark); margin: 18px 0 10px; }
.adv-card p { font-size: 13px; color: var(--text-light); line-height: 1.75; }

/* ---------- CTA ---------- */
.cta {
  padding: 28px 0;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(99,102,241,.35), transparent 42%),
    radial-gradient(ellipse at 90% 80%, rgba(14,165,233,.22), transparent 40%),
    linear-gradient(120deg, #0f172a 0%, #1e293b 48%, #1e3a5f 100%);
  border-top: 1px solid rgba(148,163,184,.12);
}
.cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  color: #fff;
}
.cta-copy { flex: 1; min-width: 0; }
.cta-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 2px; font-weight: 700;
  color: #93c5fd; margin-bottom: 8px;
}
.cta-copy h2 {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.3;
  margin-bottom: 8px;
}
.cta-copy > p { color: #94a3b8; font-size: 14px; margin-bottom: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-meta { font-size: 13px; color: #64748b; }
.cta-codes { display: flex; gap: 14px; flex-shrink: 0; }
.cta-code {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border: none; border-radius: 16px; padding: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,.28); cursor: default;
  transition: transform .2s, box-shadow .2s;
}
button.cta-code { cursor: pointer; }
button.cta-code:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.34);
}
.cta-code img {
  width: 108px; height: 108px; border-radius: 10px; display: block;
  object-fit: contain; background: #f8fafc;
}
.cta-code span { font-size: 12px; font-weight: 700; color: var(--dark); }

/* 旧结构兼容（其他页若仍用） */
.cta-box { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; color: #fff; }
.cta-text h2 { font-size: 32px; }
.cta-text > p { color: #c7d2fe; margin: 14px 0 30px; font-size: 15px; }
.cta-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.ct-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 14px 18px; }
.ct-item span { display: block; font-size: 12px; color: #a5b4fc; margin-bottom: 4px; }
.ct-item b { font-size: 15px; }
.ct-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-btns { display: flex; gap: 14px; }
.cta-qr { display: flex; justify-content: center; }
.qr-box { background: #fff; border-radius: 18px; padding: 28px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.qr-box img { display: block; margin: 0 auto; border-radius: 10px; max-width: 100%; }
.qr-placeholder { width: 200px; height: 200px; border: 2px dashed #c7c7d6; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 15px; line-height: 1.8; background: #f8fafc; }
.qr-box p { margin-top: 14px; color: var(--dark); font-size: 14px; font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer { background: #0f172a; color: #94a3b8; }
.footer-mid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 48px 0 36px; }
.f-brand b { color: #fff; font-size: 17px; display: block; margin-bottom: 14px; }
.f-brand p { font-size: 13px; line-height: 1.9; }
.f-links h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.f-links a { display: block; font-size: 13px; padding: 5px 0; transition: color .2s; }
.f-links a:hover { color: #fff; }
.f-links p { font-size: 13px; padding: 4px 0; }
.footer-btm { border-top: 1px solid #1e293b; padding: 20px 0; text-align: center; font-size: 13px; color: #64748b; }

/* ---------- 服务页卡片（链接化） ---------- */
.svc-card { display: block; }
.svc-more { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--primary); font-weight: 600; }
.svc-card:hover .svc-more { color: var(--accent); }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: #f8f9fd; border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 13px; color: var(--text-light); }
.breadcrumb .container { display: flex; gap: 10px; align-items: center; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

/* ---------- 服务详情页 hero ---------- */
.svc-hero { background: linear-gradient(130deg, #1e1b4b, #312e81 50%, #4f46e5); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.svc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(0,212,255,.2), transparent 45%); }
.svc-hero .container { position: relative; }
.svc-hero-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.svc-hero-icon svg { width: 32px; height: 32px; }
.svc-hero h1 { font-size: 40px; font-weight: 800; }
.svc-hero p { color: #c7d2fe; font-size: 16px; margin-top: 12px; max-width: 720px; }
.svc-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.svc-hero-tags span { padding: 6px 16px; border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 13px; color: #e0e7ff; }
.svc-hero.plain { text-align: center; padding: 54px 0; }
.svc-hero.plain p { margin: 12px auto 0; }

/* ---------- 服务详情板块 ---------- */
.svc-block { margin-top: 44px; }
.svc-block > h2 { font-size: 24px; color: var(--dark); margin-bottom: 22px; position: relative; padding-left: 16px; }
.svc-block > h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.svc-intro { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; }
.svc-intro h2 { font-size: 20px; color: var(--dark); margin-bottom: 12px; }
.svc-intro p { font-size: 15px; line-height: 2; }
.svc-scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scope-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; transition: all .25s; }
.scope-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.scope-item h3 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.scope-item p { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.svc-strengths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.strength-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--dark); }
.strength-item .ck { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.svc-scenes { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-scenes span { padding: 9px 20px; border-radius: 24px; background: var(--bg); border: 1px solid var(--border); font-size: 14px; color: var(--text); }
.svc-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.process-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.p-n { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.process-step b { display: block; font-size: 15px; color: var(--dark); }
.process-step p { font-size: 13px; color: var(--text-light); margin-top: 6px; line-height: 1.7; }
.svc-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.svc-case-card h3 { font-size: 16px; color: var(--dark); margin: 10px 0 8px; }
.svc-case-card p { font-size: 13px; color: var(--text-light); line-height: 1.75; }

/* ---------- FAQ ---------- */
.svc-faq, .home-faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; position: relative; padding-right: 44px; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-item p { padding: 0 22px 18px; font-size: 14px; color: var(--text-light); line-height: 1.9; }

/* ---------- 服务页 CTA ---------- */
.svc-cta { margin-top: 48px; background: linear-gradient(130deg, #1e1b4b, #4f46e5); border-radius: 20px; padding: 40px 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.svc-cta h3 { font-size: 24px; }
.svc-cta p { color: #c7d2fe; margin-top: 8px; font-size: 14px; }
.svc-cta-btns { display: flex; gap: 14px; }
.btn-ghost-dark { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.15); }

/* ---------- 内联 CTA ---------- */
.cta-inline { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 44px; text-align: center; }
.cta-inline h3 { font-size: 24px; color: var(--dark); }
.cta-inline p { color: var(--text-light); margin: 10px 0 22px; }
.btn-plain { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-plain:hover { background: var(--primary); color: #fff; }

/* ---------- 关于页 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: start; }
.about-intro h2 { font-size: 26px; color: var(--dark); margin-bottom: 18px; }
.about-intro p { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 12px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.fact b { display: block; font-size: 24px; color: var(--primary); }
.fact span { font-size: 13px; color: var(--text-light); }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mission-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all .25s; }
.mission-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.m-n { font-size: 30px; font-weight: 800; color: var(--primary); opacity: .25; }
.mission-card h3 { font-size: 18px; color: var(--dark); margin: 12px 0 8px; }
.mission-card p { font-size: 13px; color: var(--text-light); line-height: 1.75; }

/* ---------- 案例详情页 ---------- */
.case-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.case-detail { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all .25s; }
.case-detail:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.cd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cd-num { font-size: 30px; font-weight: 800; color: var(--cc); opacity: .85; }
.case-detail h2 { font-size: 19px; color: var(--dark); line-height: 1.5; }
.case-detail p { font-size: 14px; color: var(--text-light); margin-top: 12px; line-height: 1.8; }

/* ---------- 联系页 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}
.contact-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-item:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}
.contact-item .ci-body { flex: 1; min-width: 0; }
.contact-item .ci-body span { display: block; font-size: 12px; color: var(--text-light); }
.contact-item .ci-body b { display: block; font-size: 16px; color: var(--dark); margin: 2px 0; }
.contact-item .ci-body b a { color: var(--dark); }
.contact-item .ci-body b a:hover { color: var(--primary); }
.contact-item .ci-body p { font-size: 12px; color: var(--text-light); }
.contact-item .btn { flex-shrink: 0; }
.cc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc-qq { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.cc-site { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.cc-addr { background: linear-gradient(135deg, #f59e0b, #d97706); }

.contact-scan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  color: var(--dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}
.contact-scan h3 {
  font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--dark);
}
.contact-scan > p {
  font-size: 13px; color: var(--text-light); margin-bottom: 22px;
}
.scan-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scan-code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
button.scan-code { cursor: pointer; }
button.scan-code:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}
.scan-code img {
  width: 120px; height: 120px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  background: #f8fafc;
}
.scan-code span {
  font-size: 12px; font-weight: 700; color: var(--dark);
}

/* 旧结构兼容 */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.contact-card > div { flex: 1; }
.contact-card span { display: block; font-size: 12px; color: var(--text-light); }
.contact-card b { display: block; font-size: 17px; color: var(--dark); margin: 3px 0; }
.contact-card p { font-size: 12px; color: var(--text-light); }
.contact-qr-side { display: flex; flex-direction: column; gap: 18px; }
.contact-qr-side .qr-box { text-align: center; box-shadow: var(--shadow-lg); }
.contact-qr-side .qr-box img { width: 200px; height: 200px; object-fit: contain; }
.qr-tip { font-size: 12px; color: var(--text-light); font-weight: 400; margin-top: 6px !important; }
.wx-qr img { display: block; margin: 0 auto; border-radius: 10px; }

/* ---------- 站点导航页 ---------- */
.links-group { margin-bottom: 40px; }
.links-group h2 { font-size: 20px; color: var(--dark); margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.links-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.links-list a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; transition: all .2s; }
.links-list a:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.link-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.link-name { font-size: 14px; color: var(--dark); font-weight: 600; }
.link-url { font-size: 12px; color: var(--text-light); margin-left: auto; }
.links-tip { text-align: center; color: var(--text-light); font-size: 13px; margin-top: 20px; }

/* ---------- 微信弹出层 ---------- */
.wx-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.wx-modal.open { opacity: 1; visibility: visible; }
.wx-modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); backdrop-filter: blur(2px); }
.wx-modal-box { position: relative; background: #fff; border-radius: 18px; padding: 36px 40px 30px; text-align: center; max-width: 380px; width: 92%; box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(20px) scale(.96); transition: all .3s; }
.wx-modal.open .wx-modal-box { transform: translateY(0) scale(1); }
.wx-modal-close { position: absolute; top: 12px; right: 16px; font-size: 26px; color: var(--text-light); background: none; border: none; cursor: pointer; line-height: 1; }
.wx-modal-close:hover { color: var(--dark); }
.wx-modal-box h3 { font-size: 20px; color: var(--dark); margin-bottom: 18px; }
.qr-placeholder.small { width: 200px; height: 200px; border: 2px dashed #c7c7d6; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 15px; line-height: 1.8; background: #f8fafc; margin: 0 auto; }
.wx-id { font-size: 15px; color: var(--dark); margin-top: 16px; }
.wx-id b { color: var(--primary); }
.wx-tip { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ---------- 导航下拉 ---------- */
.nav .has-sub { position: relative; }
.sub-nav { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px rgba(30,27,75,.12); padding: 10px 0; min-width: 190px; opacity: 0; visibility: hidden; transition: all .25s; z-index: 500; }
.nav .has-sub:hover .sub-nav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-nav li { list-style: none; }
.sub-nav a { display: block; padding: 10px 22px; font-size: 14px; color: var(--text); white-space: nowrap; }
.sub-nav a::after { display: none; }
.sub-nav a:hover { color: var(--primary); background: var(--bg); }

/* ---------- \u54cd\u5e94\u5f0f ---------- */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { display: none; }
  .svc-grid, .case-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; gap: 40px; }
  .cta { padding: 24px 0; }
  .cta-bar { flex-direction: column; align-items: stretch; gap: 20px; }
  .cta-codes { margin-left: 0; justify-content: flex-start; }
  .footer-mid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-wrap, .contact-grid, .contact-wrap { grid-template-columns: 1fr; }
  .contact-scan { padding: 24px 20px; }
  .mission-grid, .case-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-scope-grid, .svc-strengths { grid-template-columns: 1fr; }
  .header { backdrop-filter: none; background: #fff; }
  .header nav {
    position: fixed; top: 0; right: 0; width: min(280px, 82vw);
    height: 100vh; height: 100dvh; margin: 0; background: #fff;
    box-shadow: -8px 0 32px rgba(0,0,0,.16);
    transform: translateX(105%); transition: transform .3s ease;
    z-index: 1200; overflow-y: auto;
  }
  .header nav.open { transform: translateX(0); }
  .nav {
    position: static !important; display: flex; flex-direction: column;
    width: auto !important; height: auto !important; right: auto !important;
    padding: 72px 20px 28px; box-shadow: none; background: transparent;
    transform: none !important;
  }
  .nav > li > a, .nav a { padding: 13px 6px; }
  .nav a::after { display: none; }
  .sub-nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0;
  }
  .burger { display: flex; }
  .header .h-actions .btn { display: none; }
  .mobile-mask {
    display: block; position: fixed; inset: 0; background: rgba(30,27,75,.5);
    z-index: 1100; opacity: 0; visibility: hidden; transition: all .3s; pointer-events: none;
  }
  .mobile-mask.show { opacity: 1; visibility: visible; pointer-events: auto; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .topbar .tb-right { display: none; }
  .hero h1 { font-size: 28px; }
  .svc-grid, .case-grid, .adv-grid { grid-template-columns: 1fr; }
  .cta-contact { grid-template-columns: 1fr; }
  .cta-copy h2 { font-size: 22px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-meta { text-align: center; }
  .cta-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
  .cta-code { width: 100%; padding: 10px; }
  .cta-code img { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1; }
  .footer-mid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
  .mission-grid, .case-detail-grid { grid-template-columns: 1fr; }
  .contact-qr-side .qr-box img { width: 160px; height: 160px; }
  .contact-item { flex-wrap: wrap; }
  .contact-item .btn { width: 100%; justify-content: center; margin-top: 4px; }
  .scan-code img { width: 100%; max-width: 130px; height: auto; aspect-ratio: 1; }
}
