/* ==========================================================================
   买钢乐 · 江苏买钢乐购销平台  主样式
   ========================================================================== */

:root {
  --ink: #0a2540;
  --ink-2: #123a63;
  --brand: #0e4c92;
  --brand-2: #2f7ac4;
  --brand-soft: #eaf2fb;
  --accent: #e8722a;
  --accent-dark: #cf5f1e;
  --muted: #6b7f96;
  --text: #26364a;
  --bg: #f4f7fb;
  --line: #e2e8f0;
  --white: #fff;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, .06);
  --shadow-md: 0 12px 30px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

.container { width: 1200px; max-width: calc(100% - 48px); margin: 0 auto; }

/* ---------- 顶部工具栏 ---------- */
.topbar {
  background: var(--ink);
  color: #b9cbe0;
  font-size: 13px;
  line-height: 38px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #b9cbe0; }
.topbar a:hover { color: #fff; }
.topbar .sep { margin: 0 10px; color: #36527a; }
.topbar .tright { display: flex; align-items: center; }
.topbar .wx-tag { color: #ffd9bd; }

/* ---------- 头部 ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(140deg, var(--brand-2), var(--ink));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(14, 76, 146, .28);
  flex: 0 0 auto;
}
.logo-text .lt-name {
  font-size: 25px; font-weight: 700; color: var(--ink); letter-spacing: 2px; line-height: 1.2;
}
.logo-text .lt-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.header-contact { display: flex; align-items: center; gap: 22px; }
.hc-phone { text-align: right; }
.hc-phone .lab { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.hc-phone .num {
  font-size: 22px; font-weight: 700; color: var(--ink);
  font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; letter-spacing: .5px;
}
.hc-qr { display: flex; align-items: center; gap: 10px; padding-left: 22px; border-left: 1px solid var(--line); }
.hc-qr img { width: 88px; height: 88px; border-radius: 4px; cursor: zoom-in; }
.hc-qr .qr-txt { font-size: 12px; color: var(--muted); line-height: 1.5; }
.hc-qr .qr-txt b { display: block; color: var(--ink); font-size: 13px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 4px;
  width: 42px; height: 38px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 10px; width: 22px; height: 2px; background: var(--ink); content: "";
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { top: 18px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }

/* ---------- 主导航 ---------- */
.main-nav {
  background: linear-gradient(90deg, var(--ink), var(--ink-2) 60%, var(--brand));
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 4px 14px rgba(10, 37, 64, .18);
}
.main-nav .container { display: flex; align-items: stretch; }
.main-nav a.nav-item {
  color: #dbe7f5; font-size: 15px; padding: 0 26px; line-height: 52px;
  display: block; position: relative; white-space: nowrap;
}
.main-nav a.nav-item::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background: var(--accent); transition: width .25s var(--ease), left .25s var(--ease);
}
.main-nav a.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a.nav-item:hover::after,
.main-nav a.nav-item.active::after { width: 100%; left: 0; }
.main-nav a.nav-item.active { color: #fff; background: rgba(255, 255, 255, .10); }
.nav-spacer { flex: 1; }
.nav-tel { color: #ffd9bd; font-size: 14px; line-height: 52px; padding-right: 6px; }
.nav-tel b { font-size: 17px; }

/* ---------- 主视觉轮播 ---------- */
.hero { position: relative; height: 620px; overflow: hidden; background: var(--ink); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease);
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 44, .88) 0%, rgba(6, 24, 44, .62) 45%, rgba(6, 24, 44, .12) 100%);
}
.hero-slide.on { opacity: 1; }
.hero-slide.on .hero-inner > * { animation: heroUp .9s var(--ease) both; }
.hero-slide.on .hero-inner > *:nth-child(2) { animation-delay: .12s; }
.hero-slide.on .hero-inner > *:nth-child(3) { animation-delay: .22s; }
.hero-slide.on .hero-inner > *:nth-child(4) { animation-delay: .32s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 700px; color: #fff;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 13px; letter-spacing: 3px; color: #ffd9bd;
  border: 1px solid rgba(255, 217, 189, .45); padding: 6px 16px; border-radius: 40px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.28; font-weight: 700; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #ffb37a; }
.hero p { margin-top: 18px; font-size: 16px; color: #c8d8ea; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 30px; border-radius: 4px; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease); font-weight: 500;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232, 114, 42, .32); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-sm { height: 38px; padding: 0 20px; font-size: 14px; }

.hero-dots {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dots button {
  width: 34px; height: 4px; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255, 255, 255, .35); padding: 0; transition: background .25s;
}
.hero-dots button.on { background: var(--accent); }

/* ---------- 数据条 ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 0; text-align: center; border-right: 1px solid rgba(255, 255, 255, .10); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-size: 34px; font-weight: 700; color: #fff; line-height: 1.1;
  font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
}
.stat .num small { font-size: 16px; font-weight: 500; margin-left: 4px; }
.stat .lab { font-size: 13px; color: #9fb8d5; letter-spacing: 1px; margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .en {
  font-size: 13px; letter-spacing: 5px; color: var(--brand-2);
  font-weight: 600; text-transform: uppercase;
}
.section-head .cn { font-size: 32px; font-weight: 700; color: var(--ink); margin-top: 6px; letter-spacing: 2px; }
.section-head .line {
  width: 48px; height: 3px; background: var(--accent); margin: 16px auto 0; border-radius: 2px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.section-head.left { text-align: left; }
.section-head.left .line { margin-left: 0; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s var(--ease); position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card .thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eef2f7; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .badge {
  position: absolute; left: 12px; top: 12px; background: rgba(10, 37, 64, .82);
  color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 3px; letter-spacing: 1px;
}
.product-card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 17px; color: var(--ink); font-weight: 600; }
.product-card p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; flex: 1; }
.product-card .more {
  margin-top: 16px; font-size: 13px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px;
}
.product-card .more::after { content: "→"; transition: transform .25s var(--ease); }
.product-card:hover .more::after { transform: translateX(4px); }

/* ---------- 关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-lg); }
.about-media .year {
  position: absolute; right: -18px; bottom: -18px; background: var(--accent); color: #fff;
  padding: 20px 26px; border-radius: 6px; text-align: center; box-shadow: var(--shadow-md);
}
.about-media .year b { display: block; font-size: 32px; line-height: 1; }
.about-media .year span { font-size: 12px; letter-spacing: 2px; }
.about-body p { color: #45586e; margin-top: 18px; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; color: #3c4f65; font-size: 14px; }
.about-points li::before {
  content: ""; width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e4c92' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.about-body .btn { margin-top: 30px; }

/* ---------- 解决方案 ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.solution-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.solution-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.solution-card:hover::before { width: 100%; }
.solution-card .ico {
  width: 56px; height: 56px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; margin-bottom: 22px;
}
.solution-card .ico svg { width: 28px; height: 28px; stroke: var(--brand); fill: none; stroke-width: 1.6; }
.solution-card h3 { font-size: 19px; color: var(--ink); }
.solution-card p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.solution-card .idx {
  position: absolute; right: 22px; top: 14px; font-size: 54px; font-weight: 700;
  color: #eef3f9; line-height: 1; font-family: Arial, sans-serif;
}

/* ---------- 新闻 ---------- */
.news-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; }
.news-feature {
  position: relative; border-radius: 8px; overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 50, 0) 25%, rgba(8, 28, 50, .90) 100%);
}
.news-feature .inner { position: relative; z-index: 2; padding: 34px; }
.news-feature .tag {
  display: inline-block; background: var(--accent); font-size: 12px; padding: 3px 12px;
  border-radius: 3px; letter-spacing: 1px; margin-bottom: 14px;
}
.news-feature h3 { font-size: 22px; line-height: 1.5; font-weight: 600; }
.news-feature .date { font-size: 13px; color: #c3d4e6; margin-top: 10px; }

.news-list { display: flex; flex-direction: column; gap: 6px; }
.news-item {
  display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--line);
  transition: all .25s var(--ease);
}
.news-item:first-child { padding-top: 0; }
.news-item:hover { border-color: var(--brand-2); }
.news-date {
  flex: 0 0 66px; text-align: center; background: var(--brand-soft); border-radius: 6px;
  padding: 10px 0; height: fit-content; transition: all .25s var(--ease);
}
.news-date b { display: block; font-size: 22px; color: var(--brand); line-height: 1.2; font-family: Arial, sans-serif; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-item:hover .news-date { background: var(--brand); }
.news-item:hover .news-date b, .news-item:hover .news-date span { color: #fff; }
.news-body h4 { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.6; }
.news-body p {
  font-size: 13px; color: var(--muted); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item:hover .news-body h4 { color: var(--brand); }

/* ---------- 技术文章 ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .3s var(--ease); position: relative;
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tech-card .no {
  font-size: 40px; font-weight: 700; color: #e6eef7; font-family: Arial, sans-serif; line-height: 1;
}
.tech-card h3 { font-size: 17px; color: var(--ink); margin-top: 14px; line-height: 1.55; }
.tech-card p {
  font-size: 13px; color: var(--muted); margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tech-card .date { font-size: 12px; color: #9aabc0; margin-top: 16px; display: block; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--brand) 100%);
  color: #fff; padding: 54px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; letter-spacing: 1px; }
.cta-band p { color: #c6d9ee; margin-top: 8px; font-size: 14px; }
.cta-actions { display: flex; align-items: center; gap: 26px; }
.cta-wx { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #dbe9f8; }
.cta-wx img { width: 72px; height: 72px; background: #fff; padding: 4px; border-radius: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #071a30; color: #8fa6c0; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 50px; padding: 62px 0 46px; }
.footer-brand .logo-text .lt-name { color: #fff; }
.footer-brand .logo-text .lt-sub { color: #7b93ad; }
.footer-brand p { margin-top: 20px; line-height: 1.9; font-size: 13px; color: #869db6; max-width: 340px; }
.footer-contact { margin-top: 22px; display: grid; gap: 8px; font-size: 13px; }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact .k { color: #5d7899; flex: 0 0 46px; }
.footer-tit { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-nav a { font-size: 13px; color: #9db3ca; }
.footer-nav a:hover { color: #fff; }
.footer-qr img { width: 144px; height: 144px; background: #fff; padding: 5px; border-radius: 6px; cursor: zoom-in; }
.footer-qr .cap { font-size: 12px; color: #7d95b0; margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #7189a4;
}
.footer-bottom a { color: #7189a4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 右下漂浮 ---------- */
.float-bar {
  position: fixed; right: 18px; bottom: 80px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px;
}
.float-bar .fb-item {
  width: 52px; height: 52px; border-radius: 8px; background: var(--ink);
  color: #fff; display: grid; place-items: center; cursor: pointer; position: relative;
  box-shadow: var(--shadow-md); transition: background .25s;
}
.float-bar .fb-item:hover { background: var(--brand); }
.float-bar .fb-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.float-bar .fb-pop {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) scale(.94);
  background: #fff; padding: 8px; border-radius: 8px; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: all .22s var(--ease);
}
.float-bar .fb-pop img { width: 176px; height: 176px; cursor: zoom-in; }
.float-bar .fb-item:hover .fb-pop { opacity: 1; transform: translateY(-50%) scale(1); }
.float-bar .fb-item .fb-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 12.5px; padding: 7px 12px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-bar .fb-item:hover .fb-tip { opacity: 1; }

/* ---------- 内页横幅 ---------- */
.page-hero {
  height: 280px; background: var(--ink) center / cover no-repeat; position: relative;
  display: flex; align-items: center; color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 44, .90), rgba(6, 24, 44, .55));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .en { font-size: 12px; letter-spacing: 4px; color: #ffb37a; text-transform: uppercase; }
.page-hero h1 { font-size: 36px; margin-top: 8px; letter-spacing: 2px; }
.breadcrumb { margin-top: 14px; font-size: 13px; color: #b8cde3; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sp { color: #5a789a; }

/* ---------- 产品页 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 9px 24px; border-radius: 40px; cursor: pointer; font-size: 14px; transition: all .22s var(--ease);
}
.filter-bar button:hover { border-color: var(--brand-2); color: var(--brand); }
.filter-bar button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: start; }
.pd-gallery { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f3f6fa; }
.pd-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs img { aspect-ratio: 1/1; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.pd-info h1 { font-size: 30px; color: var(--ink); line-height: 1.35; }
.pd-tagline { color: var(--muted); margin-top: 10px; }
.pd-rule { height: 1px; background: var(--line); margin: 22px 0; }
.pd-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 14px; }
.pd-quick li { display: flex; gap: 8px; }
.pd-quick .k { color: #8a9cb0; flex: 0 0 62px; }
.pd-quick .v { color: var(--ink); font-weight: 500; }
.pd-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.pd-note {
  margin-top: 22px; background: var(--brand-soft); border-left: 3px solid var(--brand);
  padding: 14px 18px; font-size: 13px; color: #3f5a78; border-radius: 0 4px 4px 0;
}

.detail-block { margin-top: 66px; }
.detail-block h2 {
  font-size: 22px; color: var(--ink); padding-left: 14px; border-left: 4px solid var(--accent);
  margin-bottom: 22px;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 13px 16px; text-align: left; }
.spec-table th { background: #f4f8fd; color: var(--ink); font-weight: 600; width: 190px; }
.spec-table tr:hover td { background: #fafcff; }
.detail-body p { color: #45586e; margin-top: 14px; }
.detail-body ul { margin-top: 14px; display: grid; gap: 8px; }
.detail-body ul li { padding-left: 20px; position: relative; color: #45586e; }
.detail-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-2);
}

/* ---------- 新闻列表页 ---------- */
.news-page { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.news-row {
  display: flex; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.news-row:first-child { padding-top: 0; }
.news-row .thumb { flex: 0 0 260px; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-row:hover .thumb img { transform: scale(1.05); }
.news-row .txt h3 { font-size: 19px; color: var(--ink); line-height: 1.55; }
.news-row:hover .txt h3 { color: var(--brand); }
.news-row .meta { font-size: 12.5px; color: #9aabc0; margin-top: 10px; display: flex; gap: 16px; }
.news-row .txt p {
  font-size: 14px; color: var(--muted); margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row .read { margin-top: 14px; font-size: 13px; color: var(--brand); }

.side-box { background: var(--bg); border-radius: 8px; padding: 26px 24px; margin-bottom: 24px; }
.side-box h3 { font-size: 16px; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.side-links li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 13.5px; color: #4b6076; border-bottom: 1px dashed #e8edf4; }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a:hover { color: var(--brand); }
.side-links .d { color: #a3b3c5; flex: 0 0 auto; }
.side-cta { background: linear-gradient(150deg, var(--ink), var(--brand)); color: #fff; text-align: center; padding: 30px 24px; border-radius: 8px; }
.side-cta h3 { border: 0; color: #fff; padding: 0; margin-bottom: 8px; }
.side-cta p { font-size: 13px; color: #c3d8ee; }
.side-cta img { width: 140px; height: 140px; margin: 16px auto; background: #fff; padding: 6px; border-radius: 6px; }
.side-cta .btn { width: 100%; margin-top: 6px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
  min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 4px;
  display: grid; place-items: center; font-size: 14px; color: var(--text); background: #fff;
}
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 文章详情 ---------- */
.article-head { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.article-head h1 { font-size: 30px; color: var(--ink); line-height: 1.5; }
.article-meta { margin-top: 16px; font-size: 13px; color: #9aabc0; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.article-body { max-width: 820px; margin: 0 auto; font-size: 16px; color: #3d5064; line-height: 2; }
.article-body h2 { font-size: 21px; color: var(--ink); margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--accent); }
.article-body h3 { font-size: 18px; color: var(--ink); margin: 26px 0 10px; }
.article-body p { margin: 14px 0; }
.article-body ul, .article-body ol { margin: 14px 0; display: grid; gap: 8px; }
.article-body ul li, .article-body ol li { padding-left: 22px; position: relative; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-2);
}
.article-body ol { counter-reset: n; }
.article-body ol li::before {
  counter-increment: n; content: counter(n); position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 11px; display: grid; place-items: center; line-height: 1;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-body table th, .article-body table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body table th { background: #f4f8fd; }
.article-cover { max-width: 820px; margin: 0 auto 30px; border-radius: 8px; overflow: hidden; }
.article-nav { max-width: 820px; margin: 48px auto 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; }
.article-nav a { color: var(--muted); }
.article-nav a:hover { color: var(--brand); }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 40px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; color: #51667d; }
.form-field label i { color: #d9534f; font-style: normal; margin-left: 2px; }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; font-size: 14px;
  color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 122, 196, .12); background: #fff;
}
.form-field .err { font-size: 12px; color: #d9534f; display: none; }
.form-field.invalid input, .form-field.invalid textarea { border-color: #d9534f; }
.form-field.invalid .err { display: block; }
.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot .hint { font-size: 12.5px; color: #9aabc0; }
.form-msg {
  margin-top: 18px; padding: 13px 16px; border-radius: 4px; font-size: 14px; display: none;
}
.form-msg.ok { display: block; background: #edf8f0; color: #1d7a43; border: 1px solid #c7e8d4; }
.form-msg.bad { display: block; background: #fdf0ef; color: #b03a35; border: 1px solid #f5cfcb; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 24px; transition: all .25s var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-sm); border-color: #cfe0f2; }
.contact-card .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; flex: 0 0 auto; }
.contact-card .ico svg { width: 21px; height: 21px; stroke: var(--brand); fill: none; stroke-width: 1.7; }
.contact-card .k { font-size: 12.5px; color: #8a9cb0; letter-spacing: 1px; }
.contact-card .v { font-size: 16px; color: var(--ink); font-weight: 500; margin-top: 4px; line-height: 1.6; }
.contact-card .v small { font-size: 13px; color: var(--muted); font-weight: 400; }

/* ---------- 关于页 ---------- */
.about-page-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.timeline { position: relative; padding-left: 28px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand-2);
}
.timeline .y { font-size: 16px; font-weight: 700; color: var(--brand); font-family: Arial, sans-serif; }
.timeline .d { font-size: 14px; color: #4b6076; margin-top: 2px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px 30px; }
.value-card h3 { font-size: 18px; color: var(--ink); }
.value-card p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.value-card .bar { width: 34px; height: 3px; background: var(--accent); margin-bottom: 20px; }

/* ---------- 下载中心 ---------- */
.dl-list { display: grid; gap: 14px; }
.dl-item {
  display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 22px 26px; transition: all .25s var(--ease);
}
.dl-item:hover { box-shadow: var(--shadow-sm); border-color: #cfe0f2; transform: translateX(4px); }
.dl-item .fi {
  width: 46px; height: 52px; border-radius: 4px; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .5px;
  flex: 0 0 auto;
}
.dl-item .meta { flex: 1; }
.dl-item .meta h3 { font-size: 16px; color: var(--ink); }
.dl-item .meta p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: #9aabc0; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-nav a.nav-item { padding: 0 16px; font-size: 14px; }
  .hero h1 { font-size: 38px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { gap: 34px; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-header .container { flex-wrap: wrap; }
  .header-contact { display: none; }
  .main-nav .container { flex-direction: column; display: none; padding: 8px 0; }
  .main-nav.open .container { display: flex; }
  .main-nav a.nav-item { line-height: 46px; padding: 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .main-nav a.nav-item::after { display: none; }
  .nav-tel { display: none; }
  .hero { height: 520px; }
  .hero h1 { font-size: 32px; }
  .about-wrap, .about-page-grid, .product-detail, .contact-grid, .news-layout, .news-page { grid-template-columns: 1fr; }
  .news-layout { gap: 30px; }
  .news-feature { min-height: 320px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .10); }
  .solution-grid, .tech-grid, .value-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 44px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .about-media .year { right: 12px; bottom: 12px; }
}

@media (max-width: 640px) {
  .container { max-width: calc(100% - 32px); }
  .hero { height: 470px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero-btns .btn { height: 44px; padding: 0 20px; font-size: 14px; }
  .section-head .cn { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; gap: 14px; }
  .news-row .thumb { flex: none; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .pd-quick { grid-template-columns: 1fr; }
  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 26px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .float-bar { right: 10px; bottom: 66px; }
  .float-bar .fb-item { width: 46px; height: 46px; }
  .article-head h1 { font-size: 23px; }
  .article-body { font-size: 15px; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .contact-grid { gap: 24px; }
}

/* 二维码放大层 */
.qr-zoom{position:fixed;inset:0;background:rgba(0,0,0,.72);display:none;align-items:center;justify-content:center;z-index:9999;cursor:zoom-out}
.qr-zoom.on{display:flex}
.qr-zoom img{width:min(80vw,360px);height:auto;background:#fff;padding:14px;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.35)}


/* ===== 茶主题配色覆盖 ===== */
:root{
  --ink:#14261d; --ink-2:#1d3829; --brand:#255c3f; --brand-2:#3d7f57;
  --brand-soft:#eaf3ee; --accent:#c08a2e; --accent-dark:#a3731f;
  --muted:#6d7f73; --text:#26362c; --bg:#f5f7f3; --line:#e0e7df;
}

/* ===== 茶主题配色覆盖 ===== */
:root{
  --ink:#14261d; --ink-2:#1d3829; --brand:#255c3f; --brand-2:#3d7f57;
  --brand-soft:#eaf3ee; --accent:#c08a2e; --accent-dark:#a3731f;
  --muted:#6d7f73; --text:#26362c; --bg:#f5f7f3; --line:#e0e7df;
}

/* ===== 茶主题配色覆盖 ===== */
:root{
  --ink:#14261d; --ink-2:#1d3829; --brand:#255c3f; --brand-2:#3d7f57;
  --brand-soft:#eaf3ee; --accent:#c08a2e; --accent-dark:#a3731f;
  --muted:#6d7f73; --text:#26362c; --bg:#f5f7f3; --line:#e0e7df;
}
