@charset "utf-8";
/* ==========================================================================
   我答答信息科技有限公司 — 静态站点样式
   还原自 www.wddcn.com（主色 #248aff / 字体 微软雅黑 / 内容宽度 1200px）
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --blue: #248aff;
  --blue-dark: #1a6fe0;
  --blue-soft: #eaf3ff;
  --navy: #141621;
  --red: #c40000;
  --text: #333333;
  --text-strong: #1f2333;
  --text-sub: #666666;
  --text-muted: #787b92;
  --line: #e9ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --container: 1200px;
  --header-h: 100px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(20, 22, 33, .06);
  --shadow-md: 0 8px 28px rgba(20, 22, 33, .10);
  --shadow-lg: 0 18px 48px rgba(20, 22, 33, .16);
  --font: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--text-strong); }

p { margin: 0; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }

img { max-width: 100%; border: 0; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

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

.container--wide { max-width: 1400px; }

/* 屏幕阅读器可用 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   页头 / 导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}

.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(20, 22, 33, .08); }

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 18px;
}

.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { width: 172px; height: auto; }

/* 主导航 */
.main-nav { margin-left: auto; }

.main-nav > ul {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.main-nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }

.main-nav > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active,
.main-nav > ul > li.is-open > a {
  background: var(--blue);
  color: #fff;
}

/* 下拉：产品中心 */
.has-dropdown > a::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}

.has-dropdown.is-open > a::after { transform: rotate(-135deg) translateY(-1px); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 460px;
  padding: 14px 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: 4px;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

.dropdown a:hover {
  background: var(--blue-soft);
  color: var(--blue);
  padding-left: 20px;
}

/* 页头右侧操作区 */
.header-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  margin-left: 10px;
}

.header-actions .row { display: flex; align-items: center; gap: 14px; }

.link-mini {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.2;
}
.link-mini:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1;
  border-radius: 4px;
  padding: 0 18px;
  height: 34px;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.btn--red { background: var(--red); color: #fff; font-size: 13px; height: 30px; padding: 0 16px; }
.btn--red:hover { background: #a80000; }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); box-shadow: 0 6px 16px rgba(36, 138, 255, .35); }

.btn--ghost { border: 1px solid var(--line); color: var(--text-sub); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--lg { height: 46px; padding: 0 30px; font-size: 16px; }

.btn--outline-light { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--blue); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .3s ease, opacity .2s ease;
}

.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -7px; }
.nav-toggle span::after { content: ""; top: 7px; }

.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   通用板块
   ========================================================================== */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 46px; }

.section-head h2 {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: .5px;
}

.section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-sub);
}

.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255, 255, 255, .82); }

.section-head .divider {
  width: 54px; height: 3px;
  margin: 20px auto 0;
  background: var(--blue);
  border-radius: 3px;
}

/* ==========================================================================
   首屏 Hero（直接还原原站横幅图，文字已烘焙在图中）
   ========================================================================== */
.hero {
  position: relative;
  background: #2b2fd8;
  overflow: hidden;
  line-height: 0;
}

.hero__img { width: 100%; height: auto; display: block; }

/* 首页文案条（对应原站 智能商业服务生态） */
.hero-strip {
  background: #fff;
  padding: 56px 0 8px;
  text-align: center;
}

.hero-strip h2 { font-size: 30px; line-height: 1.5; }
.hero-strip p { margin-top: 10px; font-size: 18px; color: var(--text-sub); }
.hero-strip .hero-actions { justify-content: center; margin-top: 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   产品卡片（首页 5 张）
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 138, 255, .35);
  box-shadow: var(--shadow-md);
}

.product-card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: #eef2f8; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* 以横幅图作为封面时改用宽幅比例，避免主体被裁切 */
.product-card--banner .product-card__media { aspect-ratio: 16 / 7; }
.product-card--banner .product-card__media img { object-position: center; }

.product-card__body { padding: 18px 16px 20px; display: flex; flex-direction: column; flex: 1; }

