/* ==========================================================
   企业展示官网 · 三套主题（1 蓝色科技 / 2 绿色生态 / 3 金色尊贵）
   主题由 body[data-template] 的 CSS 变量驱动，PC / H5 自适应。
   ========================================================== */

/* ---------- 主题变量 ---------- */
body[data-template="1"] {
  --p1: #1f6bff; --p2: #00c2ff;            /* 主渐变 */
  --deep: #0b1533; --deep2: #12275c;        /* 深色底 */
  --acc: #38bdf8;                           /* 强调 */
  --tint: #ecf4ff; --tint-bd: #d5e5ff;      /* 浅底 */
  --foot: #081228;                          /* 页脚 */
  --hero-grad: linear-gradient(135deg, #0b1533 0%, #122a66 55%, #0b4a8f 100%);
}
body[data-template="2"] {
  --p1: #0f9d58; --p2: #4fd17c;
  --deep: #0b2b1c; --deep2: #14522f;
  --acc: #7ce495;
  --tint: #ecfaf1; --tint-bd: #cdeeda;
  --foot: #082316;
  --hero-grad: linear-gradient(135deg, #06281a 0%, #0f4d2c 55%, #157a45 100%);
}
body[data-template="3"] {
  --p1: #c8860d; --p2: #f3c545;
  --deep: #2a1e06; --deep2: #4d3408;
  --acc: #ffd76a;
  --tint: #fdf6e7; --tint-bd: #f0e2bd;
  --foot: #221803;
  --hero-grad: linear-gradient(135deg, #241a05 0%, #4d3408 55%, #7a5a10 100%);
}

/* ---------- 基础 ---------- */
:root { --maxw: 1200px; --txt: #1f2733; --sub: #6b7686; --line: #e8ecf2; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--txt); background: #f6f8fb; line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,30,60,.08); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 40px; width: auto; }
.brand-badge {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color: #fff; font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--p1) 45%, transparent);
}
.brand-name { font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: #465061; white-space: nowrap; transition: all .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--p1), var(--p2));
  transform: scaleX(0); transition: transform .25s;
}
.nav a:hover { color: var(--p1); }
.nav a.active { color: var(--p1); font-weight: 600; }
.nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle i { display: block; width: 20px; height: 2px; background: var(--txt); margin: 4px auto; border-radius: 2px; transition: .3s; }
body.nav-open .nav-toggle i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle i:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--hero-grad); }
.hero .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero .slide.on { opacity: 1; }
.hero .slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,30,.30) 0%, rgba(6,12,30,.55) 100%);
}
.hero .hero-plain {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, color-mix(in srgb, var(--p2) 28%, transparent), transparent 70%),
    radial-gradient(500px 260px at 10% 85%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%),
    var(--hero-grad);
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; animation: float 9s ease-in-out infinite; }
.hero .blob.b1 { width: 380px; height: 380px; background: var(--p2); top: -120px; left: -80px; }
.hero .blob.b2 { width: 300px; height: 300px; background: var(--acc); bottom: -100px; right: -60px; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-36px); } }
.hero-caption {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 24px; color: #fff;
}
.hero-caption .hc-tag {
  font-size: 14px; letter-spacing: 6px; padding: 6px 18px; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-caption .hc-name { font-size: 52px; font-weight: 800; letter-spacing: 3px; line-height: 1.25;
  text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero-caption .hc-slogan { margin-top: 16px; font-size: 19px; opacity: .92; letter-spacing: 2px; }
.hero-caption .hc-line { width: 72px; height: 3px; margin-top: 26px; border-radius: 3px;
  background: linear-gradient(90deg, var(--p2), var(--acc)); }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots i { width: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.hero-dots i.on { background: #fff; width: 40px; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.18); color: #fff; font-size: 20px; backdrop-filter: blur(4px); transition: .25s; display: none; }
.hero-arrow:hover { background: color-mix(in srgb, var(--p1) 70%, transparent); border-color: transparent; }
.hero-arrow.prev { left: 26px; } .hero-arrow.next { right: 26px; }
.hero:hover .hero-arrow { display: block; }

/* ---------- 特性横条 ---------- */
.feature-strip { margin-top: -56px; position: relative; z-index: 5; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15,30,60,.12);
}
.feature-item { display: flex; align-items: center; gap: 14px; padding: 24px 22px; border-right: 1px solid var(--line); }
.feature-item:last-child { border-right: 0; }
.fi-ico {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--p1) 35%, transparent);
}
.feature-item b { display: block; font-size: 16px; }
.feature-item small { color: var(--sub); font-size: 12.5px; }

/* ---------- 通用版块 ---------- */
.sec { padding: 64px 0 20px; }
.sec-band { padding: 56px 0; background: var(--deep); position: relative; overflow: hidden; }
.sec-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 90% 0%, color-mix(in srgb, var(--p2) 22%, transparent), transparent 70%);
}
.sec-band .container { position: relative; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.sec-title { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; }
.sec-title i { width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, var(--p1), var(--p2)); }
.sec-title.light { color: #fff; }
.sec-more { font-size: 14px; color: var(--sub); transition: .2s; }
.sec-more:hover { color: var(--p1); }
.sec-more.light { color: color-mix(in srgb, #fff 65%, transparent); }
.sec-more.light:hover { color: var(--acc); }

/* ---------- 首页简介 ---------- */
.intro-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: stretch; }
.rich-brief {
  font-size: 16px; color: #4a5568; text-align: justify;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.intro-visual {
  position: relative; border-radius: 18px; min-height: 260px; overflow: hidden;
  background: linear-gradient(135deg, var(--deep), var(--deep2));
  display: flex; align-items: center; justify-content: center;
}
.iv-ring { position: absolute; width: 210px; height: 210px; border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--acc) 60%, transparent); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iv-mark { width: 110px; height: 110px; border-radius: 26px; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.iv-caption { position: absolute; bottom: 18px; width: 100%; text-align: center; color: color-mix(in srgb, #fff 75%, transparent); font-size: 13px; letter-spacing: 2px; }

/* ---------- 首页资讯卡 ---------- */
.home-news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hn-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.hn-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc) 60%, transparent);
  box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.hn-cover { height: 150px; background: linear-gradient(135deg, var(--deep2), var(--p1));
  background-size: cover; background-position: center; position: relative; }
.hn-cover .hn-date {
  position: absolute; left: 14px; bottom: -18px; background: linear-gradient(135deg, var(--p1), var(--p2));
  color: #fff; border-radius: 10px; padding: 8px 12px; text-align: center; line-height: 1.2;
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
}
.hn-cover .hn-date b { display: block; font-size: 20px; }
.hn-cover .hn-date small { font-size: 11px; opacity: .9; }
.hn-body { padding: 30px 18px 18px; color: #fff; }
.hn-title { font-size: 15.5px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.hn-meta { margin-top: 10px; font-size: 12.5px; color: color-mix(in srgb, #fff 55%, transparent); }

/* ---------- 内页横幅 ---------- */
.page-hero {
  padding: 74px 0 60px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 280px at 90% 10%, color-mix(in srgb, var(--p2) 26%, transparent), transparent 70%),
    var(--hero-grad);
}
.page-hero h2 { font-size: 34px; font-weight: 800; letter-spacing: 2px; }
.page-hero p { margin-top: 8px; font-size: 14px; letter-spacing: 4px; opacity: .75; text-transform: uppercase; }
.page-body { padding: 40px 24px 70px; min-height: 320px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--p1); font-size: 14px; }

/* ---------- 资讯列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: flex; gap: 20px; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,30,60,.06); cursor: pointer; transition: .3s;
}
.news-item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,30,60,.12); }
.news-item .cover { width: 240px; height: 150px; object-fit: cover; flex: none; }
.news-item .n-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.news-item .n-title { font-size: 18px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item:hover .n-title { color: var(--p1); }
.news-item .n-meta { margin-top: 12px; color: var(--sub); font-size: 13px; }

/* ---------- 文章详情 ---------- */
.article h2 { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.article-meta { color: var(--sub); font-size: 13.5px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.rich { line-height: 1.9; font-size: 15.5px; color: #3c4657; word-break: break-word; }
.rich img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.rich p { margin: 10px 0; }

/* ---------- 产品 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,30,60,.06); transition: .3s; cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(15,30,60,.13); }
.product-card .p-cover { height: 200px; display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--sub); overflow: hidden; }
.product-card .p-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .p-cover img { transform: scale(1.07); }
.product-card .p-name { padding: 16px 16px 4px; font-size: 15.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .p-spec { padding: 0 16px 18px; color: var(--sub); font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 产品详情 ---------- */
.pd-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 44px; align-items: start; }
.pd-gallery .pd-main {
  border-radius: 16px; overflow: hidden; background: var(--tint);
  height: 380px; display: flex; align-items: center; justify-content: center;
}
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .pd-empty { color: var(--sub); font-size: 14px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: .7; transition: .25s; background: var(--tint);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.on { border-color: var(--p1); opacity: 1; }
.pd-name { font-size: 26px; font-weight: 700; line-height: 1.35; }
.pd-brief { margin-top: 12px; color: var(--sub); font-size: 15px; line-height: 1.8; }
.pd-price {
  margin: 20px 0; padding: 16px 20px; border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--p1) 10%, transparent),
    color-mix(in srgb, var(--p2) 12%, transparent));
  display: flex; align-items: baseline; gap: 10px;
}
.pd-price small { color: var(--sub); font-size: 13px; }
.pd-price b { font-size: 28px; color: #e0603a; font-weight: 800; }
.pd-price del { color: var(--sub); font-size: 14px; }
.pd-attrs {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 18px;
  border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 6px;
}
.pd-attrs dt { color: var(--sub); font-size: 14px; white-space: nowrap; }
.pd-attrs dd { color: var(--txt); font-size: 14.5px; }
.pd-intro { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.pd-intro-title { font-size: 19px; font-weight: 700; margin-bottom: 16px; padding-left: 12px;
  border-left: 4px solid var(--p1); }

/* ---------- 招聘 ---------- */
.recruit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.recruit-item { background: #fff; border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 4px 20px rgba(15,30,60,.06); transition: .3s; }
.recruit-item:hover { box-shadow: 0 14px 34px rgba(15,30,60,.12); transform: translateY(-3px); }
.recruit-item .r-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.recruit-item .r-name { font-size: 18px; font-weight: 700; }
.recruit-item .r-tag { font-size: 12.5px; color: var(--p1); background: var(--tint);
  border: 1px solid var(--tint-bd); padding: 3px 10px; border-radius: 999px; }
.recruit-item .r-pay { margin-left: auto; color: #e0603a; font-weight: 700; font-size: 16px; }
.recruit-item .r-sec { font-size: 14px; color: #4a5568; margin-top: 8px; line-height: 1.8; }
.recruit-item .r-sec b { color: var(--txt); }

/* ---------- 防伪查询 ---------- */
.security-box {
  max-width: 620px; margin: 10px auto 30px; background: #fff; border-radius: 18px;
  padding: 44px 40px; text-align: center; box-shadow: 0 14px 44px rgba(15,30,60,.1);
  border-top: 4px solid var(--p1);
}
.security-box .shield { font-size: 46px; line-height: 1; }
.security-tips { margin: 14px 0 24px; font-size: 17px; font-weight: 600; }
.security-input-row { display: flex; gap: 12px; }
.security-input-row input {
  flex: 1; height: 50px; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 16px; font-size: 15px; outline: none; transition: .25s; min-width: 0;
}
.security-input-row input:focus { border-color: var(--p1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p1) 15%, transparent); }
.btn-primary {
  height: 50px; padding: 0 30px; border: 0; border-radius: 12px; color: #fff;
  font-size: 15.5px; font-weight: 600; white-space: nowrap;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--p1) 35%, transparent);
  transition: .25s;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sec-ok, .sec-bad { margin-top: 24px; border-radius: 12px; padding: 20px 22px; text-align: left; }
.sec-ok { background: var(--tint); border: 1px solid var(--tint-bd); }
.sec-ok h4 { color: #0a8f4d; margin-bottom: 8px; font-size: 17px; }
.sec-bad { background: #fdf1ef; border: 1px solid #f7d4cd; }
.sec-bad h4 { color: #d4452e; margin-bottom: 8px; font-size: 17px; }
.sec-ok p, .sec-bad p { font-size: 14px; color: #4a5568; margin-top: 4px; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: #4a5568; font-size: 14px; transition: .2s;
}
.pager button:hover { border-color: var(--p1); color: var(--p1); }
.pager button.on { background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; border-color: transparent; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--foot); color: rgba(255,255,255,.8); margin-top: 40px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 52px 24px 40px; }
.f-brand .brand { color: #fff; }
.f-brand .brand-name { font-size: 18px; }
.f-desc { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.8; }
.f-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; padding-bottom: 10px; position: relative; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--p1), var(--p2)); }
.f-links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.f-links a { color: rgba(255,255,255,.65); transition: .2s; }
.f-links a:hover { color: var(--acc); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center; }

/* ---------- 返回顶部 ---------- */
#back-top {
  position: fixed; right: 26px; bottom: 34px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--p1) 40%, transparent);
  opacity: 0; pointer-events: none; transform: translateY(14px); transition: .3s;
}
#back-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式：≤1024 ---------- */
@media (max-width: 1024px) {
  .hero { height: 460px; }
  .hero-caption .hc-name { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .intro-wrap { grid-template-columns: 1fr; }
  .intro-visual { min-height: 200px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

/* ---------- 响应式：≤860（导航折叠为汉堡） ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    box-shadow: 0 20px 40px rgba(15,30,60,.12);
  }
  body.nav-open .nav { max-height: 70vh; overflow-y: auto; }
  .nav a { padding: 15px 26px; border-radius: 0; font-size: 15.5px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.active { background: var(--tint); }
  body.nav-open { overflow: hidden; }
  .hero { height: 400px; }
  .hero-caption .hc-name { font-size: 32px; letter-spacing: 1px; }
  .hero-caption .hc-slogan { font-size: 15px; margin-top: 10px; }
  .hero-caption .hc-tag { font-size: 12px; letter-spacing: 4px; margin-bottom: 14px; }
  .feature-strip { margin-top: 0; padding: 0 16px; }
  .feature-grid { border-radius: 14px; }
  .home-news-cards { grid-template-columns: 1fr; }
  .hn-cover { height: 170px; }
  .sec { padding: 40px 0 10px; }
  .page-hero { padding: 50px 0 42px; }
  .page-hero h2 { font-size: 26px; }
  .news-item .cover { width: 120px; height: 100%; min-height: 110px; }
  .news-item .n-body { padding: 14px 14px 14px 0; }
  .news-item .n-title { font-size: 15.5px; }
  .recruit-list { grid-template-columns: 1fr; }
  .pd-wrap { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery .pd-main { height: 260px; }
  .pd-name { font-size: 20px; }
  .pd-price b { font-size: 24px; }
  .security-box { padding: 30px 20px; }
  .security-input-row { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; padding: 40px 24px 30px; }
}

/* ---------- 响应式：≤560（手机竖屏） ---------- */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-inner { height: 58px; gap: 12px; }
  .nav { top: 58px; }
  .brand-badge { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
  .brand-name { font-size: 16.5px; }
  .hero { height: 340px; }
  .hero-caption .hc-name { font-size: 25px; }
  .hero-arrow { display: none !important; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-item { flex-direction: column; text-align: center; gap: 8px; padding: 16px 10px; }
  .feature-item small { display: none; }
  .sec-title { font-size: 20px; }
  .sec-title i { height: 20px; }
  .sec-head { margin-bottom: 20px; }
  .sec-more { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .p-cover { height: 130px; }
  .product-card .p-name { font-size: 13.5px; padding: 10px 10px 2px; }
  .product-card .p-spec { padding: 0 10px 12px; font-size: 12px; }
  .news-item { flex-direction: column; }
  .news-item .cover { width: 100%; height: 170px; }
  .news-item .n-body { padding: 14px 16px 16px; }
  .page-body { padding: 24px 16px 50px; }
  .recruit-item { padding: 20px 18px; }
  .recruit-item .r-pay { margin-left: 0; width: 100%; }
  #back-top { right: 16px; bottom: 22px; width: 42px; height: 42px; }
  .hn-body { padding: 26px 14px 14px; }
}

/* ==================== 扫码落地页（/trace/{code}、/code/{code}） ==================== */
.scan-search { display: flex; gap: 10px; max-width: 620px; margin: 0 auto 26px; }
.scan-search input {
  flex: 1; height: 48px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 16px; font-size: 15px; background: #fff; color: var(--text); outline: none;
}
.scan-search input:focus { border-color: var(--main); box-shadow: 0 0 0 3px var(--tint); }
.scan-search .btn-primary { height: 48px; padding: 0 26px; font-size: 15px; white-space: nowrap; }
.scan-loading { text-align: center; color: #8a93a6; padding: 40px 0; }
.scan-banner { margin-bottom: 22px; }
.scan-title {
  margin: 26px 0 12px; font-size: 17px; font-weight: 700; color: var(--text);
  padding-left: 10px; border-left: 4px solid var(--main); line-height: 1.3;
}
.scan-info { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.scan-info li { display: flex; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.scan-info li:last-child { border-bottom: none; }
.scan-info li a { flex: 0 0 108px; color: #8a93a6; }
.scan-info li .hj { flex: 1; color: var(--text); word-break: break-all; text-align: right; }
.scan-info li .hj img { max-width: 100%; }
.auth-logo { max-width: 160px; max-height: 60px; object-fit: contain; }
.scan-nodes .node-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px 6px; margin-bottom: 12px;
}
.node-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.node-name {
  background: var(--tint); color: var(--main); font-size: 13px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.node-point { font-size: 15px; font-weight: 600; color: var(--text); }
.scan-nodes .node-card .scan-info { border: none; }
.scan-tips {
  margin: 14px 0; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.7;
  background: #fff8e6; border: 1px solid #f5e3ae; color: #8a6d1d;
}
.color-qr { text-align: center; padding: 16px 0 4px; }
.color-qr img { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.scan-video { width: 100%; max-width: 640px; display: block; margin: 6px auto 10px; border-radius: 12px; background: #000; }
.scan-page-tip { text-align: center; color: #8a93a6; font-size: 13px; margin-top: 26px; }

@media (max-width: 560px) {
  .scan-search input { height: 44px; font-size: 14px; }
  .scan-search .btn-primary { height: 44px; padding: 0 18px; }
  .scan-info li a { flex-basis: 92px; }
  .color-qr img { width: 180px; height: 180px; }
}
