/* =========================================================================
   宁波骆力智能装备 — 外贸官网样式
   设计方向：工业精密 / Industrial precision
   签名元素：警示斜纹（升降平台边缘安全标识）Hazard-stripe motif
   ========================================================================= */

:root {
  --ink:        #0E1A2B;   /* 钢铁深蓝 steel navy */
  --ink-2:      #16273C;
  --steel:      #233A55;
  --hydraulic:  #3A78B5;   /* 液压蓝 hydraulic blue */
  --amber:      #FFB200;   /* 警示黄 caution yellow — 签名色 */
  --amber-deep: #E08A00;
  --paper:      #EEF2F7;   /* 冷调浅灰 workshop light */
  --surface:    #FFFFFF;
  --line:       #D7DFEA;
  --muted:      #5E6E81;
  --text:       #1A2638;

  --radius: 4px;           /* 工业感：克制的圆角 */
  --maxw: 1200px;
  --shadow: 0 1px 2px rgba(14,26,43,.06), 0 8px 24px rgba(14,26,43,.06);
  --shadow-lg: 0 12px 40px rgba(14,26,43,.16);

  --font-display: "Saira", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 警示斜纹工具 / hazard-stripe utility */
.hazard {
  background-image: repeating-linear-gradient(
    -45deg, var(--amber) 0 14px, var(--ink) 14px 28px
  );
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber); }

.section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 12px; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- 按钮 / buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  letter-spacing: .01em;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 18px rgba(255,178,0,.32); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

/* =======================================================================
   顶部导航 / Header
   ======================================================================= */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; }
