/* ============================================================
   豆听科技官网样式
   移动优先 · 响应式 · 兼容主流浏览器
   断点：1200 / 992 / 768 / 560 / 380
   ============================================================ */

:root {
  --primary: #1667c7;
  --primary-dark: #0d4f9e;
  --primary-light: #e8f1fb;
  --accent: #ff8a00;
  --text: #333;
  --text-light: #777;
  --bg: #fff;
  --bg-gray: #f5f8fb;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(22, 103, 199, 0.10);
  --header-h: 72px;
  --container: 1160px;
}

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

html {
  /* 防止 iOS 横屏字号自动放大 */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 锚点跳转时给固定头部留出空间 */
  scroll-padding-top: calc(var(--header-h) + 34px);
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  /* 移动端横向不出滚动条 */
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; }

/* 键盘可访问性的清晰焦点样式 */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255, 138, 0, .65);
  outline-offset: 2px;
}

/* 屏幕阅读器专用文本 */
.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;
}

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

/* 跳到主内容（可访问性） */
.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%); top: -100px;
  background: var(--primary-dark); color: #fff; padding: 10px 20px;
  border-radius: 0 0 8px 8px; z-index: 999; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------------- 头部与导航 ---------------- */
.header {
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 100;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-img {
  height: 46px; width: auto; max-width: 240px; object-fit: contain;
  display: block;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary), #4da3ff); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.logo-name { font-size: 22px; font-weight: bold; color: var(--primary-dark); line-height: 1.25; }
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }

.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { padding: 8px 16px; border-radius: 6px; font-size: 16px; transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { color: #fff; background: var(--primary); }

/* 汉堡按钮（移动端显示） */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid #e0e8f2;
  border-radius: 8px; background: #fff; cursor: pointer; flex: 0 0 auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--primary-dark);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 轮播 ---------------- */
.banner {
  position: relative; overflow: hidden; color: #fff;
  min-height: 420px; height: 54vh; max-height: 520px;
  background: linear-gradient(120deg, #0d4f9e, #1667c7 55%, #3d97e8);
}
.banner-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 0 8%; opacity: 0; transition: opacity .8s;
  pointer-events: none; background-size: cover; background-position: center;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide > * { position: relative; z-index: 1; }
/* 有图轮播：不加任何遮罩，图片原样显示；整张图即跳转入口 */
.banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.banner-link {
  position: absolute; inset: 0; z-index: 2; display: block;
  -webkit-tap-highlight-color: transparent;
}
.banner-link:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.banner-slide h2 {
  font-size: clamp(22px, 4.2vw, 38px); margin-bottom: 18px; line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.banner-slide p {
  font-size: clamp(14px, 1.8vw, 17px); max-width: 720px; line-height: 1.8; opacity: .92;
}
.banner-slide .btn {
  margin-top: 28px; display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 38px; border-radius: 24px; font-size: 16px;
  box-shadow: 0 4px 14px rgba(255,138,0,.4); transition: transform .2s;
}
.banner-slide .btn:hover { transform: translateY(-2px); }
.banner-dots {
  position: absolute; bottom: 20px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 10px;
}
.banner-dots button {
  width: 30px; height: 5px; border-radius: 3px; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer; border: none;
  /* 增加纵向点击热区，方便手指点按 */
  box-shadow: 0 0 0 8px transparent;
  /* 图片轮播时底色不确定，加一层投影保证指示点在任何图片上都看得清 */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
  transition: background .2s;
}
.banner-dots button.active { background: #fff; }

/* 首屏 SEO 静态标题（脚本加载后被轮播内容接管） */
#seoHero { z-index: 1; }
#seoHero h1 {
  font-size: clamp(22px, 4.2vw, 38px); margin-bottom: 18px; line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0,0,0,.3); font-weight: bold;
}
#seoHero p { font-size: clamp(14px, 1.8vw, 17px); max-width: 720px; line-height: 1.8; opacity: .92; }

/* ---------------- 区块通用 ---------------- */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 45px; }
.section-head h1, .section-head h2, .section-head h3 {
  font-size: clamp(22px, 3vw, 30px); color: var(--primary-dark);
  margin-bottom: 8px; line-height: 1.3;
}
.section-head p {
  color: var(--text-light); font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
}
.section-head .line {
  width: 50px; height: 3px; background: var(--accent);
  margin: 14px auto 0; border-radius: 2px;
}

/* ---------------- 卡片网格 ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
  border-top: 3px solid transparent; min-width: 0;
}
.card:hover { transform: translateY(-6px); border-top-color: var(--accent); }
.card .icon { font-size: 40px; margin-bottom: 16px; line-height: 1; }
.card h4, .card h3 { font-size: 19px; margin-bottom: 12px; color: var(--primary-dark); line-height: 1.4; }
.card p { font-size: 14px; line-height: 1.8; color: var(--text-light); }

/* ---------------- 产品卡片（带大图） ---------------- */
.card.product-card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  border-radius: var(--radius); background: #fff;
}
.card.product-card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card.product-card .card-body p { flex: 1; }
.card-media {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #d5e6fa);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.card.product-card:hover .card-media img { transform: scale(1.05); }
.media-fallback {
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; line-height: 1; color: #fff;
  background: linear-gradient(135deg, var(--primary), #4da3ff);
}
/* 卡片大图占满卡片宽度，内容区随卡片高度对齐 */
.card-body { min-width: 0; }

/* ---------------- 关于我们 ---------------- */
.about-flex { display: flex; gap: 45px; align-items: center; }
.about-img {
  flex: 0 0 42%; min-height: 300px; height: 300px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-light), #cfe2f7);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
  background-size: cover; background-position: center;
}
.about-text { min-width: 0; }
.about-text h2, .about-text h3 {
  font-size: clamp(21px, 2.6vw, 28px); color: var(--primary-dark); margin-bottom: 20px;
}
.about-text p { font-size: 15px; line-height: 2; color: #555; text-align: justify; margin-bottom: 12px; }
.about-text .btn {
  display: inline-block; margin-top: 12px; padding: 10px 32px;
  border-radius: 22px; background: var(--primary); color: #fff;
}

/* 关于我们独立页：首屏标题 */
.detail-hero .hero-title {
  color: #fff; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.3; margin-top: 12px;
}
.detail-hero .hero-sub {
  color: #cfe2f7; font-size: clamp(14px, 1.6vw, 16px); line-height: 1.8;
  margin-top: 10px; max-width: 820px;
}

/* 关于我们独立页：关键数据卡 */
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 18px; text-align: center; min-width: 0;
}
.stat b { display: block; font-size: clamp(20px, 2.6vw, 28px); color: var(--primary-dark); line-height: 1.3; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ---------------- 团队 ---------------- */
/* 桌面端 3 列，6 位成员正好排成两行 */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card {
  background: #fff; border-radius: var(--radius); padding: 30px 20px;
  text-align: center; box-shadow: var(--shadow); min-width: 0;
}
.avatar {
  width: 104px; height: 104px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6cb2ff); color: #fff;
  font-size: 38px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex: 0 0 auto;
}
/* 后台上传了头像：圆形裁切并加细边框，避免照片边缘与白色卡片融为一体 */
.avatar.has-photo {
  border: 3px solid var(--primary-light);
  box-shadow: 0 6px 18px rgba(13, 79, 158, .16);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ---------------- 新闻（首页与新闻列表页共用卡片样式） ---------------- */

/* 相关新闻列表（新闻详情页底部使用，首页已改用卡片样式） */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex; gap: 20px; padding: 20px 10px;
  border-bottom: 1px dashed #d9e4f0; align-items: baseline;
  transition: background .2s;
}
.news-item:hover { background: var(--primary-light); }
.news-item:last-child { border-bottom: none; }
.news-date { flex: 0 0 auto; color: var(--primary); font-weight: bold; font-size: 15px; }
.news-item h4 { font-size: 17px; margin-bottom: 6px; line-height: 1.5; }
.news-item p { font-size: 13px; color: var(--text-light); }
.news-item > div { flex: 1; min-width: 0; }

/* 区块底部「查看全部 / 订阅」入口 */
.section-more {
  display: flex; justify-content: center; align-items: center;
  gap: 22px; flex-wrap: wrap; margin-top: 30px;
}
.btn-outline {
  display: inline-block; padding: 10px 30px; border-radius: 22px;
  border: 1px solid var(--primary); color: var(--primary); font-size: 14px;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* 全局主按钮（下载中心、产品详情「咨询该产品」等；轮播/关于页有各自的覆盖样式） */
.btn {
  display: inline-block; padding: 11px 30px; border-radius: 22px; border: none; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 14.5px; text-align: center;
  text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 79, 158, .22); }

/* ---------------- 新闻卡片（首页新闻资讯 + 新闻列表页共用） ---------------- */
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-cards .news-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); min-width: 0;
  transition: transform .25s, box-shadow .25s;
}
.news-cards .news-card:hover { transform: translateY(-6px); }
.news-cards .card-media { aspect-ratio: 16 / 9; }
.news-cards .media-fallback { font-size: 46px; }
.news-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
/* 日期徽标：与分类徽标同高同行（line-height:1 + 相同纵向内边距，保证两者中心齐平） */
.news-card-date {
  display: inline-block; font-size: 12px; line-height: 1; padding: 5px 12px;
  color: var(--primary); background: var(--primary-light); border-radius: 999px;
}
.news-card-body h2, .news-card-body h3 { font-size: 17px; color: var(--primary-dark); line-height: 1.5; margin-bottom: 10px; }
.news-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.8; flex: 1; }
.news-card:hover .card-more { opacity: 1; color: var(--accent); }

