/* ==========================================================
   深圳市华夏傲龙科技有限公司 · 官网样式
   参考风格：Seoul Semiconductor（首尔半导体）官网
   品牌绿 #30ae56 · 白底 · 深灰 #111 · 极简商务
   ========================================================== */

:root {
  --green: #30ae56;
  --green-dark: #279a4a;
  --green-soft: rgba(48, 174, 86, 0.08);
  --ink: #111111;
  --gray-600: #666666;
  --gray-400: #999999;
  --line: #e1e1e1;
  --bg-gray: #f9f9f9;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

/* ---------- 顶部导航（白底细线，绿色高亮） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 40px; height: 40px; }
#navLogoImg { height: 40px; width: auto; display: block; }
.logo-text { line-height: 1.2; }
.logo-text .cn { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.logo-text .en { font-size: 11px; color: var(--gray-400); letter-spacing: 1.5px; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 10px 20px;
  color: var(--ink); font-size: 15px; transition: color .25s;
}
.nav-list a:hover { color: var(--green); }
.nav-list a.active { color: var(--green); font-weight: 600; }
.nav-list a.active::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 2px;
  height: 2px; background: var(--green);
}

.nav-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.nav-phone .icon { width: 22px; height: 22px; color: var(--green); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero（整幅横幅，深色压暗 + 绿点缀） ---------- */
.hero { position: relative; color: var(--white); background: #000; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-bg.active { opacity: .6; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.1) 100%);
}
.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.45); transition: background .3s, transform .3s; padding: 0;
}
.hero-dots button.active { background: var(--green); transform: scale(1.25); }
.hero-dots button:hover { background: #5fd18a; }
.hero-inner { position: relative; z-index: 2; padding: 130px 0 150px; max-width: 720px; }
.hero-tag {
  display: inline-block; padding: 6px 14px; margin-bottom: 22px;
  background: var(--green); border-radius: 2px;
  font-size: 13px; letter-spacing: 2px; font-weight: 600; color: #fff;
}
.hero h1 { font-size: 52px; line-height: 1.25; font-weight: 700; letter-spacing: 2px; }
.hero h1 em { font-style: normal; color: #5fd18a; }
.hero p.sub { margin: 22px 0 36px; font-size: 18px; color: #d6dde2; max-width: 580px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 36px; border-radius: 2px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all .25s; border: none;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: #f0faf3; transform: translateY(-1px); }

/* ---------- 通用 section ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .en-label {
  display: inline-block; font-size: 13px; letter-spacing: 3px;
  color: var(--green); font-weight: 700; text-transform: uppercase;
}
.section-head h2 { font-size: 34px; color: var(--ink); margin: 12px 0 14px; font-weight: 700; }
.section-head p { color: var(--gray-600); max-width: 640px; margin: 0 auto; }

/* ---------- 数据条（白底，绿色数字） ---------- */
.stats { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 60px 0; text-align: center; }
.stat-num { font-size: 46px; font-weight: 700; color: var(--green); letter-spacing: 1px; }
.stat-label { margin-top: 6px; font-size: 15px; color: var(--gray-600); }

/* ---------- 产品卡片（白卡 + 细线，绿悬停） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  transition: all .3s;
}
.card:hover { border-color: var(--green); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-gray); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; border-top: 1px solid var(--line); }
.card-body h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--gray-600); }
.card-tag {
  display: inline-block; margin-bottom: 12px; padding: 3px 12px;
  background: var(--green-soft); color: var(--green);
  border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: 1px;
}

/* ---------- 领域图标卡 ---------- */
.field-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.field-item {
  display: block; background: var(--white); border: 1px solid var(--line);
  padding: 32px 16px; text-align: center; transition: all .3s;
}
.field-item:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.field-item .icon { font-size: 36px; }
.field-icon-img { height: 40px; width: auto; display: block; margin: 0 auto; object-fit: contain; }
.field-item h4 { margin-top: 14px; font-size: 15px; color: var(--ink); }

/* ---------- 为什么选择我们 ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reason-item { padding: 34px 26px; background: var(--white); border: 1px solid var(--line); transition: all .3s; }
.reason-item:hover { border-color: var(--green); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.reason-item .num { font-size: 30px; font-weight: 700; color: var(--green); opacity: .4; }
.reason-item h4 { font-size: 17px; color: var(--ink); margin: 10px 0 8px; }
.reason-item p { font-size: 14px; color: var(--gray-600); }

/* ---------- 合作伙伴（首页 logo 平铺） ---------- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.partner-item {
  display: flex; align-items: center; justify-content: center;
  width: 150px; height: 150px; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; padding: 18px;
  transition: all .3s;
}
.partner-item:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(60%); transition: filter .3s; }
.partner-item:hover img { filter: grayscale(0); }
@media (max-width: 640px) { .partner-item { width: 120px; height: 120px; } }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-item { background: var(--white); border: 1px solid var(--line); padding: 26px; transition: all .3s; }
.news-item:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.news-date { font-size: 13px; color: var(--green); font-weight: 700; }
.news-item h4 { font-size: 16px; color: var(--ink); margin: 10px 0; line-height: 1.5; }
.news-item p { font-size: 13px; color: var(--gray-600); }

/* ---------- CTA 横幅（品牌绿） ---------- */
.cta-banner {
  background: var(--green); border-radius: 2px;
  padding: 54px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-banner h3 { font-size: 26px; margin-bottom: 8px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); }

/* ---------- 内页横幅（浅灰底，深色文字，绿色点缀） ---------- */
.page-banner {
  position: relative; padding: 84px 0 88px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.page-banner .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55;
}
.page-banner .overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.38), rgba(255,255,255,.10)); }
.page-banner .inner { position: relative; z-index: 2; }
.page-banner .inner::before {
  content: ""; display: block; width: 44px; height: 4px;
  background: var(--green); margin-bottom: 20px;
}
.page-banner h1 { font-size: 38px; letter-spacing: 2px; color: var(--ink); }
.page-banner p { margin-top: 12px; color: var(--gray-600); font-size: 16px; }
.crumb { font-size: 13px; color: var(--gray-400); margin-top: 16px; }
.crumb a:hover { color: var(--green); }

