/* jswmz.com 新站样式 —— 对齐原站设计体系：
   主蓝 #496da9，辅蓝 #236ae1，正文 #666 微软雅黑，
   浅灰固定头部、居中标题+分隔线、卡片 hover 遮罩、深色细页脚 */

:root {
  --primary: #496da9;
  --primary-dark: #3a5a8c;
  --accent: #236ae1;
  --text: #333;
  --text-main: #666;
  --text-light: #999;
  --line: #ccc;
  --bg-gray: #f2f2f2;
  --bg-alt: #f7f8fa;
  --border: #e5e5e5;
  --radius: 6px;
  --shadow: 0 0 5px rgba(0, 0, 0, .08);
  --header-h: 68px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 14px/1.7 "Microsoft Yahei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text-main);
  background: #fff;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-weight: normal; color: var(--text); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 固定头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 99;
  background: var(--bg-gray); box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); }
.logo { flex: 0 0 auto; display: block; }
.logo img { height: 44px; width: auto; display: block; }
.site-nav { display: flex; gap: 44px; margin-left: 70px; }
.site-nav a { font-size: 14px; color: var(--text); padding: 6px 0; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); }
.nav-toggle {
  display: none; margin-left: auto; font-size: 22px; background: none;
  border: 0; cursor: pointer; color: var(--text);
}