/* 新闻卡片上的分类标签与日期（标签与日期同行、垂直居中、高度一致） */
.news-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.news-card-meta > * { flex: none; }
.news-badge {
  display: inline-block; font-size: 12px; line-height: 1; padding: 5px 12px; border-radius: 999px;
  color: #fff; background: var(--primary); white-space: nowrap;
}
.news-badge[data-cat="honor"] { background: var(--accent); }
.news-badge[data-cat="cases"] { background: #1aa179; }

/* 新闻中心：分类切换按钮 */
.cat-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: -18px 0 34px;
}
.cat-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: 10px 20px; font-size: 14px; cursor: pointer;
  transition: all .2s ease;
}
.cat-btn:hover { border-color: var(--primary); color: var(--primary); }
.cat-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow); }
.cat-count {
  font-size: 12px; line-height: 1; padding: 2px 7px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
}
.cat-btn.active .cat-count { background: rgba(255, 255, 255, .25); color: #fff; }

/* 新闻中心：分类分组 */
.news-group { margin-bottom: 46px; }
.news-group[hidden] { display: none; }
.news-group:last-child { margin-bottom: 0; }
.group-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid #e3ecf5;
}
.group-head h2 {
  position: relative; font-size: 20px; color: var(--primary-dark); padding-left: 13px; line-height: 1.4;
}
.group-head h2::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; border-radius: 2px; background: var(--accent);
}
.group-count { font-size: 13px; color: var(--text-light); }
.news-foot {
  display: flex; justify-content: center; align-items: center;
  gap: 22px; flex-wrap: wrap; margin-top: 40px;
}
.empty-tip { text-align: center; color: var(--text-light); font-size: 14px; padding: 40px 0; }

/* ---------------- 合作伙伴（支持 LOGO 图片 + 跳转） ---------------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.partner-item {
  background: #fff; border: 1px solid #e3ecf5; border-radius: 8px;
  padding: 16px 12px; text-align: center; font-size: 13px;
  color: var(--text-light); transition: all .2s; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; text-decoration: none;
}
.partner-item img {
  max-width: 100%; max-height: 64px; width: auto; height: auto;
  object-fit: contain; display: block;
}
.partner-item .partner-name { line-height: 1.6; }
.partner-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
a.partner-item { cursor: pointer; }
a.partner-item:hover { transform: translateY(-2px); }
a.partner-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------------- 下载中心（首页：APK 直接下载 / App Store 跳转） ---------------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl-card {
  background: #fff; border: 1px solid #e3ecf5; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; display: flex; gap: 20px; min-width: 0;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dl-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.dl-icon {
  flex: none; width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  font-size: 34px; line-height: 1;
}
.dl-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dl-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.dl-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-top h3 { font-size: 17px; color: var(--primary-dark); line-height: 1.4; }
.dl-tag {
  font-size: 12px; line-height: 1; padding: 5px 10px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary); white-space: nowrap;
}
.dl-desc { margin-top: 10px; font-size: 13.5px; color: var(--text-light); line-height: 1.85; }
.dl-meta {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12.5px; color: var(--text-light);
}
.dl-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dl-meta span::before { content: '·'; color: var(--accent); font-weight: bold; }
.dl-btn.is-disabled {
  background: #eef3f8; color: #8fa3b8; cursor: not-allowed;
  box-shadow: none; pointer-events: none;
}
.dl-tip { margin-top: 22px; font-size: 13px; color: var(--text-light); line-height: 1.9; text-align: center; }

/* ---------------- 下载中心页：应用卡片（点击进入 App 详情页，下载入口在详情页内） ---------------- */
.card.app-card { padding: 0; overflow: hidden; }
.app-card-main { display: flex; flex-direction: column; flex: 1; color: inherit; min-width: 0; }
.card.app-card .card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card.app-card .card-body h3 { margin-bottom: 10px; }
/* 简介撑开剩余空间，让各卡片的「查看详情」按钮底部对齐 */
.card.app-card .card-body p { flex: 1; }
.app-media {
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eaf3fd, #f8fbff); border-bottom: 1px solid #eef4fb;
}
.app-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 14% 18%;
  transition: transform .45s ease;
}
.app-media .media-icon { font-size: 64px; }
.app-card-main:hover .app-media img { transform: scale(1.06); }
.app-card .dl-meta { margin-top: 12px; }
/* 「查看详情」做成胶囊按钮样式：列表页不再放下载按钮，下载统一在 App 详情页 */
.card.app-card .card-more {
  margin-top: 18px; align-self: flex-start; padding: 9px 22px;
  border: 1px solid var(--primary); border-radius: 999px;
  color: var(--primary); font-size: 13px; opacity: 1;
  transition: background .25s, border-color .25s, color .25s;
}
.app-card-main:hover .card-more { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- 首页下载中心大模块（产品与解决方案下方，点击进入 /downloads） ---------------- */
.dl-cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px; align-items: center;
  padding: 52px 56px; border-radius: 20px;
  background: linear-gradient(115deg, #0d4f9e 0%, #1667c7 52%, #2b8fe4 100%);
  box-shadow: 0 20px 48px rgba(13, 79, 158, .24);
  color: #fff;
}
/* 背景装饰：右上光斑 + 左下圆环，避免大面积纯色显得单调 */
.dl-cta::before, .dl-cta::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.dl-cta::before {
  width: 430px; height: 430px; right: -120px; top: -170px;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 68%);
}
.dl-cta::after {
  width: 300px; height: 300px; left: -120px; bottom: -140px;
  border: 42px solid rgba(255,255,255,.07);
}
.dl-cta-text { position: relative; z-index: 1; }
.dl-cta-badge {
  display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
}
.dl-cta h2 { font-size: 34px; line-height: 1.25; letter-spacing: 1px; color: #fff; margin-bottom: 14px; }
.dl-cta-desc { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.86); max-width: 44em; }
.dl-cta-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.dl-cta-tags li {
  padding: 5px 14px; border-radius: 999px; font-size: 12.5px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
.dl-cta-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #ff9c2b, var(--accent));
  box-shadow: 0 10px 24px rgba(255, 138, 0, .34);
  transition: transform .25s, box-shadow .25s;
}
.dl-cta-btn > span { transition: transform .25s; }
.dl-cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 138, 0, .42); }
.dl-cta-btn:hover > span { transform: translateX(4px); }

