/* ==========================================================
   Fudeng Machinery - 静态站样式
   风格：极简 / 大图 / 冷灰蓝 + 工程黄
   ========================================================== */
:root {
  --ink: #0e1620;
  --ink-2: #3b4652;
  --muted: #7a8591;
  --line: rgba(14, 22, 32, .09);
  --bg: #eef1f4;
  --card: #ffffff;
  --dark: #121a24;
  --dark-2: #1b2531;
  --accent: #f2b705;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Manrope", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; /* 锚点跳转不被固定头部遮挡 */ }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 80px); margin-inline: auto; }
@media (max-width: 720px) { .wrap { width: calc(100% - 40px); } }

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; }
.h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 46ch; }
.small { font-size: 13px; color: var(--muted); }

.section { padding: 120px 0; }
.section-head {
  display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: 40px; margin-bottom: 48px;
}
.section-head .h2 { margin-top: 14px; }
.section-head p { font-size: 14px; color: var(--muted); max-width: 40ch; }
/* 宽屏下描述文字单行显示，标题列可收缩 */
@media (min-width: 1000px) {
  .section-head { grid-template-columns: minmax(0, 1fr) auto auto; }
  .section-head p { max-width: none; white-space: nowrap; }
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 16px; } .section { padding: 80px 0; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 10px 0 26px;
  border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn .ic {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .35s var(--ease);
}
.btn:hover .ic { transform: translateX(3px) rotate(-45deg); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .ic { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .ic { background: var(--accent); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent .ic { background: var(--ink); color: #fff; }
.btn-ghost { color: #fff; padding: 0 18px 0 6px; gap: 12px; }
.btn-ghost .ic { border: 1px solid rgba(255,255,255,.45); width: 46px; height: 46px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.logo svg { color: var(--accent); }
.logo small { font-weight: 500; opacity: .6; font-size: 12px; letter-spacing: .1em; margin-left: 2px; }
.nav { display: flex; gap: 6px; }
.nav a {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: color .3s, background .3s; position: relative;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: background .3s;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.lang {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px;
}
.burger { display: none; }
.logo, .lang { white-space: nowrap; flex-shrink: 0; }
/* 手机端：头部空间有限，隐藏 MACHINERY 副标，缩小间距 */
@media (max-width: 560px) {
  .header .wrap { height: 68px; gap: 10px; }
  .header .logo { font-size: 17px; }
  .header .logo small { display: none; }
  .header-tools { gap: 4px; }
  .lang { padding: 0 10px; gap: 6px; }
}

/* 滚动后 / 浅色页面 */
.header.solid { background: rgba(238, 241, 244, .82); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.solid .logo, .header.solid .icon-btn, .header.solid .lang { color: var(--ink); }
.header.solid .lang { border-color: var(--line); }
.header.solid .icon-btn:hover { background: rgba(14,22,32,.06); }
.header.solid .nav a { color: var(--ink-2); }
.header.solid .nav a:hover { color: var(--ink); background: rgba(14,22,32,.05); }
.header.solid .nav a.active { color: var(--ink); }

@media (max-width: 1000px) {
  .nav {
    position: fixed; inset: 84px 16px auto 16px; flex-direction: column; background: var(--dark);
    padding: 14px; border-radius: var(--radius-lg); opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: all .35s var(--ease);
  }
  .nav a, .header.solid .nav a { color: #fff; padding: 14px 16px; font-size: 16px; }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .burger { display: grid; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; display: flex; align-items: center;
  background: #4a5866;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,26,36,.72) 0%, rgba(18,26,36,.35) 42%, rgba(18,26,36,0) 70%),
              linear-gradient(0deg, rgba(18,26,36,.6) 0%, rgba(18,26,36,0) 30%),
              linear-gradient(180deg, rgba(18,26,36,.45) 0%, rgba(18,26,36,0) 140px); /* 顶部压暗，保证导航可读 */
}
.hero > .wrap { position: relative; z-index: 2; padding: 140px 0 170px; }
.hero .eyebrow { color: rgba(255,255,255,.75); }
.hero h1 { margin: 22px 0 24px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 40px; flex-wrap: wrap; }

.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
/* 底部信息条 */
.hero-meta { position: absolute; z-index: 2; bottom: 34px; left: 0; right: 0; }
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-nums { display: flex; gap: 46px; font-size: 12px; color: rgba(255,255,255,.7); }
.hero-nums b { display: block; font-size: 24px; color: #fff; font-weight: 500; letter-spacing: -.02em; }
/* 卖点：横向深色玻璃条，压在底部岩石上，不挡设备 */
.hero-points {
  display: flex; border-radius: 999px; padding: 6px;
}
.hero-points.glass {
  background: rgba(10,16,24,.55); border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hero-points li { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; }
.hero-points li + li { border-left: 1px solid rgba(255,255,255,.14); }
.hero-points li b { color: var(--accent); font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
/* 向下滚动指示 */
.scroll-down { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); padding: 0 20px 6px; }
.scroll-down i { display: block; width: 1px; height: 26px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-down i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drop 2s infinite var(--ease); }
@keyframes drop { to { top: 100%; } }
@media (max-width: 1200px) { .hero-points { display: none; } }
@media (max-width: 720px) {
  .hero > .wrap { padding-bottom: 150px; }
  .hero-nums { gap: 28px; }
  .hero-nums b { font-size: 20px; }
  .scroll-down { display: none; }
}

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  height: 38px; padding: 0 18px; border-radius: 999px; font-size: 13px; color: var(--ink-2); font-weight: 500;
  transition: all .3s var(--ease);
}
.tab:hover { background: rgba(14,22,32,.05); }
.tab.active { background: var(--ink); color: #fff; }

/* ---------- 产品卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 1px 2px rgba(14,22,32,.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(14,22,32,.28); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(180deg, #e9edf1, #dfe4e9); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
}
.badge.new { background: var(--accent); }
.card-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cat { font-size: 12px; color: var(--muted); }
.round {
  width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .35s var(--ease);
}
.card:hover .round { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-45deg); }
.specs { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.specs { flex-wrap: wrap; row-gap: 8px; }
.specs span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.specs svg { flex: none; }
/* 产品图为 3:2 浅灰棚拍图，容器同比例，整机不被裁切 */
.card-media, .gallery-main { aspect-ratio: 3 / 2; background: #eef1f4; }
.specs svg { color: var(--muted); }
.card.hide { display: none; }

/* ---------- Why / 深色区 ---------- */
.dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.why { min-height: 620px; display: flex; align-items: center; }
.why-bg { position: absolute; inset: 0; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18,26,36,.96) 0%, rgba(18,26,36,.85) 45%, rgba(18,26,36,.15) 75%, rgba(18,26,36,.25) 100%);
}
.why .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; padding: 110px 0; }
.why .eyebrow { color: rgba(255,255,255,.6); }
.why .h2 { margin: 16px 0 22px; }
.why p.lead { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 34px; }
.feature-list { border-left: 1px solid rgba(255,255,255,.12); padding-left: 40px; display: flex; flex-direction: column; gap: 34px; justify-content: center; }
.feature { display: flex; gap: 18px; }
.feature .fi {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--accent);
}
.feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature p { font-size: 13px; color: rgba(255,255,255,.55); max-width: 30ch; }
.why-tag { align-self: start; justify-self: end; text-align: right; font-size: 13px; letter-spacing: .14em; line-height: 1.8; font-weight: 600; }
.why-tag::after { content: ""; display: block; width: 46px; height: 2px; background: var(--accent); margin: 18px 0 0 auto; }
@media (max-width: 1000px) { .why .wrap { grid-template-columns: 1fr; } .feature-list { border: 0; padding: 0; } .why-tag { display: none; } }

/* ---------- 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 0 0; }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stat b sup { font-size: .45em; color: var(--accent); vertical-align: top; margin-left: 4px; font-weight: 600; }
.stat span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* ---------- Bento 品类 ---------- */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,22,32,.78) 0%, rgba(14,22,32,0) 60%); }
.tile:hover img { transform: scale(1.06); }
.tile:first-child { grid-row: span 2; }
.tile-info { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.tile-info h3 { font-size: 18px; font-weight: 600; }
.tile-info p { font-size: 12px; opacity: .7; margin-top: 2px; }
.tile .round { border-color: rgba(255,255,255,.4); }
.tile:hover .round { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(-45deg); }
.tile-num { position: absolute; top: 18px; left: 22px; font-size: 12px; opacity: .7; letter-spacing: .1em; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; } .tile:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile:first-child { grid-column: auto; } }

/* ---------- 品牌跑马灯 ---------- */
.brands { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands-row { display: flex; gap: 80px; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .brands-row { animation-play-state: paused; }
.brands-row { align-items: center; }
.brand-logo { display: flex; align-items: center; height: 48px; flex-shrink: 0; }
.brand-logo img { height: 34px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .45; transition: filter .3s, opacity .3s; }
.brand-logo:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 新闻 ---------- */
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-card .media { aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .media img { transform: scale(1.05); }
.news-card time { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.news-card h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.news-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { margin-top: auto; font-size: 13px; }
.news-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- 文章详情 ---------- */
.ar-head { max-width: 860px; }
.ar-head .crumbs { margin: 0 0 28px; color: var(--muted); }
.ar-head .crumbs a:hover { color: var(--ink); }
.ar-head time { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.ar-head h1 { margin: 12px 0 18px; font-size: clamp(30px, 3.8vw, 50px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.ar-lead { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.ar-cover { margin: 44px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--dark); }
.ar-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.detail-body.ar-body { margin-top: 56px; padding-top: 0; border-top: 0; max-width: 760px; }
.ar-body p { font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.ar-body li { font-size: 16px; }
.ar-side { position: sticky; top: 110px; margin-top: 56px; }
.ar-card { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 14px; }
.ar-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ar-card p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.ar-card .btn { justify-content: space-between; }
.ar-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.ar-nav { display: grid; gap: 6px; padding: 22px 24px; background: #fff; border-radius: var(--radius); transition: box-shadow .3s; }
.ar-nav:hover { box-shadow: 0 0 0 2px var(--accent); }
.ar-nav span { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ar-nav b { font-size: 15px; font-weight: 600; line-height: 1.4; }
.ar-nav.next { text-align: right; grid-column: 2; }
@media (max-width: 900px) {
  .ar-layout { grid-template-columns: 1fr; gap: 0; }
  .ar-side { position: static; margin-top: 30px; }
  .ar-cover { aspect-ratio: 16 / 10; margin-top: 30px; }
  .ar-pn { grid-template-columns: 1fr; }
  .ar-nav.next { grid-column: auto; text-align: left; }
}

/* ---------- CTA ---------- */
.cta { border-radius: var(--radius-lg); overflow: hidden; position: relative; color: #fff; padding: 80px 70px; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,26,36,.9), rgba(18,26,36,.3)); }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta .h2 { max-width: 16ch; margin-top: 14px; }
.cta .eyebrow { color: rgba(255,255,255,.65); }
.cta p { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 14px; }
@media (max-width: 700px) { .cta { padding: 50px 28px; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.62); padding: 90px 0 36px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 40px; }
.footer .logo { margin-bottom: 14px; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.pay-icons { display: grid; grid-template-columns: repeat(4, 54px); gap: 14px 12px; margin-top: 22px; align-items: center; }
.wechat-qr { margin: 18px 0 0; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-qrs { display: flex; gap: 12px; margin-top: 16px; }
.foot-qrs .wechat-qr { margin: 0; align-items: center; }
.wechat-qr img { display: block; width: 72px; height: 72px; padding: 4px; background: #fff; border-radius: 8px; }
.wechat-qr figcaption { font-size: 12px; color: rgba(255,255,255,.55); }
.pay-icons svg { width: 54px; height: 22px; display: block; }
.subscribe { display: flex; margin-top: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px; }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; padding: 0 16px; font: inherit; }
.subscribe input::placeholder { color: rgba(255,255,255,.4); }
.subscribe button { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.footer-bottom { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 6px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s; }
.socials a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 1000px) {
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  /* 品牌、快速联系、订阅占满整行；热门产品 + 公司并排 */
  .footer-grid > :first-child, .footer-grid > :nth-child(4), .footer-grid > :last-child { grid-column: span 2; }
  .footer h5 { margin-bottom: 14px; }
  .footer li { margin-bottom: 8px; }
  .pay-icons { margin-top: 16px; gap: 10px 12px; }
  /* 联系方式在左、微信二维码在右，不再单独占一大块 */
  /* 与上方“热门产品 / 公司”两列对齐：二维码从“公司”列起始位置开始 */
  .foot-contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  .foot-contact ul { min-width: 0; overflow-wrap: anywhere; }
  .foot-contact .foot-qrs { margin: 0; flex: none; gap: 10px; }
  .wechat-qr figcaption { font-size: 11px; text-align: center; line-height: 1.3; }
  .footer-bottom { margin-top: 36px; padding-top: 20px; }
}

/* ---------- 内页 Page Hero ---------- */
.page-hero { position: relative; color: #fff; padding: 200px 0 90px; overflow: hidden; isolation: isolate; background: var(--dark); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,26,36,.88), rgba(18,26,36,.25)); }
.page-hero .eyebrow { color: rgba(255,255,255,.65); }
.page-hero h1 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.crumbs { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.55); display: flex; gap: 10px; }
.crumbs a:hover { color: #fff; }

/* ---------- 产品列表页 ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.toolbar .tabs { margin: 0; }
.search {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); min-width: 260px;
}
.search input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; background: none; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); display: none; }

/* ---------- 产品详情 ---------- */
.detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: #eef1f4; aspect-ratio: 3/2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs button { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; opacity: .55; transition: opacity .3s; border: 2px solid transparent; }
.thumbs button.active, .thumbs button:hover { opacity: 1; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { position: sticky; top: 110px; }
.card-media img { color: transparent; } /* 图片未加载时不显示 alt 文字 */
.detail-info h1 { line-height: 1.15; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; margin: 14px 0 10px; }
.spec-table { margin: 30px 0; border-top: 1px solid var(--line); }
.spec-table div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table dt { color: var(--muted); }
.spec-table dd { font-weight: 600; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-intro { font-size: 15px; color: var(--ink-2); margin: 6px 0 12px; line-height: 1.7; }
.spec-table dt:empty { display: none; }
.spec-table dd { text-align: right; max-width: 60%; }
/* 原站正文：分段标题 + 段落 + 列表 + 参数表 */
.detail-body { max-width: 900px; margin-top: 80px; padding-top: 50px; border-top: 1px solid var(--line); }
.detail-body:empty { display: none; }
.detail-body h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 40px 0 14px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; }
.detail-body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; }
.detail-body ul { margin: 0 0 16px; display: grid; gap: 8px; }
.detail-body li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.detail-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--accent); }
/* 后台富文本可能产出的其它标签 */
.detail-body ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; list-style: decimal; }
.detail-body ol li { padding-left: 2px; }
.detail-body ol li::before { content: none; }
.detail-body strong { font-weight: 600; color: var(--ink); }
.detail-body em { font-style: italic; }
.detail-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.detail-body a:hover { color: var(--accent); }
.detail-body img { max-width: 100%; height: auto; display: block; margin: 22px 0; border-radius: var(--radius); }
.detail-body blockquote { margin: 0 0 18px; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.detail-body blockquote p:last-child { margin-bottom: 0; }
.detail-body code { background: #f1f4f7; border-radius: 5px; padding: 1px 6px; font-size: 13.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.detail-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.detail-body > :first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 10px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.detail-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-body th, .detail-body td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-body th { background: #f6f8fa; font-weight: 600; }
.detail-body tr:last-child td { border-bottom: 0; }
.detail-body td:first-child { color: var(--muted); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail-info { position: static; } }

/* ---------- 关于页 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--ink-2); font-size: 15px; margin-top: 18px; max-width: 58ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 30px; }
.step b { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.step h3 { font-size: 18px; margin: 30px 0 8px; font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 600; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s; font-style: normal; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { margin-top: 14px; color: var(--ink-2); font-size: 14px; max-width: 70ch; white-space: pre-line; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-item .fi { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.contact-item span { font-size: 12px; color: var(--muted); display: block; }
.contact-item a, .contact-item p { font-size: 15px; font-weight: 600; }
.contact-qr { margin-top: 28px; padding: 26px; background: #fff; border-radius: var(--radius-lg); }
.contact-qr p { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.contact-qr-row { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-qr-row figure { margin: 0; display: grid; justify-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.contact-qr-row img { width: 140px; height: 140px; display: block; }
.form { background: #fff; border-radius: var(--radius-lg); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: span 2; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--bg); border-radius: 12px;
  padding: 14px 16px; outline: 0; transition: border-color .3s, background .3s; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.form-note { font-size: 13px; color: #1f7a4a; display: none; }
.sub-note { font-size: 12px; color: #6fd39b; margin-top: 10px; min-height: 1em; }
.field input:user-invalid { border-color: #d64545; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; padding: 28px; } .form .full { grid-column: auto; } }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pager { align-items: center; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; border: 1px solid var(--line); background: #fff; transition: all .25s; }
.pager button:hover:not(:disabled):not(.active) { border-color: var(--ink); }
.pager button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .gap { color: var(--muted); padding: 0 4px; }
/* 6 个品类：3 列等分 */
.bento.six { grid-template-columns: repeat(3, 1fr); }
.bento.six .tile:first-child { grid-row: auto; }
@media (max-width: 900px) { .bento.six { grid-template-columns: 1fr 1fr; } .bento.six .tile:first-child { grid-column: auto; } }
@media (max-width: 560px) { .bento.six { grid-template-columns: 1fr; } }

/* ---------- 悬浮 WhatsApp ---------- */
.float-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; height: 54px; padding: 0 22px 0 8px; border-radius: 999px;
  background: var(--ink); color: #fff; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 40px -12px rgba(14,22,32,.5); transition: transform .3s var(--ease);
}
.float-wa:hover { transform: translateY(-3px); }
.float-wa i { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: grid; place-items: center; }
/* 首屏和页脚可见时隐藏，避免遮挡首屏卖点条和页脚社交图标 */
.float-wa.off { opacity: 0; pointer-events: none; transform: translateY(16px); }
.float-wa { transition: transform .3s var(--ease), opacity .3s; }
@media (max-width: 720px) {
  .float-wa { padding: 7px; right: 16px; bottom: 16px; }
  .float-wa span { display: none; }
}

/* 最后一个区块到页脚的留白收紧 */
main > .section:last-child { padding-bottom: 90px; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 图片加载前的占位 */
img[data-ph] { background: linear-gradient(120deg, #dfe4e9, #cfd6dd); }
