/* ============================================================
   佛山市蝶昇信息科技有限公司 - 全站样式
   主色：金蝶蓝 #2563EB
   ============================================================ */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-deep: #1e40af;
  --ink: #0f172a;
  --text: #475569;
  --muted: #94a3b8;
  --bg-soft: #f4f8fe;
  --line: #e2e8f0;
  --white: #fff;
  --shadow: 0 10px 30px rgba(37, 99, 235, .10);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .12);
  --radius: 14px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(15, 23, 42, .08); border-bottom-color: var(--line); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  position: relative; padding: 8px 16px; font-size: 15.5px; color: #334155; font-weight: 500;
  border-radius: 8px;
}
.nav-menu a:hover { color: var(--blue); }
.nav-menu a.active { color: var(--blue); font-weight: 600; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--blue);
}

.nav-cta { margin-left: 14px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent; transition: all .25s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .30); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 9px 22px; font-size: 14.5px; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  position: relative; margin-top: var(--nav-h);
  padding: 92px 0 84px;
  background:
    radial-gradient(900px 380px at 88% -30%, rgba(96, 165, 250, .55), transparent 60%),
    radial-gradient(700px 300px at -5% 120%, rgba(59, 130, 246, .40), transparent 55%),
    linear-gradient(120deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
  color: #fff; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 40px; letter-spacing: 2px; margin-bottom: 10px; }
.page-banner p { font-size: 17px; opacity: .88; }
.breadcrumb { margin-top: 18px; font-size: 13.5px; opacity: .75; }
.breadcrumb a:hover { color: #fff; opacity: 1; }

/* ---------- 区块通用 ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .tag, .form-qr-info .tag {
  display: inline-block; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe;
  font-size: 13.5px; font-weight: 600; padding: 4px 16px; border-radius: 999px; margin-bottom: 14px; letter-spacing: 1px;
}
.section-head h2 { font-size: 34px; color: var(--ink); letter-spacing: 1px; margin-bottom: 12px; }
.section-head p { color: var(--text); font-size: 16.5px; }

/* ---------- 首页轮播 ---------- */
.hero {
  position: relative; margin-top: var(--nav-h); height: 600px; overflow: hidden; background: #0b1f4d;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .container { position: relative; z-index: 2; width: min(1200px, 92%); }
.hero-slide .mask { position: absolute; inset: 0; z-index: 1; }

.hero-slide h2 { font-size: 44px; color: var(--ink); line-height: 1.3; letter-spacing: 2px; margin-bottom: 14px; }
.hero-slide .sub { font-size: 19px; color: #334155; margin-bottom: 10px; max-width: 620px; }
.hero-slide .slogan {
  display: inline-block; font-size: 15px; color: var(--blue-dark); background: rgba(255, 255, 255, .8);
  border: 1px solid #bfdbfe; padding: 6px 18px; border-radius: 999px; margin-bottom: 28px; font-weight: 600;
}
.hero-slide .btns { display: flex; gap: 16px; }

.hero-slide.light-text h2 { color: #fff; }
.hero-slide.light-text .sub { color: rgba(255, 255, 255, .92); }
.hero-slide.light-text .slogan { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }

.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.hero-dots button {
  width: 34px; height: 5px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: .3s;
}
.hero-dots button.active { background: #fff; width: 48px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .35); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center; transition: .25s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .6); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  border: 1px solid var(--line); transition: all .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #bfdbfe; }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff); color: var(--blue); margin-bottom: 20px;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text); }

.img-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: all .3s;
}
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.img-card .pic { height: 210px; overflow: hidden; }
.img-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.img-card:hover .pic img { transform: scale(1.06); }
.img-card .body { padding: 22px 24px 26px; }
.img-card h3 { font-size: 17.5px; color: var(--ink); margin-bottom: 8px; }
.img-card p { font-size: 14.5px; }
.img-card .more { display: inline-block; margin-top: 12px; color: var(--blue); font-size: 14px; font-weight: 600; }

/* ---------- 首页 · 产品体系分栏 ---------- */
.eco-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
.eco-panel {
  border-radius: var(--radius); padding: 40px 38px; color: #fff; position: relative; overflow: hidden;
}
.eco-panel.kingdee {
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(147, 197, 253, .35), transparent 60%),
    linear-gradient(135deg, #1e40af, #2563eb 60%, #3b82f6);
}
.eco-panel.upwms {
  background:
    radial-gradient(500px 240px at 0% 100%, rgba(94, 234, 212, .25), transparent 55%),
    linear-gradient(135deg, #0f172a, #1e3a8a 70%);
}
.eco-panel h3 { font-size: 24px; margin-bottom: 6px; }
.eco-panel .en { font-size: 13px; opacity: .7; letter-spacing: 2px; margin-bottom: 22px; }
.eco-panel .items { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.eco-panel .items span {
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28);
  padding: 7px 16px; border-radius: 999px; font-size: 14.5px;
}
.eco-panel p.desc { font-size: 15px; opacity: .9; margin-bottom: 26px; }

/* ---------- 流程步骤 ---------- */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow-item { flex: 1; text-align: center; position: relative; padding: 0 6px; }
.flow-item .dot {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; box-shadow: 0 8px 18px rgba(37, 99, 235, .30);
  position: relative; z-index: 2;
}
.flow-item::before {
  content: ""; position: absolute; top: 29px; left: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, #bfdbfe 0 8px, transparent 8px 14px); z-index: 1;
}
.flow-item:first-child::before { display: none; }
.flow-item h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.flow-item p { font-size: 13px; color: var(--muted); }

/* ---------- 数据统计条 ---------- */
.stats-band { background: linear-gradient(120deg, #1e3a8a, #2563eb); color: #fff; padding: 56px 0; }
.stats-band .grid-4 { gap: 16px; }
.stat { text-align: center; }
.stat .num { font-size: 44px; font-weight: 800; letter-spacing: 1px; }
.stat .num small { font-size: 20px; font-weight: 600; margin-left: 2px; }
.stat .label { margin-top: 6px; font-size: 15px; opacity: .85; }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about-intro .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-intro h2 { font-size: 30px; color: var(--ink); margin-bottom: 18px; }
.about-intro p { margin-bottom: 14px; font-size: 16px; }
.about-intro .values {
  display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap;
}
.about-intro .values span {
  background: #eff6ff; color: var(--blue-dark); border: 1px solid #bfdbfe;
  font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 999px;
}

/* 时间轴 */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(#93c5fd, #2563eb); border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 38px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 7px; width: 17px; height: 17px;
  border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 5px #dbeafe;
}
.tl-item .phase { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.tl-item h3 { font-size: 20px; color: var(--ink); margin: 4px 0 8px; }
.tl-item p { font-size: 15.5px; }

/* 证书 */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-grid .cert {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  transition: all .3s; cursor: pointer;
}
.cert-grid .cert:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cert-grid img { height: 300px; width: 100%; object-fit: contain; background: #fff; }
.cert-grid .cap { padding: 12px 14px; font-size: 14px; color: var(--ink); text-align: center; font-weight: 600; }

/* ---------- 产品页 ---------- */
.product-block { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; padding: 54px 0; }
.product-block + .product-block { border-top: 1px dashed var(--line); }
.product-block.flip .p-pic { order: 2; }
.product-block .p-pic {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff;
}
.product-block .p-badge {
  display: inline-block; background: #eff6ff; color: var(--blue); border: 1px solid #dbeafe;
  font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; letter-spacing: 1px;
}
.product-block h3 { font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.product-block .p-en { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; letter-spacing: .5px; }
.product-block .p-rows { display: grid; gap: 12px; margin-bottom: 22px; }
.product-block .p-row { display: flex; gap: 12px; font-size: 15px; }
.product-block .p-row b {
  flex: 0 0 86px; color: var(--blue-dark); font-weight: 700;
}
.product-block .p-row span { color: var(--text); }

.upwms-panel {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff;
}
.upwms-panel .top { position: relative; height: 320px; }
.upwms-panel .top img { width: 100%; height: 100%; object-fit: cover; }
.upwms-panel .top .veil {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .05) 30%, rgba(15, 23, 42, .85));
}
.upwms-panel .top .cap { position: absolute; left: 40px; bottom: 26px; }
.upwms-panel .top .cap h3 { font-size: 28px; }
.upwms-panel .top .cap p { opacity: .85; font-size: 14.5px; }
.upwms-panel .body { padding: 40px 42px 46px; }
.upwms-panel .cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; }
.upwms-panel h4 { font-size: 17px; margin-bottom: 14px; color: #93c5fd; letter-spacing: 1px; }
.upwms-panel ul li {
  position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15px; opacity: .94;
}
.upwms-panel ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #38bdf8; font-weight: 800;
}
.upwms-panel .pain {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 20px 22px; font-size: 14.5px; margin-top: 26px; opacity: .95;
}

/* ---------- 服务支持 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--shadow); border-color: #bfdbfe; }
.faq-item .q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-size: 16.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item .q .idx { color: var(--blue); margin-right: 10px; font-weight: 800; }
.faq-item .q .arrow { transition: transform .3s; color: var(--blue); font-size: 14px; flex: 0 0 auto; }
.faq-item.open .q .arrow { transform: rotate(180deg); }
.faq-item .a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item .a-inner { padding: 0 24px 22px; font-size: 15px; color: var(--text); }

/* ---------- 案例页 ---------- */
.case-filter { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.case-filter button {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 9px 26px; border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: .25s;
}
.case-filter button:hover { border-color: var(--blue); color: var(--blue); }
.case-filter button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.case-card.hide { display: none; }
.case-card { cursor: pointer; }
.case-card .metrics { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.case-card .metrics span {
  background: #eff6ff; color: var(--blue-dark); border: 1px solid #dbeafe;
  font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px;
}
.case-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.case-card .tags span {
  font-size: 12px; color: var(--blue); background: #f0f7ff; border: 1px solid #d3e6fd;
  padding: 2px 10px; border-radius: 999px;
}
.case-card .zoom-tip {
  position: absolute; right: 12px; top: 12px; background: rgba(15, 23, 42, .62); color: #fff;
  font-size: 12px; padding: 5px 12px; border-radius: 999px; opacity: 0; transition: .25s; z-index: 2;
}
.img-card { position: relative; }
.case-card:hover .zoom-tip { opacity: 1; }

/* lightbox 案例册预览 */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10, 18, 40, .93);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox .lb-img {
  max-width: min(1080px, 92vw); max-height: 88vh; border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5); background: #fff;
}
.lightbox .lb-close {
  position: absolute; top: 22px; right: 30px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px;
  transition: .2s;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; transition: .2s;
}
.lightbox .lb-nav:hover { background: rgba(255, 255, 255, .32); }
.lightbox .lb-prev { left: 26px; }
.lightbox .lb-next { right: 26px; }
.lightbox .lb-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: 14px; background: rgba(255, 255, 255, .12);
  padding: 6px 18px; border-radius: 999px;
}

/* ---------- 联系页 ---------- */
.contact-cols { display: grid; grid-template-columns: 1fr 500px; gap: 24px; align-items: stretch; }
.contact-info { display: grid; gap: 18px; }
.info-card {
  display: flex; gap: 20px; align-items: flex-start; flex: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px;
  transition: .3s;
}
.info-card:hover { box-shadow: var(--shadow); border-color: #bfdbfe; }
.info-card .icon {
  width: 50px; height: 50px; border-radius: 13px; background: #eff6ff; color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.info-card .icon svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.info-card .lead { font-size: 17px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.info-card .lead a { color: var(--blue); }
.info-card .sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* 二维码并排成组（顾问微信 + 金蝶官方在线服务，两卡同款紧邻） */
.qr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }

.wechat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  background: linear-gradient(180deg, #eff6ff, #fff 75%);
  border: 1px solid #dbeafe; border-radius: 18px; padding: 30px 22px;
}
.wechat-card img {
  width: 164px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; padding: 8px;
}
.wechat-card h4 { font-size: 17.5px; color: var(--ink); margin-top: 18px; margin-bottom: 5px; }
.wechat-card > p { font-size: 13.5px; color: var(--muted); }
.wechat-points { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.wechat-points li {
  font-size: 12.5px; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe;
  padding: 4px 13px; border-radius: 999px; font-weight: 500;
}

.contact-form-card {
  background: linear-gradient(135deg, #1e3a8a, #2563eb); border-radius: 20px; padding: 40px 38px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 { font-size: 24px; margin-bottom: 8px; }
.contact-form-card .tip { font-size: 14px; opacity: .85; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 15px; outline: none; transition: .2s;
  font-family: inherit;
}
.contact-form-card input::placeholder, .contact-form-card textarea::placeholder { color: rgba(255, 255, 255, .65); }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus {
  background: rgba(255, 255, 255, .2); border-color: #fff;
}
.contact-form-card select option { color: var(--ink); }
.contact-form-card textarea { resize: vertical; min-height: 96px; }
.contact-form-card .btn { width: 100%; margin-top: 16px; background: #fff; color: var(--blue-dark); }
.contact-form-card .btn:hover { background: #eff6ff; transform: none; }

/* ---------- 到访信息 ---------- */
.visit-card {
  display: flex; align-items: center; gap: 26px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 34px 40px;
}
.visit-icon {
  width: 62px; height: 62px; border-radius: 16px; background: #fff; border: 1px solid #dbeafe;
  color: var(--blue); display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.visit-icon svg { width: 30px; height: 30px; }
.visit-body h3 { font-size: 21px; color: var(--ink); margin-bottom: 5px; }
.visit-body .addr { font-size: 15.5px; color: var(--ink); font-weight: 600; }
.visit-body .tip { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.visit-actions { margin-left: auto; flex: 0 0 auto; }

/* ---------- 在线咨询表单 ---------- */
.form-qr {
  display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 54px 58px; box-shadow: var(--shadow);
}
.form-qr-info .tag { margin-bottom: 16px; }
.form-qr-info h3 { font-size: 28px; color: var(--ink); margin-bottom: 14px; }
.form-qr-info > p { font-size: 15.5px; margin-bottom: 24px; }
.form-steps { list-style: none; counter-reset: step; margin-bottom: 30px; }
.form-steps li {
  position: relative; padding-left: 36px; margin-bottom: 13px;
  font-size: 15px; counter-increment: step;
}
.form-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #eff6ff; color: var(--blue);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.form-qr-pic { text-align: center; }
.form-qr-pic img {
  width: 216px; border-radius: 14px; border: 1px solid var(--line);
  padding: 10px; background: #fff;
}
.form-qr-pic p { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }

.contact-cta { margin-top: 26px; }

/* ---------- CTA 条 ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background:
    radial-gradient(700px 300px at 95% 10%, rgba(96, 165, 250, .5), transparent 60%),
    linear-gradient(120deg, #1e3a8a, #2563eb);
  border-radius: 24px; padding: 62px 60px; color: #fff; text-align: center;
}
.cta-inner h2 { font-size: 30px; margin-bottom: 12px; }
.cta-inner p { opacity: .88; margin-bottom: 28px; font-size: 16.5px; }
.cta-inner .btn { background: #fff; color: var(--blue-dark); }
.cta-inner .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0f172a; color: #94a3b8; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding: 64px 0 46px; }
.footer-main h4 { color: #e2e8f0; font-size: 16.5px; margin-bottom: 18px; }
.footer-brand img {
  height: 42px; margin-bottom: 18px;
  background: #fff; padding: 7px 12px; border-radius: 10px; width: auto;
}
.footer-brand p { font-size: 14.5px; margin-bottom: 8px; }
.footer-brand .web { color: #60a5fa; }
.footer-main ul li { margin-bottom: 10px; font-size: 14.5px; }
.footer-main ul a:hover { color: #fff; }
.footer-main .fi { color: #64748b; margin-right: 8px; }
.footer-sub {
  border-top: 1px solid rgba(148, 163, 184, .18); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-sub .links { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-sub a { color: #94a3b8; }
.footer-sub a:hover { color: #fff; }
.footer-sub .sep { color: #334155; margin: 0 6px; }
.footer-sub .beian a:hover { color: #60a5fa; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 34px; z-index: 900;
  width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; font-size: 18px; box-shadow: 0 10px 24px rgba(37, 99, 235, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { flex-wrap: wrap; gap: 22px; }
  .flow-item { flex: 1 1 30%; }
  .flow-item::before { display: none; }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed; top: var(--nav-h); right: 0; width: min(320px, 80vw);
    height: calc(100vh - var(--nav-h)); background: #fff; flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 4px; box-shadow: -12px 0 40px rgba(15, 23, 42, .12);
    transform: translateX(100%); transition: transform .3s; overflow-y: auto;
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { width: 100%; padding: 13px 14px; font-size: 16px; }
  .nav-menu a.active::after { display: none; }
  .nav-menu a.active { background: #eff6ff; border-radius: 10px; }
  .nav-cta { margin: 12px 0 0; }
  .hamburger { display: flex; }

  .hero { height: 540px; }
  .hero-slide h2 { font-size: 32px; }
  .hero-slide .sub { font-size: 16px; }
  .eco-split, .about-intro, .contact-cols, .upwms-panel .cols { grid-template-columns: 1fr; }
  .product-block, .product-block.flip { grid-template-columns: 1fr; gap: 26px; }
  .product-block.flip .p-pic { order: 0; }
  .section { padding: 60px 0; }
  .page-banner { padding: 64px 0 58px; }
  .page-banner h1 { font-size: 30px; }
  .section-head h2 { font-size: 27px; }
  .form-qr { grid-template-columns: 1fr; gap: 34px; padding: 34px 26px; }
  .visit-card { flex-direction: column; text-align: center; gap: 18px; padding: 32px 26px; }
  .visit-actions { margin-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .contact-cards, .form-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 480px; }
  .hero-slide h2 { font-size: 26px; }
  .hero-slide .btns { flex-wrap: wrap; }
  .hero-arrow { display: none; }
  .stat .num { font-size: 32px; }
  .cta-inner { padding: 44px 26px; }
  .contact-form-card { padding: 30px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .upwms-panel .body { padding: 28px 22px; }
  .upwms-panel .top .cap { left: 22px; }
}

/* ---------- 浮动在线菜单（联系页） ---------- */
.float-menu {
  position: fixed; right: 26px; bottom: 96px; z-index: 880;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.fm-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer; padding: 13px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff;
  font-size: 14.5px; font-weight: 600; letter-spacing: 1px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .35);
  transition: transform .25s, box-shadow .25s;
}
.fm-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, .45); }
.fm-toggle svg { width: 19px; height: 19px; }
.fm-panel {
  display: none; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 18px; box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}
.float-menu.open .fm-panel { display: flex; gap: 16px; animation: fmIn .25s ease; }
@keyframes fmIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fm-qr { text-align: center; }
.fm-qr img {
  width: 148px; height: 148px; object-fit: contain; display: block;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 6px;
}
.fm-qr b { display: block; font-size: 14.5px; color: var(--ink); margin-top: 10px; }
.fm-qr span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
@media (max-width: 768px) {
  .float-menu { right: 16px; bottom: 88px; }
  .float-menu.open .fm-panel { flex-direction: column; gap: 12px; }
  .fm-qr img { width: 132px; height: 132px; }
  .fm-toggle { padding: 12px 18px; }
}

/* ---------- 二维码并排组（联系页 移动端） ---------- */
@media (max-width: 560px) {
  .qr-pair { grid-template-columns: 1fr; }
  .wechat-card img { width: 176px; }
}