/* 右侧：可点击的应用卡片（进入各 App 详情页） */
.dl-cta-apps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.dl-cta-tile {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  border-radius: 14px; background: rgba(255,255,255,.97);
  box-shadow: 0 8px 22px rgba(6, 44, 92, .18);
  transition: transform .25s, box-shadow .25s;
}
.dl-cta-tile:hover { transform: translateX(6px); box-shadow: 0 12px 28px rgba(6, 44, 92, .26); }
.dl-cta-tile-icon {
  flex: 0 0 60px; width: 60px; height: 60px; border-radius: 15px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(135deg, var(--primary-light), #d5e6fa);
}
.dl-cta-tile-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.dl-cta-tile-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-cta-tile-body b { font-size: 16px; color: var(--primary-dark); }
.dl-cta-tile-body i { margin-top: 3px; font-style: normal; font-size: 12.5px; color: var(--text-light); }
.dl-cta-tile-go {
  flex: none; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--primary); border: 1px solid rgba(22, 103, 199, .4);
  transition: background .25s, border-color .25s, color .25s;
}
.dl-cta-tile:hover .dl-cta-tile-go { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- App 详情页 ---------------- */
.app-detail-head {
  display: flex; gap: 32px; align-items: center; background: #fff;
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); margin-bottom: 34px;
}
.app-detail-head > div { min-width: 0; }
.app-detail-icon {
  flex: 0 0 170px; width: 170px; height: 170px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #d5e6fa);
  display: flex; align-items: center; justify-content: center; font-size: 76px;
  box-shadow: 0 10px 26px rgba(13, 79, 158, .14);
}
.app-detail-icon img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 12%; }
.app-detail-intro { flex: 1; }
.app-detail-intro .app-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.app-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px;
  background: var(--primary-light); color: var(--primary-dark); font-weight: bold;
}
.app-detail-intro .detail-desc { margin-top: 12px; }
.dl-actions-lg { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.dl-actions-lg .btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 0;
  padding: 13px 34px; border-radius: 26px; font-size: 15px;
}
.dl-actions-lg .dl-btn.is-disabled { background: #eef3f9; color: #98a8b8; box-shadow: none; }
/* 各下载方式的信息行（版本 / 大小 / 系统要求） */
.dl-note-list { margin-top: 18px; display: grid; gap: 8px; }
.dl-note { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.dl-note b { color: var(--primary-dark); font-weight: bold; }

/* ---------------- 招聘（诚聘英才独立页 /recruit） ---------------- */
.job-list { display: grid; gap: 22px; }
.job-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 32px; border-left: 4px solid var(--primary); min-width: 0;
}
.job-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 20px; flex-wrap: wrap; padding-bottom: 16px;
  border-bottom: 1px dashed #d9e4f0;
}
.job-title { font-size: clamp(17px, 2vw, 21px); color: var(--primary-dark); line-height: 1.4; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag {
  font-size: 12px; color: var(--primary); background: var(--primary-light);
  border-radius: 20px; padding: 4px 12px; white-space: nowrap;
}
.job-body {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px; padding: 20px 0 4px;
}
.job-col h4 {
  font-size: 14px; color: var(--primary-dark); margin-bottom: 10px;
  padding-left: 10px; border-left: 3px solid var(--accent); line-height: 1.4;
}
.job-items { list-style: none; counter-reset: jobItem; }
.job-items li {
  counter-increment: jobItem; position: relative; padding-left: 26px;
  font-size: 13.5px; color: #59636f; line-height: 1.9;
}
.job-items li::before {
  content: counter(jobItem); position: absolute; left: 0; top: 4px;
  width: 17px; height: 17px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); font-size: 11px; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
}
.job-empty { font-size: 14px; color: var(--text-light); padding: 10px 2px; }
.job-foot {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed #d9e4f0;
}
.job-foot .job-apply {
  padding: 9px 26px; border-radius: 20px; background: var(--primary); color: #fff; font-size: 13.5px;
}
.job-foot .job-apply:hover { background: var(--primary-dark); }
.job-foot .job-call { font-size: 13px; color: var(--text-light); }
.job-foot .job-call:hover { color: var(--primary); }