/* ---------- 产品页 ---------- */
.prod-cat { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.prod-cat a {
  padding: 10px 24px; border: 1px solid var(--line);
  color: var(--gray-600); font-size: 14px; transition: all .25s; background: #fff;
}
.prod-cat a:hover, .prod-cat a.active { background: var(--green); color: #fff; border-color: var(--green); }

.prod-block { display: grid; grid-template-columns: 400px 1fr; gap: 44px; align-items: center; margin-bottom: 70px; }
.prod-block.reverse { direction: rtl; }
.prod-block > * { direction: ltr; }
.prod-figure { border: 1px solid var(--line); background: var(--bg-gray); position: relative; }
.prod-figure img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
/* 产品图轮播 */
.prod-slider { position: relative; overflow: hidden; }
.prod-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.prod-slide.active { opacity: 1; position: relative; }
.prod-slide img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.prod-slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 36px; height: 36px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.85); color: #333; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.prod-slide-btn:hover { background: var(--green); color: #fff; }
.prod-slide-btn.prev { left: 10px; }
.prod-slide-btn.next { right: 10px; }
.prod-slide-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 7px;
}
.prod-slide-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.6); transition: background .3s, transform .3s;
}
.prod-slide-dots button.active { background: var(--green); transform: scale(1.2); }
.prod-info h3 { font-size: 26px; color: var(--ink); margin-bottom: 0; }
.prod-info .en { font-size: 13px; color: var(--green); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-top: 6px; }
.prod-info p.desc { margin: 16px 0 20px; color: var(--gray-600); }
/* 产品详情：描述+下载（靠图片侧）与 参数表（边上并排） */
.prod-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; }
.prod-desc-col p.desc { margin: 16px 0 18px; }
.prod-desc-col .btn-download { margin-top: 4px; }
.prod-spec-col .spec-table { margin: 0; }
.spec-title {
  font-size: 15px; font-weight: 700; color: var(--green);
  margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
}
.spec-title::before { content: ""; width: 4px; height: 16px; background: var(--green); border-radius: 2px; display: inline-block; }
/* reverse 行（图片在右）：描述列翻转到靠图片一侧 */
.prod-block.reverse .prod-detail { direction: rtl; }
.prod-block.reverse .prod-detail > * { direction: ltr; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.spec-table th { background: var(--bg-gray); color: var(--ink); white-space: nowrap; width: 150px; }
.spec-table td { color: var(--gray-600); }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 460px; gap: 50px; align-items: center; }
.about-intro h2 { font-size: 28px; color: var(--ink); margin-bottom: 20px; }
.about-intro h2::before { content: ""; display: inline-block; width: 8px; height: 24px; background: var(--green); margin-right: 12px; vertical-align: -4px; }
.about-intro p { color: var(--gray-600); margin-bottom: 14px; }
.about-intro img { max-width: 100%; border-radius: 8px; margin: 10px 0; }