/* ---------- 首页轮播（原站为 swiper 全宽大图） ---------- */
.hero { position: relative; background: #0e1c33; overflow: hidden; }
.hero-banner { position: relative; width: 100%; aspect-ratio: 12 / 5; max-height: 560px; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-fallback { background: linear-gradient(135deg, #31456e 0%, #496da9 100%); }
.hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; z-index: 2;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer;
}
.hero-dots button.on { background: #fff; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 60px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .25); color: #fff; font-size: 20px;
}
.hero-arrow:hover { background: rgba(0, 0, 0, .45); }
.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }

/* ---------- 品牌实力（沿用原站设计图格子，4 列两行） ---------- */
.brand-box { padding: 70px 0 40px; background: #fff; }
/* 标题图统一尺寸：六个区块的标题图共用同一宽高盒子，内容等比居中 */
.brand-title, .adv-title, .about-title {
  display: block; margin: 0 auto;
  width: min(420px, 76%); height: 132px;
  object-fit: contain;
}
.brand-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  max-width: 1200px; margin: 34px auto 0; padding: 0; list-style: none;
}
.brand-grid li { width: 25%; padding: 8px; }
.brand-grid img { width: 100%; height: auto; display: block; }

/* ---------- 区块标题（居中 + 副标题 + 80px 分隔线） ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 44px; text-align: center; }
.sec-head h2 { font-size: 30px; margin: 0; }
.sec-head p { font-size: 18px; color: var(--text-main); margin: 14px 0 0; }
.sec-head p em { font-style: normal; color: var(--accent); }
.sec-head strong { display: block; width: 80px; height: 2px; background: var(--line); margin: 20px auto 0; }
.section-more { text-align: center; margin-top: 36px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 服务领域（首页五卡 + hover 遮罩） ---------- */
.service-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card {
  position: relative; display: block; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: #fff;
  padding: 26px 16px 22px; text-align: center; color: var(--text);
  transition: box-shadow .25s ease, transform .25s ease;
}
.service-card:hover { box-shadow: 0 6px 20px rgba(73, 109, 169, .25); transform: translateY(-4px); }
.service-card h3 { font-size: 17px; margin: 0 0 10px; color: var(--text); }
.service-card p { margin: 0; font-size: 13px; color: var(--text-main); }
.service-card .ico {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(73, 109, 169, .1); color: var(--primary);
  font-size: 20px; line-height: 46px; font-weight: 700;
}

/* ---------- 服务领域（标题图 + 分类切换标签 + 案例墙，对齐原站） ---------- */
.srv-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 38px 0 0; }
.srv-tab {
  min-width: 150px; padding: 9px 22px; font-size: 16px; cursor: pointer;
  border: 1px solid var(--primary); border-radius: var(--radius);
  background: #fff; color: var(--primary); transition: all .2s ease;
  font-family: inherit;
}
.srv-tab:hover { color: var(--primary-dark); }
.srv-tab.on { background: var(--primary); color: #fff; font-weight: 700; }
.srv-panel { display: none; margin-top: 44px; }
.srv-panel.on { display: block; }
/* 案例墙为全宽（对齐原站 vw 布局）：脱离容器，4 列贴边 */
.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.srv-more { margin-top: 44px; }
.srv-item {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 472 / 285; background: #dfe6f0;
}
.srv-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.srv-item:hover img { transform: scale(1.06); }
.srv-mask {
  position: absolute; inset: 0; background: rgba(73, 109, 169, .88); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 14px;
  opacity: 0; transition: opacity .25s ease;
}
.srv-item:hover .srv-mask { opacity: 1; }
.srv-mask strong { font-size: 16px; font-weight: 700; }
.srv-mask span {
  font-size: 12px; opacity: .85;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 卡片通用（案例/资讯） ---------- */
.card {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(73, 109, 169, .25); transform: translateY(-4px); }
.card h3 { font-size: 16px; margin: 0 0 6px; }

.case-thumb, .news-thumb {
  position: relative; display: block; height: 200px;
  background: #dfe6f0 center/cover no-repeat;
}
.news-thumb { height: 150px; }
.case-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-mask {
  position: absolute; inset: 0; background: rgba(73, 109, 169, .85);
  color: #fff; opacity: 0; transition: opacity .25s ease;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px; font-size: 14px;
}
.card:hover .case-mask { opacity: 1; }
.case-body { padding: 14px 16px 16px; }
.case-body p {
  margin: 0; color: var(--text-main); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tag {
  display: inline-block; font-size: 12px; color: var(--primary);
  background: rgba(73, 109, 169, .1); border-radius: 3px;
  padding: 1px 8px; margin-bottom: 6px;
}
.case-body time, .detail-meta time { color: var(--text-light); font-size: 12px; margin-right: 10px; }
.views { color: var(--text-light); font-size: 12px; }

/* ---------- 关于我们（原站版式：标题图 + 左图右文 + 环境图行） ---------- */
.about-home { padding: 70px 0 75px; background: #fff; }
.about-title { margin-bottom: 44px; }
.about-wrap { display: grid; grid-template-columns: 11fr 10fr; align-items: stretch; }
.about-photo { min-height: 360px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-r { padding: 6px 0 0 46px; display: flex; flex-direction: column; align-items: flex-start; }
.about-r h3 { margin: 0; font-size: 26px; color: var(--text); }
.about-r h3 span { color: var(--text-light); font-size: 15px; margin-left: 10px; font-weight: normal; }
.about-text { margin-top: 14px; }
.about-text p { font-size: 15px; line-height: 2; color: var(--text-main); text-align: justify; margin: 0 0 10px; }
.read-more {
  margin-top: 16px; display: inline-block;
  border: 1px solid var(--primary); color: var(--primary);
  padding: 8px 28px; border-radius: var(--radius);
  font-size: 13px; letter-spacing: 1px;
  transition: all .2s ease;
}
.read-more:hover { background: var(--primary); color: #fff; }
.about-thumbs {
  display: flex; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none;
  width: 100%;
}
.about-thumbs li { flex: 1; }
.about-thumbs img { width: 100%; height: 110px; object-fit: cover; display: block; border-radius: 4px; }

/* ---------- 新闻列表（行式，标题左日期右） ---------- */
.news-rows { border-top: 1px solid var(--border); }
.news-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 15px 4px; border-bottom: 1px solid var(--border); color: var(--text);
}
.news-row h3 { font-size: 16px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-row:hover h3 { color: var(--primary); }
.news-row time { flex: 0 0 auto; color: var(--text-light); font-size: 13px; margin-right: 12px; }

/* ---------- 内页 banner（浅灰 + 居中标题） ---------- */
.page-head { background: var(--bg-gray); padding: 46px 0 40px; text-align: center; }
.page-head h1 { font-size: 30px; margin: 0; }
.page-head p { margin: 10px 0 0; color: var(--text-light); font-size: 15px; }
.page-banner { height: 300px; background: #31456e center/cover no-repeat; }
.breadcrumb { padding: 14px 16px 0; color: var(--text-light); font-size: 13px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- 详情页 ---------- */
.detail-section { padding-top: 24px; }
.detail-narrow { max-width: 900px; }
.detail-article h1 { font-size: 28px; margin: 10px 0 12px; line-height: 1.4; }
.detail-summary { color: var(--text-light); font-size: 15px; }
.detail-meta { color: var(--text-light); font-size: 13px; }
.detail-cover { border-radius: var(--radius); margin: 18px 0; }
.rich-text { font-size: 15px; line-height: 2; word-break: break-word; }
.rich-text img { max-width: 100%; height: auto; border-radius: 4px; }
.rich-text table { border-collapse: collapse; width: 100%; }
.rich-text td, .rich-text th { border: 1px solid var(--border); padding: 6px 10px; }
.detail-back { margin-top: 30px; }

/* ---------- 服务领域页（对齐原站 /fwly 版式） ---------- */
/* flex 弹性换行居中，可承载 4-5 张及以上服务卡片 */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.svc-card {
  flex: 1 1 190px; max-width: 240px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 34px 20px 24px; text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.svc-card:hover { box-shadow: 0 6px 20px rgba(73, 109, 169, .25); transform: translateY(-4px); }
.svc-icon { height: 56px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-icon img { max-height: 52px; width: auto; }
.svc-card h3 { font-size: 19px; margin: 0 0 12px; color: var(--text); }
.svc-subs { padding: 0 4px; }
.svc-subs ul { margin: 0; padding: 0; list-style: none; }
.svc-subs li { font-size: 14px; color: var(--text-main); padding: 7px 0; border-top: 1px dashed var(--border); }
.svc-subs li:first-child { border-top: 0; }

.svc-full { padding: 70px 0; text-align: center; background: var(--bg-gray); }
.svc-full-img { display: block; width: min(954px, 92%); height: auto; margin: 34px auto 0; }

.svc-steps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 56px;
  margin: 36px 0 0; padding: 0; list-style: none; text-align: center;
}
.svc-steps img { height: 96px; width: auto; }
.svc-steps p { margin: 12px 0 0; font-size: 16px; color: var(--text); }

.svc-cases-title, .block-title { text-align: center; font-size: 30px; margin: 0; color: var(--text); }
.svc-cases-title span, .block-title span {
  display: block; font-size: 14px; font-weight: 400;
  color: var(--text-light); text-transform: uppercase; margin-top: 8px;
}
.svc-cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.svc-cases-grid a {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff;
}
.svc-cases-grid .img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-cases-grid .img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.svc-cases-grid a:hover .img img { transform: scale(1.05); }
.svc-cases-grid .txt { display: block; padding: 12px 14px; text-align: center; }
.svc-cases-grid .tit { font-style: normal; font-size: 15px; color: var(--text); }

/* 物联网设备开发（服务领域页新增板块） */
.iot-intro { max-width: 860px; margin: 22px auto 0; text-align: center; color: var(--text-main); font-size: 15px; line-height: 1.9; }
.iot-grid { margin-top: 34px; }
.iot-card { padding: 26px 22px; text-align: left; }
.iot-card h3 { color: var(--primary); font-size: 16px; margin: 0 0 10px; text-align: center; }
.iot-card p { margin: 0; font-size: 13.5px; color: var(--text-main); line-height: 1.9; }
.iot-scenes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.iot-scenes li {
  padding: 7px 20px; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--text-main); font-size: 14px;
}

/* 技术栈（8 卡分区，移动端/前端/后端/数据/云/物联网/大数据 AI/安全） */
.ts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.ts-card { padding: 24px 20px; background: #fff; }
.ts-card h3 { color: var(--primary); font-size: 16px; margin: 0 0 10px; }
.ts-card p { margin: 0; font-size: 13px; color: var(--text-main); line-height: 1.9; }

/* 分类筛选（对齐原站标签按钮样式） */
.filter-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; justify-content: center; }
.chip {
  min-width: 130px; text-align: center; padding: 8px 18px;
  border: 1px solid var(--primary); border-radius: var(--radius);
  color: var(--primary); font-size: 15px; background: #fff;
}
.chip.active, .chip:hover { background: var(--primary); color: #fff; }

/* ---------- 关于我们页 ---------- */
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.about-gallery img { border-radius: var(--radius); height: 170px; width: 100%; object-fit: cover; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.contact-card { padding: 26px 18px; text-align: center; background: #fff; }
.contact-card h3 { font-size: 16px; margin: 0 0 10px; }
.contact-value { font-size: 17px; font-weight: 700; color: var(--text) !important; }
.qrcode { width: 140px; height: 140px; object-fit: contain; }
.faq-item { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--text); padding: 11px 0; }
.faq-item p { color: var(--text-main); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 9px 30px; border-radius: var(--radius); font-size: 14px;
  border: 1px solid var(--primary); transition: all .2s ease; cursor: pointer;
}
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: rgba(73, 109, 169, .08); }

/* ---------- 我们的优势（独立背景图 + 原站设计图，对齐原站） ---------- */
.adv-box {
  padding: 90px 0 70px; text-align: center;
  background: #31456e url("/static/img/brand/w20.png") no-repeat center center;
  background-size: cover;
}
.adv-title { margin-bottom: 0; }
.adv-img { display: block; margin: 48px auto 0; width: min(1500px, 96%); height: auto; }

/* ---------- 合作客户（原站 kehu 标题图 + 客户 logo 卡片墙，5 列） ---------- */
.kh-box { padding: 70px 0 0; background: #fff; }
.kh-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin: 40px auto 0; padding: 0; list-style: none;
}
.kh-grid li {
  padding: 14px 10px; background: #fafafa;
  border-radius: 10px; box-shadow: var(--shadow);
}
.kh-grid img {
  display: block; margin: 0 auto; height: 96px; width: auto; max-width: 100%;
  object-fit: contain;
}

/* ---------- 新闻中心（原站卡片式：图 + 标题 + 摘要 + 红色阅读按钮） ---------- */
.news-home { padding: 70px 0 40px; background: #fff; }
.news-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.news-card {
  position: relative; display: block; overflow: hidden;
  width: calc(25% - 23px); height: 430px;
  background: #f4f4f4; color: var(--text);
}
.news-card .cover { display: block; width: 100%; height: 185px; object-fit: cover; }
.news-card .body { display: block; padding: 14px 16px 64px; }
.news-card h4 { margin: 0 0 10px; font-size: 16px; line-height: 1.5; text-align: left; }
.news-card p {
  margin: 0; font-size: 13px; line-height: 1.9; color: var(--text-main); text-align: justify;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .read-btn {
  position: absolute; bottom: 20px; left: 16px;
  background: #F4524D; color: #fff; border-radius: 5px;
  padding: 10px 18px; font-size: 13px;
  transition: background .2s ease;
}
.news-card:hover .read-btn { background: #e0433e; }
.news-card:hover h4 { color: var(--primary); }

/* ---------- 合作邀请横条（原站 contact-wrap：暗色背景 + 渐变按钮） ---------- */
.contact-band {
  position: relative; height: 460px;
  background: #000 url("/static/img/brand/contact-bg.jpg") no-repeat center 30%;
  background-size: cover;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.contact-band::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.contact-band .inner { position: relative; z-index: 1; padding: 0 20px; }
.contact-band h2 { color: #fff; font-weight: 700; font-size: 30px; margin: 0 0 16px; }
.contact-band .divider { width: 80px; height: 2px; background: rgba(255, 255, 255, .5); margin: 0 auto 18px; }
.contact-band .tips { font-style: italic; color: #fff; opacity: .92; margin: 0 0 46px; }
.contact-us-btn {
  display: inline-block; padding: 16px 34px; border-radius: 2px;
  background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  color: #fff; font-weight: 700; font-size: 18px;
  transition: opacity .2s ease;
}
.contact-us-btn:hover { opacity: .88; color: #fff; }

.empty-tip { text-align: center; color: var(--text-light); padding: 30px 0; }
.notfound { text-align: center; padding: 90px 0; }
.notfound h1 { font-size: 72px; margin: 0; color: var(--primary); }

/* ---------- 右侧漂浮微信咨询（全站全局，悬停展开二维码） ---------- */
.float-wechat {
  position: fixed; right: 12px; top: 50%; transform: translateY(-50%);
  z-index: 90;
}
.float-wechat-tab {
  width: 52px; padding: 10px 0 12px; text-align: center; cursor: pointer;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.float-wechat-tab svg { display: block; margin: 0 auto 6px; }
.float-wechat-tab span {
  display: block; width: 1em; margin: 0 auto; text-align: center;
  font-size: 13px; line-height: 1.5; color: var(--text);
}
.float-wechat-pop {
  display: none; position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%); padding: 12px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); white-space: nowrap;
}
.float-wechat-pop img { width: 140px; height: 140px; object-fit: contain; display: block; }
.float-wechat-pop p { margin: 8px 0 0; font-size: 12px; color: var(--text-light); }
.float-wechat:hover .float-wechat-pop { display: block; }

/* ---------- 页脚（深色细条，对齐原站 bottom-bar） ---------- */
.site-footer { background: #262b32; color: #9aa5b4; margin-top: 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 18px 16px; font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img {
  height: 30px; width: auto; background: #fff;
  padding: 3px 8px; border-radius: 4px;
}
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #9aa5b4; }
.site-footer a:hover { color: #fff; }
.footer-cities {
  flex-basis: 100%; font-size: 12px; color: #6d7683;
  line-height: 1.9; border-top: 1px solid #363c44; padding-top: 10px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .brand-grid li { width: 33.33%; }
  .kh-grid { grid-template-columns: repeat(3, 1fr); }
  .srv-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; }
  .about-r { padding-left: 0; }
  .site-nav { margin-left: 40px; gap: 26px; }
  .svc-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps { gap: 34px; }
  .svc-steps img { height: 76px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border); padding: 6px 20px 12px;
    margin-left: 0; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .brand-grid li { width: 50%; }
  .kh-grid { grid-template-columns: repeat(2, 1fr); }
  .kh-grid img { height: 76px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-tab { min-width: 110px; padding: 8px 14px; font-size: 14px; }
  .svc-card { flex-basis: 100%; max-width: 420px; }
  .svc-cases-grid { grid-template-columns: 1fr; }
  .ts-grid { grid-template-columns: 1fr; }
  .svc-steps { gap: 26px; }
  .svc-steps img { height: 62px; }
  .page-banner { height: 160px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .sec-head h2 { font-size: 24px; }
  .sec-head p { font-size: 15px; }
  .hero-banner { aspect-ratio: auto; height: 210px; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { justify-content: center; text-align: center; }
}

/* 服务领域标题图源图字号偏大，单独收窄至自然大小，与其他标题视觉字号一致 */
.title-sm { width: min(340px, 62%); }