.brand .mark {
  width: 38px; height: 38px; border-radius: var(--radius); position: relative;
  background: var(--ink); display: grid; place-items: center; overflow: hidden; flex: none;
}
.brand .mark::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, var(--amber) 0 5px, transparent 5px 10px);
  opacity: .9;
}
.brand .mark span { position: relative; color: #fff; font-size: 18px; font-weight: 800; }
.brand b { font-size: 17px; color: var(--ink); line-height: 1.05; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--steel);
  padding: 8px 14px; border-radius: var(--radius); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.lang-toggle button { border: 0; background: transparent; padding: 7px 11px; cursor: pointer; color: var(--muted); }
.lang-toggle button.active { background: var(--ink); color: #fff; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* =======================================================================
   Hero
   ======================================================================= */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, var(--steel) 0%, var(--ink) 55%);
}
.hero::after { /* 底部警示条 signature stripe */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background-image: repeating-linear-gradient(-45deg, var(--amber) 0 16px, var(--ink) 16px 32px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 84px 0 92px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(255,178,0,.35); border-radius: 100px; padding: 7px 16px;
}
.hero h1 { font-size: clamp(38px, 6vw, 66px); margin: 22px 0 18px; }
.hero h1 .accent { color: var(--amber); }
.hero p.lead { font-size: 18px; color: #C4D0DE; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* hero 视觉：剪叉机构 SVG / scissor mechanism visual */
.hero-visual { position: relative; aspect-ratio: 1/1; }
.hero-visual .panel {
  position: absolute; inset: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-float {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(14,26,43,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 14px 18px;
  display: flex; justify-content: space-between; gap: 14px;
}
.hero-float div { text-align: center; }
.hero-float b { font-family: var(--font-display); font-size: 22px; color: var(--amber); display: block; }
.hero-float small { font-size: 11px; color: #9DB0C4; letter-spacing: .04em; }

/* =======================================================================
   数据条 / stats bar
   ======================================================================= */
.stats { background: var(--ink-2); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.stats .cell { padding: 30px 18px; text-align: center; position: relative; }
.stats .cell + .cell::before { content:""; position:absolute; left:0; top:24px; bottom:24px; width:1px; background: rgba(255,255,255,.1); }
.stats .num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--amber); line-height: 1; }
.stats .lbl { font-size: 13px; color: #A9BACE; margin-top: 8px; letter-spacing: .03em; }

/* =======================================================================
   分类 / categories
   ======================================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.cat-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; transition: transform .15s, box-shadow .15s, border-color .15s;
  cursor: pointer; position: relative; overflow: hidden;
}
.cat-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { transform: scaleY(1); }
.cat-card .ico { width: 40px; height: 40px; color: var(--hydraulic); margin-bottom: 14px; }
.cat-card h4 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.cat-card .cnt { font-size: 12px; color: var(--muted); font-family: var(--font-display); font-weight: 600; }

/* =======================================================================
   产品卡 / product cards
   ======================================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-thumb { aspect-ratio: 4/3; background: var(--paper); position: relative; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.prod-tag {
  position: absolute; top: 12px; left: 12px; font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(14,26,43,.85); color: var(--amber); padding: 5px 10px; border-radius: 3px;
}
.prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prod-body h3 { font-size: 19px; color: var(--ink); }
.prod-body .cat-line { font-size: 13px; color: var(--muted); }
.prod-actions { margin-top: auto; display: flex; gap: 10px; }
.prod-actions .btn { flex: 1; justify-content: center; padding: 10px 14px; font-size: 14px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-bar button {
  font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer;
  padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--steel);
  transition: .15s;
}
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty-note { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* =======================================================================
   优势 / why
   ======================================================================= */
.why { background: var(--ink); color: #fff; position: relative; }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: #A9BACE; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.why-card { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 22px; background: rgba(255,255,255,.03); }
.why-card .n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--amber); letter-spacing:.1em; }
.why-card h4 { font-size: 19px; margin: 14px 0 10px; }
.why-card p { color: #A9BACE; font-size: 14.5px; }

/* =======================================================================
   关于 / about
   ======================================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/4; background: var(--paper); position: relative; }
.about-visual svg { width: 100%; height: 100%; }
.about-text p { color: var(--muted); font-size: 16.5px; margin: 16px 0 24px; }

/* =======================================================================
   联系 / contact
   ======================================================================= */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info .row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .row .ico { width: 22px; height: 22px; color: var(--hydraulic); flex: none; margin-top: 2px; }
.contact-info .row b { display: block; font-family: var(--font-display); font-size: 13px; color: var(--muted); letter-spacing:.05em; text-transform: uppercase; }
.contact-info .row span { color: var(--ink); font-size: 16px; }

form.inquiry { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--steel); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  font-family: var(--font-body); font-size: 15px; color: var(--text); background: var(--surface); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--hydraulic); box-shadow: 0 0 0 3px rgba(58,120,181,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { font-size: 14px; margin-top: 10px; min-height: 20px; }
.form-msg.ok { color: #1a8f4a; }
.form-msg.err { color: #c0392b; }

/* =======================================================================
   Footer
   ======================================================================= */
footer.site { background: var(--ink); color: #fff; padding: 60px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
footer.site .brand b, footer.site .brand small { color: #fff; }
footer.site .brand .mark { background: var(--steel); }
footer .col h5 { font-family: var(--font-display); font-size: 14px; letter-spacing:.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
footer .col a, footer .col p { display: block; color: #9DB0C4; font-size: 14.5px; padding: 5px 0; transition: color .15s; }
footer .col a:hover { color: #fff; }
footer .foot-about { color: #9DB0C4; font-size: 14.5px; margin: 16px 0; max-width: 320px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #7D90A6; }
.foot-bottom a { color: #7D90A6; }

/* =======================================================================
   产品详情页 / product detail
   ======================================================================= */
.crumb { padding: 26px 0 0; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--hydraulic); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0 60px; }
.detail-img { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); position: relative; }
.detail-img::after { content:""; position:absolute; left:0; right:0; bottom:0; height:6px; }
.detail-img img { width: 100%; }
.detail-info h1 { font-size: clamp(28px,4vw,40px); color: var(--ink); margin: 10px 0 6px; }
.detail-info .cat-line { color: var(--muted); margin-bottom: 18px; }
.detail-info .desc { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 26px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { background: var(--paper); font-family: var(--font-display); color: var(--steel); width: 38%; font-weight: 600; }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ceo-card { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; color: var(--steel); }
.ceo-card b { color: var(--ink); }

/* =======================================================================
   响应式 / responsive
   ======================================================================= */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 460px; }
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .prod-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: repeat(2,1fr); }
  .stats .cell:nth-child(odd)::before { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 2px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .burger { display: block; }
  .nav-actions .btn-quote-nav { display: none; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .prod-grid { grid-template-columns: 1fr; }
  .why-grid, .foot-grid, .field-2 { grid-template-columns: 1fr; }
}

/* ===================== 产品搜索 / product search ===================== */
.prod-search { max-width: 520px; margin: 0 auto 18px; }
.prod-search input {
  width: 100%; padding: 13px 18px; font-size: 15px; font-family: var(--font-body);
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.prod-search input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,178,0,.18); }

/* ===================== 悬浮按钮 / floating actions ===================== */
.fab-stack { position: fixed; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 150; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(14,26,43,.28);
  transition: transform .15s, box-shadow .15s; color: #fff;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14,26,43,.34); }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25D366; }
.fab-mail { background: var(--amber); color: var(--ink); }
.fab-top { background: var(--ink); }
@media (max-width: 680px) { .fab-stack { right: 14px; bottom: 16px; } .fab { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }

/* ===================== 新闻 / 客户案例 news ===================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(14,26,43,.14); border-color: var(--amber); }
.news-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font: 600 12px/1 var(--font-body); color: var(--amber-deep); letter-spacing: .5px; }
.news-body h3 { font-family: var(--font-display); font-size: 18px; line-height: 1.35; color: var(--ink); margin: 10px 0; font-weight: 700; }
.news-body p { font-size: 14px; line-height: 1.6; color: var(--steel); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--ink); }
.news-card:hover .news-more { color: var(--amber-deep); }

/* ===================== 全球市场 marketing network ===================== */
.market { background: var(--ink); }
.market .section-head h2 { color: #fff; }
.market .section-head p { color: #9DB2CC; }
.market .eyebrow { color: var(--amber); }
.market-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.market-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #23385230; }
.market-map svg { width: 100%; display: block; }
.market-stat { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 28px; }
.market-stat b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--amber); line-height: 1; }
.market-stat span { font-size: 12px; color: #9DB2CC; }
.market-list { display: flex; flex-wrap: wrap; gap: 10px; }
.market-list span {
  padding: 8px 16px; border: 1px solid #2C4468; border-radius: 40px; color: #C7D6E8;
  font-size: 14px; transition: background .15s, color .15s, border-color .15s;
}
.market-list span:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }

/* ===================== 页脚社交 footer social ===================== */
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #ffffff12; color: #C7D6E8; transition: background .15s, color .15s;
}
.foot-social a:hover { background: var(--amber); color: var(--ink); }
.foot-social svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .market-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ===================== 新闻详情 article ===================== */
.article { max-width: 820px; margin: 24px auto 0; padding-bottom: 40px; }
.article h1 { font-family: var(--font-display); font-size: clamp(26px,4vw,40px); line-height: 1.25; color: var(--ink); margin: 0 0 14px; font-weight: 800; }
.article-meta { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.article-cover { border-radius: 12px; overflow: hidden; margin-bottom: 28px; border: 1px solid var(--line); }
.article-cover img { width: 100%; display: block; }
.article-body p { font-size: 16px; line-height: 1.85; color: var(--steel); margin: 0 0 20px; }
.article-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ===================== Banner 轮播 hero carousel ===================== */
.hero-carousel { position: relative; height: clamp(440px, 62vh, 620px); overflow: hidden; background: var(--ink); }
.hero-carousel .slides { position: absolute; inset: 0; }
.hero-carousel .slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease;
  background-size: cover !important; background-position: center !important; display: flex; align-items: center;
}
.hero-carousel .slide.active { opacity: 1; visibility: visible; }
.slide-inner { color: #fff; max-width: 720px; }
.slide-inner .hero-badge { display: inline-block; background: #ffffff18; border: 1px solid #ffffff33; color: #fff; padding: 7px 16px; border-radius: 40px; font-size: 13px; letter-spacing: .5px; margin-bottom: 20px; }
.slide-inner h1 { font-family: var(--font-display); font-size: clamp(32px, 5.4vw, 58px); line-height: 1.1; font-weight: 800; margin: 0 0 18px; }
.slide-inner .lead { font-size: clamp(15px, 2vw, 19px); line-height: 1.6; color: #C7D6E8; margin: 0 0 30px; max-width: 620px; }
.slide-inner .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px;
  border: 1px solid #ffffff44; background: #0e1a2b55; color: #fff; border-radius: 50%; cursor: pointer;
  font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .15s;
}
.carousel-arrow:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.carousel-arrow.prev { left: 24px; } .carousel-arrow.next { right: 24px; }
.carousel-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.carousel-dots button { width: 32px; height: 4px; border-radius: 2px; border: 0; background: #ffffff55; cursor: pointer; padding: 0; transition: background .15s; }
.carousel-dots button.active { background: var(--amber); }
@media (max-width: 680px) { .carousel-arrow { display: none; } }

/* ===================== 产品大分类下拉 nav dropdown ===================== */
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 44px rgba(14,26,43,.16);
  padding: 10px; min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s; z-index: 60;
}
.nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { padding: 10px 14px; border-radius: 6px; font-size: 14px; color: var(--steel); white-space: nowrap; }
.nav-dd-menu a:hover { background: var(--paper); color: var(--ink); }

/* ===================== 工厂实力 / 认证 factory ===================== */
.factory { background: #fff; }
.factory-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.fstat { text-align: center; padding: 30px 16px; background: var(--paper); border-radius: 12px; border-bottom: 3px solid var(--amber); }
.fstat b { display: block; font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); color: var(--ink); line-height: 1; }
.fstat span { display: block; margin-top: 10px; font-size: 14px; color: var(--steel); }
.certs { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert-badge { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.cert-badge svg { width: 24px; height: 24px; color: #1DA65A; }

/* ===================== 知识库 knowledge ===================== */
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kb-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; text-decoration: none; color: inherit; transition: transform .16s, box-shadow .16s, border-color .16s; }
.kb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14,26,43,.12); border-color: var(--amber); }
.kb-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; color: var(--amber-deep); }
.kb-icon svg { width: 24px; height: 24px; }
.kb-body h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.35; color: var(--ink); margin: 0 0 8px; font-weight: 700; }
.kb-body p { font-size: 13.5px; line-height: 1.6; color: var(--steel); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 980px) {
  .factory-stats { grid-template-columns: repeat(2, 1fr); }
  .kb-grid { grid-template-columns: 1fr; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; min-width: 0; grid-template-columns: 1fr; border: 0; padding: 0 0 0 16px; }
}

/* ===================== 关于页 about page ===================== */
.about-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; }
.about-hero .eyebrow { color: var(--amber); }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 12px 0 16px; }
.about-hero p { color: #C7D6E8; font-size: clamp(15px, 2vw, 19px); max-width: 720px; line-height: 1.6; }
.factory-photo {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px; background: var(--paper) center/cover no-repeat;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.factory-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink) 14px 28px); }

/* 时间线 timeline */
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 78px 24px 1fr; align-items: start; gap: 12px; margin-bottom: 26px; position: relative; }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--amber-deep); text-align: right; padding-top: 1px; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--amber); margin: 5px auto 0; position: relative; z-index: 1; }
.tl-text { font-size: 15px; line-height: 1.6; color: var(--steel); padding-top: 2px; }
@media (max-width: 680px) {
  .timeline::before { left: 62px; }
  .tl-item { grid-template-columns: 54px 20px 1fr; }
  .tl-year { font-size: 16px; }
}

/* ===================== 产品详情相册 product gallery ===================== */
.detail-img-wrap { position: relative; }
.gallery-main { position: relative; border-radius: 12px; overflow: hidden; background: var(--paper); aspect-ratio: 4/3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px;
  border: 0; background: #0e1a2b88; color: #fff; border-radius: 50%; cursor: pointer; font-size: 24px;
  line-height: 1; display: grid; place-items: center; transition: background .15s;
}
.gallery-arrow:hover { background: var(--amber); color: var(--ink); }
.gallery-arrow.g-prev { left: 12px; } .gallery-arrow.g-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gthumb {
  width: 74px; height: 60px; border-radius: 7px; overflow: hidden; border: 2px solid transparent;
  padding: 0; cursor: pointer; background: var(--paper); transition: border-color .15s;
}
.gthumb.active { border-color: var(--amber); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== 产品对比 product comparison ===================== */
.cmp-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--steel); cursor: pointer; margin-bottom: 12px; user-select: none; }
.cmp-check input { width: 16px; height: 16px; accent-color: var(--amber); cursor: pointer; }

.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 160; background: var(--ink); color: #fff;
  box-shadow: 0 -6px 24px rgba(14,26,43,.28); transform: translateY(110%); transition: transform .28s ease; padding: 14px 0;
}
.compare-bar.show { transform: translateY(0); }
.cmp-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cmp-label { font-size: 14px; color: #C7D6E8; white-space: nowrap; }
.cmp-label b { color: var(--amber); font-family: var(--font-display); font-size: 18px; }
.cmp-items { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 200px; }
.cmp-chip { display: inline-flex; align-items: center; gap: 6px; background: #ffffff14; border: 1px solid #ffffff2a; border-radius: 30px; padding: 5px 8px 5px 14px; font-size: 13px; }
.cmp-chip button { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #ffffff26; color: #fff; cursor: pointer; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.cmp-chip button:hover { background: #e74c3c; }
.cmp-actions { display: flex; gap: 10px; }
.compare-bar .btn-ghost { color: #C7D6E8; border-color: #ffffff33; }

.cmp-modal-bg { position: fixed; inset: 0; background: rgba(14,26,43,.6); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.cmp-modal-bg.open { display: flex; }
.cmp-modal { background: #fff; border-radius: 12px; max-width: 1000px; width: 100%; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
.cmp-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.cmp-modal-head h3 { font-family: var(--font-display); color: var(--ink); font-size: 20px; margin: 0; }
.cmp-x { width: 34px; height: 34px; border: 0; background: var(--paper); border-radius: 50%; font-size: 22px; cursor: pointer; color: var(--steel); }
.cmp-x:hover { background: #e74c3c; color: #fff; }
.cmp-table-wrap { overflow: auto; padding: 8px; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: center; font-size: 14px; vertical-align: middle; }
.cmp-table .cmp-corner, .cmp-table .cmp-key { background: var(--paper); font-weight: 600; color: var(--ink); text-align: left; white-space: nowrap; position: sticky; left: 0; }
.cmp-phead img { width: 100%; max-width: 130px; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.cmp-phead div { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.35; }
.cmp-phead span { font-size: 12px; color: var(--muted); }
@media (max-width: 680px) {
  .cmp-actions { width: 100%; } .cmp-actions .btn { flex: 1; }
}

/* ===================== 询价单 quote cart ===================== */
.quote-fab {
  position: fixed; right: 20px; bottom: 84px; z-index: 158; width: 54px; height: 54px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--amber); color: var(--ink); display: none; place-items: center;
  box-shadow: 0 6px 20px rgba(255,178,0,.4);
}
.quote-fab svg { width: 26px; height: 26px; }
.quote-fab.pulse { animation: qpulse .4s ease; }
@keyframes qpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.quote-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px;
  background: #e74c3c; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}
.quote-panel-bg { position: fixed; inset: 0; background: rgba(14,26,43,.5); z-index: 210; display: none; }
.quote-panel-bg.open { display: block; }
.quote-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: 400px; max-width: 92vw; background: #fff;
  display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(14,26,43,.2); animation: qslide .25s ease;
}
@keyframes qslide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.quote-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.quote-head h3 { font-family: var(--font-display); color: var(--ink); font-size: 20px; margin: 0; }
.quote-close { width: 34px; height: 34px; border: 0; background: var(--paper); border-radius: 50%; font-size: 22px; cursor: pointer; color: var(--steel); }
.quote-close:hover { background: #e74c3c; color: #fff; }
.quote-body { flex: 1; overflow: auto; padding: 16px 22px; }
.quote-empty, .quote-ok { text-align: center; color: var(--muted); padding: 60px 16px; font-size: 15px; }
.quote-ok { color: var(--ink); font-size: 16px; line-height: 1.6; }
.quote-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qi-name { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.qi-qty { display: flex; align-items: center; gap: 4px; }
.qi-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: var(--paper); border-radius: 5px; cursor: pointer; font-size: 15px; color: var(--ink); }
.qi-qty input { width: 46px; height: 26px; text-align: center; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.qi-del { width: 26px; height: 26px; border: 0; background: transparent; color: #e74c3c; font-size: 18px; cursor: pointer; }
.quote-foot { border-top: 1px solid var(--line); padding: 16px 22px; }
.quote-form { display: flex; flex-direction: column; gap: 9px; }
.qf-row { display: flex; gap: 9px; }
.quote-form input, .quote-form textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--font-body); font-size: 14px; }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--amber); }
.quote-submit { width: 100%; justify-content: center; margin-top: 4px; }
.quote-msg { font-size: 13px; text-align: center; min-height: 18px; }
.quote-msg.err { color: #e74c3c; }
.quote-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 40px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.quote-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 680px) { .quote-fab { bottom: 76px; right: 14px; } }

/* ===================== 分类着陆页 category landing ===================== */
.cat-hero { background: var(--ink); color: #fff; padding: 48px 0 40px; }
.cat-hero .crumb { font-size: 13px; color: #9DB2CC; margin-bottom: 16px; }
.cat-hero .crumb a { color: #9DB2CC; }
.cat-hero .crumb a:hover { color: var(--amber); }
.cat-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; margin: 0 0 14px; }
.cat-hero p { color: #C7D6E8; font-size: clamp(14px, 1.8vw, 17px); line-height: 1.7; max-width: 780px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line);
  border-radius: 40px; font-size: 14px; color: var(--steel); text-decoration: none; transition: all .15s;
}
.cat-chip span { background: var(--paper); border-radius: 20px; padding: 1px 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.cat-chip:hover { border-color: var(--amber); color: var(--ink); background: #fffdf6; }
.crumb { font-size: 13px; color: var(--muted); }