/* 投递方式 */
.apply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.apply-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px; text-align: center; min-width: 0;
}
.apply-card .ci-icon { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.apply-card .ci-label { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.apply-card .ci-value {
  display: block; font-size: 16px; font-weight: bold; color: var(--primary-dark);
  line-height: 1.6; word-break: break-all;
}
.apply-card a.ci-value:hover { color: var(--accent); }
.apply-tip { margin-top: 18px; font-size: 12.5px; color: var(--text-light); line-height: 1.9; }
.apply-grid + .btn-back, .apply-tip + .btn-back { display: inline-block; margin-top: 22px; }

/* ---------------- 联系我们 ---------------- */
.contact-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-item {
  text-align: center; padding: 28px 10px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0;
}
.contact-item .icon { font-size: 30px; margin-bottom: 10px; line-height: 1; }
.contact-item h5 { font-size: 15px; margin-bottom: 8px; color: var(--primary-dark); }
.contact-item p { font-size: 13px; color: var(--text-light); line-height: 1.7; word-break: break-word; }
.contact-item p a { color: var(--primary); font-weight: bold; }
.contact-item p a:hover { color: var(--accent); }
.contact-item .contact-sub { margin-top: 4px; font-size: 12px; opacity: .85; }

/* ---------------- 页脚 ---------------- */
.footer { background: #123; color: #8fa3b8; padding: 34px 0; font-size: 13px; text-align: center; line-height: 2; }
.footer a { color: #b9c8d8; }
.footer a:hover { color: var(--accent); }
/* 页脚导航：内链有助于搜索引擎与 AI 理解站点结构 */
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0; }

/* ---------------- 详情页 ---------------- */
.detail-hero { background: linear-gradient(120deg, #0d4f9e, #1667c7); padding: 26px 0; }
.breadcrumb { color: #cfe2f7; font-size: 13px; line-height: 1.8; word-break: break-word; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--accent); }
.detail-title { font-size: clamp(21px, 3vw, 30px); color: var(--primary-dark); line-height: 1.4; }
.detail-head {
  display: flex; gap: 32px; align-items: center; background: #fff;
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); margin-bottom: 34px;
}
.detail-head > div { min-width: 0; }
.detail-icon {
  flex: 0 0 auto; width: 110px; height: 110px; border-radius: 16px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; font-size: 56px; background-size: cover; background-position: center;
}
/* 产品大图：详情页首屏主图 */
.detail-media {
  flex: 0 0 46%; max-width: 520px; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-light), #d5e6fa);
  display: flex; align-items: center; justify-content: center;
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-media .media-icon { font-size: 90px; line-height: 1; }
.detail-intro { flex: 1; }
.detail-intro .btn {
  display: inline-block; margin-top: 20px; padding: 11px 34px;
  border-radius: 24px; background: var(--primary); color: #fff;
}
.detail-intro .btn:hover { background: var(--primary-dark); }
.detail-desc { margin-top: 10px; color: var(--text-light); line-height: 1.8; font-size: 15px; }

/* 简介区操作：一键拨号 + 咨询按钮 */
.intro-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.intro-phone {
  display: inline-flex; align-items: center; gap: 6px; font-size: clamp(16px, 2vw, 20px);
  font-weight: bold; color: var(--primary-dark); white-space: nowrap;
}
.intro-phone:hover { color: var(--accent); }
.intro-actions .btn { margin-top: 0; }

/* ---------------- 产品详情：咨询该产品（电话 + 微信二维码） ---------------- */
.consult-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 34px; margin-bottom: 30px; border-top: 3px solid var(--accent);
}
.consult-head h2 {
  font-size: 19px; color: var(--primary-dark); margin-bottom: 10px;
  padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.4;
}
.consult-head p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
/* 电话与二维码左右排布，窄屏自动上下堆叠 */
.consult-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px; align-items: center; margin-top: 24px;
}
.consult-phone { min-width: 0; }
.consult-phone .ci-icon { font-size: 24px; line-height: 1; margin-bottom: 10px; }
.ci-label { font-size: 13px; color: var(--text-light); }
.consult-phone-num {
  display: block; margin-top: 8px; font-size: clamp(22px, 3.4vw, 32px); font-weight: bold;
  letter-spacing: .5px; color: var(--primary-dark); line-height: 1.3; word-break: break-all;
}
.consult-phone-num:hover { color: var(--accent); }
.ci-sub { margin-top: 12px; font-size: 13px; color: var(--text-light); line-height: 1.7; }
/* 微信：二维码图片 */
.consult-wechat {
  text-align: center; padding-left: 30px; border-left: 1px dashed #dbe7f5;
}
.consult-wechat .ci-label { display: block; margin-bottom: 10px; }
.qr-box {
  width: 174px; height: 174px; margin: 0 auto; padding: 8px; background: #fff;
  border: 1px solid #e3ecf5; border-radius: 14px; box-shadow: 0 6px 18px rgba(13, 79, 158, .1);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-empty {
  width: 100%; height: 100%; border: 1px dashed #cfe0f2; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--text-light); font-size: 12px; line-height: 1.7; text-align: center;
}
.qr-empty span { font-size: 26px; line-height: 1; }
.qr-empty small { color: #9aabbd; }
/* 联系信息小卡（关于我们页：地址 / 邮箱 / 服务时间 / 在线客服，与电话、微信同板块） */
.consult-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px dashed #dbe7f5;
}
.consult-grid[hidden] { display: none; }
.consult-item {
  background: var(--bg-gray); border: 1px solid #e3ecf5; border-radius: var(--radius);
  padding: 16px 18px; min-width: 0;
}
.consult-item .ci-icon { font-size: 20px; line-height: 1; margin-bottom: 8px; }
.consult-item .ci-label { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.consult-item .ci-value {
  display: block; font-size: 14px; font-weight: bold; color: var(--primary-dark);
  line-height: 1.6; word-break: break-word;
}
.consult-item a.ci-value:hover { color: var(--accent); }
/* 板块引导文案（居中一行） */
.section-lead {
  text-align: center; font-size: 14px; color: var(--text-light); line-height: 1.9;
  max-width: 720px; margin: -18px auto 26px;
}
.detail-body, .detail-more {
  background: #fff; border-radius: var(--radius); padding: 30px 34px;
  box-shadow: var(--shadow); margin-bottom: 30px;
}
.detail-body h2, .detail-more h2 {
  font-size: 19px; color: var(--primary-dark); margin-bottom: 18px;
  padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.4;
}
.rich-text p { font-size: 15px; line-height: 2; color: #555; margin-bottom: 12px; text-align: justify; }
.detail-article { max-width: 860px; }
.detail-article .detail-title { margin-bottom: 8px; }
.news-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--text-light); font-size: 13px; margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid #e3ecf5;
}
/* 新闻配图 */
.news-figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; background: var(--primary-light); }
.news-figure img { width: 100%; height: auto; display: block; }
.news-figure[hidden] { display: none; }
.news-figure.zoomable { cursor: zoom-in; }
.news-figure.zoomable img { transition: transform .4s ease; }
.news-figure.zoomable:hover img { transform: scale(1.015); }

/* 产品主图同样支持点击放大 */
.detail-media.zoomable { cursor: zoom-in; }
.detail-media.zoomable img { transition: transform .4s ease; }
.detail-media.zoomable:hover img { transform: scale(1.02); }

/* 新闻图集（第 2 张起的配图，点击可放大浏览） */
.news-gallery { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e3ecf5; }
.news-gallery[hidden] { display: none; }
.news-gallery .gallery-title {
  font-size: 16px; font-weight: bold; color: var(--primary-dark);
  margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.4;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item {
  margin: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in;
  background: var(--primary-light); aspect-ratio: 3 / 2;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease, filter .3s ease;
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.04); }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* 图片查看器（灯箱） */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1200; background: rgba(6, 18, 33, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 16px; backdrop-filter: blur(2px);
}
.lightbox[hidden] { display: none; }
.lb-img {
  max-width: min(1100px, 94vw); max-height: 84vh; width: auto; height: auto;
  object-fit: contain; border-radius: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.lb-btn {
  position: absolute; border: 0; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(4px);
  border-radius: 50%; width: 46px; height: 46px; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 20px; right: 20px; font-size: 18px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }
.lb-count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; letter-spacing: .5px;
  background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 5px 14px;
}

.btn-back { display: inline-block; margin-top: 10px; color: var(--primary); font-size: 14px; }
.btn-back:hover { color: var(--accent); }

/* ---------------- 可点击卡片 ---------------- */
.card.link-card { cursor: pointer; display: block; color: inherit; }
.card.link-card.product-card { display: flex; }
.card-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--primary); opacity: .75; }
.card.link-card:hover .card-more { opacity: 1; color: var(--accent); }