.product-card__body h3 { font-size: 17px; margin-bottom: 6px; }
.product-card__body .en {
  font-size: 11px;
  letter-spacing: 1px;
  color: #a6adc2;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-card__body p { font-size: 13px; color: var(--text-sub); flex: 1; }

.product-card__link {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 13px;
  color: var(--blue);
  border: 1px solid rgba(36, 138, 255, .45);
  border-radius: 4px;
  padding: 5px 16px;
  transition: background-color .25s ease, color .25s ease;
}
.product-card__link:hover { background: var(--blue); color: #fff; }

/* ==========================================================================
   SaaS 产品展示（选项卡）
   ========================================================================== */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tabs-nav button {
  padding: 9px 22px;
  font-size: 15px;
  color: var(--text-sub);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .25s ease;
}

.tabs-nav button:hover { color: var(--blue); border-color: rgba(36, 138, 255, .5); }

.tabs-nav button.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(36, 138, 255, .3);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .45s ease both; }

.tab-panel figure { margin: 0; }
.tab-panel img { width: 100%; border-radius: 8px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   三大优势
   ========================================================================== */
.feature-list { display: grid; gap: 26px; }

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: box-shadow .3s ease, transform .3s ease;
}

.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.feature-item .icon {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}

.feature-item h3 { font-size: 17px; margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--text-sub); }

/* ==========================================================================
   合作伙伴
   ========================================================================== */
.partners-wall { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.partners-wall img { width: 100%; }

/* ==========================================================================
   页面 Banner（栏目页）
   ========================================================================== */
.page-banner {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #2a2d3a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16, 18, 30, .42);
}

.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 40px; color: #fff; letter-spacing: 3px; }
.page-banner p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .9); }

/* 无烘焙文字的 Banner（用于站点自建页面，如产品中心） */
.page-banner--plain {
  background-image: linear-gradient(118deg, #1b2fa8 0%, #248aff 52%, #58b4ff 100%);
}
.page-banner--plain::after { display: none; }
.page-banner--plain h1 { position: static; width: auto; height: auto; clip: auto; overflow: visible; margin: 0; }
.page-banner--plain p { position: static; width: auto; height: auto; clip: auto; overflow: visible; }

/* 面包屑 */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); height: 46px; }
.breadcrumb a:hover { color: var(--blue); }

/* ==========================================================================
   内容长图（还原原站图片式内容区）
   ========================================================================== */
.long-content { background: #fff; }
.long-content img { width: 100%; display: block; margin: 0 auto; }

/* ==========================================================================
   新闻列表
   ========================================================================== */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }

.news-list { display: grid; gap: 22px; }

.news-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 138, 255, .3);
  box-shadow: var(--shadow-md);
}

.news-item__thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--bg-soft); }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-item__body { display: flex; flex-direction: column; }
.news-item__meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 12px; }
.news-item__meta .tag { color: var(--blue); }
.news-item__body h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.news-item:hover h3 { color: var(--blue); }
.news-item__body p { font-size: 14px; color: var(--text-sub); flex: 1; }
.news-item__more { margin-top: 12px; font-size: 13px; color: var(--blue); }

/* 无缩略图的纯文字新闻条目 */
.news-item--text { grid-template-columns: minmax(0, 1fr); }

