/* ============================================================
 * 广东路远电子科技有限公司 - 网站样式
 * 现代科技风 · 响应式 · 支持中英双语
 * ============================================================ */

:root {
  --primary: #0b5caa;
  --primary-dark: #084785;
  --primary-light: #e8f1fb;
  --accent: #00a8e8;
  --accent-2: #6dd5ed;
  --dark: #12253b;
  --text: #2c3e50;
  --text-light: #5a6b7d;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --border: #e3eaf2;
  --shadow: 0 8px 30px rgba(11, 92, 170, 0.10);
  --shadow-hover: 0 16px 40px rgba(11, 92, 170, 0.18);
  --radius: 12px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部工具栏 ---------- */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info { display: flex; gap: 24px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-actions { display: flex; gap: 16px; align-items: center; }
.lang-switch {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: var(--transition);
}
.lang-switch:hover { background: rgba(255,255,255,0.15); }

/* ---------- 导航栏 ---------- */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: bold; font-size: 20px;
  flex-shrink: 0;
}
.logo-text strong {
  display: block;
  font-size: 18px;
  color: var(--dark);
  line-height: 1.3;
}
.logo-text small {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}
.nav { display: flex; gap: 4px; align-items: center; height: 100%; }
.nav a {
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text);
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 26px; cursor: pointer;
  color: var(--dark);
}

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}
.section-tag::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--accent);
}
.section-title {
  font-size: 34px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-desc {
  color: var(--text-light);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,30,58,0.94) 0%, rgba(11,92,170,0.75) 55%, rgba(8,30,58,0.55) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(109,213,237,0.5);
  color: var(--accent-2);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 24px;
  background: rgba(109,213,237,0.08);
}
.hero-title {
  color: #fff;
  font-size: 52px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-title span { color: var(--accent-2); }
.hero-desc {
  color: #d6e2f0;
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 统计条 ---------- */
.stats {
  background: #fff;
  padding: 40px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
  margin-top: -1px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item { padding: 10px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label { color: var(--text-light); font-size: 14px; margin-top: 6px; }

/* ---------- 关于预览 ---------- */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-box { position: relative; }
.about-img-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  text-align: center;
}
.about-img-badge strong { display: block; font-size: 32px; line-height: 1.2; }
.about-img-badge span { font-size: 13px; opacity: 0.9; }
.about-text h3 { font-size: 28px; color: var(--dark); margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 30px; }
.about-feature { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; }
.about-feature i {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-style: normal;
}

/* ---------- 业务卡片 ---------- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.business-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.business-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.business-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.business-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.business-card:hover .business-card-img img { transform: scale(1.08); }
.business-card-body { padding: 26px; }
.business-card-title { font-size: 20px; color: var(--dark); margin-bottom: 6px; font-weight: 700; }
.business-card-sub { color: var(--accent); font-size: 13px; margin-bottom: 14px; font-weight: 600; }
.business-card-desc { color: var(--text-light); font-size: 14px; margin-bottom: 18px; }
.business-card-features { display: flex; flex-wrap: wrap; gap: 8px; }
.business-card-features span {
  background: var(--bg-alt);
  color: var(--text);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px;
  margin-top: 18px;
}
.card-link:hover { gap: 10px; }

/* ---------- 产品卡片 ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.product-card-img { height: 180px; overflow: hidden; background: var(--bg-alt); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 18px; }
.product-card-title { font-size: 16px; color: var(--dark); font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.product-card-desc { color: var(--text-light); font-size: 13px; margin-bottom: 12px; line-height: 1.6; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags span {
  background: var(--primary-light); color: var(--primary);
  font-size: 11px; padding: 3px 8px; border-radius: 3px;
}

/* 筛选栏 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-box {
  display: flex;
  max-width: 360px;
  margin: 0 auto 30px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.search-box i {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.news-card-img { height: 190px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 22px; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 12px; color: var(--text-light); }
.news-category { background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: 3px; font-weight: 600; }
.news-card-title { font-size: 17px; color: var(--dark); font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.news-card-excerpt { color: var(--text-light); font-size: 13px; line-height: 1.7; }
.news-card-link { color: var(--primary); font-weight: 600; font-size: 13px; display: inline-block; margin-top: 12px; }

/* 首页新闻列表样式 */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- 客户案例 ---------- */
.case-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.case-card-img { position: relative; display: block; height: 210px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-card-img img { transform: scale(1.06); }
.case-featured {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent, #f5a623); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.case-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-card-body .news-card-title a { color: inherit; transition: color 0.2s; }
.case-card-body .news-card-title a:hover { color: var(--primary); }
.case-highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 16px 0 4px; padding: 14px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.case-hl { text-align: center; }
.case-hl strong { display: block; font-size: 20px; color: var(--primary); line-height: 1.2; }
.case-hl span { display: block; font-size: 10px; color: var(--text-light); margin-top: 4px; line-height: 1.3; }
.case-card-link {
  color: var(--primary); font-weight: 600; font-size: 13px;
  display: inline-block; margin-top: auto; padding-top: 16px;
}
.case-card-link:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 70px 0;
  text-align: center;
  color: #fff;
}
.cta h2 { font-size: 34px; margin-bottom: 16px; }
.cta p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }

/* ---------- 页头横幅 ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}
.page-banner h1 { font-size: 38px; margin-bottom: 10px; position: relative; z-index: 1; }
.page-banner .breadcrumb { font-size: 14px; opacity: 0.8; position: relative; z-index: 1; }
.page-banner .breadcrumb a:hover { color: var(--accent-2); }

/* ---------- 关于页 ---------- */
.intro-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}
.intro-box h2 { font-size: 28px; color: var(--dark); margin-bottom: 20px; }
.intro-box p { color: var(--text-light); font-size: 15px; margin-bottom: 14px; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ""; position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute;
  left: -33px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--primary-light);
}
.timeline-year { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.timeline-event { color: var(--text-light); font-size: 15px; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card {
  text-align: center; padding: 34px 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.advantage-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.advantage-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.advantage-card p { color: var(--text-light); font-size: 13px; }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; padding: 22px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-info-label { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--dark); font-weight: 600; word-break: break-all; }
.contact-form {
  background: #fff; padding: 36px;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; color: var(--dark); margin-bottom: 6px; }
.contact-form .form-desc { color: var(--text-light); font-size: 13px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: inherit;
  outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  margin-top: 14px; padding: 12px 16px; border-radius: 6px;
  font-size: 14px; display: none;
}
.form-message.success { background: #e8f7ee; color: #1a7a3c; display: block; }
.form-message.error { background: #fdeaea; color: #c62828; display: block; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: #94a3b8; }
.footer-brand p { font-size: 13px; color: #94a3b8; margin-top: 18px; line-height: 1.8; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-col ul li { margin-bottom: 10px; font-size: 13px; }
.footer-col ul li a:hover { color: var(--accent-2); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
.footer-contact-item i { color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- 企业微信 ---------- */
.footer-wecom {
  background: none; border: none; padding: 0; margin: 0;
  color: inherit; font: inherit; font-size: 13px;
  text-align: left; cursor: pointer;
}
.footer-wecom:hover { color: var(--accent-2); }
.wecom-card { cursor: default; }
.wecom-qr {
  display: block; width: 180px; max-width: 100%; height: auto;
  margin-top: 14px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; cursor: zoom-in;
}
.wecom-tip { font-size: 12px; color: var(--text-light); margin-top: 8px; line-height: 1.6; }
.wecom-qr-label { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.wecom-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #07a35a; color: #fff; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; padding: 10px 22px; cursor: pointer;
  transition: var(--transition);
}
.wecom-cta:hover { background: #068a4b; transform: translateY(-2px); }
.wecom-cta-card { margin-top: 14px; }
.wecom-panel-note { font-size: 12px; color: var(--text-light); line-height: 1.6; margin-top: 10px; }
.wecom-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-light); font-size: 12px; margin: 14px 0 4px;
}
.wecom-divider::before, .wecom-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
/* 右侧中部常驻咨询卡片（默认展开） */
.wecom-dock {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  width: 244px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.2);
  z-index: 997; overflow: hidden; display: none;
}
.wecom-dock.open { display: block; }
.wd-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 12px 10px; background: #07a35a; color: #fff;
}
.wd-avatar {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
}
.wd-avatar svg { width: 20px; height: 20px; }
.wd-head-txt { flex: 1; min-width: 0; }
.wd-head-txt strong { display: block; font-size: 14px; line-height: 1.2; }
.wd-head-txt small { display: block; font-size: 10px; opacity: .9; margin-top: 3px; line-height: 1.35; }
.wd-close {
  flex: 0 0 auto; width: 24px; height: 24px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.wd-close:hover { background: rgba(255,255,255,.32); }
.wd-body { padding: 14px 14px 15px; text-align: center; }
.wd-scan-title { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.wd-qr {
  display: block; width: 170px; max-width: 100%; height: auto; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: zoom-in;
}
.wd-scan-hint { font-size: 11px; color: var(--text-light); margin-top: 8px; line-height: 1.5; }
.wd-cta { display: flex; width: 100%; margin-top: 12px; padding: 9px 0; font-size: 13px; }
.wd-quick-title { font-size: 12px; color: var(--text); font-weight: 600; margin-top: 4px; text-align: left; }
.wd-quick { display: flex; gap: 6px; margin-top: 8px; }
.wd-quick input {
  flex: 1; min-width: 0; padding: 9px 10px; font-size: 12px;
  border: 1px solid var(--border); border-radius: 8px; outline: none; font-family: inherit;
}
.wd-quick input:focus { border-color: #07a35a; }
.wd-quick button {
  flex: 0 0 40px; border: none; border-radius: 8px; background: var(--primary);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.wd-quick button svg { width: 16px; height: 16px; }
.wd-quick button:hover { background: var(--primary-dark); }
.wd-quick-msg { font-size: 11px; line-height: 1.5; margin-top: 8px; min-height: 0; }
.wd-quick-msg.ok { color: #07a35a; }
.wd-quick-msg.err { color: #d93025; }

.wecom-float-btn {
  position: fixed; right: 24px; bottom: 80px;
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: #07a35a; color: #fff; cursor: pointer;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; font-size: 10px; line-height: 1;
  box-shadow: var(--shadow); z-index: 998;
  transition: var(--transition);
}
.wecom-float-btn.show { display: flex; }
.wecom-float-btn svg { width: 20px; height: 20px; }
.wecom-float-btn:hover { background: #068a4b; transform: translateY(-3px); }

/* ---------- 智能咨询助手 ---------- */
.as-float-btn {
  position: fixed; right: 24px; bottom: 136px;
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: var(--primary); color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; font-size: 10px; line-height: 1;
  box-shadow: var(--shadow); z-index: 998;
  transition: var(--transition);
}
.as-float-btn svg { width: 20px; height: 20px; }
.as-float-btn:hover { background: var(--primary-dark); transform: translateY(-3px); }
.as-float-btn.open { bottom: 24px; }
.as-panel {
  position: fixed; right: 24px; bottom: 80px;
  width: 340px; max-height: 70vh; display: none;
  flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 14px 44px rgba(0,0,0,.2); z-index: 999;
  overflow: hidden;
}
.as-panel.open { display: flex; }
.as-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 14px 16px; background: var(--primary); color: #fff;
}
.as-head strong { display: block; font-size: 15px; }
.as-head small { display: block; font-size: 11px; opacity: .85; margin-top: 3px; }
.as-close { border: none; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.as-body { flex: 1; overflow-y: auto; padding: 14px; background: #f7f9fc; min-height: 120px; }
.as-msg { display: flex; margin-bottom: 12px; }
.as-msg.as-user { justify-content: flex-end; }
.as-bubble {
  max-width: 88%; padding: 9px 12px; border-radius: 10px;
  font-size: 13px; line-height: 1.65; word-break: break-word;
}
.as-bot .as-bubble { background: #fff; color: var(--text); border: 1px solid var(--border); border-top-left-radius: 2px; }
.as-user .as-bubble { background: var(--primary); color: #fff; border-top-right-radius: 2px; }
.as-quick-wrap {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0;
  border-top: 1px solid var(--border); max-height: 86px; overflow-y: auto;
}
.as-quick {
  border: 1px solid var(--border); background: #fff; color: var(--text);
  border-radius: 14px; padding: 4px 10px; font-size: 11px; cursor: pointer; transition: var(--transition);
}
.as-quick:hover { border-color: var(--primary); color: var(--primary); }
.as-foot { padding: 10px 12px 12px; }
.as-handoff {
  width: 100%; border: 1px dashed var(--primary); background: var(--primary-light);
  color: var(--primary); border-radius: 8px; padding: 7px; font-size: 12px;
  cursor: pointer; margin-bottom: 8px; transition: var(--transition);
}
.as-handoff:hover { background: var(--primary); color: #fff; }
.as-input-row { display: flex; gap: 6px; }
.as-input-row input {
  flex: 1; border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 10px; font-size: 13px; font-family: inherit; outline: none;
}
.as-input-row input:focus { border-color: var(--primary); }
.as-input-row button {
  width: 38px; border: none; border-radius: 6px; background: var(--primary);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.as-input-row button:hover { background: var(--primary-dark); }

/* ---------- 图标 ---------- */
.icon { width: 1em; height: 1em; fill: currentColor; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .business-grid, .news-grid, .news-list { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 42px; }
  .about-preview, .contact-layout { gap: 40px; }
}

/* ============================================================
 * 一站式服务标签
 * ============================================================ */
.service-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 18px;
}
.service-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.service-tab svg { font-size: 18px; }
.service-tab:hover { border-color: var(--accent); color: var(--primary); }
.service-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(11,92,170,0.25);
}
.service-panels { position: relative; }
.service-panel { display: none; align-items: center; gap: 50px; }
.service-panel.active { display: flex; }
.service-panel-text { flex: 1; }
.service-panel-text h3 { font-size: 28px; color: var(--dark); margin-bottom: 16px; }
.service-panel-text p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 24px; }
.service-panel-img { flex: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-panel-img img { width: 100%; display: block; }

/* ============================================================
 * 行业解决方案卡片
 * ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.solution-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.solution-card-img { width: 38%; flex-shrink: 0; overflow: hidden; }
.solution-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.solution-card:hover .solution-card-img img { transform: scale(1.06); }
.solution-card-body { padding: 24px; flex: 1; }
.solution-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-size: 22px;
  margin-bottom: 14px;
}
.solution-card-body h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.solution-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.solution-points { list-style: none; margin-bottom: 14px; }
.solution-points li { font-size: 13px; color: var(--text); padding: 4px 0 4px 18px; position: relative; }
.solution-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 13px; text-decoration: none; }
.card-link:hover { color: var(--accent); }

/* ============================================================
 * 服务流程
 * ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.process-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process-step {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}
.process-item h4 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.process-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* 表单提交状态 */
.form-message.error { color: #c62828; }
.form-message.success { color: #1a7a3c; }

@media (max-width: 900px) {
  .service-panel.active { flex-direction: column; gap: 24px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar-info span:nth-child(2) { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 24px; border-radius: 0; }
  .nav a.active::after { display: none; }
  .hero { min-height: 520px; }
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { border-right: none; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .about-preview, .contact-layout { grid-template-columns: 1fr; }
  .about-img-badge { right: 12px; bottom: -16px; padding: 16px 20px; }
  .about-img-badge strong { font-size: 24px; }
  .business-grid, .news-grid, .news-list, .products-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { flex-direction: column; }
  .solution-card-img { width: 100%; height: 180px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .service-panel-text h3 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro-box { padding: 24px; }
  .page-banner h1 { font-size: 30px; }
  .wecom-dock {
    right: 12px; left: 12px; top: auto; bottom: 12px; transform: none;
    width: auto; max-width: 320px; margin: 0 auto;
  }
  .wecom-float-btn { right: 16px; bottom: 76px; }
  .as-float-btn { right: 16px; bottom: 132px; }
  .as-float-btn.open { bottom: 24px; }
  .as-panel { right: 12px; left: 12px; width: auto; bottom: 76px; max-height: 68vh; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-actions .btn { width: 100%; }
  .section-title { font-size: 24px; }
  .about-features { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