/* 相关内容推荐卡片里的文字需自适应 */
.detail-more .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-more .card { padding: 24px 20px; }
.detail-more .card.product-card { padding: 0; }

/* ---------------- 404 页 ---------------- */
.err-page { text-align: center; padding: 90px 20px; }
.err-page h1 { font-size: 64px; color: var(--primary-dark); margin-bottom: 12px; }
.err-page p { color: var(--text-light); margin-bottom: 26px; }
.err-page .btn {
  display: inline-block; padding: 11px 34px; border-radius: 22px;
  background: var(--primary); color: #fff;
}

/* ============================================================
   响应式断点
   ============================================================ */

/* ≤ 1200px：容器收窄，合作伙伴由 6 列变 4 列 */
@media (max-width: 1200px) {
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ≤ 992px：平板，卡片降为 2 列 */
@media (max-width: 992px) {
  :root { --header-h: 64px; }
  .section { padding: 56px 0; }
  .cards, .cards.six, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-body { gap: 22px; }
  .consult-card { padding: 24px 22px; }
  .consult-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-cta { grid-template-columns: 1fr; gap: 30px; padding: 40px 38px; }
  .dl-cta h2 { font-size: 29px; }
  .dl-cta-btn { margin-top: 24px; }
  .about-flex { flex-direction: column; gap: 28px; }
  .about-img { width: 100%; flex: none; height: 240px; min-height: 0; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-body { grid-template-columns: 1fr; gap: 20px; }
  .apply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-head { padding: 26px; gap: 20px; }
  .detail-icon { width: 84px; height: 84px; font-size: 44px; }
  .detail-media { flex: 0 0 44%; }
  .detail-body, .detail-more { padding: 24px 22px; }
  .banner { min-height: 340px; height: 46vh; }
}

/* ≤ 768px：手机，启用汉堡菜单 */
@media (max-width: 768px) {
  .header .container { position: relative; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; width: 100%; flex-direction: column; gap: 0;
    padding-bottom: 12px; border-top: 1px solid #eef3f9; margin-top: 4px;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 13px 6px; border-radius: 0; font-size: 15px;
    border-bottom: 1px solid #f2f6fa;
  }
  .nav a:hover, .nav a.active { border-radius: 6px; padding-left: 12px; }

  .logo-name { font-size: 19px; }
  .logo-sub { font-size: 10px; }
  .logo-img { height: 38px; max-width: 200px; }

  .section { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .banner { min-height: 300px; height: 44vh; }
  .banner-slide { padding: 0 6%; }
  .banner-slide .btn { margin-top: 20px; padding: 11px 30px; font-size: 15px; }

  /* 手机 / 平板竖屏：有图轮播改为「图片按原始比例完整显示」，
     不再裁切两侧或上下内容；轮播高度随图片比例自适应（宽屏图不会留白、竖图也不会被切） */
  .banner.has-image-slides { min-height: 0; height: auto; }
  .banner.has-image-slides .banner-slide.active { position: relative; padding: 46px 6%; }
  .banner.has-image-slides .banner-slide.has-image,
  .banner.has-image-slides .banner-slide.has-image.active { padding: 0; }
  /* 关键：整图跳转层（.banner-link）在桌面是绝对定位铺满、不占高度，
     手机端必须让它回到文档流并撑满宽度，图片才能把轮播区高度撑起来 */
  .banner.has-image-slides .banner-link {
    position: static; width: 100%; flex: none;
  }
  .banner.has-image-slides .banner-img {
    position: static; width: 100%; height: auto; object-fit: contain; display: block;
  }

  /* 手机端新闻改为上下结构 */
  .news-item { flex-wrap: wrap; gap: 6px 14px; padding: 16px 6px; }
  .news-date { font-size: 13px; }
  .news-item h4 { font-size: 16px; }
  .news-more { display: none; }

  .job-card { padding: 22px 20px; }
  .job-foot { gap: 12px; }
  .job-foot .job-apply { width: 100%; text-align: center; }

  .detail-icon { width: 64px; height: 64px; font-size: 34px; border-radius: 12px; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 18px; }
  .detail-media { flex: none; width: 100%; max-width: none; }
  .detail-media .media-icon { font-size: 70px; }
  /* App 详情页：图标与文字改为上下堆叠 */
  .app-detail-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 18px; }
  .app-detail-icon { flex: none; width: 112px; height: 112px; border-radius: 22px; font-size: 56px; }
  .dl-actions-lg .btn { flex: 1 1 auto; justify-content: center; }
  .detail-more .cards { grid-template-columns: 1fr; }
  .rich-text p { font-size: 15px; line-height: 1.95; }
  /* 手机端咨询区：电话与二维码改为上下堆叠 */
  .consult-body { grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
  .consult-wechat {
    padding-left: 0; padding-top: 24px;
    border-left: none; border-top: 1px dashed #dbe7f5;
  }
  .intro-actions { gap: 10px 16px; }
  .intro-actions .btn { flex: 1 1 auto; text-align: center; }
  .err-page { padding: 60px 20px; }
  .err-page h1 { font-size: 48px; }
}

/* ≤ 560px：小屏手机，全部单列 */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .cards, .cards.six, .team-grid, .contact-wrap, .news-cards { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-card { padding: 20px 18px; gap: 16px; }
  .dl-icon { width: 60px; height: 60px; border-radius: 15px; font-size: 28px; }
  .team-card { padding: 24px 18px; }
  .consult-card { padding: 22px 16px; }
  .consult-grid {
    grid-template-columns: 1fr; gap: 12px; margin-top: 20px; padding-top: 20px;
  }
  .section-lead { margin: -12px auto 20px; font-size: 13px; }
  .qr-box { width: 156px; height: 156px; }
  .section-more, .news-foot { gap: 14px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 24px 20px; }
  .card h4, .card h3 { font-size: 17px; }
  .card.product-card { padding: 0; }
  .card.product-card .card-body { padding: 18px 18px 22px; }
  .media-fallback { font-size: 48px; }
  .about-img { height: 200px; font-size: 60px; }
  .about-text p { text-align: left; }
  .about-stats { gap: 12px; }
  .stat { padding: 20px 12px; }
  .apply-grid { grid-template-columns: 1fr; }
  .job-items li { font-size: 13px; }
  .detail-hero { padding: 20px 0; }
  .footer-nav { gap: 4px 14px; }
  .section { padding: 36px 0; }
  /* 小屏下轮播内容更高，改为内容撑开高度；
     有图的轮播由上方 ≤768px 的 .has-image-slides 规则接管（按图片比例完整显示） */
  .banner { min-height: 0; height: auto; }
  .banner-slide { position: absolute; }
  .banner-slide.active { position: relative; padding: 46px 6%; }
  .banner-slide .btn { padding: 10px 26px; font-size: 14px; }
  .banner-dots { bottom: 12px; }
  .detail-body, .detail-more { padding: 20px 16px; }
  .detail-body h2, .detail-more h2 { font-size: 17px; }
  .news-meta { font-size: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .app-card .card-more { padding: 8px 18px; }
  .card.app-card .card-body { padding: 18px 18px 20px; }
  .dl-cta { padding: 30px 22px; border-radius: 16px; gap: 24px; }
  .dl-cta-badge { margin-bottom: 12px; letter-spacing: .1em; }
  .dl-cta h2 { font-size: 24px; }
  .dl-cta-desc { font-size: 14px; line-height: 1.85; }
  .dl-cta-tags { margin-top: 16px; gap: 8px; }
  .dl-cta-btn { width: 100%; justify-content: center; padding: 13px 24px; }
  .dl-cta-tile { padding: 13px 14px; gap: 12px; }
  .dl-cta-tile-icon { flex-basis: 50px; width: 50px; height: 50px; border-radius: 13px; font-size: 25px; }
  .dl-cta-tile-body b { font-size: 15px; }
  .dl-cta-tile-go { display: none; }
  .dl-actions-lg .btn { flex: 1 1 100%; }
  .news-gallery .gallery-title { font-size: 15px; }
  .lb-btn { width: 40px; height: 40px; font-size: 19px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 12px; right: 12px; }
  .lightbox { padding: 48px 10px; }
}

/* ≤ 380px：超小屏进一步压缩 */
@media (max-width: 380px) {
  .logo-name { font-size: 17px; }
  .logo-mark { width: 36px; height: 36px; font-size: 17px; }
  .logo-img { height: 32px; max-width: 170px; }
  .partner-grid { grid-template-columns: 1fr; }
  .detail-icon { width: 56px; height: 56px; font-size: 28px; }
}

/* ---------------- 打印样式 ---------------- */
@media print {
  .header, .banner, .footer, .btn-back, .nav-toggle { display: none !important; }
  .section { padding: 12px 0; }
  .card, .detail-body, .detail-more { box-shadow: none; border: 1px solid #ddd; }
}

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