/* 案例图墙（原站案例图已含名称与分类，直接整图展示） */
.case-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-wall a,
.case-wall figure {
  margin: 0;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-wall a:hover,
.case-wall figure:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-wall img { width: 100%; display: block; }
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.case-tags span {
  padding: 7px 18px; font-size: 14px; color: var(--text-sub);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a,
.pagination span {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text-sub);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all .25s ease;
}
.pagination a:hover { color: var(--blue); border-color: var(--blue); }
.pagination .is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 侧栏 */
.sidebar { display: grid; gap: 24px; }

.widget { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.widget__head {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.widget__head::before { content: ""; width: 3px; height: 15px; background: var(--blue); border-radius: 2px; }
.widget__body { padding: 10px 18px 18px; }

.widget__body li { border-bottom: 1px dashed var(--line); }
.widget__body li:last-child { border-bottom: 0; }
.widget__body li a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-sub);
  transition: color .2s ease, padding-left .2s ease;
}
.widget__body li a:hover { color: var(--blue); padding-left: 6px; }

/* ==========================================================================
   文章详情
   ========================================================================== */
.article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 40px 46px; }
.article h1 { font-size: 28px; line-height: 1.5; margin-bottom: 14px; }
.article__meta { font-size: 13px; color: var(--text-muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article__content p { margin-bottom: 18px; font-size: 15px; line-height: 2; color: #444; }
.article__content img { margin: 22px auto; border-radius: 6px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.article-nav a { color: var(--text-sub); max-width: 46%; }
.article-nav a:hover { color: var(--blue); }

/* ==========================================================================
   经典案例
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-bar button {
  padding: 8px 20px; font-size: 14px; color: var(--text-sub);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  transition: all .25s ease;
}
.filter-bar button:hover { color: var(--blue); border-color: rgba(36, 138, 255, .5); }
.filter-bar button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__media img { transform: scale(1.06); }
.case-card__body { padding: 18px; }
.case-card__body h3 { font-size: 16px; margin-bottom: 8px; }
.case-card__body p { font-size: 13px; color: var(--text-sub); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: 70px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #1f6fe0 0%, #248aff 45%, #4aa8ff 100%);
}
.cta h2 { color: #fff; font-size: 30px; }
.cta p { margin: 14px 0 30px; font-size: 16px; color: rgba(255, 255, 255, .9); }
.cta .hero-actions { justify-content: center; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: #f5f6fa url("../assets/images/common/footer-bg.png") center/cover no-repeat;
  border-top: 1px solid var(--line);
  padding-top: 56px;
  font-size: 14px;
}

.footer-top { display: grid; grid-template-columns: 1.1fr 2.4fr 1fr; gap: 40px; padding-bottom: 40px; }

.footer-brand img { width: 172px; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.9; }

.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; color: var(--text-strong); }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--text-muted); }
.footer-col a:hover { color: var(--blue); }

.footer-qr { text-align: center; }
.footer-qr img { width: 118px; margin: 0 auto 10px; border-radius: 6px; background: #fff; padding: 4px; }
.footer-qr span { font-size: 12px; color: var(--text-muted); }

.footer-contact { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-contact ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.footer-contact li { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.footer-contact strong { display: block; color: var(--text-strong); font-size: 14px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-copy { line-height: 2; }

/* 备案信息（工信部 + 公安部规范：底部显著位置展示，并链接至官方查询平台） */
.footer-icp {
  margin-top: 4px;
  line-height: 2;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-icp .icp-item { color: var(--text-muted); }
.footer-icp .icp-item:hover { color: var(--blue); }
.footer-icp .sep { margin: 0 10px; color: #cfd3e0; }
.footer-bottom a { color: var(--text-muted); }
[hidden] { display: none !important; }
.footer-bottom a:hover { color: var(--blue); }
.footer-bottom .sep { margin: 0 10px; color: #cfd3e0; }

/* 悬浮客服 */
.float-service {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-service a,
.float-service button {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: 18px;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.float-service a:hover,
.float-service button:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

.float-service .to-top { opacity: 0; visibility: hidden; }
.float-service .to-top.is-show { opacity: 1; visibility: visible; }

/* 客服面板 */
.service-panel {
  position: fixed;
  right: 82px;
  bottom: 26px;
  z-index: 801;
  width: 250px;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.service-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.service-panel h4 { font-size: 15px; margin-bottom: 10px; }
.service-panel p { font-size: 13px; color: var(--text-sub); line-height: 1.9; }
.service-panel .qr { width: 110px; margin: 12px auto 0; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .main-nav > ul > li > a { padding: 0 11px; font-size: 15px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 2fr; }
  .footer-qr { grid-column: span 2; }
}

@media (max-width: 992px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: block; }

  .header-actions { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }

  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .main-nav > ul { flex-direction: column; align-items: stretch; height: auto; padding: 8px 0; }
  .main-nav > ul > li { display: block; height: auto; }
  .main-nav > ul > li > a { height: auto; padding: 13px 20px; font-size: 15px; }
  .main-nav > ul > li > a.active { background: var(--blue-soft); color: var(--blue); }

  .has-dropdown > a::after { float: right; margin-top: 8px; }

  .dropdown {
    position: static;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
    border-radius: 0;
    background: var(--bg-soft);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 8px;
  }

  .has-dropdown.is-open .dropdown {
    display: grid;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .news-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { height: 300px; }
  .hero__img { height: 100%; object-fit: cover; object-position: 22% center; }
  .page-banner { height: 320px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner p { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { padding: 28px 22px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact ul { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-qr { grid-column: auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .hero { height: 210px; }
  .hero__img { object-position: 20% center; }
  .hero-strip { padding: 36px 0 4px; }
  .hero-strip h2 { font-size: 21px; }
  .hero-strip p { font-size: 15px; }
  .page-banner { height: 240px; }
  .page-banner h1 { font-size: 22px; letter-spacing: 1px; }
  .page-banner p { font-size: 13.5px; margin-top: 10px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 21px; }
  .section-head p { font-size: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-wall { grid-template-columns: 1fr; gap: 14px; }
  .news-item { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .tabs-nav button { padding: 7px 14px; font-size: 13px; }
  .feature-item { flex-direction: column; gap: 12px; padding: 18px; }
  .article h1 { font-size: 21px; }
  .article__content p { font-size: 14.5px; line-height: 1.9; }
  .float-service { right: 12px; bottom: 16px; }
  .service-panel { right: 68px; width: 210px; }
  .cta h2 { font-size: 21px; }
  .cta p { font-size: 14px; }
}

/* 打印 / 减少动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
