/* 东莞市永合齿轮有限公司 官网样式 · 深蓝科技感 v2 */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --navy: #1a2b4a;
  --navy-deep: #0f1a30;
  --text: #1f2937;
  --gray: #64748b;
  --light: #f4f7fb;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 28px rgba(26, 43, 74, .12);
  --shadow-hover: 0 18px 36px rgba(26, 43, 74, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: var(--text); line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.content { max-width: none; margin: 0 auto; padding: 0 40px; }
/* 导航、面包屑、页脚保持 1200px 居中 */
.topbar .content,
.header .content,
.breadcrumb .content,
.footer .content { max-width: 1200px; padding: 0 20px; }
.flex { display: flex; }

/* ===== 顶部信息条 ===== */
.topbar { background: var(--navy); color: rgba(255,255,255,.8); font-size: 13px; }
.topbar .content { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .lang { display: flex; gap: 8px; align-items: center; }
.topbar .lang a { padding: 2px 10px; border-radius: 3px; }
.topbar .lang a.on { background: var(--primary); color: #fff; }

/* ===== 头部导航 ===== */
.header { background: #fff; box-shadow: 0 2px 14px rgba(15,26,48,.06); position: sticky; top: 0; z-index: 100; }

/* ===== 首页透明导航（浮在 Banner 上） ===== */
.home .header { background: transparent; box-shadow: none; position: absolute; top: 38px; left: 0; right: 0; z-index: 10; }
.home .header .content { border-bottom: 1px solid rgba(255,255,255,.15); }
.home .nav li a { color: #fff; }
.home .nav li a:hover,
.home .nav li a.on { color: #60a5fa; }
.home .nav li a.on::after { background: #60a5fa; }
.home .logo-txt b { color: #fff; }
.home .header-tel { color: #fff; }
.home .logo-txt span { color: rgba(255,255,255,.7); }
.header .content { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo img { height: 54px; width: auto; }
.logo .logo-txt { line-height: 1.3; }
.logo .logo-txt b { font-size: 17px; color: var(--navy); display: block; letter-spacing: .5px; white-space: nowrap; }
.logo .logo-txt span { font-size: 9px; color: var(--gray); letter-spacing: 0; white-space: nowrap; }
.nav { display: flex; flex-wrap: nowrap; }
.nav li a { display: block; padding: 0 9px; height: 82px; line-height: 82px; font-size: 15px; color: var(--text); position: relative; transition: color .2s; white-space: nowrap; }
.nav li a:hover, .nav li a.on { color: var(--primary); }
.nav li a.on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 3px; background: var(--primary); }
.header-tel { display: inline-block; color: var(--navy); font-weight: bold; font-size: 22px; white-space: nowrap; text-decoration: none; letter-spacing: 1px; }
.navBtn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.navBtn span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ===== Banner 轮播 + Hero Overlay ===== */
.banner { position: relative; overflow: hidden; height: calc(100vh - 38px); min-height: 520px; max-height: 900px; z-index: 1; }
.banner .slides { position: relative; height: 100%; }
.banner .slide { display: none; position: relative; height: 100%; }
.banner .slide.active { display: block; }
.banner .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.banner .dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.banner .dots span { width: 36px; height: 4px; background: rgba(255,255,255,.45); cursor: pointer; border-radius: 2px; transition: background .3s, width .3s; }
.banner .dots span.on { background: #fff; width: 52px; }
.banner .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); font-size: 22px; cursor: pointer; border-radius: 50%; opacity: 0; transition: all .3s; z-index: 3; backdrop-filter: blur(4px); }
.banner:hover .arrow { opacity: 1; }
.banner .arrow:hover { background: rgba(255,255,255,.3); }
.banner .arrow.prev { left: 24px; }
.banner .arrow.next { right: 24px; }
/* Hero overlay on each slide */
.banner .slide { position: relative; }
.banner .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,26,48,.35) 0%, rgba(15,26,48,.1) 50%, rgba(15,26,48,0) 100%); pointer-events: none; }

/* ===== 通用区块标题 ===== */
.section { padding: 68px 0; }
.section.bg { background: var(--light); }
.title { text-align: center; font-size: 32px; color: var(--navy); margin-bottom: 12px; font-weight: bold; letter-spacing: .5px; }
.title span { display: block; font-size: 13px; color: #94a3b8; letter-spacing: 4px; font-weight: normal; margin-top: 6px; text-transform: uppercase; }
.title::after { content: ""; display: block; width: 52px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); margin: 16px auto 0; border-radius: 2px; }
.subtitle { text-align: center; color: var(--gray); max-width: 860px; margin: 18px auto 40px; font-size: 15px; line-height: 1.8; }

/* ===== 产品分类大卡片（参考同行：左右分栏） ===== */
/* 产品中心宽屏：打破 1200px 限制 */
#products > .content { max-width: none; padding: 0 40px; }
#products .title,
#products .subtitle,
#products .tab-bar { max-width: 1200px; margin-left: auto; margin-right: auto; }
.cat-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px 36px; display: flex; align-items: center; gap: 24px; cursor: pointer; transition: all .3s; position: relative; overflow: hidden; min-height: 220px; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,43,74,.14); border-color: var(--primary); }
.cat-card:hover .cat-pic img { transform: scale(1.08); }
.cat-card:hover .cat-btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.cat-card .cat-text { flex: 1; min-width: 0; }
.cat-card .cat-en { font-size: 12px; color: #94a3b8; letter-spacing: 3px; text-transform: uppercase; }
.cat-card h3 { font-size: 26px; color: var(--navy); margin: 8px 0 10px; font-weight: 700; line-height: 1.25; }
.cat-card .cat-text p { font-size: 14px; color: var(--gray); line-height: 1.7; margin: 0 0 18px; }
.cat-card .cat-btn { display: inline-block; padding: 9px 26px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 13px; color: var(--navy); background: #fff; transition: all .25s; letter-spacing: 1px; }
.cat-card .cat-pic { flex: 0 0 42%; display: flex; justify-content: center; align-items: center; }
.cat-card .cat-pic img { max-width: 100%; max-height: 180px; object-fit: contain; transition: transform .45s; }

/* ===== 产品网格 ===== */
.prod-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 36px 0 30px; }
.prod-tabs button { border: 1px solid var(--border); background: #fff; padding: 10px 26px; border-radius: 30px; font-size: 15px; cursor: pointer; color: var(--text); transition: all .25s; }
.prod-tabs button:hover { border-color: var(--primary); color: var(--primary); }
.prod-tabs button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.prod-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.prod-item .pic { aspect-ratio: 1/1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f8fafc; }
.prod-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-item:hover .pic img { transform: scale(1.06); }
.prod-item h4 { padding: 16px 16px 20px; font-size: 15px; color: var(--navy); text-align: center; border-top: 1px solid var(--border); font-weight: 500; }
.more-btn { text-align: center; margin-top: 36px; }
.more-btn a { display: inline-block; padding: 12px 44px; border: 1px solid var(--primary); color: var(--primary); border-radius: 30px; font-size: 15px; transition: all .25s; }
.more-btn a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37,99,235,.3); }

/* ===== 关于我们 ===== */
#about > .content { max-width: none; padding: 0 40px; }
#about .title, #about .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.about-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; margin-top: 40px; }
.about-pic { position: relative; max-width: 480px; margin: 0 auto; }
.about-pic img { border-radius: var(--radius); width: 100%; }
.about-pic::before { content: ""; position: absolute; inset: -14px auto auto -14px; width: 120px; height: 120px; border-top: 5px solid var(--primary); border-left: 5px solid var(--primary); border-radius: var(--radius) 0 0 0; }
.about-txt h3 { font-size: 26px; color: var(--navy); margin-bottom: 18px; }
.about-txt h3 b { color: var(--primary); }
.about-txt p { color: var(--gray); margin-bottom: 12px; font-size: 15px; text-align: justify; }
.about-stats { display: flex; gap: 30px; margin-top: 26px; }
.about-stat { text-align: center; }
.about-stat .num { font-size: 34px; color: var(--primary); font-weight: bold; }
.about-stat .num small { font-size: 15px; }
.about-stat p { font-size: 13px; color: var(--gray); margin: 0; }

/* ===== 数据条 ===== */
.databar { background: linear-gradient(120deg, var(--navy), var(--navy-deep)); padding: 46px 0; color: #fff; position: relative; overflow: hidden; }
.databar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,.25) 0%, transparent 60%); pointer-events: none; }
.databar ul { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; position: relative; }
.databar .num { font-size: 40px; font-weight: bold; }
.databar .num em { font-style: normal; font-size: 18px; margin-left: 4px; color: var(--primary-light); }
.databar p { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 4px; }
.databar li + li { border-left: 1px solid rgba(255,255,255,.12); }

/* ===== 行业应用 ===== */
.apps-sec .content { max-width: none; padding: 0 40px; }
.apps-sec .title,
.apps-sec .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; }
.app-card { position: relative; height: 320px; background-size: cover; background-position: center; color: #fff; padding: 32px 28px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .35s; cursor: default; }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,48,.0) 0%, rgba(15,26,48,.55) 100%); pointer-events: none; }
.app-card > * { position: relative; z-index: 2; }
.app-card:hover { transform: translateY(-4px); }
.app-card:hover::after { background: linear-gradient(180deg, rgba(15,26,48,.0) 0%, rgba(15,26,48,.65) 100%); }
.app-card .ac-ico { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.app-card .ac-ico svg { width: 26px; height: 26px; fill: #fff; }
.app-card h4 { font-size: 20px; font-weight: 600; margin-bottom: 6px; letter-spacing: .5px; }
.app-card p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; margin: 0; }

/* ===== 优势 ===== */
#why > .content { max-width: none; padding: 0 40px; }
#why .title, #why .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.why-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; display: flex; gap: 18px; transition: all .3s; }
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.why-ico { flex: none; width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; }
.why-ico svg { width: 30px; height: 30px; fill: #fff; }
.why-item h4 { color: var(--navy); font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.why-item p { color: var(--gray); font-size: 14px; }

/* ===== 工厂实力 - 跑马灯（一排横向滚动） ===== */
.factory-marquee { margin-top: 40px; overflow: hidden; position: relative; }
.fm-track { display: flex; gap: 16px; animation: fmScroll 30s linear infinite; width: max-content; }
.factory-marquee:hover .fm-track { animation-play-state: paused; }
.factory-marquee .f-item { flex: none; width: 360px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative; }
.factory-marquee .f-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.factory-marquee .f-item:hover img { transform: scale(1.06); }
.factory-marquee .f-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px; background: linear-gradient(transparent, rgba(15,26,48,.75)); color: #fff; font-size: 14px; }
@keyframes fmScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== 工厂环境（检测设备等仍用网格） ===== */
#factory > .content { max-width: none; padding: 0 40px; }
#factory .title, #factory .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.factory-grid .f-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.factory-grid .f-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.factory-grid .f-item:hover img { transform: scale(1.05); }
.factory-grid .f-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: linear-gradient(transparent, rgba(15,26,48,.72)); color: #fff; font-size: 14px; }

/* ===== 资质证书 ===== */
#certs > .content { max-width: none; padding: 0 40px; }
#certs .title, #certs .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.cert-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; transition: all .3s; }
.cert-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-item .pic { aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in; }
.cert-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cert-item:hover .pic img { transform: scale(1.04); }
.cert-item h4 { padding: 16px; color: var(--navy); font-size: 15px; font-weight: 500; }

/* ===== 合作客户 ===== */
#clients > .content { max-width: none; padding: 0 40px; }
#clients .title, #clients .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.client-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); height: 110px; display: flex; align-items: center; justify-content: center; padding: 16px; transition: all .3s; }
.client-item:hover { box-shadow: 0 8px 20px rgba(26,43,74,.1); border-color: var(--primary); transform: translateY(-3px); }
.client-item img { max-height: 70px; max-width: 100%; object-fit: contain; }

/* ===== 团队风采 ===== */
#team > .content { max-width: none; padding: 0 40px; }
#team .title, #team .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.team-grid .t-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.team-grid .t-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-grid .t-item:hover img { transform: scale(1.05); }

/* ===== 联系区块 ===== */
.contact-sec { background: linear-gradient(120deg, var(--navy), var(--navy-deep)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.contact-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,.25) 0%, transparent 60%); pointer-events: none; }
.contact-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; position: relative; }
.contact-sec h2 { font-size: 30px; margin-bottom: 10px; }
.contact-sec .c-desc { color: rgba(255,255,255,.7); margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.contact-list .c-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(37,99,235,.25); display: flex; align-items: center; justify-content: center; }
.contact-list .c-ico svg { width: 20px; height: 20px; fill: var(--primary-light); }
.contact-list b { display: block; font-size: 13px; color: rgba(255,255,255,.55); font-weight: normal; }
.contact-list span { font-size: 16px; }
.contact-qr { text-align: center; }
.contact-qr .qr-box { background: #fff; border-radius: 14px; padding: 20px; display: inline-block; }
.contact-qr .qr-box img { width: 180px; height: auto; }
.contact-qr p { margin-top: 12px; color: rgba(255,255,255,.85); font-size: 14px; }

/* ===== 页脚 ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.55); padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; font-weight: 600; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo img { height: 56px; background: #fff; border-radius: 8px; padding: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.footer .f-logo b { color: #fff; font-size: 16px; margin-left: 6px; letter-spacing: 1px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: var(--primary-light); }
.footer .f-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer .f-contact b { color: rgba(255,255,255,.85); font-weight: normal; flex: none; }
.copy { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.4); }

/* ===== 侧边悬浮 ===== */
.float-bar { position: fixed; right: 16px; bottom: 90px; z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.float-bar a { width: 52px; height: 52px; background: #fff; border-radius: 50%; box-shadow: 0 4px 16px rgba(26,43,74,.15); display: flex; align-items: center; justify-content: center; transition: all .25s; position: relative; border: 1px solid var(--border); }
.float-bar a:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.08); }
.float-bar a svg { width: 24px; height: 24px; fill: var(--primary); transition: fill .25s; }
.float-bar a:hover svg { fill: #fff; }

/* ===== 内页头部 ===== */
.page-hero { position: relative; overflow: hidden; line-height: 0; }
.page-hero img { width: 100%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,26,48,.7) 0%, rgba(15,26,48,.4) 50%, rgba(15,26,48,.1) 100%); }
.page-hero .ph-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.4; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 40px; letter-spacing: 2px; font-weight: bold; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.page-hero .ph-en { color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: 4px; text-transform: uppercase; margin-top: 6px; }
.page-hero .ph-line { width: 52px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 2px; margin-top: 18px; }

/* 面包屑 */
.breadcrumb { background: var(--light); border-bottom: 1px solid var(--border); font-size: 14px; color: var(--gray); }
.breadcrumb .content { display: flex; align-items: center; gap: 8px; height: 48px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .bc-sep { color: #c3cad6; }
.breadcrumb .bc-cur { color: var(--primary); font-weight: 500; }

/* ===== 分类锚点 ===== */
.anchor-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.anchor-nav a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: all .25s; }
.anchor-nav a:hover { border-color: var(--primary); box-shadow: 0 10px 24px rgba(26,43,74,.1); transform: translateY(-4px); }
.anchor-nav img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.anchor-nav b { display: block; color: var(--navy); font-size: 16px; }
.anchor-nav span { font-size: 11px; color: #94a3b8; letter-spacing: 1px; text-transform: uppercase; }

/* ===== 产品板块 ===== */
.cat-block { margin-bottom: 54px; scroll-margin-top: 96px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-head { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--border); padding-bottom: 14px; margin-bottom: 26px; }
.cat-head .ch-bar { width: 5px; height: 30px; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border-radius: 3px; }
.cat-head h3 { font-size: 24px; color: var(--navy); font-weight: 600; }
.cat-head span { font-size: 12px; color: #94a3b8; letter-spacing: 2px; text-transform: uppercase; display: block; }
.cat-head p { margin-left: auto; color: var(--gray); font-size: 14px; max-width: 620px; text-align: right; }
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pd-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.pd-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-3px); }
.pd-main { aspect-ratio: 4/3; background: #f8fafc; overflow: hidden; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px 0; }
.pd-thumbs img { aspect-ratio: 1/1; width: 100%; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.pd-thumbs img:hover, .pd-thumbs img.on { border-color: var(--primary); }
.pd-body { padding: 14px 18px 20px; }
.pd-body h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; font-weight: 500; }
.pd-body p { font-size: 13px; color: var(--gray); }

/* ===== 图文左右 / 数据 / 列表 ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .sp-pic img { border-radius: var(--radius); width: 100%; }
.split h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; font-weight: 600; }
.split h3 b { color: var(--primary); }
.split p { color: var(--gray); font-size: 15px; text-align: justify; margin-bottom: 12px; }
.pd-rich { margin-top: 18px; color: var(--gray); font-size: 15px; line-height: 1.9; }
.pd-rich p { margin: 0 0 14px; text-align: justify; }
.pd-rich h3 { font-size: 20px; color: var(--navy); margin: 22px 0 10px; font-weight: 600; }
.pd-rich ul, .pd-rich ol { margin: 0 0 14px 22px; }
.pd-rich img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .3s; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.info-card .ic-ico { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; }
.info-card .ic-ico svg { width: 28px; height: 28px; fill: #fff; }
.info-card h4 { color: var(--navy); font-size: 17px; margin-bottom: 8px; font-weight: 500; }
.info-card p { color: var(--gray); font-size: 14px; }

/* ===== 设备清单 ===== */
#equipment > .content { max-width: none; padding: 0 40px; }
#equipment .title, #equipment .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.equip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; margin-top: 26px; }
.equip-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.equip-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--primary); border-radius: 2px; }
.equip-list b { display: block; color: var(--navy); }
.equip-list em { font-style: normal; color: var(--gray); font-size: 13px; }

/* ===== 证书灯箱 ===== */
.cert-item .pic { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(15,26,48,.92); display: none; align-items: center; justify-content: center; z-index: 999; padding: 40px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92%; max-height: 88%; border-radius: 6px; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 18px; right: 30px; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox .lb-close:hover { opacity: 1; }

/* ===== 联系页 ===== */
.ci-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ci-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; display: flex; gap: 16px; align-items: flex-start; transition: all .3s; }
.ci-item:hover { box-shadow: 0 12px 28px rgba(26,43,74,.1); border-color: var(--primary); }
.ci-item .ci-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(37,99,235,.08); display: flex; align-items: center; justify-content: center; }
.ci-item .ci-ico svg { width: 22px; height: 22px; fill: var(--primary); }
.ci-item b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.ci-item span { font-size: 14px; color: var(--gray); word-break: break-word; }
.form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-wrap h3 { font-size: 20px; color: var(--navy); margin-bottom: 20px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-wrap input, .form-wrap textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--text); outline: none; transition: all .2s; background: #f8fafc; }
.form-wrap input:focus, .form-wrap textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-wrap textarea { height: 130px; resize: vertical; margin-bottom: 18px; }
.form-wrap button { border: none; background: var(--primary); color: #fff; font-size: 15px; padding: 13px 46px; border-radius: 30px; cursor: pointer; transition: all .25s; }
.form-wrap button:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37,99,235,.3); }

