/* ==========================================================================
   成都荣信天和科技有限公司 · 官网前端样式
   版式参考：矩阵电子（www.matrix-sirc.com）
   设计语言：品牌深蓝 #0A2B5E + 信号青 #35C4D6 强调，rem 流式尺寸，全屏 Banner，
             固定透明导航（悬停/滚动转白），大字号标题 + 大留白板块。
   配色取自荣信天和 VI 标识套件（LOGO/logo-kit）与产品宣传册。
   ========================================================================== */

/* ------------------------------ 尺寸基准 ------------------------------
   1rem = 100px @1920 视口，随视口等比缩放；超宽屏封顶，避免元素过大。
   平板/手机端（<=1100px）改用固定 px 变量，避免 rem 缩放导致字号失控。
   -------------------------------------------------------------------- */
html {
  font-size: 5.2083333vw;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
@media (min-width: 1920px) { html { font-size: 100px; } }
@media (max-width: 1660px) { html { font-size: 6vw; } }

:root {
  --main: #0a2b5e;
  --main-d: #001437;
  --main-l: #1b4a8a;
  --main-050: #eef3fa;
  --grad: linear-gradient(90deg, #35c4d6, #0e7a96);
  --grad-r: linear-gradient(90deg, #0e7a96, #35c4d6);

  --txt: #333;
  --sub: #666;
  --mute: #999;
  --line: #e5e5e5;
  --bg2: #f7f7f7;

  --wrap: 16rem;
  --wrap-n: 14.4rem;
  --header-h: 0.8rem;
  --sp: 1rem;            /* 板块上下留白 */
  --radius: 0.06rem;

  --fs-h1: 0.4rem;
  --fs-h2: 0.4rem;
  --fs-h3: 0.24rem;
  --fs-body: 0.16rem;
  --fs-sm: 0.14rem;
  --fs-lg: 0.18rem;

  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

@media (max-width: 1100px) {
  /* 平板/手机：1rem 固定为 100px（等价于「rem 数值即 px 数值」），
     避免 5.2vw 在窄屏把 rem 长度压成 1/5（页脚 LOGO、图标会缩成几像素）。
     字号类尺寸由上面的 --fs-* 变量统一下调，版式由各区块的移动端规则重排。 */
  html { font-size: 100px; }
  :root {
    --wrap: 100%;
    --wrap-n: 100%;
    --header-h: 60px;
    --sp: 50px;
    --fs-h1: 26px;
    --fs-h2: 26px;
    --fs-h3: 18px;
    --fs-body: 15px;
    --fs-sm: 13px;
    --fs-lg: 16px;
  }
}

/* ------------------------------ 基础重置 ------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--txt);
  background: #fff;
  width: 100%;
  overflow-x: hidden;
  font-weight: 400;
}

ul, ol, li, dl, dt, dd { list-style: none; }
em, i, address { font-style: normal; }
img { max-width: 100%; border: 0; vertical-align: middle; display: block; }
a { color: var(--txt); text-decoration: none; transition: all .3s ease; }
a:hover { color: var(--main); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.35; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; border: 0; outline: none; background: none; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* 键盘可达性 */
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 1200;
  padding: 10px 20px; background: var(--main); color: #fff;
  border-radius: 0 0 6px 6px; transition: top .25s;
}
.skip-link:focus { top: 0; color: #fff; }
main { display: block; }
main:focus { outline: none; }

/* 通用容器 / 版块 */
.wrap { width: 95%; max-width: var(--wrap); margin: 0 auto; }
.wrap-n { width: 92%; max-width: var(--wrap-n); margin: 0 auto; }
.sec { padding: var(--sp) 0; }
.sec-b { padding-bottom: var(--sp); }
.sec-t { padding-top: var(--sp); }
.sec-gray { background: var(--bg2); }
.sec-dark { background: var(--main-d); color: #fff; }
.text-center { text-align: center; }
.hide { display: none !important; }
.clearfix::after { content: ''; display: block; clear: both; }

@media (max-width: 1100px) {
  .wrap, .wrap-n { width: 100%; padding: 0 16px; max-width: none; }
}

/* 文本省略 */
.dot { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dot2, .dot3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
.dot2 { -webkit-line-clamp: 2; }
.dot3 { -webkit-line-clamp: 3; }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; background-color: #e6e6e6; }
::-webkit-scrollbar-thumb { border-radius: 10px; background-color: var(--main); }

/* ------------------------------ 按钮 ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .08rem;
  height: .48rem; padding: 0 .34rem;
  font-size: var(--fs-body); color: #fff;
  background-image: var(--grad);
  border-radius: .48rem .48rem .48rem 0;
  transition: all .45s ease; white-space: nowrap;
}
.btn:hover { color: #fff; border-radius: .48rem; }
.btn .ico { width: .18rem; height: .18rem; }

.btn-line {
  background: none; border: 1px solid var(--main); color: var(--main);
  border-radius: .48rem .48rem .48rem 0;
}
.btn-line:hover { background: var(--main); color: #fff; }

.btn-ghost {
  background: none; border: 1px solid rgba(255, 255, 255, .55); color: #fff;
}
.btn-ghost:hover { background: #fff; color: var(--main); border-color: #fff; }

.btn-sm { height: .4rem; padding: 0 .24rem; font-size: var(--fs-sm); }
.btn-block { display: flex; width: 100%; }

/* 「了解更多」胶囊按钮（参考站样式） */
.more-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.45rem; height: .48rem; padding: 0 .3rem;
  font-size: var(--fs-body); color: #fff;
  background-image: var(--grad);
  border-radius: .48rem .48rem .48rem 0;
  transition: all .45s ease;
}
.more-btn:hover { color: #fff; border-radius: .48rem; }
.more-btn .ico { width: .16rem; height: .16rem; margin-left: .06rem; }

@media (max-width: 1100px) {
  .btn, .more-btn { height: 40px; min-width: 130px; padding: 0 22px; font-size: 14px; }
  .more-btn { height: 36px; min-width: 108px; padding: 0 18px; font-size: 13px; }
  .btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }
}

/* ------------------------------ 板块标题 ------------------------------ */
.sec-head { position: relative; margin-bottom: .5rem; }
.sec-head .tit h2, .sec-head h2 {
  font-size: var(--fs-h2); line-height: 1.28; color: var(--main); font-weight: 700;
}
.sec-head .dec { font-size: var(--fs-h3); color: var(--txt); margin-top: .1rem; font-weight: 400; line-height: 1.5; }
.sec-head .more-btn { position: absolute; right: 0; bottom: .06rem; }
.sec-head.center { text-align: center; }
.sec-head.center .more-btn { position: static; margin-top: .3rem; }
.sec-head.white h2 { color: #fff; }
.sec-head.white .dec { color: rgba(255, 255, 255, .72); }

@media (max-width: 1100px) {
  .sec-head { margin-bottom: 26px; }
  .sec-head .dec { font-size: 14px; line-height: 24px; }
  .sec-head .more-btn { position: static; margin-top: 16px; }
}

/* ==========================================================================
   头部导航
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: background .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.site-header .header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: .3rem;
}

/* LOGO：默认反白版，悬停/滚动后换彩色版（两个 SVG viewBox 完全一致，切换零位移）。
   用的是矢量源文件，按 42px 高渲染，不做任何位图拉伸。
   .brand 锁死宽高 —— 万一两张 logo 的比例不一致，切换时也不会把右侧导航顶来顶去。 */
.brand { display: flex; align-items: center; flex: none; width: 1.9rem; height: .42rem; }
.brand img { height: .42rem; width: auto; max-width: 100%; object-fit: contain; }
.brand .logo-dark { display: none; }

/* 主导航 */
.nav { display: flex; align-items: center; }
.nav > li { position: relative; margin-left: .42rem; }
.nav > li > a {
  display: block; position: relative; line-height: var(--header-h);
  font-size: var(--fs-lg); color: #fff; white-space: nowrap;
}
.nav > li > a::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background-image: var(--grad);
  opacity: 0; transform: scaleX(0); transition: all .4s ease;
}
.nav > li:hover > a::before, .nav > li.active > a::before { opacity: 1; transform: scaleX(1); }
.nav > li > a::after { content: none; }

/* 下拉：宽度由内容撑开（min-width 只兜底），分类名长了会自动变宽，不会换行 */
.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 1.6rem; padding: .14rem 0; background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1); border-top: 2px solid var(--main);
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.nav > li:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-sub li a {
  display: block; padding: 0 .24rem; line-height: .44rem; font-size: var(--fs-sm); color: var(--sub);
  white-space: nowrap;
}
.nav-sub li a:hover { color: var(--main); background: var(--main-050); }

/* 头部右侧信息 */
.header-tel { display: flex; align-items: center; gap: .1rem; color: #fff; flex: none; }
.header-tel .ico { width: .22rem; height: .22rem; color: rgba(255, 255, 255, .85); }
.header-tel .t-label { display: block; font-size: .12rem; line-height: 1.2; color: rgba(255, 255, 255, .62); }
.header-tel .t-num { display: block; font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; letter-spacing: .5px; }

/* 汉堡 */
.nav-toggle {
  display: none; width: 40px; height: 40px; position: relative; flex: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff; position: relative; margin: 0 auto;
  transition: all .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 24px; height: 2px; background: #fff;
  position: absolute; left: 0; transition: all .2s ease;
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { bottom: -8px; }

/* 悬停 / 滚动：白底深字 */
.site-header:hover,
.site-header.solid {
  background: #fff; border-bottom-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
}
.site-header:hover .brand .logo-light,
.site-header.solid .brand .logo-light { display: none; }
.site-header:hover .brand .logo-dark,
.site-header.solid .brand .logo-dark { display: block; }
.site-header:hover .nav > li > a,
.site-header.solid .nav > li > a { color: var(--txt); }
.site-header:hover .nav > li:hover > a,
.site-header.solid .nav > li:hover > a { color: var(--main); }
.site-header:hover .header-tel,
.site-header.solid .header-tel { color: var(--txt); }
.site-header:hover .header-tel .ico,
.site-header.solid .header-tel .ico { color: var(--main); }
.site-header:hover .header-tel .t-label,
.site-header.solid .header-tel .t-label { color: var(--mute); }
.site-header:hover .nav-toggle span,
.site-header:hover .nav-toggle span::before,
.site-header:hover .nav-toggle span::after,
.site-header.solid .nav-toggle span,
.site-header.solid .nav-toggle span::before,
.site-header.solid .nav-toggle span::after { background: var(--main); }

@media (max-width: 1100px) {
  .site-header { background: #fff; border-bottom-color: #eee; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
  .site-header .brand .logo-light { display: none; }
  .site-header .brand .logo-dark { display: block; }
  .site-header .brand { width: auto; height: auto; }
  .site-header .brand img { height: 30px; }
  .nav, .header-tel { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--main); }
  .nav-toggle.active span { background: transparent; }
  .nav-toggle.active span::before { transform: rotate(-45deg) translate(-5px, 5px); }
  .nav-toggle.active span::after { transform: rotate(45deg) translate(-5px, -5px); }
}

/* 移动端抽屉：层级必须高于 .site-header(999)，否则头部 LOGO 会从遮罩上透出来 */
.mobile-mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 1000;
  opacity: 0; visibility: hidden; transition: all .3s;
}
body.nav-open .mobile-mask { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed; top: 0; right: 0; width: 280px; max-width: 82vw; height: 100%;
  background: #fff; z-index: 1001; padding: 0 0 30px;
  transform: translateX(100%); transition: transform .35s ease;
  overflow-y: auto; display: flex; flex-direction: column;
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; height: 60px; border-bottom: 1px solid #eee; flex: none;
}
.mobile-nav-head img { height: 28px; width: auto; }
.mobile-close { font-size: 26px; line-height: 1; color: #999; padding: 4px 8px; }
.mobile-nav > ul { padding: 8px 0; }
.mobile-nav > ul > li > a {
  display: block; padding: 13px 20px; font-size: 15px; color: var(--txt);
  border-bottom: 1px solid #f2f2f2;
}
.mobile-nav > ul > li > a.active { color: var(--main); font-weight: 700; }
.mobile-sub { background: #fafafa; }
.mobile-sub li a { display: block; padding: 10px 20px 10px 34px; font-size: 13.5px; color: var(--sub); }
.mobile-nav-foot { margin-top: auto; padding: 20px; border-top: 1px solid #eee; }
.mobile-nav-foot .tel { display: block; font-size: 20px; font-weight: 700; color: var(--main); }
.mobile-nav-foot .btn { margin-top: 16px; }

/* ==========================================================================
   首页 Banner
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--main-d); }
.hero-track { position: relative; height: 6.5rem; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-bg, .hero-bg-mob {
  position: absolute; inset: 0; background-position: center center;
  background-repeat: no-repeat; background-size: cover;
}
.hero-bg-mob { display: none; }
.hero-slide.active .hero-bg { animation: heroZoom 8s linear forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 32, 64, .66) 0%, rgba(6, 32, 64, 0) 24%),
    linear-gradient(90deg, rgba(6, 32, 64, .8) 0%, rgba(6, 32, 64, .5) 45%, rgba(6, 32, 64, .2) 100%);
}
.hero-content {
  position: relative; z-index: 3; height: 100%; display: flex; align-items: center;
  padding-top: var(--header-h);
}
.hero-box { max-width: 9.6rem; color: #fff; }
.hero-kicker {
  display: inline-block; font-size: var(--fs-sm); letter-spacing: .06rem;
  color: #fff; padding-bottom: .12rem; position: relative; margin-bottom: .2rem;
}
.hero-kicker::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: .5rem; height: 3px; background-image: var(--grad);
}
.hero-title {
  font-size: var(--fs-h1); line-height: 1.4; color: #fff; font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}
.hero-sub {
  font-size: var(--fs-lg); line-height: 1.75; color: rgba(255, 255, 255, .82);
  margin-top: .22rem; max-width: 8.4rem;
}
.hero-actions { display: flex; gap: .16rem; margin-top: .42rem; flex-wrap: wrap; }

.hero-ctrl {
  position: absolute; left: 0; bottom: .5rem; width: 100%; z-index: 4;
}
.hero-ctrl .wrap { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: .12rem; }
.hero-dot {
  width: .44rem; height: 3px; background: rgba(255, 255, 255, .35); transition: all .3s;
}
.hero-dot.active { background-image: var(--grad); width: .7rem; }
.hero-arrow { display: flex; gap: .12rem; }
.hero-arrow button {
  width: .46rem; height: .46rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  color: #fff; font-size: .2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.hero-arrow button:hover { background: #fff; color: var(--main); border-color: #fff; }

@media (max-width: 1100px) {
  .hero-track { height: auto; aspect-ratio: 3 / 4; max-height: 620px; }
  .hero-bg { display: none; }
  .hero-bg-mob { display: block; }
  .hero-content { padding-top: 60px; align-items: flex-end; padding-bottom: 52px; }
  .hero-box { max-width: 100%; }
  .hero-kicker { font-size: 12px; margin-bottom: 10px; }
  .hero-sub { font-size: 13px; margin-top: 10px; line-height: 1.7; }
  .hero-actions { margin-top: 18px; gap: 10px; }
  .hero-ctrl { bottom: 16px; }
  .hero-dot { width: 22px; height: 2px; }
  .hero-dot.active { width: 32px; }
  .hero-arrow { display: none; }
}

/* ==========================================================================
   首页 · 关于我们
   ========================================================================== */
.hm-about { background: #fff; }
.hm-about-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .4rem; margin-bottom: .7rem; }
.hm-about-top .tit { width: 48%; }
.hm-about-top .tit h2 { font-size: var(--fs-h2); line-height: 1.3; color: var(--main); font-weight: 700; }
.hm-about-top .info { width: 48%; padding-top: .06rem; }
.hm-about-top .info .subtit { font-size: var(--fs-h3); line-height: 1.55; color: var(--txt); font-weight: 400; }
.hm-about-top .info .con { font-size: var(--fs-body); line-height: 2.1; color: var(--sub); margin-top: .12rem; }

.hm-about-main { display: flex; align-items: flex-start; gap: .4rem; }
.hm-about-img { width: 48%; position: relative; overflow: hidden; }
.hm-about-img img { width: 100%; height: 4.17rem; object-fit: cover; transition: transform .6s ease; }
.hm-about-img:hover img { transform: scale(1.04); }
.hm-about-num { width: 48%; padding-top: .1rem; text-align: center; }
.hm-about-num ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem .24rem; }
.hm-about-num li { color: #898989; }
.hm-about-num li .num { display: flex; align-items: baseline; justify-content: center; color: var(--txt); }
.hm-about-num li .num p {
  font-size: .54rem; line-height: 1; font-weight: 700; color: var(--main);
  letter-spacing: -.02rem; font-family: "Arial Black", var(--font);
}
.hm-about-num li .num i { font-size: .22rem; font-weight: 700; color: var(--main); margin-left: .03rem; }
.hm-about-num li .num span { font-size: var(--fs-sm); color: var(--sub); margin-left: .04rem; }
.hm-about-num li .txt { font-size: var(--fs-sm); line-height: 1.7; color: var(--sub); margin-top: .1rem; }
/* 资质徽标：与数据指标同区，作为公司级背书（关于我们页有完整的证书区块）
   用浅底描边而非渐变填充 —— 下方「了解更多」已是渐变按钮，避免主次不分 */
.hm-about-honor { display: flex; align-items: center; justify-content: center; gap: .1rem; margin: .2rem 0 .12rem; }
.honor-badge {
  display: inline-flex; align-items: center; height: .32rem; padding: 0 .16rem;
  font-size: var(--fs-sm); font-weight: 700; color: var(--main); letter-spacing: .02rem;
  background: var(--main-050); border: 1px solid rgba(10, 43, 94, .16); border-radius: .04rem;
}
.honor-year { font-size: var(--fs-sm); color: var(--mute); }
.hm-about-num .more-btn { margin-top: .1rem; }

@media (max-width: 1100px) {
  .hm-about-top, .hm-about-main { flex-direction: column; gap: 20px; }
  .hm-about-top { margin-bottom: 26px; }
  .hm-about-top .tit, .hm-about-top .info, .hm-about-img, .hm-about-num { width: 100%; }
  .hm-about-top .info .subtit { font-size: 16px; }
  .hm-about-top .info .con { font-size: 14px; line-height: 1.9; }
  .hm-about-img img { height: auto; aspect-ratio: 16 / 10; }
  .hm-about-num ul { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .hm-about-num li .num p { font-size: 34px; }
  .hm-about-num li .num i { font-size: 15px; }
  .hm-about-num .more-btn { margin-top: 22px; }
}

/* ==========================================================================
   首页 · 新闻中心
   ========================================================================== */
.hm-news { background: var(--bg2); }
.hm-news-box { display: flex; gap: .3rem; align-items: stretch; }
.hm-news-l { width: 56%; position: relative; }
.hm-news-l .slider { position: relative; }
.hm-news-l .item { display: none; background: #fff; }
.hm-news-l .item.active { display: block; }
.hm-news-l .item .img { position: relative; overflow: hidden; }
.hm-news-l .item .img img { width: 100%; height: 4.1rem; object-fit: cover; transition: transform .6s; }
.hm-news-l .item:hover .img img { transform: scale(1.04); }
.hm-news-l .item .txt { padding: .3rem .36rem; }
.hm-news-l .item .tit { font-size: var(--fs-h3); line-height: 1.5; color: var(--txt); }
.hm-news-l .item:hover .tit { color: var(--main); }
.hm-news-l .dots { position: absolute; left: .36rem; bottom: 1.55rem; display: flex; gap: 8px; }
.hm-news-l .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .5); }
.hm-news-l .dots i.on { background-image: var(--grad); }

.hm-news-r { width: 41%; display: flex; flex-direction: column; }
.hm-news-r .imglist { display: flex; gap: .16rem; }
.hm-news-r .imglist a { width: 50%; background: #fff; }
.hm-news-r .imglist .img { position: relative; overflow: hidden; }
.hm-news-r .imglist .img img { width: 100%; height: 2.05rem; object-fit: cover; transition: transform .6s; }
.hm-news-r .imglist a:hover .img img { transform: scale(1.05); }
.hm-news-r .imglist .txt { padding: .16rem .18rem; }
.hm-news-r .imglist .tit { font-size: var(--fs-body); line-height: 1.6; height: .52rem; color: var(--txt); }
.hm-news-r .imglist a:hover .tit { color: var(--main); }

/* 日期角标 */
.n-date {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  line-height: .42rem; padding: 0 .22rem; color: #fff; font-size: var(--fs-sm);
  background: var(--main); border-radius: .2rem 0 0 0;
}

.hm-news-r .textlist { margin-top: .1rem; border-top: 1px solid var(--line); }
.hm-news-r .textlist li { border-bottom: 1px solid var(--line); }
.hm-news-r .textlist a {
  display: flex; align-items: center; justify-content: space-between; gap: .16rem;
  line-height: .74rem; height: .74rem;
}
.hm-news-r .textlist p { font-size: var(--fs-body); color: var(--txt); flex: 1; min-width: 0; }
.hm-news-r .textlist span { font-size: var(--fs-sm); color: var(--mute); flex: none; }
.hm-news-r .textlist a:hover p { color: var(--main); }

@media (max-width: 1100px) {
  .hm-news-box { flex-direction: column; gap: 22px; }
  .hm-news-l, .hm-news-r { width: 100%; }
  .hm-news-l .item .img img { height: auto; aspect-ratio: 16 / 9; }
  .hm-news-l .item .txt { padding: 14px 16px; }
  .hm-news-l .item .tit { font-size: 16px; }
  .hm-news-l .dots { left: 16px; bottom: 78px; }
  .hm-news-r .imglist .img img { height: auto; aspect-ratio: 16 / 11; }
  .hm-news-r .imglist .tit { font-size: 14px; height: auto; }
  .hm-news-r .textlist a { line-height: 1; height: auto; padding: 13px 0; }
  .hm-news-r .textlist p { font-size: 14px; }
  .hm-news-r .textlist span { font-size: 12px; }
  .n-date { line-height: 26px; padding: 0 12px; font-size: 12px; }
}

/* ==========================================================================
   首页 · 产品中心（深蓝底 + 标签页）
   ========================================================================== */
.hm-pro {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #062b57 0%, #0a3d78 45%, #10508f 100%);
}
.hm-pro::before, .hm-pro::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%);
}
.hm-pro::before { width: 9rem; height: 9rem; left: -3rem; top: -4rem; }
.hm-pro::after { width: 7rem; height: 7rem; right: -2.4rem; bottom: -3rem; }
.hm-pro .wrap { position: relative; z-index: 2; }

.hm-pro-tabs { display: flex; }
.hm-pro-tabs button {
  flex: 1; height: .8rem; display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-lg); color: #fff; background: rgba(255, 255, 255, .12);
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-radius: .5rem 0 0 0; transition: all .35s;
}
.hm-pro-tabs button:last-child { border-right: 0; }
.hm-pro-tabs button.on { background-image: var(--grad); font-weight: 700; }

.hm-pro-panels { background: #fff; border-radius: 0 .1rem .1rem .1rem; overflow: hidden; }
.hm-pro-panel { display: none; }
.hm-pro-panel.on { display: block; }
.hm-pro-slider { position: relative; }
.hm-pro-slide { display: none; }
.hm-pro-slide.on { display: block; }
.hm-pro-item {
  display: flex; align-items: center; gap: .4rem;
  padding: .9rem 1.1rem; min-height: 4.6rem;
}
.hm-pro-item .txt { width: 46%; }
.hm-pro-item .txt .cat {
  display: inline-block; font-size: var(--fs-sm); color: var(--main);
  border: 1px solid rgba(21, 89, 167, .3); border-radius: .3rem; padding: .04rem .16rem; margin-bottom: .16rem;
}
.hm-pro-item .txt .tit { font-size: .32rem; line-height: 1.4; color: var(--txt); }
.hm-pro-item .txt .dec { font-size: var(--fs-body); line-height: 2; color: var(--sub); margin: .22rem 0 .3rem; }
.hm-pro-item .img { width: 48%; }
.hm-pro-item .img img { width: 100%; height: 3.6rem; object-fit: contain; }

.hm-pro-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.hm-pro-arrow button {
  width: .5rem; height: .5rem; border-radius: 50%; background: #f2f5f9; color: var(--main);
  display: flex; align-items: center; justify-content: center; font-size: .2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1); transition: all .3s;
}
.hm-pro-arrow button:hover { background-image: var(--grad); color: #fff; }
.hm-pro-arrow.prev { left: .24rem; }
.hm-pro-arrow.next { right: .24rem; }

@media (max-width: 1100px) {
  .hm-pro-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hm-pro-tabs::-webkit-scrollbar { display: none; }
  .hm-pro-tabs button {
    flex: none; min-width: 118px; height: 46px; font-size: 14px; padding: 0 14px;
    border-radius: 22px 0 0 0;
  }
  .hm-pro-panels { border-radius: 0 0 8px 8px; }
  .hm-pro-item { flex-direction: column-reverse; padding: 20px 16px; gap: 16px; min-height: 0; }
  .hm-pro-item .txt, .hm-pro-item .img { width: 100%; }
  .hm-pro-item .txt .tit { font-size: 19px; }
  .hm-pro-item .txt .dec { font-size: 14px; line-height: 1.85; margin: 12px 0 18px; }
  .hm-pro-item .img img { height: auto; max-height: 220px; }
  .hm-pro-arrow { display: none; }
}

/* ==========================================================================
   首页 · 案例图集（横向滚动）
   ========================================================================== */
.hm-photo { position: relative; padding: .78rem 0; overflow: hidden; }
.hm-photo .sec-head { position: static; margin-bottom: .3rem; }
.hm-photo-track-wrap { overflow: hidden; }
.hm-photo-track {
  display: flex; align-items: flex-end; gap: .2rem;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
/* 一屏 4 个：(16rem - 3×0.2rem) / 4 = 3.85rem */
.hm-photo-item { flex: none; width: 3.85rem; }
.hm-photo-item .img { position: relative; overflow: hidden; }
.hm-photo-item .img img { width: 100%; height: 2.56rem; object-fit: cover; transition: transform .6s; }
.hm-photo-item:hover .img img { transform: scale(1.05); }
.hm-photo-item .txt {
  height: .58rem; display: flex; align-items: center; font-size: .15rem; line-height: 1.45;
  color: var(--txt);
}
.hm-photo-item:hover .txt { color: var(--main); }

.hm-photo-ctrl { display: flex; justify-content: flex-end; gap: .12rem; margin-top: .2rem; }
.hm-photo-ctrl button {
  width: .44rem; height: .44rem; border-radius: 50%; background: #fff; color: var(--main);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1); display: flex; align-items: center; justify-content: center;
  font-size: .18rem; transition: all .3s;
}
.hm-photo-ctrl button:hover { background-image: var(--grad); color: #fff; }

@media (max-width: 1100px) {
  .hm-photo { padding: 46px 0; }
  .hm-photo .sec-head { margin-bottom: 20px; }
  .hm-photo-item { width: 62vw; }
  .hm-photo-item .img img { height: auto; aspect-ratio: 3 / 2; }
  .hm-photo-item .txt { height: 42px; font-size: 14px; }
  .hm-photo-ctrl { justify-content: flex-end; margin-top: 14px; }
  .hm-photo-ctrl button { width: 36px; height: 36px; font-size: 15px; }
}

/* ==========================================================================
   首页 · 合作伙伴
   ========================================================================== */
.hm-partner { background: #fff; }
.hm-partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .14rem; }
.hm-partner-grid .item {
  width: 2.36rem; height: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  padding: .16rem; transition: all .3s; background: #fafbfd;
}
.hm-partner-grid .item img { max-height: .58rem; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: all .3s; }
.hm-partner-grid .item:hover { background: var(--main-050); }
.hm-partner-grid .item:hover img { filter: none; opacity: 1; }
.hm-partner-grid .p-name { font-size: var(--fs-sm); color: var(--mute); text-align: center; }

@media (max-width: 1100px) {
  .hm-partner-grid { gap: 8px; }
  .hm-partner-grid .item { width: calc(33.33% - 6px); height: 80px; }
  .hm-partner-grid .item img { max-height: 40px; }
  .hm-partner-grid .p-name { font-size: 12px; }
}

/* ==========================================================================
   首页 · 入口卡片（技术服务 / 联系我们）
   ========================================================================== */
.hm-enter { background: var(--bg2); }
.hm-enter ul { display: flex; gap: .3rem; }
.hm-enter li { width: 50%; background: #fff; transition: all .4s; }
.hm-enter li:hover { box-shadow: 0 12px 34px rgba(0, 0, 0, .1); transform: translateY(-4px); }
.hm-enter li a { display: flex; align-items: center; padding: .6rem .7rem; }
.hm-enter li .icon {
  width: 1.2rem; height: 1.2rem; border-radius: 50%; background-image: var(--grad);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.hm-enter li .icon .ico { width: .5rem; height: .5rem; color: #fff; }
.hm-enter li:hover .icon { animation: iconBounce .5s alternate; }
@keyframes iconBounce { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
.hm-enter li .text { margin-left: .4rem; }
.hm-enter li .text .tit { font-size: .3rem; font-weight: 700; color: var(--main); }
.hm-enter li .text .more {
  font-size: var(--fs-sm); color: var(--mute); margin-top: .08rem;
  display: flex; align-items: center; gap: .06rem;
}
.hm-enter li:hover .text .more { color: var(--main); }
.hm-enter li .text .more .ico { width: .14rem; height: .14rem; transition: transform .3s; }
.hm-enter li:hover .text .more .ico { transform: translateX(4px); }

@media (max-width: 1100px) {
  .hm-enter ul { flex-direction: column; gap: 16px; }
  .hm-enter li { width: 100%; }
  .hm-enter li a { padding: 22px; }
  .hm-enter li .icon { width: 64px; height: 64px; }
  .hm-enter li .icon .ico { width: 28px; height: 28px; }
  .hm-enter li .text { margin-left: 18px; }
  .hm-enter li .text .tit { font-size: 19px; }
}

/* ==========================================================================
   内页 Banner / 面包屑
   ========================================================================== */
.page-banner {
  position: relative; height: 4.4rem; display: flex; align-items: flex-end;
  background-color: var(--main-d); background-size: cover; background-position: center center;
  padding-top: var(--header-h); overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 32, 64, .84) 0%, rgba(6, 32, 64, .40) 24%, rgba(6, 32, 64, .12) 46%, rgba(6, 32, 64, .58) 100%),
    linear-gradient(105deg, rgba(6, 32, 64, .92) 0%, rgba(6, 32, 64, .60) 44%, rgba(6, 32, 64, .72) 100%);
}
.page-banner .wrap { position: relative; z-index: 2; padding-bottom: .7rem; color: #fff; }
.page-banner h1 { font-size: .42rem; line-height: 1.3; color: #fff; }
.page-banner p { font-size: var(--fs-lg); color: rgba(255, 255, 255, .78); margin-top: .12rem; max-width: 10rem; }

@media (max-width: 1100px) {
  .page-banner { height: 240px; padding-top: 60px; }
  .page-banner .wrap { padding-bottom: 24px; }
  .page-banner h1 { font-size: 22px; }
  .page-banner p { font-size: 13px; margin-top: 8px; }
}

/* 面包屑 */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .08rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); margin-bottom: .16rem; }
.breadcrumb a { color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .6; }
.breadcrumb span { color: #fff; }

/* 灰底面包屑条（内页正文顶部） */
.localtion { background: var(--bg2); border-bottom: 1px solid var(--line); }
.localtion .wrap { display: flex; align-items: center; justify-content: space-between; gap: .2rem; line-height: .9rem; }
.localtion .breadcrumb { margin-bottom: 0; color: var(--mute); }
.localtion .breadcrumb a { color: var(--mute); }
.localtion .breadcrumb a:hover { color: var(--main); }
.localtion .breadcrumb span { color: var(--txt); }
.localtion .lc-title { font-size: var(--fs-lg); color: var(--main); font-weight: 700; }

@media (max-width: 1100px) {
  .localtion .wrap { line-height: 46px; }
  .localtion .breadcrumb { font-size: 12px; }
}

/* ==========================================================================
   通用卡片：产品
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .12rem; margin-bottom: .5rem; }
.filter-bar a {
  display: inline-flex; align-items: center; height: .46rem; padding: 0 .3rem;
  font-size: var(--fs-body); color: var(--sub); background: var(--bg2);
  border-radius: .46rem .46rem .46rem 0; transition: all .3s;
}
.filter-bar a:hover { color: var(--main); background: var(--main-050); }
.filter-bar a.active { background-image: var(--grad); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .24rem; }
.prod-card { display: block; background: #fff; border: 1px solid var(--line); transition: all .35s; overflow: hidden; }
.prod-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .1); transform: translateY(-4px); border-color: transparent; }
.prod-thumb { overflow: hidden; background: #f4f6f9; }
.prod-thumb img { width: 100%; height: 2.1rem; object-fit: cover; transition: transform .55s; }
.prod-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-body { padding: .24rem .26rem .28rem; }
.prod-cat { font-size: var(--fs-sm); color: var(--main); margin-bottom: .06rem; }
.prod-name { font-size: var(--fs-lg); line-height: 1.5; color: var(--txt); min-height: .54rem; }
.prod-model { font-size: var(--fs-sm); color: var(--mute); margin-top: .04rem; }
.prod-sum { font-size: var(--fs-sm); line-height: 1.8; color: var(--sub); margin-top: .1rem; height: .76rem; overflow: hidden; }
.prod-foot {
  margin-top: .16rem; padding-top: .14rem; border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--mute); display: flex; align-items: center; justify-content: space-between;
}
.prod-card:hover .prod-foot { color: var(--main); }

@media (max-width: 1400px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) {
  .filter-bar { margin-bottom: 24px; gap: 8px; }
  .filter-bar a { height: 36px; padding: 0 18px; font-size: 13px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-thumb img { height: auto; aspect-ratio: 4 / 3; }
  .prod-body { padding: 12px 12px 14px; }
  .prod-name { font-size: 15px; }
  .prod-sum { font-size: 12.5px; height: 3.4em; margin-top: 6px; }
  .prod-foot { font-size: 12px; margin-top: 10px; }
}
@media (max-width: 640px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }

/* 分类板块 */
.cat-block { margin-bottom: .7rem; }

/* 标签 */
.tag-row { display: flex; flex-wrap: wrap; gap: .1rem; }
.tag-row span {
  display: inline-block; padding: .06rem .18rem; font-size: var(--fs-sm);
  color: var(--main); background: var(--main-050); border-radius: .3rem;
}

/* 空状态 */
.empty { padding: 1.2rem 0; text-align: center; color: var(--mute); }
.empty .ico { width: .8rem; height: .8rem; color: #d5dbe3; margin-bottom: .16rem; }
.empty p { font-size: var(--fs-body); }

/* ==========================================================================
   新闻列表 / 案例列表
   ========================================================================== */
.news-list { display: grid; gap: .24rem; }
.news-item {
  display: flex; gap: .3rem; background: #fff; border: 1px solid var(--line);
  padding: .24rem; transition: all .35s;
}
.news-item:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .09); border-color: transparent; transform: translateY(-3px); }
.news-thumb { width: 2.9rem; flex: none; overflow: hidden; background: #f4f6f9; }
.news-thumb img { width: 100%; height: 1.9rem; object-fit: cover; transition: transform .55s; }
.news-item:hover .news-thumb img { transform: scale(1.06); }
.news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.news-meta { display: flex; gap: .18rem; font-size: var(--fs-sm); color: var(--mute); margin-bottom: .1rem; }
.news-meta .n-cat { color: var(--main); }
.news-title { font-size: var(--fs-h3); line-height: 1.5; color: var(--txt); }
.news-item:hover .news-title { color: var(--main); }
.news-sum { font-size: var(--fs-sm); line-height: 1.85; color: var(--sub); margin-top: .1rem; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .24rem; }
.case-card { position: relative; display: block; overflow: hidden; background: #111; }
.case-card img { width: 100%; height: 3rem; object-fit: cover; transition: transform .6s; opacity: .92; }
.case-card:hover img { transform: scale(1.05); }
.case-info {
  /* 案例封面里有大量浅色软件截图，遮罩要比图片型封面更重，否则白色标题压不住 */
  position: absolute; left: 0; bottom: 0; width: 100%; padding: .62rem .28rem .26rem; color: #fff;
  background: linear-gradient(180deg, rgba(6, 32, 64, 0) 0%, rgba(6, 32, 64, .70) 12%, rgba(6, 32, 64, .94) 38%, rgba(6, 32, 64, .97) 100%);
}
.case-info .c-cat { font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); margin-bottom: .06rem; }
.case-info h3 { font-size: var(--fs-lg); line-height: 1.5; color: #fff; }
.case-info p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); margin-top: .08rem; line-height: 1.7; }

@media (max-width: 1100px) {
  .news-item { gap: 14px; padding: 12px; }
  .news-thumb { width: 120px; }
  .news-thumb img { height: 90px; }
  .news-meta { font-size: 12px; gap: 10px; margin-bottom: 6px; }
  .news-title { font-size: 15px; }
  .news-sum { font-size: 12.5px; margin-top: 6px; }
  .case-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-card img { height: auto; aspect-ratio: 16 / 10; }
  .case-info { padding: 18px 16px 14px; }
  .case-info h3 { font-size: 16px; }
}

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: .1rem; margin-top: .6rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: .52rem; height: .52rem; padding: 0 .14rem; display: inline-flex;
  align-items: center; justify-content: center; font-size: var(--fs-body);
  background: var(--bg2); color: var(--sub); border-radius: 50%;
}
.pager a:hover { background: var(--main); color: #fff; }
.pager .current { background-image: var(--grad); color: #fff; }
.pager .disabled { opacity: .45; }

@media (max-width: 1100px) {
  .pager { margin-top: 30px; gap: 6px; }
  .pager a, .pager span { min-width: 36px; height: 36px; font-size: 13px; }
}

/* ==========================================================================
   侧栏
   ========================================================================== */
.layout-side { display: grid; grid-template-columns: 1fr 3.2rem; gap: .44rem; align-items: start; }
.news-side { display: grid; gap: .24rem; }
.side-card { background: #fff; border: 1px solid var(--line); padding: .26rem .28rem; }
.side-card h3 {
  font-size: var(--fs-lg); color: var(--txt); padding-bottom: .16rem; margin-bottom: .16rem;
  border-bottom: 1px solid var(--line); position: relative;
}
.side-card h3::after { content: ''; position: absolute; left: 0; bottom: -1px; width: .4rem; height: 2px; background-image: var(--grad); }
.side-card p { font-size: var(--fs-sm); line-height: 1.85; color: var(--sub); }
.side-links li { border-bottom: 1px dashed var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: .14rem 0; font-size: var(--fs-sm); color: var(--sub); }
.side-links a:hover { color: var(--main); }
.side-links .date { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }

/* 侧栏信息列表（案例项目信息等） */
.meta-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: .12rem;
  padding: .13rem 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm);
}
.meta-list li:last-child { border-bottom: 0; }
.meta-list li span { flex: 0 0 auto; white-space: nowrap; color: var(--mute); }
.meta-list li em { font-style: normal; text-align: right; color: var(--txt); line-height: 1.6; }

@media (max-width: 1100px) {
  .layout-side { grid-template-columns: 1fr; gap: 26px; }
  .side-card { padding: 18px; }
}

/* ==========================================================================
   资质证书展示（关于我们页）
   证书图必须完整可见，不能用 .split-media 的固定高度 + object-fit:cover
   ========================================================================== */
.honor-split {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: .56rem; align-items: center;
}
.honor-cert {
  display: block; background: #fff; border: 1px solid var(--line); padding: .1rem;
  transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.honor-cert:hover {
  border-color: var(--main); box-shadow: 0 18px 46px rgba(10, 43, 94, .16); transform: translateY(-4px);
}
.honor-cert img { display: block; width: 100%; height: auto; }
.honor-title { font-size: var(--fs-h3); line-height: 1.35; color: var(--txt); }
.honor-dec { margin-top: .08rem; font-size: var(--fs-body); color: var(--sub); }
.honor-body { margin-top: .2rem; font-size: var(--fs-sm); line-height: 1.95; color: var(--sub); }
.honor-body strong { color: var(--main); font-weight: 700; }
.honor-org { margin-top: .18rem; font-size: var(--fs-sm); line-height: 1.8; color: var(--mute); }

@media (max-width: 1100px) {
  .honor-split { grid-template-columns: 1fr; gap: 24px; }
  .honor-cert { padding: 6px; }
}

/* ==========================================================================
   图文分栏 / 优势卡片 / 业务卡片
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; align-items: center; }
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 4rem; object-fit: cover; }
.split-media .badge {
  position: absolute; left: 0; bottom: 0; padding: .2rem .3rem;
  background-image: var(--grad); color: #fff;
}
.split-media .badge b { display: block; font-size: .34rem; line-height: 1.2; }
.split-media .badge span { font-size: var(--fs-sm); opacity: .9; }

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .24rem; }
.adv-item { background: #fff; border: 1px solid var(--line); padding: .38rem .3rem; transition: all .35s; }
.adv-item:hover { border-color: transparent; box-shadow: 0 16px 40px rgba(0, 0, 0, .1); transform: translateY(-5px); }
.adv-icon {
  width: .78rem; height: .78rem; border-radius: 50%; background: var(--main-050);
  display: flex; align-items: center; justify-content: center; margin-bottom: .2rem;
}
.adv-icon .ico { width: .38rem; height: .38rem; color: var(--main); }
.adv-item:hover .adv-icon { background-image: var(--grad); }
.adv-item:hover .adv-icon .ico { color: #fff; }
.adv-title { font-size: var(--fs-lg); color: var(--txt); margin-bottom: .1rem; }
.adv-desc { font-size: var(--fs-sm); line-height: 1.85; color: var(--sub); }

.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .24rem; }
.biz-card { display: block; background: #fff; border: 1px solid var(--line); transition: all .35s; overflow: hidden; }
.biz-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .1); transform: translateY(-5px); border-color: transparent; }
.biz-thumb { overflow: hidden; }
.biz-thumb img { width: 100%; height: 2rem; object-fit: cover; transition: transform .55s; }
.biz-card:hover .biz-thumb img { transform: scale(1.06); }
.biz-body { padding: .26rem .28rem .3rem; }
.biz-name { font-size: var(--fs-lg); color: var(--txt); }
.biz-en { font-size: 12px; letter-spacing: .02rem; color: var(--mute); text-transform: uppercase; margin-top: .04rem; }
.biz-sum { font-size: var(--fs-sm); line-height: 1.85; color: var(--sub); margin-top: .12rem; }
.biz-tags { display: flex; flex-wrap: wrap; gap: .08rem; margin-top: .14rem; }
.biz-tags span { font-size: 12px; color: var(--main); background: var(--main-050); padding: .03rem .12rem; border-radius: .2rem; }
.biz-more { display: inline-block; font-size: var(--fs-sm); color: var(--main); margin-top: .16rem; }

@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split-media img { height: auto; aspect-ratio: 16 / 10; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .adv-item { padding: 20px 16px; }
  .adv-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .adv-icon .ico { width: 24px; height: 24px; }
  .adv-title { font-size: 15px; }
  .adv-desc { font-size: 12.5px; line-height: 1.75; }
  .biz-grid { grid-template-columns: 1fr; gap: 14px; }
  .biz-thumb img { height: auto; aspect-ratio: 16 / 9; }
  .biz-body { padding: 16px; }
}

/* 数据条 */
.stat-strip { background: var(--main-d); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(2.2rem, 1fr)); }
.stat-cell { padding: .5rem .3rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat-cell:last-child { border-right: 0; }
.stat-value { font-size: .48rem; font-weight: 700; line-height: 1.2; color: #fff; }
.stat-value small { font-size: var(--fs-body); font-weight: 400; margin-left: .04rem; color: rgba(255, 255, 255, .7); }
.stat-label { font-size: var(--fs-sm); color: rgba(255, 255, 255, .68); margin-top: .06rem; }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 22px 10px; }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stat-value { font-size: 26px; }
  .stat-value small { font-size: 13px; }
  .stat-label { font-size: 12px; }
}

/* ==========================================================================
   详情页
   ========================================================================== */
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; align-items: start; }
.gallery-main { border: 1px solid var(--line); background: #f7f9fc; }
.gallery-main img { width: 100%; height: 4.4rem; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .1rem; margin-top: .12rem; }
.gallery-thumbs img {
  width: 1.1rem; height: .82rem; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; transition: all .25s;
}
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--main); }

.detail-info h1, .detail-info h2 { font-size: .34rem; line-height: 1.4; color: var(--txt); }
.detail-model { font-size: var(--fs-sm); color: var(--mute); margin-top: .08rem; }
.detail-lead { font-size: var(--fs-body); line-height: 2; color: var(--sub); margin-top: .16rem; }
.detail-hl { display: grid; gap: .1rem; margin-top: .2rem; }
.detail-hl li {
  position: relative; padding-left: .24rem; font-size: var(--fs-sm); line-height: 1.8; color: var(--sub);
}
.detail-hl li::before {
  content: ''; position: absolute; left: 0; top: .11rem; width: .1rem; height: .1rem;
  border-radius: 50%; background-image: var(--grad);
}
.detail-cta { display: flex; gap: .14rem; margin-top: .32rem; flex-wrap: wrap; }

.tab-head { display: flex; border-bottom: 1px solid var(--line); margin-bottom: .36rem; gap: .1rem; flex-wrap: wrap; }
.tab-head button {
  position: relative; padding: .16rem .3rem; font-size: var(--fs-lg); color: var(--sub); transition: all .3s;
}
.tab-head button::after {
  content: ''; position: absolute; left: 50%; bottom: -1px; width: 0; height: 2px;
  background-image: var(--grad); transform: translateX(-50%); transition: width .3s;
}
.tab-head button.active { color: var(--main); font-weight: 700; }
.tab-head button.active::after { width: 70%; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.param-table { border: 1px solid var(--line); }
.param-table th, .param-table td { padding: .16rem .22rem; font-size: var(--fs-sm); border-bottom: 1px solid var(--line); text-align: left; }
.param-table tr:last-child th, .param-table tr:last-child td { border-bottom: 0; }
.param-table th { width: 30%; background: #fafbfd; color: var(--txt); font-weight: 400; }
.param-table td { color: var(--sub); }

/* 案例图集：等比完整显示，不裁切；点击看大图 */
.case-gallery { margin-top: .32rem; display: grid; grid-template-columns: 1fr 1fr; gap: .14rem; align-items: start; }
.case-gallery-item {
  display: block; border: 1px solid var(--line); background: #f5f7fa; overflow: hidden;
  aspect-ratio: 16 / 9; cursor: zoom-in;
}
.case-gallery-item img {
  width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .45s ease;
}
.case-gallery-item:hover img { transform: scale(1.02); }
.case-gallery-item:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
.content-block img, .case-gallery-item img { cursor: zoom-in; }

/* 大图浮层 */
.lightbox {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 56px 40px;
  background: rgba(3, 12, 26, .93);
}
.lightbox.on { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 100%; display: block;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55); background: #fff;
}
.lightbox .lb-close {
  position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; line-height: 42px;
  text-align: center; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 26px; cursor: pointer; user-select: none;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, .26); }
.lightbox .lb-cap {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  color: rgba(255, 255, 255, .72); font-size: 14px; padding: 0 24px;
}
body.lb-open { overflow: hidden; }

@media (max-width: 1100px) {
  .case-gallery { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .lightbox { padding: 44px 12px; }
  .lightbox .lb-close { top: 8px; right: 10px; width: 38px; height: 38px; line-height: 36px; }
}

/* 富文本正文 */
.content-block { font-size: var(--fs-body); line-height: 2.1; color: var(--sub); }
.content-block h1, .content-block h2, .content-block h3, .content-block h4 {
  color: var(--txt); margin: .34rem 0 .16rem; line-height: 1.5;
}
.content-block h2 { font-size: .28rem; }
.content-block h3 { font-size: var(--fs-h3); }
.content-block h4 { font-size: var(--fs-lg); }
.content-block p { margin-bottom: .16rem; }
.content-block img { max-width: 100%; height: auto; margin: .18rem 0; }.content-block ul, .content-block ol { margin: .14rem 0 .18rem; padding-left: .24rem; }
.content-block ul li { list-style: disc; margin-bottom: .06rem; }
.content-block ol li { list-style: decimal; margin-bottom: .06rem; }
.content-block a { color: var(--main); text-decoration: underline; }
.content-block table { margin: .18rem 0; border: 1px solid var(--line); }
.content-block table th, .content-block table td { border: 1px solid var(--line); padding: .12rem .16rem; font-size: var(--fs-sm); }
.content-block strong, .content-block b { color: var(--txt); }
.content-block blockquote {
  border-left: 3px solid var(--main); background: var(--main-050);
  padding: .16rem .22rem; margin: .18rem 0; color: var(--sub);
}

/* 文章 */
.article-head { text-align: center; padding-bottom: .3rem; border-bottom: 1px solid var(--line); margin-bottom: .34rem; }
.article-head h1, .article-head h2 { font-size: .32rem; line-height: 1.45; color: var(--txt); }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem; font-size: var(--fs-sm); color: var(--mute); margin-top: .14rem; }
.article-body { max-width: 12rem; margin: 0 auto; }
.article-nav {
  display: flex; justify-content: space-between; gap: .2rem; flex-wrap: wrap;
  margin-top: .5rem; padding-top: .24rem; border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.article-nav a { color: var(--sub); }
.article-nav a:hover { color: var(--main); }

@media (max-width: 1100px) {
  .detail-split { grid-template-columns: 1fr; gap: 24px; }
  .gallery-main img { height: auto; aspect-ratio: 4 / 3; }
  .detail-info h1, .detail-info h2 { font-size: 22px; }
  .detail-lead { font-size: 14px; }
  .tab-head button { padding: 12px 16px; font-size: 15px; }
  .param-table th, .param-table td { padding: 10px 12px; font-size: 13px; }
  .content-block { font-size: 14px; line-height: 1.95; }
  .content-block h2 { font-size: 20px; }
  .content-block h3 { font-size: 17px; }
  .article-head h1, .article-head h2 { font-size: 20px; }
  .article-meta { font-size: 12px; gap: 12px; }
  .article-nav { font-size: 13px; margin-top: 30px; }
}

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: .44rem; align-items: stretch; }
.contact-info { display: grid; gap: .14rem; }
.contact-card {
  display: flex; gap: .18rem; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); padding: .22rem .24rem; transition: all .3s;
}
.contact-card:hover { border-color: rgba(21, 89, 167, .35); box-shadow: 0 10px 26px rgba(0, 0, 0, .06); }
.ci-icon {
  width: .54rem; height: .54rem; border-radius: 50%; background: var(--main-050);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ci-icon .ico { width: .26rem; height: .26rem; color: var(--main); }
.contact-card h4 { font-size: var(--fs-body); color: var(--txt); margin-bottom: .04rem; }
.contact-card p { font-size: var(--fs-sm); line-height: 1.85; color: var(--sub); }
.contact-card p strong { color: var(--main); font-size: var(--fs-lg); font-weight: 700; }
.contact-card a { color: var(--sub); }
.contact-card a:hover { color: var(--main); }

.contact-card-qr { align-items: center; }
.contact-card-qr .qr-body { flex: 1; min-width: 0; }
.contact-card-qr .qr-caption { color: var(--txt); }
.contact-card-qr .qr-note { font-size: 12px; color: var(--mute); }
.contact-card-qr .qr-box { flex: none; width: 1.2rem; height: 1.2rem; padding: 4px; border: 1px solid var(--line); }
.contact-card-qr .qr-img { width: 100%; height: 100%; object-fit: contain; }
/* 提交留言后高亮二维码：外圈信号青呼吸 + 码面轻微放大，把视线引到扫码 */
.contact-card-qr.is-flash {
  border-color: #35c4d6;
  animation: qrFlash 1.2s ease 2;
}
.contact-card-qr.is-flash .qr-img { animation: qrImgPulse 1.2s ease 2; }
@keyframes qrFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 196, 214, 0), 0 0 0 0 rgba(53, 196, 214, 0); }
  45%      { box-shadow: 0 0 0 9px rgba(53, 196, 214, .26), 0 0 30px 6px rgba(53, 196, 214, .40); }
}
@keyframes qrImgPulse {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.05); }
}

/* 表单 */
.form-card { background: #fff; border: 1px solid var(--line); padding: .38rem .4rem; }
.form-card h3 { font-size: var(--fs-h3); color: var(--txt); }
.form-card .f-tip { font-size: var(--fs-sm); color: var(--sub); margin: .08rem 0 .24rem; line-height: 1.8; }
.form-card .f-tip.is-notice {
  color: #a4580a; background: #fff8ec; border: 1px solid #ffe2b0;
  padding: .1rem .14rem; border-radius: 4px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .16rem .18rem; }
.form-row { display: flex; flex-direction: column; gap: .06rem; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-size: var(--fs-sm); color: var(--txt); }
.form-row label em { color: #e4393c; font-style: normal; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 3px;
  padding: .12rem .16rem; font-size: var(--fs-sm); color: var(--txt);
  background: #fff; transition: border-color .25s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--main); }
.form-row textarea { min-height: 1.3rem; resize: vertical; line-height: 1.8; }
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 10px; padding-right: 34px; }
.form-foot { display: flex; align-items: center; gap: .18rem; margin-top: .24rem; flex-wrap: wrap; }
.form-msg { font-size: var(--fs-sm); }
.form-msg.ok { color: #1a9c53; }
.form-msg.err { color: #e4393c; }
.form-note { font-size: 12px; color: var(--mute); margin-top: .14rem; }
.form-card.is-locked .form-row input, .form-card.is-locked .form-row textarea,
.form-card.is-locked .form-row select { background: #f7f8fa; color: var(--mute); cursor: not-allowed; }

/* 地图 */
.map-box { height: 3.8rem; background: #eef2f7; border: 1px solid var(--line); overflow: hidden; }
.map-figure { display: block; width: 100%; height: 100%; }
.map-figure img { width: 100%; height: 100%; object-fit: cover; }
.map-ph {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .08rem; text-align: center; color: var(--sub); padding: .3rem;
}
.map-ph .pin { width: .5rem; height: .5rem; color: var(--main); }
.map-ph strong { font-size: var(--fs-lg); color: var(--txt); }

@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-card { padding: 20px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 14px; gap: 12px; }
  .ci-icon { width: 40px; height: 40px; }
  .ci-icon .ico { width: 20px; height: 20px; }
  .contact-card p strong { font-size: 16px; }
  .contact-card-qr .qr-box { width: 96px; height: 96px; }
  .map-box { height: 240px; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--main-d); color: #fff; }
.foot-links { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: .26rem 0; }
.foot-links .wrap { display: flex; align-items: flex-start; gap: .2rem; flex-wrap: wrap; }
.foot-links .lb { color: rgba(255, 255, 255, .5); font-size: var(--fs-sm); line-height: 1.9; flex: none; }
.foot-links ul { display: flex; flex-wrap: wrap; gap: 0 .28rem; }
.foot-links li a { color: rgba(255, 255, 255, .82); font-size: var(--fs-sm); line-height: 1.9; }
.foot-links li a:hover { color: #fff; }

.foot-main { padding: .5rem 0; }
.foot-main .wrap { display: flex; gap: .4rem; align-items: flex-start; flex-wrap: wrap; }
.foot-brand { width: 30%; flex: none; }
.foot-brand img { height: .4rem; width: auto; margin-bottom: .22rem; }
.foot-brand .tel-label { font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); }
.foot-brand .tel-num { font-size: .3rem; font-weight: 700; color: #35c4d6; line-height: 1.4; }
.foot-brand ul { margin-top: .16rem; display: grid; gap: .08rem; }
.foot-brand li { display: flex; gap: .08rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); line-height: 1.7; }
.foot-brand li .ico { width: .16rem; height: .16rem; margin-top: .05rem; color: rgba(255, 255, 255, .5); }
.foot-brand li a { color: rgba(255, 255, 255, .72); }
.foot-brand li a:hover { color: #fff; }

.foot-nav { flex: 1; display: flex; justify-content: space-between; gap: .2rem; min-width: 0; }
.foot-nav dl { flex: none; }
.foot-nav dt { margin-bottom: .14rem; }
.foot-nav dt a { font-size: var(--fs-body); color: #fff; }
.foot-nav dd a { font-size: var(--fs-sm); color: rgba(255, 255, 255, .66); line-height: 1.9; }
.foot-nav dd a:hover { color: #fff; }

.foot-qr { width: 1.6rem; flex: none; text-align: center; }
.foot-qr img { width: 1.2rem; height: 1.2rem; object-fit: contain; margin: 0 auto; background: #fff; padding: 4px; }
.foot-qr p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); margin-top: .08rem; }

.foot-copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: .2rem 0; }
.foot-copy .wrap { display: flex; align-items: center; justify-content: space-between; gap: .2rem; flex-wrap: wrap; }
.foot-copy span { font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); }
.foot-copy a { color: rgba(255, 255, 255, .6); }
.foot-copy a:hover { color: #fff; }

@media (max-width: 1100px) {
  .foot-main .wrap { flex-direction: column; gap: 24px; }
  .foot-brand, .foot-nav, .foot-qr { width: 100%; }
  .foot-brand .tel-num { font-size: 22px; }
  .foot-nav { display: none; }
  .foot-qr { text-align: left; }
  .foot-qr img { margin: 0; width: 100px; height: 100px; }
  .foot-copy .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-copy span { font-size: 12px; line-height: 1.7; }
}

/* ==========================================================================
   右侧浮动工具条
   ========================================================================== */
.float-bar {
  position: fixed; right: 0; bottom: 18%; z-index: 900;
  background: var(--main); border-radius: 4px 0 0 4px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column;
}
.float-bar a, .float-bar button {
  position: relative; width: .56rem; height: .56rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; color: #fff; border-top: 1px solid rgba(255, 255, 255, .14);
}
.float-bar a:first-child { border-top: 0; }
.float-bar .ico { width: .22rem; height: .22rem; }
.float-bar span { font-size: 10px; line-height: 1; }
.float-bar a:hover, .float-bar button:hover { background-image: var(--grad); color: #fff; }
.float-bar .float-top { opacity: 0; visibility: hidden; transition: all .3s; height: 0; overflow: hidden; }
.float-bar .float-top.show { opacity: 1; visibility: visible; height: .56rem; }

@media (max-width: 1100px) {
  .float-bar { display: none; }
}

/* ==========================================================================
   404
   ========================================================================== */
.err-wrap { padding: 1.6rem 0 1.8rem; text-align: center; }
.err-code { font-size: 1.2rem; font-weight: 800; line-height: 1; color: #dbe7f6; letter-spacing: .04rem; }
.err-wrap h1 { font-size: .34rem; color: var(--txt); margin-top: -.1rem; }
.err-wrap p { font-size: var(--fs-body); color: var(--sub); max-width: 5.4rem; margin: .16rem auto .34rem; line-height: 1.9; }
.err-actions { display: flex; gap: .14rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .err-wrap { padding: 80px 0 90px; }
  .err-code { font-size: 76px; }
  .err-wrap h1 { font-size: 22px; }
  .err-wrap p { font-size: 14px; }
}

/* 提示条（后台公告类信息） */
.notice-bar {
  display: flex; gap: .1rem; align-items: flex-start;
  background: var(--main-050); border-left: 3px solid var(--main);
  padding: .14rem .18rem; font-size: var(--fs-sm); color: var(--sub); line-height: 1.8;
}