/* 荣誉资质（富文本，横排 6 个小图，悬停放大） */
#aboutCert ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
#aboutCert li {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 10px; text-align: center; font-size: 13px; color: var(--gray-600);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  position: relative; transition: border-color .3s, box-shadow .3s;
}
#aboutCert li:hover { border-color: var(--green); box-shadow: var(--shadow); z-index: 5; }
#aboutCert li img {
  width: 100%; max-height: 110px; object-fit: contain; border-radius: 6px; display: block;
  cursor: zoom-in; transition: transform .3s ease; order: -1;
}
#aboutCert li:hover img { transform: scale(2.4); }
@media (max-width: 1200px) { #aboutCert ul { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px) { #aboutCert ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { #aboutCert ul { grid-template-columns: repeat(2, 1fr); } }
.about-intro .img-box { border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-intro .img-box img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.timeline { position: relative; margin: 10px 0 0 8px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 10px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(48, 174, 86, 0.15);
}
.tl-item .year { font-size: 20px; font-weight: 700; color: var(--green); }
.tl-item .text { font-size: 15px; color: var(--gray-600); margin-top: 4px; }

.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery-2 figure { margin: 0; border: 1px solid var(--line); }
.gallery-2 img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery-2 figcaption { padding: 14px 18px; font-size: 14px; color: var(--gray-600); background: #fff; border-top: 1px solid var(--line); }

/* 研发与制造实力（富文本：文字 + 图片） */
#capabilityContent { max-width: 1100px; margin: 0 auto; }
#capabilityContent p { color: var(--gray-600); margin-bottom: 14px; line-height: 1.9; }
#capabilityContent img { max-width: 100%; border-radius: 8px; margin: 12px 0; box-shadow: var(--shadow); }
#capabilitySub { color: var(--gray-600); max-width: 640px; margin: 0 auto; line-height: 1.9; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; transition: border-color .3s; }
.contact-card:hover { border-color: var(--green); }
.contact-card .ic { width: 46px; height: 46px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-card h4 { font-size: 15px; color: var(--ink); }
.contact-card p { font-size: 14px; color: var(--gray-600); margin-top: 4px; }

/* 联系人卡片：单人信息横向一行，多人纵向向下排列 */
#contactPersons { display: block; }
#contactPersons .contact-card { margin-bottom: 14px; }
.person-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.person-card .ic { flex-shrink: 0; }
.person-body {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; flex: 1; min-width: 0;
}
.person-body h4 { font-size: 16px; margin: 0; white-space: nowrap; }
.person-card .person-title { color: var(--green); font-weight: 600; font-size: 14px; white-space: nowrap; }
.person-card .person-item {
  font-size: 14px; color: var(--gray-600); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.person-card .person-qr {
  width: 64px; height: 64px; object-fit: contain; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
@media (max-width: 640px) {
  .person-body { gap: 10px; }
  .person-card .person-qr { width: 56px; height: 56px; }
}

.form-card { background: var(--white); border: 1px solid var(--line); padding: 36px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.form-card .tip { font-size: 13px; color: var(--gray-600); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fcfcfc;
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(48, 174, 86, 0.12); background: #fff;
}
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 2px; font-size: 14px; }
.form-msg.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-msg.err { display: block; background: #fdeaea; color: #c0392b; }

.map-placeholder {
  margin-top: 56px; border: 1px solid var(--line); background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center; height: 320px;
  color: var(--gray-600); font-size: 15px; flex-direction: column; gap: 10px;
}
.map-placeholder .pin { font-size: 40px; }

/* ---------- 页脚（近黑，与参考站一致） ---------- */
.site-footer { background: #111111; color: #9aa3ad; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid a { display: block; color: #9aa3ad; padding: 5px 0; transition: color .25s; }
.footer-grid a:hover { color: #5fd18a; }
.footer-cat-group { color: #fff; font-weight: 600; font-size: 14px; margin: 10px 0 2px; }
/* 页脚产品分类：大分类竖排，弹窗紧贴名称右侧（暗灰背景） */
#footerCats { position: relative; }
.footer-cat-item { position: relative; margin: 2px 0; }
.footer-cat-head {
  position: relative; display: inline-block; color: #9aa3ad; font-weight: 600; font-size: 14px;
  transition: color .25s; white-space: nowrap; padding: 5px 0;
}
.footer-cat-head:hover { color: #5fd18a; }
.footer-cat-panel {
  display: none; position: absolute; left: calc(100% + 2mm); top: -2px; z-index: 60;
  min-width: calc(210px - 1cm); background: #2b2f33; border-radius: 6px; padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); border: 1px solid #3a3f44;
}
.footer-cat-head:hover .footer-cat-panel,
.footer-cat-item.show .footer-cat-panel { display: block; }
.footer-cat-sub { position: relative; }
.footer-cat-sub > a {
  display: block; padding: 9px 16px; color: #c9d1d9; font-size: 14px;
  white-space: nowrap; transition: background .2s, color .2s;
}
.footer-cat-sub > a:hover { background: #3a3f44; color: #5fd18a; }
.footer-cat-prods {
  display: none; position: absolute; left: calc(100% + 2mm); top: -8px; z-index: 61;
  min-width: calc(240px - 1cm); max-height: 320px; overflow-y: auto; background: #2b2f33;
  border-radius: 6px; padding: 8px 0; border: 1px solid #3a3f44;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.footer-cat-sub:hover .footer-cat-prods,
.footer-cat-sub.show .footer-cat-prods { display: block; }
.footer-cat-prods a {
  display: block; padding: 7px 16px; color: #c9d1d9; font-size: 13px;
  white-space: nowrap; transition: background .2s, color .2s;
}
.footer-cat-prods a:hover { background: #3a3f44; color: #5fd18a; }
/* 窄屏：弹窗改为静态展开，避免溢出 */
@media (max-width: 900px) {
  .footer-cat-head { display: block; }
  .footer-cat-panel { display: block; position: static; background: none; border: none; box-shadow: none; padding: 0; min-width: 0; }
  .footer-cat-sub > a { padding: 5px 0; color: #9aa3ad; }
  .footer-cat-sub > a:hover { background: none; color: #5fd18a; }
  .footer-cat-prods { display: none; position: static; background: none; border: none; box-shadow: none; padding: 0; max-height: none; }
  .footer-cat-sub:hover .footer-cat-prods,
  .footer-cat-sub.show .footer-cat-prods { display: none; }
  .footer-cat-item { margin: 4px 0; }
}
.footer-logo .cn { font-size: 22px; color: #fff; font-weight: 700; letter-spacing: 2px; }
.footer-logo .en { font-size: 12px; letter-spacing: 1.5px; margin-top: 4px; color: #6b7682; }
.footer-logo p { margin-top: 16px; line-height: 2; color: #8b95a0; }
.footer-logo-img { height: 48px; width: auto; display: block; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; text-align: center; color: #6b7682; font-size: 13px; }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .container { padding: 0 24px; }
  .nav-phone { display: none; }
  .lang-select { margin-left: 8px; padding: 8px 8px; max-width: 110px; }
  .card-grid, .news-list { grid-template-columns: repeat(2, 1fr); }
  .field-grid { grid-template-columns: repeat(3, 1fr); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-intro { grid-template-columns: 1fr; }
  .prod-block { grid-template-columns: 1fr; }
  .prod-block.reverse { direction: ltr; }
  .prod-detail { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}

/* 中小屏：导航折叠为汉堡菜单（≤900px） */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 24px 22px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    z-index: 110; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-list.open { display: flex; }
  .nav-list > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-list > li:last-child { border-bottom: none; }
  .nav-list > li > a { padding: 14px 4px; font-size: 16px; }
  .lang-header { display: none; }
  .nav-lang-mobile { display: block; padding-top: 16px; }
  /* 下拉子菜单：点击展开 */
  .nav-drop-menu {
    position: static; box-shadow: none; border: none;
    padding: 0 0 8px 24px; min-width: 0;
  }
  .nav-drop:hover .nav-drop-menu { display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
  .nav-drop-menu a { padding: 11px 4px; font-size: 15px; }
  /* "产品"大面板：纵向展开 */
  .nav-mega {
    position: static; left: auto; transform: none; box-shadow: none; border: none;
    padding: 0 0 6px 24px; min-width: 0; max-width: none;
  }
  .nav-drop:hover .nav-mega { display: none; }
  .nav-drop.open .nav-mega { display: block; }
  .nav-mega-grid { flex-direction: column; gap: 4px; overflow: visible; }
  .nav-mega-col { min-width: 0; max-width: none; padding: 6px 0; border-left: none; }
  .nav-mega-col > .group-link { border-bottom: none; }
  .nav-mega-col > .cat-link { padding: 9px 4px 9px 14px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .card-grid, .news-list, .field-grid { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr; }
  .gallery-2, .form-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 80px 0 100px; }
  .hero h1 { font-size: 30px; }
  .hero p.sub { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 27px; }
  .cta-banner { padding: 32px 22px; text-align: center; justify-content: center; }
  .cta-banner .btn-light { width: 100%; text-align: center; }
  .page-banner { padding: 56px 0 60px; }
  .page-banner h1 { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 34px; }
  /* 页脚单列 */
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  /* 参数表横滑 */
  .spec-table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .spec-table th, .spec-table td { padding: 9px 12px; font-size: 13px; }
  /* 资料条目换行 */
  .dl-item { flex-wrap: wrap; }
  .dl-item .dl-info { flex: 1 1 calc(100% - 64px); }
  /* 按钮全宽易点按 */
  .btn { padding: 12px 24px; font-size: 15px; }
  .btn-download { width: 100%; justify-content: center; padding: 12px 20px; }
  .hero-cta .btn { flex: 1; text-align: center; }
  .prod-block { gap: 26px; }
  .prod-figure img { aspect-ratio: 16/10; }
  .contact-card { padding: 20px; }
  .form-card { padding: 24px 18px; }
  .map-placeholder { height: 200px; }
  .news-item { padding: 20px 18px; }
  .news-modal .nm-inner { padding: 40px 20px 60px; }
  .news-modal h3 { font-size: 21px; }
  .card-body { padding: 18px; }
  .sol-block { padding: 36px 0; gap: 26px; }
  .sol-icon { width: 64px; height: 64px; font-size: 32px; }
  .sol-img { width: 72px; height: 72px; }
  .sol-title h3 { font-size: 24px; }
  .sol-desc { font-size: 14px; }
  .field-item { padding: 24px 12px; }
  .reason-item { padding: 26px 20px; }
}

/* ==========================================================
   内容管理扩展样式（语言切换 / 下载 / 新闻弹窗）
   ========================================================== */

/* 语言切换下拉（8 语种） */
.lang-select {
  margin-left: 18px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; font-size: 14px; color: var(--ink); cursor: pointer; font-family: inherit;
  max-width: 132px;
}
.lang-select:focus { outline: none; border-color: var(--green); }
/* 移动菜单内的语言切换（默认隐藏，≤900px 显示） */
.nav-lang-mobile { display: none; }
.nav-lang-mobile .lang-select { width: 100%; margin-left: 0; padding: 11px; max-width: none; text-align: center; }

/* 下载按钮 */
.btn-download {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 10px 22px; border: 1px solid var(--green); border-radius: 2px;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 600;
  transition: all .25s;
}
.btn-download:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-download.ghost { background: #fff; color: var(--green); }
.btn-download.ghost:hover { background: var(--green-soft); }
.btn-download svg { width: 16px; height: 16px; }

/* 资料下载列表 */
.download-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); transition: all .3s;
}
.dl-item:hover { border-color: var(--green); box-shadow: var(--shadow); }
.dl-item .dl-ico {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 2px;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.dl-item .dl-info { flex: 1; min-width: 0; }
.dl-item .dl-title { font-size: 15px; color: var(--ink); font-weight: 600; }
.dl-item .dl-meta { font-size: 13px; color: var(--gray-400); margin-top: 3px; }
.dl-item a.dl-link { color: var(--green); font-size: 14px; font-weight: 600; white-space: nowrap; }
.dl-item a.dl-link:hover { text-decoration: underline; }

/* 产品卡片下载按钮 */
.card-body .btn-download { margin-top: 14px; padding: 8px 18px; font-size: 13px; }

/* 新闻弹窗（全屏阅读） */
body.modal-open { overflow: hidden; }
.news-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.6); align-items: center; justify-content: center;
}
.news-modal-overlay.open { display: flex; }
.news-modal {
  background: #fff; width: 100%; height: 100%; overflow-y: auto;
  padding: 0; position: relative; border-radius: 0;
}
.news-modal .nm-inner { max-width: 860px; margin: 0 auto; padding: 64px 32px 80px; }
.news-modal .nm-date { font-size: 13px; color: var(--green); font-weight: 700; }
.news-modal h3 { font-size: 28px; color: var(--ink); margin: 12px 0 18px; line-height: 1.5; }
.news-modal .nm-body { font-size: 16px; color: var(--gray-600); line-height: 2; white-space: pre-wrap; }
.news-modal .nm-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px auto; display: block; }
.news-modal .nm-body p { margin: 0 0 10px; }
.news-modal .nm-body ul, .news-modal .nm-body ol { padding-left: 22px; margin: 0 0 10px; }
.news-modal .nm-close {
  position: fixed; top: 18px; right: 22px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.06); border: none;
  font-size: 24px; color: var(--ink); cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.news-modal .nm-close:hover { background: var(--green); color: #fff; transform: rotate(90deg); }

/* 新闻加载失败 / 空状态 */
.empty-tip { text-align: center; color: var(--gray-400); padding: 30px 0; font-size: 15px; }

/* 动态内容容器加载中 */
.loading-tip { text-align: center; color: var(--gray-400); padding: 30px 0; }

/* ==========================================================
   MEMSIC 式页面分类扩展（筛选 / 解决方案 / 资源中心 / 新闻页）
   ========================================================== */

/* 分类筛选标签 */
.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px;
}
.filter-tabs button {
  padding: 9px 22px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; color: var(--gray-600); font-size: 14px; cursor: pointer;
  transition: all .25s; font-family: inherit;
}
.filter-tabs button:hover { border-color: var(--green); color: var(--green); }
.filter-tabs button.active { background: var(--green); border-color: var(--green); color: #fff; }

/* 解决方案页 */
.sol-nav {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px;
}
.sol-nav a {
  padding: 9px 24px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--gray-600); font-size: 14px; transition: all .25s;
}
.sol-nav a:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }

.sol-block {
  display: grid; grid-template-columns: 360px 1fr; gap: 52px; align-items: center;
  padding: 58px 0; border-top: 1px solid var(--line);
}
.sol-block:first-of-type { border-top: none; }

.sol-icon {
  width: 78px; height: 78px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  background: linear-gradient(135deg, rgba(48, 174, 86, 0.16), rgba(48, 174, 86, 0.04));
  border: 1px solid rgba(48, 174, 86, 0.28);
}
.sol-img { width: 86px; height: 86px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

.sol-title { margin-top: 20px; }
.sol-title h3 { font-size: 29px; color: var(--ink); letter-spacing: 1px; }
.sol-title .en {
  font-size: 12px; color: var(--green); letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700; margin-top: 8px;
}
.sol-desc { font-size: 15px; color: var(--gray-600); line-height: 2.1; margin: 20px 0 26px; }
.sol-desc::before {
  content: ""; display: block; width: 38px; height: 3px;
  background: var(--green); margin-bottom: 18px; border-radius: 2px;
}
.sol-head .btn-download { margin-top: 0; }

.sol-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-prod {
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: all .3s;
}
.sol-prod:hover { border-color: var(--green); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.sp-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-gray); }
.sp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sol-prod:hover .sp-img img { transform: scale(1.07); }
.sp-body { padding: 15px 18px; border-top: 1px solid var(--line); }
.sp-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.sp-tag { font-size: 12px; color: var(--gray-400); margin-top: 6px; }

/* 资源中心分类块 */
.res-cat { margin-bottom: 56px; }
.res-cat > h3 {
  font-size: 20px; color: var(--ink); margin-bottom: 4px;
  display: flex; align-items: center; gap: 12px;
}
.res-cat > h3::before {
  content: ""; width: 6px; height: 22px; background: var(--green); display: inline-block;
}
.res-cat > p { font-size: 13px; color: var(--gray-400); margin: 4px 0 18px 18px; }

/* 新闻列表页（大卡片单列排版） */
.news-list-page {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  max-width: 960px; margin: 0 auto;
}
.news-list-page .news-item {
  cursor: pointer; padding: 40px 46px;
  border-left: 4px solid var(--green);
}
.news-list-page .news-item:hover { border-left-color: var(--green-dark); }
.news-list-page .news-date { font-size: 16px; letter-spacing: 1px; }
.news-list-page .news-item h4 { font-size: 24px; line-height: 1.55; margin: 14px 0 12px; }
.news-list-page .news-item p { font-size: 16px; line-height: 1.9; color: var(--gray-600); }

@media (max-width: 992px) {
  .sol-block { grid-template-columns: 1fr; gap: 36px; }
  .sol-prods { grid-template-columns: repeat(2, 1fr); }
  .news-list-page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sol-block { padding: 40px 0; }
  .sol-prods { grid-template-columns: 1fr; }
  .sol-nav { gap: 8px; }
  .sol-nav a { padding: 8px 16px; font-size: 13px; }
  .news-list-page .news-item { padding: 24px 22px; }
  .news-list-page .news-item h4 { font-size: 19px; }
  .news-list-page .news-item p { font-size: 15px; }
}

/* 解决方案图标图 */
.sol-img { width: 86px; height: 86px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* ==========================================================
   导航"产品中心"悬停下拉菜单
   ========================================================== */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; }
.nav-drop > .caret {
  display: inline-block; margin-left: 7px; vertical-align: 3px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--gray-400); transition: transform .2s, border-top-color .2s;
}
.nav-drop:hover > .caret, .nav-drop.open > .caret {
  transform: rotate(180deg); border-top-color: var(--green);
}
.nav-drop-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  padding: 8px 0; z-index: 120; margin: 0;
}
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block; padding: 11px 24px; font-size: 14px; color: var(--gray-600);
  white-space: nowrap; transition: all .2s;
}
.nav-drop-menu a:hover { color: var(--green); background: var(--green-soft); }
.nav-drop-menu a::after { display: none; }
.nav-drop-menu .divider { height: 1px; background: var(--line); margin: 6px 0; }

/* "产品"悬停大面板（sensirion 风格：按钮居中、大类向右分列、子类向下排列） */
.nav-mega {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  padding: 22px 12px 18px; z-index: 120; min-width: 480px;
  max-width: calc(100vw - 24px);
}
.nav-drop:hover .nav-mega, .nav-drop.open .nav-mega { display: block; }
.nav-mega-grid {
  display: flex; gap: 6px; flex-wrap: nowrap; align-items: flex-start;
  overflow-x: auto; max-width: 100%;
}
.nav-mega-col { min-width: 190px; max-width: 230px; padding: 0 16px 6px; border-left: 1px solid var(--line); }
.nav-mega-col:first-child { border-left: none; }
.nav-mega-col > .group-link {
  display: block; font-weight: 700; color: var(--ink); font-size: 15px;
  padding: 6px 6px 10px; border-bottom: 2px solid var(--green-soft); white-space: nowrap;
}
.nav-mega-col > .group-link:hover { color: var(--green); }
.nav-mega-col > .cat-link {
  display: block; padding: 8px 6px 8px 14px; font-size: 14px; color: var(--gray-600);
  white-space: nowrap; border-radius: 4px; transition: all .2s;
}
.nav-mega-col > .cat-link:hover { color: var(--green); background: var(--green-soft); }
.nav-mega .loading-tip { padding: 10px; text-align: left; color: var(--gray-400); }

/* 移动端：点击展开（悬停不生效） */
@media (max-width: 640px) {
  .nav-drop-menu {
    position: static; box-shadow: none; border: none; padding: 0 0 6px 26px; min-width: 0;
  }
  .nav-drop:hover .nav-drop-menu { display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
}

/* 产品状态标签（产品中心信息区：标题旁） */
.prod-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }.prod-title-row h3 { margin-bottom: 0; }
.prod-status-tag {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; white-space: nowrap;
}
.prod-status-tag.st-new {
  background: var(--green-soft); color: var(--green-dark);
  border: 1px solid rgba(48, 174, 86, 0.35);
}
.prod-status-tag.st-rd {
  background: #fdf3e3; color: #b56a05;
  border: 1px solid #f0c27a;
}

/* 首页产品卡片：图片角落徽标 */
.prod-status {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #fff;
}
.prod-status.st-new { background: var(--green); box-shadow: 0 4px 12px rgba(48, 174, 86, 0.35); }
.prod-status.st-rd { background: #f5a623; box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35); }

/* ==========================================================
   移动端阅读安全与细节（全局）
   ========================================================== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
a, button, .field-item, .card, .news-item { -webkit-tap-highlight-color: transparent; }
.btn:active, .btn-download:active, .filter-tabs button:active,
.prod-cat a:active, .nav-toggle:active, .lang-toggle:active { transform: scale(0.97); }

/* ==========================================================
   宽屏自适应（参考 sensirion.com/cn 风格，≥1440px 生效）
   ========================================================== */
@media (min-width: 1440px) {
  .hero-inner { padding: 170px 0 200px; max-width: 820px; }
  .hero h1 { font-size: 66px; letter-spacing: 3px; }
  .hero p.sub { font-size: 20px; max-width: 660px; }
  .hero-tag { font-size: 14px; padding: 7px 18px; }
  .section { padding: 120px 0; }
  .section-head { margin-bottom: 70px; }
  .section-head h2 { font-size: 42px; }
  .section-head p { font-size: 17px; max-width: 760px; }
  .stats-grid { gap: 40px; padding: 70px 0; }
  .stat-num { font-size: 54px; }
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .card-body { padding: 26px; }
  .card-body h3 { font-size: 20px; }
  .card-body p { font-size: 15px; }
  .field-grid { gap: 26px; }
  .field-item { padding: 38px 18px; }
  .reason-grid { gap: 30px; }
  .news-list { gap: 30px; }
  .news-list-page { max-width: 1200px; }
  .prod-block { grid-template-columns: 500px 1fr; gap: 70px; margin-bottom: 90px; }
  .prod-info h3 { font-size: 30px; }
  .about-intro { grid-template-columns: 1fr 540px; gap: 80px; }
  .about-intro h2 { font-size: 32px; }
  .gallery-2 { gap: 36px; }
  .sol-block { grid-template-columns: 440px 1fr; gap: 70px; padding: 70px 0; }
  .sol-title h3 { font-size: 32px; }
  .sol-prods { gap: 26px; }
  .contact-grid { gap: 70px; }
  .form-card { padding: 44px; }
  .cta-banner { padding: 70px 64px; }
  .cta-banner h3 { font-size: 30px; }
  .page-banner { padding: 110px 0 120px; }
  .page-banner h1 { font-size: 44px; }
  .footer-grid { padding: 76px 0 54px; gap: 70px; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero-tag { font-size: 11px; letter-spacing: 1px; }
  .section-head h2 { font-size: 24px; }
  .page-banner h1 { font-size: 25px; }
  .stat-num { font-size: 30px; }
  .nav-wrap { height: 60px; }
  .nav-list { top: 60px; max-height: calc(100vh - 60px); }
  .nav-drop-menu { padding-left: 20px; }
}

/* 资料下载（产品页）：按 图片 / PDF 文档 两类展示 */
.ftype { font-size: 15px; color: var(--green); font-weight: 700; margin: 22px 0 12px; }
.file-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.file-img { border: 1px solid var(--line); overflow: hidden; transition: all .3s; }
.file-img:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.file-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (max-width: 992px) { .file-imgs { grid-template-columns: repeat(2, 1fr); } }