/* ===== 新闻动态（大图主新闻 + 列表） ===== */
#news > .content { max-width: none; padding: 0 40px; }
#news .title, #news .subtitle { max-width: 1200px; margin-left: auto; margin-right: auto; }
.news-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 40px; }
/* 主新闻大图 */
.news-main { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .3s; }
.news-main:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.nm-pic { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.nm-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-main:hover .nm-pic img { transform: scale(1.06); }
/* 大图渐变遮罩 + 标签 */
.nm-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,26,48,.0) 0%, rgba(15,26,48,.25) 100%); pointer-events: none; }
.nm-tag-overlay { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-block; font-size: 12px; color: #fff; background: var(--primary); padding: 5px 14px; border-radius: 20px; font-weight: 500; letter-spacing: .5px; box-shadow: 0 4px 12px rgba(37,99,235,.35); }
.nm-body { padding: 22px 26px 28px; }
.nm-body h4 { font-size: 20px; color: var(--navy); line-height: 1.5; margin-bottom: 12px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nm-body p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nm-date { font-size: 13px; color: #94a3b8; }
/* 侧边列表 */
.news-side { display: flex; flex-direction: column; gap: 18px; }
.news-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; transition: all .3s; }
.news-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(26,43,74,.08); border-color: var(--primary); }
.ni-pic { flex: none; width: 140px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #f0f2f7; }
.ni-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-item:hover .ni-pic img { transform: scale(1.06); }
.ni-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.ni-body h5 { font-size: 15px; color: var(--navy); line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.news-item:hover .ni-body h5 { color: var(--primary); }
.ni-date { font-size: 12px; color: #94a3b8; margin-top: 6px; }

/* 新闻列表页 */
.news-list { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.news-row { display: grid; grid-template-columns: 280px 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.news-row:hover { box-shadow: 0 12px 28px rgba(26,43,74,.1); border-color: var(--primary); }
.news-row .nr-pic { overflow: hidden; aspect-ratio: 16/10; }
.news-row .nr-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-row:hover .nr-pic img { transform: scale(1.06); }
.news-row .nr-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.news-row .nr-date { font-size: 13px; color: #94a3b8; }
.news-row h3 { font-size: 19px; color: var(--navy); margin: 8px 0 10px; line-height: 1.5; font-weight: 600; }
.news-row p { font-size: 14px; color: var(--gray); }
.news-row .nr-more { margin-top: 12px; color: var(--primary); font-size: 14px; }

/* 文章详情 */
.article { max-width: 900px; margin: 46px auto 0; }
.article h1 { font-size: 27px; color: var(--navy); line-height: 1.5; text-align: center; font-weight: 600; }
.article .a-meta { text-align: center; color: #94a3b8; font-size: 14px; margin: 14px 0 26px; }
.article .a-pic { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.article .a-pic img { width: 100%; }
.article p { font-size: 16px; color: #374151; line-height: 1.9; margin-bottom: 16px; text-align: justify; }
.article .a-back { margin-top: 30px; }

/* ===== 产品详情页 ===== */
a.prod-item { display: block; color: inherit; }
.pd-more { margin-top: 12px; }
.pd-more a { color: var(--primary); font-size: 14px; }
.pd-more a:hover { text-decoration: underline; }
.pd-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: flex-start; }
.pd-gallery .g-main { aspect-ratio: 4/3; background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
.pd-gallery .g-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-gallery .g-thumbs { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 12px; overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #c8ccd6 transparent; }
.pd-gallery .g-thumbs::-webkit-scrollbar { height: 6px; }
.pd-gallery .g-thumbs::-webkit-scrollbar-track { background: transparent; }
.pd-gallery .g-thumbs::-webkit-scrollbar-thumb { background: #c8ccd6; border-radius: 3px; }
.pd-gallery .g-thumbs img { flex: 0 0 auto; width: 86px; height: 86px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.pd-gallery .g-thumbs img:hover, .pd-gallery .g-thumbs img.on { border-color: var(--primary); }
.pd-info .pi-cat { display: inline-block; font-size: 12px; letter-spacing: 1px; color: var(--primary); border: 1px solid var(--primary); border-radius: 20px; padding: 3px 14px; margin-bottom: 14px; }
.pd-info h1 { font-size: 26px; color: var(--navy); line-height: 1.4; margin-bottom: 14px; font-weight: 600; }
.pd-info .pi-desc { color: var(--gray); font-size: 15px; line-height: 1.9; margin-bottom: 22px; text-align: justify; }
.pd-spec { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.pd-spec th, .pd-spec td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.pd-spec th { background: #f1f5f9; color: var(--navy); width: 32%; font-weight: 600; }
.pd-spec td { color: var(--text); }
.pd-info .more-btn { text-align: left; margin-top: 0; }
.pd-feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; margin-top: 26px; }
.pd-feat li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.pd-feat li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--primary); border-radius: 2px; }
.pd-rel .pd-grid { margin-top: 36px; }

/* ===== 产品中心页：紧凑网格 ===== */
.pd-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pd-grid--4 .pd-body { padding: 12px 14px 16px; }
.pd-grid--4 .pd-body h4 { font-size: 15px; margin-bottom: 6px; }
.pd-grid--4 .pd-body p { font-size: 12.5px; line-height: 1.7; }
.pd-grid--4 .pd-more { margin-top: 8px; }

/* ===== 产品详情页：细节工艺 ===== */
.craft-block { margin-top: 58px; }
.craft-block .craft-t { font-size: 22px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.craft-block .craft-t b { color: var(--primary); }
.craft-sub { color: var(--gray); font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.craft-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.craft-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.craft-item .craft-pic { aspect-ratio: 5 / 4; background: #f8fafc; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.craft-item .craft-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.craft-item:hover .craft-pic img { transform: scale(1.05); }
.craft-item h4 { color: var(--navy); font-size: 17px; padding: 16px 18px 6px; font-weight: 600; }
.craft-item p { color: var(--gray); font-size: 14px; line-height: 1.85; padding: 0 18px 20px; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .logo img { height: 48px; }
  .logo .logo-txt b { font-size: 15px; }
  .nav li a { padding: 0 6px; font-size: 14px; }
  .nav li a.on::after { left: 6px; right: 6px; }
  .header-tel { font-size: 16px; }
  .pd-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) and (min-width: 993px) {
  .nav li a { padding: 0 4px; font-size: 13px; }
  .nav li a.on::after { left: 4px; right: 4px; }
  .logo .logo-txt b { font-size: 14px; }
  .header-tel { font-size: 15px; }
}

/* ---- 992px 断点 ---- */
@media (max-width: 992px) {
  /* 导航切换为抽屉 */
  .nav { position: fixed; top: 82px; left: 0; right: 0; background: #fff; flex-direction: column; display: none; box-shadow: 0 10px 20px rgba(26,43,74,.1); z-index: 99; }
  .nav.show { display: flex; }
  .nav li a { height: 48px; line-height: 48px; padding: 0 20px; border-bottom: 1px solid var(--border); }
  .nav li a.on::after { display: none; }
  .navBtn { display: flex; }

  /* 首页 mobile 透明导航适配 */
  .home .navBtn span { background: #fff; }
  .home .header-tel { display: none; }
  .home .nav { top: 38px; background: #fff; }
  .home .nav li a { color: var(--text); border-bottom-color: var(--border); }
  .home .nav li a:hover,
  .home .nav li a.on { color: var(--primary); }

  /* Banner 高度 */
  .banner { height: calc(100vh - 38px); min-height: 460px; max-height: 720px; }

  /* 网格 → 2 列 */
  .prod-grid, .cat-nav, .app-grid, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .factory-grid, .cert-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid, .anchor-nav, .ci-grid, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .pd-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .news-side { flex-direction: row; gap: 14px; }
  .news-item { flex: 1; min-width: 0; flex-direction: column; }
  .ni-pic { width: 100%; aspect-ratio: 16/10; }
  .craft-grid { grid-template-columns: 1fr 1fr; }

  /* 单列布局 */
  .split { grid-template-columns: 1fr; gap: 26px; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .pd-detail { grid-template-columns: 1fr; gap: 26px; }
  .pd-feat { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 220px 1fr; }

  /* databar */
  .databar ul { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .databar li + li { border-left: none; }

  /* footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 768px 断点 ---- */
@media (max-width: 768px) {
  .content { padding: 0 16px; }
  .banner { height: calc(100vh - 64px); min-height: 360px; max-height: 600px; }
  .banner .dots { bottom: 20px; }
  .banner .arrow { display: none; }

  /* 网格 → 1 列 */
  .news-layout { grid-template-columns: 1fr; }
  .news-side { flex-direction: column; }
  .news-item { flex-direction: row; }
  .news-row { grid-template-columns: 1fr; }
  .news-row .nr-pic { aspect-ratio: 16/9; }

  /* 分类卡片 → 单列纵向堆叠 */
  .cat-nav { grid-template-columns: 1fr; gap: 18px; }
  .cat-card { flex-direction: column; text-align: center; padding: 28px 22px; min-height: 0; }
  .cat-card .cat-pic { flex: none; width: 100%; order: -1; margin-bottom: 12px; }
  .cat-card .cat-pic img { max-height: 140px; }
  .cat-card .cat-btn { margin-top: 4px; }

  /* 行业应用大图卡 → 单列 */
  .apps-sec .content { padding: 0 20px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { height: 240px; }
  .article h1 { font-size: 21px; }
  .article p { font-size: 15px; }

  /* 产品详情 */
  .pd-gallery .g-thumbs img { width: 72px; height: 72px; }
  .pd-info h1 { font-size: 21px; }
  .pd-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* craft */
  .craft-grid { grid-template-columns: 1fr; }
  .craft-block { margin-top: 40px; }
}
