/* =========================================================
   SILAMON 独立站 · 全局设计系统 (VI v8 合规)
   主色 摩卡咖 #5C4738 | 辅色 燕麦奶咖 #EDE3D2
   文字 深炭 #1A1A1A | 第四色 深蓝 #2C3E50 | 暖灰 #8B7E70
   字体：英文 Nunito Bold(全大写) / 中文 思源黑体 Bold
   ========================================================= */

:root {
  /* 品牌色板 */
  --mocha: #5C4738;        /* 主色：按钮 / 标题强调 */
  --mocha-dark: #46362B;   /* 主色按压态 */
  --oat: #EDE3D2;          /* 辅色：区块底 / 分隔 */
  --oat-soft: #F6F1E8;     /* 更浅燕麦，用于交替区块 */
  --charcoal: #1A1A1A;     /* 文字主色 */
  --navy: #2C3E50;         /* 第四色：链接 / 数据强调 */
  --warmgray: #8B7E70;     /* 次要文字 */
  --white: #FFFFFF;

  /* 功能色 */
  --line: #E2D9CC;         /* 描边 */
  --ok: #3E7D52;           /* 成功 */
  --err: #B4452F;          /* 错误 */

  /* 字体 */
  --font-en: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-zh: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
             "Microsoft YaHei", system-ui, sans-serif;

  /* 间距栅格 */
  --gap: 24px;
  --section-y: 88px;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(28, 22, 17, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 22, 17, 0.10);
  --shadow-lg: 0 20px 50px rgba(28, 22, 17, 0.14);

  --header-h: 72px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-zh);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--mocha); }
ul { margin: 0; padding: 0; list-style: none; }

/* 英文标题统一全大写 + Nunito */
h1, h2, h3, .en-caps {
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--charcoal);
}
h1 { font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; }
h3 { font-size: clamp(19px, 2vw, 23px); }
p  { margin: 0 0 1em; color: #333; }
.zh-sub { font-family: var(--font-zh); letter-spacing: 0; text-transform: none; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-y) 0; }
.section--oat { background: var(--oat-soft); }
.section--mocha { background: var(--mocha); color: #fff; }
.section--mocha h2, .section--mocha h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 14px;
}
.section--mocha .eyebrow { color: var(--oat); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--warmgray); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--mocha); color: #fff; }
.btn-primary:hover { background: var(--mocha-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--mocha); border-color: var(--mocha); }
.btn-ghost:hover { background: var(--mocha); color: #fff; }
.section--mocha .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.section--mocha .btn-ghost:hover { background: #fff; color: var(--mocha); border-color: #fff; }
.btn-light { background: #fff; color: var(--mocha); }
.btn-light:hover { background: var(--oat); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand .brand-text {
  font-family: var(--font-en); font-weight: 800; font-size: 20px;
  letter-spacing: .06em; color: var(--charcoal); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .03em; color: var(--charcoal);
}
.nav-links a:hover, .nav-links a.active { color: var(--mocha); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* 语言切换 */
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; font-family: var(--font-en); font-weight: 800; font-size: 12px;
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 6px 12px; color: var(--warmgray); text-transform: uppercase;
  transition: all .15s ease;
}
.lang-toggle button.active { background: var(--mocha); color: #fff; }

/* 移动端菜单按钮 */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--charcoal); display: block; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(92,71,56,.10), transparent 60%),
    linear-gradient(180deg, var(--oat-soft), #fff);
  padding: 96px 0 84px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy .tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-family: var(--font-en); font-weight: 800; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mocha);
  margin-bottom: 22px;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { font-size: 18px; color: #444; max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 38px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .item { display: flex; flex-direction: column; }
.hero-trust .num { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--mocha); }
.hero-trust .lbl { font-family: var(--font-zh); font-size: 13px; color: var(--warmgray); }

/* Hero 视觉：产品图轮播（浅色底部标识 + 全系列精简） */
.hero-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--oat); /* 燕麦奶咖浅底，不再厚重 */
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
/* 轮播容器 —— 占据绝对主导高度 */
.hero-slideshow {
  position: relative; width: 100%; min-height: 520px;
  border-radius: var(--radius); overflow: hidden;
}
.hero-slideshow .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s ease-in-out;
}
.hero-slideshow .slide.active { opacity: 1; position: relative; }
.hero-slideshow .slide img {
  width: 100%; height: 520px; object-fit: cover;
  object-position: center top;
}
/* 轮播指示点 —— 融入燕麦底 */
.hero-dots {
  display: flex; gap: 5px; justify-content: center; padding: 6px 0 0;
  background: var(--oat);
}
/* 底部文字区 —— 浅底深字，超紧凑 */
.hero-overlay {
  background: var(--oat); color: var(--mocha);
  padding: 8px 20px 12px; text-align: center;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(92,71,56,.25); border: none; cursor: pointer;
  transition: background .3s ease, transform .2s ease; padding: 0; flex-shrink: 0;
}
.hero-dot.active { background: var(--mocha); transform: scale(1.25); }
.hero-dot:hover { background: rgba(92,71,56,.5); }

/* 轮播左右箭头 —— hover 时显示，统一样式 */
.carousel-arrows {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px; z-index: 5;
}
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--mocha);
  border: none; cursor: pointer; display: grid; place-items: center;
  font-size: 18px; line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  pointer-events: auto; opacity: 0; transition: opacity .3s ease, transform .2s ease;
  flex-shrink: 0;
}
.carousel-arrow:hover { background: #fff; transform: scale(1.1); }
/* hover 容器时显示箭头 */
.hero-visual:hover .carousel-arrow,
.prod-slideshow:hover .carousel-arrow,
.factory-showcase-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow.prev { margin-left: 4px; }
.carousel-arrow.next { margin-right: 4px; }

.hero-overlay .hsvg-logo {
  font-family: var(--font-en); font-weight: 800; font-size: 16px;
  letter-spacing: .12em; color: var(--mocha); text-transform: uppercase; margin-bottom: 2px;
}
.hero-overlay .hsvg-slogan { color: var(--warmgray); font-family: var(--font-zh); font-size: 10px; line-height: 1.4; margin: 0; }
.hero-overlay .hsvg-chip {
  display: inline-block; background: rgba(92,71,56,.10); color: var(--mocha);
  border: 1px solid rgba(92,71,56,.18); border-radius: 999px;
  padding: 3px 12px; font-family: var(--font-en); font-weight: 800; font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--oat);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--mocha);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--warmgray); font-size: 15px; margin: 0; }

/* 链接卡片（产品品类 / 子站入口） */
.link-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: all .2s ease;
}
.link-card:hover { border-color: var(--mocha); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.link-card .lc-ic { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--mocha); text-transform: uppercase; }
.link-card h3 { margin: 0; }
.link-card p { color: var(--warmgray); font-size: 14px; margin: 0; }
.link-card .lc-go { margin-top: auto; font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--navy); letter-spacing: .04em; }

/* ---------- 数据背书条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat .num { font-family: var(--font-en); font-weight: 800; font-size: clamp(30px, 4vw, 44px); color: var(--mocha); }
.section--mocha .stat .num { color: #fff; }
.stat .lbl { font-family: var(--font-zh); color: var(--warmgray); font-size: 14px; }
.section--mocha .stat .lbl { color: var(--oat); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.steps[style*="repeat(5"] { grid-template-columns: repeat(5, 1fr) !important; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-en); font-weight: 800; font-size: 34px; color: var(--oat);
  -webkit-text-stroke: 1px var(--mocha);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--warmgray); font-size: 14px; }

/* ---------- CTA 收口带 ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--warmgray); max-width: 540px; margin: 0 auto 28px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--mocha); color: #f5ede3; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
.site-footer .brand-text,
.site-footer > .container > .footer-grid > div:first-child > p {
  color: #fff; font-size: 15px; line-height: 1.7; max-width: 380px;
}
.site-footer h4 { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #f5ede3; margin: 0 0 16px; }
.site-footer a { color: #f5ede3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p, .site-footer li { font-size: 14px; line-height: 1.9; margin: 0; color: #e8dfd2; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #d9cdbb;
}
.footer-sub { display: grid; gap: 6px; }

/* ---------- 表单（询盘页） ---------- */
.inquiry-layout { display: grid; grid-template-columns: 170px minmax(0,1fr) 330px; gap: 32px; align-items: start; }
.form-wrap { max-width: none; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-section-title {
  grid-column: 1 / -1;
  font-family: var(--font-en); font-weight: 800; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--mocha);
  padding: 22px 0 8px;
  margin-top: 4px;
  border-bottom: 2px solid var(--oat);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-zh); font-weight: 600; font-size: 14px; color: var(--charcoal); }
.field label .req { color: var(--err); margin-left: 3px; }
.field input, .field select, .field textarea {
  font-family: var(--font-zh); font-size: 15px; color: var(--charcoal);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--mocha); box-shadow: 0 0 0 3px rgba(92,71,56,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
/* 自定义文件上传区域 —— 替代原生"选择文件"按钮 */
.checkbox-group {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 16px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff;
}
.cb-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-zh); font-size: 14px; font-weight: 500;
  color: var(--charcoal); cursor: pointer; padding: 6px 4px;
  border-radius: var(--radius-sm); transition: background .15s ease;
}
.cb-item:hover { background: var(--oat-soft); }
.cb-item input[type="checkbox"] {
  width: 17px; height: 17px; accent-color: var(--mocha);
  cursor: pointer; flex-shrink: 0; margin: 0;
}
.file-upload-zone {
  border: 2px dashed var(--line); border-radius: var(--radius-sm);
  padding: 28px 20px; text-align: center; cursor: pointer;
  background: var(--oat-soft); transition: all .2s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.file-upload-zone:hover { border-color: var(--mocha); background: #fff; }
.file-upload-zone .fuz-icon { font-size: 28px; color: var(--warmgray); }
.file-upload-zone .fuz-text { font-family: var(--font-zh); font-size: 14px; color: var(--charcoal); font-weight: 600; }
.file-upload-zone .fuz-hint { font-size: 12px; color: var(--warmgray); }
.file-upload-zone .fuz-files { font-size: 13px; color: var(--mocha); margin-top: 4px; }
/* 隐藏原生 file input */
.field input[type="file"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

/* WhatsApp 字段拆分：国区号选择器 + 号码输入 */
.wa-phone-group {
  display: flex; gap: 8px; align-items: stretch;
}
.wa-code-wrap {
  flex-shrink: 0; position: relative;
}
.wa-code-select {
  appearance: none; -webkit-appearance: none;
  background: var(--oat-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 12px 12px 10px;
  font-family: var(--font-zh); font-size: 14px; font-weight: 600;
  color: var(--charcoal); cursor: text;
  min-width: 92px; width: 92px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wa-code-select:focus {
  outline: none; border-color: var(--mocha);
  box-shadow: 0 0 0 3px rgba(92,71,56,.12);
}
/* Country code combobox dropdown */
.wa-cc-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 270px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(26,26,26,.14);
  z-index: 9999;
}
.wa-cc-dropdown.show { display: block; }
.wa-cc-item {
  padding: 8px 13px;
  font-size: 13.5px;
  color: var(--charcoal);
  cursor: pointer;
  transition: background .12s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-cc-item:hover,
.wa-cc-item.active {
  background: var(--oat-soft);
  color: var(--mocha);
}
.wa-phone-group input[type="tel"] {
  flex: 1; min-width: 0;
}
.field .hint { font-size: 12px; color: var(--warmgray); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err-msg { font-size: 12px; color: var(--err); display: none; }
.field.invalid .err-msg { display: block; }

.form-note { font-size: 13px; color: var(--warmgray); margin-top: 6px; }
.form-success {
  display: none; text-align: center; padding: 48px 28px;
  background: var(--oat-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.form-success.show { display: block; }
.form-success .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 32px; }

/* 左侧表单区块导航（询盘页）—— 滚动悬浮 */
.inquiry-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: var(--shadow-sm);
}
.inquiry-nav h4 {
  font-family: var(--font-en); font-weight: 800; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--mocha); margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--oat);
}
.inquiry-nav a {
  display: block; font-family: var(--font-zh); font-size: 13px; font-weight: 500;
  color: var(--charcoal); padding: 7px 8px; margin-bottom: 2px;
  border-radius: var(--radius-sm); transition: all .2s ease;
  text-decoration: none;
}
.inquiry-nav a:hover, .inquiry-nav a.active {
  background: var(--mocha); color: #fff;
}
.inquiry-nav .nav-divider {
  height: 1px; background: var(--line); margin: 10px 0;
}

/* 信息侧栏（询盘页）—— 滚动悬浮 */
.contact-aside {
  background: var(--mocha); color: #fff; border-radius: var(--radius); padding: 36px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.contact-aside h3 { color: #fff; }
.contact-aside p, .contact-aside li { color: #e8dfd2; font-size: 14px; line-height: 1.9; }
.contact-aside .ca-row { display: grid; gap: 4px; margin-bottom: 18px; }
.contact-aside .ca-k { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #e8dfd3; }
.contact-aside .ca-divider { border-top: 1px solid rgba(255,255,255,.18); margin: 20px 0; }

/* 社媒快捷按钮（侧栏）—— 双列网格等高 + VI 统一配色 */
.social-btns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px;
  /* 强制每行等高 */
  align-items: stretch;
}
.s-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 18px 12px; border-radius: var(--radius-sm);
  font-family: var(--font-zh); font-weight: 600; font-size: 13px;
  transition: all .2s ease;
  text-decoration: none; cursor: pointer; border: none;
  text-align: center; line-height: 1.3;
  min-height: 80px;
}
.s-btn:hover { transform: translateY(-2px); }
.s-btn-ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
  /* emoji 图标不需要额外背景，保持干净 */
  background: rgba(255,255,255,.15);
}

/* Email —— 暖白底 + 摩卡咖图标 */
.s-btn-email { background: rgba(255,255,255,.14); color: #f0ebe3; border: 1px solid rgba(255,255,255,.18); }
.s-btn-email:hover { background: rgba(255,255,255,.24); box-shadow: 0 4px 16px rgba(0,0,0,.2); color: #fff; }
.s-btn-email .s-btn-ic { background: rgba(255,255,255,.20); }

/* WhatsApp —— 品牌绿变体（融入暖调） */
.s-btn-wa { background: #2D8B57; color: #fff; }
.s-btn-wa:hover { background: #267A4C; box-shadow: 0 4px 16px rgba(45,139,87,.35); }
.s-btn-wa .s-btn-ic { background: rgba(255,255,255,.20); }

/* Website —— 深蓝第四色（VI合规） */
.s-btn-web { background: var(--navy); color: #fff; }
.s-btn-web:hover { background: #233444; box-shadow: 0 4px 16px rgba(44,62,80,.35); }
.s-btn-web .s-btn-ic { background: rgba(255,255,255,.15); }

/* Facebook —— 品牌蓝（VI 合规，社媒统一配色） */
.s-btn-fb { background: #1877F2; color: #fff; }
.s-btn-fb:hover { background: #166FE5; box-shadow: 0 4px 16px rgba(24,119,242,.35); }
.s-btn-fb .s-btn-ic { background: rgba(255,255,255,.20); }

/* ---------- About 页：左侧悬浮导航（滚动高亮） ---------- */
/* about 页：左侧固定悬浮导航（不参与内容布局） */
.about-layout { display: none; } /* 废弃，不再使用 */
.about-nav {
  position: fixed;
  left: 24px;
  top: calc(var(--header-h) + 80px);
  width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
  box-shadow: var(--shadow-sm);
  z-index: 40;
}
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
  box-shadow: var(--shadow-sm);
  z-index: 40;
}
.about-nav h4 {
  font-family: var(--font-en); font-weight: 800; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--mocha); margin: 0 0 10px;
  padding-bottom: 8px; border-bottom: 2px solid var(--oat);
}
.about-nav a {
  display: block; font-family: var(--font-zh); font-size: 13px; font-weight: 500;
  color: var(--charcoal); padding: 6px 8px; margin-bottom: 2px;
  border-radius: var(--radius-sm); transition: all .2s ease;
  text-decoration: none;
}
.about-nav a:hover, .about-nav a.active {
  background: var(--mocha); color: #fff;
}
.about-nav .nav-divider {
  height: 1px; background: var(--line); margin: 8px 0;
}

/* ---------- 关于页 / 通用内容 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .split-visual {
  border-radius: var(--radius); min-height: 360px;
  background: linear-gradient(150deg, var(--oat), var(--mocha));
  display: grid; place-items: center; color: #fff; padding: 32px; text-align: center;
}
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline .tl-item { position: relative; padding: 0 0 32px 28px; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--mocha); border: 2px solid #fff;
}
.timeline .tl-year { font-family: var(--font-en); font-weight: 800; color: var(--mocha); letter-spacing: .04em; }
.timeline .tl-title { font-weight: 600; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.badge {
  font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mocha); background: var(--oat);
  border-radius: 999px; padding: 8px 16px;
}

/* 双主体卡片 */
.entity-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.entity-card .ec-role { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mocha); margin-bottom: 10px; }
.entity-card h3 { margin-bottom: 12px; }
.entity-card p { font-size: 14px; color: var(--warmgray); margin: 0 0 8px; }
.entity-card .ec-meta { font-size: 13px; color: var(--charcoal); }

/* ---------- About 页：工厂实景展示区（全宽独立section） ---------- */
.factory-showcase-section {
  background: var(--oat-soft);
  padding: var(--section-y) 0 0;
}
.factory-showcase-carousel {
  position: relative; width: 100%; max-width: 1200px;
  margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.factory-showcase-carousel .fsc-slide { display: none; }
.factory-showcase-carousel .fsc-slide.active { display: block; }
.factory-showcase-carousel .fsc-slide img {
  width: 100%; height: auto; display: block; aspect-ratio: 16/9;
  object-fit: cover; object-position: center;
}
.fsc-dots-wrap {
  display: flex; gap: 7px; justify-content: center; padding: 12px 0 4px;
  background: var(--oat-soft);
}
.fsc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(92,71,56,.25); border: none; cursor: pointer;
  transition: all .3s ease; padding: 0;
}
.fsc-dot.active { background: var(--mocha); transform: scale(1.25); }

/* 工厂数据条 —— 紧贴轮播下方，与轮播同宽（深蓝第四色，非摩卡咖） */
.factory-data-bar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--navy); color: #fff;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.factory-data-bar .fdb-logo {
  font-family: var(--font-en); font-weight: 800; font-size: 15px;
  letter-spacing: .1em; text-transform: uppercase;
}
.factory-data-bar .fdb-sep { color: rgba(255,255,255,.25); }
.factory-data-bar .fdb-item {
  display: flex; align-items: baseline; gap: 4px;
  font-size: 13px; color: var(--oat);
}
.factory-data-bar .fdb-item strong {
  font-family: var(--font-en); font-weight: 800; font-size: 17px; color: #fff;
}
.factory-data-bar .fdb-item em { font-style: normal; }

/* ---------- About 页：工艺视频展示区 ---------- */
.process-video-section { padding-bottom: var(--section-y); }
.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: var(--shadow-md);
  aspect-ratio: 16/10; cursor: pointer;
}
.video-card video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.video-card .vc-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.25);
  transition: background .2s ease;
}
.video-card:hover .vc-overlay { background: rgba(0,0,0,.10); }
.video-card.playing .vc-overlay { opacity: 0; pointer-events: none; }
.video-card .vc-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.90); color: var(--mocha);
  display: grid; place-items: center;
  font-size: 20px; padding-left: 3px;
  transition: transform .2s ease, background .2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.video-card:hover .vc-play { transform: scale(1.08); background: #fff; }
.video-card .vc-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-family: var(--font-zh); font-size: 13px;
  font-weight: 600; padding: 18px 12px 10px;
}
/* 播放进度条（仅播放态显示） */
.video-card .vc-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  display: none;
  align-items: center; gap: 10px;
}
.video-card.playing .vc-controls { display: flex; }
.video-card.playing .vc-label { bottom: 32px; }
.vc-progress {
  flex: 1; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.25);
  cursor: pointer; position: relative;
}
.vc-progress:hover { height: 6px; }
.vc-progress-fill {
  height: 100%; border-radius: 2px;
  background: #5C4738; transition: width .08s linear;
  position: relative;
}
.vc-progress-thumb {
  position: absolute; right: -5px; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; transform: translateY(-50%) scale(0);
  transition: transform .15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.vc-progress:hover .vc-progress-thumb { transform: translateY(-50%) scale(1); }
.vc-time {
  color: #fff; font-size: 11px; font-family: var(--font-en);
  font-weight: 600; opacity: .85;
  white-space: nowrap; min-width: 68px;
  text-align: right;
}
/* 全屏放大态（双击触发）：card 整体进全屏，进度条/控件一并跟随 */
.video-card:fullscreen,
.video-card:-webkit-full-screen {
  aspect-ratio: auto; width: 100vw; height: 100vh;
  border-radius: 0; background: #000; overflow: hidden;
}
.video-card:fullscreen video,
.video-card:-webkit-full-screen video {
  object-fit: contain; width: 100%; height: 100%;
}

/* ---------- 产品展示（Products页） ---------- */
.product-showcase {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  align-items: center;
}
.product-showcase.prod-reverse { grid-template-columns: 1.1fr 1fr; }
.prod-reverse .prod-img { order: 2; }
.prod-reverse .prod-info { order: 1; }
.prod-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.prod-img img {
  width: 100%; height: auto; display: block;
  transition: transform .4s ease;
}
.prod-img:hover img { transform: scale(1.02); }
.prod-info h2 { margin-bottom: 14px; }
.prod-info p { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 24px; }
.prod-specs {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.prod-specs li {
  font-size: 14px; line-height: 1.7; padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.prod-specs li:last-child { border-bottom: none; }
.prod-specs strong {
  font-family: var(--font-en); font-weight: 800; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--mocha);
  display: inline-block; min-width: 110px;
}
/* 深色背景下的规格列表 */
.prod-specs--light li { border-color: rgba(255,255,255,.15); }
.prod-specs--light strong { color: var(--oat); }
.prod-specs--light span { color: #d9d0c4; }

/* ---------- Products 页面布局（双栏：左侧导航 + 右侧内容） ---------- */
.products-page {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
/* 左侧悬浮品类导航 */
.prod-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
}
.prod-nav h4 {
  font-family: var(--font-en); font-weight: 800; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mocha); margin: 0 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--oat);
}
.prod-nav a {
  display: block; font-family: var(--font-zh); font-size: 14px; font-weight: 500;
  color: var(--charcoal); padding: 8px 10px; margin-bottom: 2px;
  border-radius: var(--radius-sm); transition: all .2s ease;
  text-decoration: none;
}
.prod-nav a:hover, .prod-nav a.active {
  background: var(--mocha); color: #fff;
}
.prod-nav .nav-divider {
  height: 1px; background: var(--line); margin: 10px 0;
}

/* 右侧内容区 */
.prod-content { min-width: 0; }

/* 各系列统一配色 —— 每个品类都有浅色底，统一厚重感 */
.prod-section {
  padding: 48px 28px; margin: 0 -28px;
  border-radius: var(--radius);
  /* 统一极浅燕麦底，不再交替 */
  background: var(--oat-soft);
  border-bottom: none;
}
.prod-section + .prod-section { margin-top: 32px; }

/* 产品图自动轮播容器（浅底融合 + 底部指示点） */
.prod-slideshow {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); min-height: 480px;
  /* 极浅暖底，与 oat-soft 统一但不抢眼 */
  background: #FAF6F0;
}
.prod-slideshow .ps-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .7s ease-in-out;
}
.prod-slideshow .ps-slide.active { opacity: 1; position: relative; }
.prod-slideshow .ps-slide img {
  width: 100%; height: 480px; object-fit: cover; object-position: center top;
}
/* 产品轮播指示点 —— 显示在图片最底部 */
.prod-dots {
  display: flex; gap: 6px; justify-content: center;
  padding: 8px 0 10px;
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: linear-gradient(transparent, rgba(0,0,0,.08));
}
.prod-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(92,71,56,.30); border: none; cursor: pointer;
  transition: all .3s ease; padding: 0; flex-shrink: 0;
}
.prod-dot.active { background: var(--mocha); transform: scale(1.3); }
.prod-dot:hover { background: rgba(92,71,56,.55); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  :root { --section-y: 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-slideshow { min-height: 400px; }
  .hero-slideshow .slide img { height: 400px; }
  /* Products 页：导航隐藏，内容全宽 */
  .products-page { grid-template-columns: 1fr; gap: 0; }
  .prod-nav { display: none; }
  .prod-section { margin: 0; padding: 36px 20px; }
  .prod-section + .prod-section { margin-top: 24px; }
  .prod-slideshow .ps-slide img { height: 380px; }
  /* 工厂展示 & 视频网格响应式 */
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .factory-showcase-carousel { border-radius: var(--radius-sm); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 询盘页：隐藏导航，缩小侧栏宽度 */
  .inquiry-layout { grid-template-columns: 1fr 300px; gap: 28px; }
  .inquiry-nav { display: none; }
  /* About 页：隐藏左侧悬浮导航 */
  .about-nav { display: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr; }
  .product-showcase, .product-showcase.prod-reverse { grid-template-columns: 1fr; gap: 36px; }
  .product-showcase.prod-reverse .prod-img, .product-showcase.prod-reverse .prod-info { order: initial; }
  .footer-grid { grid-template-columns: 1fr; }
  /* 手机端视频单列 */
  .video-grid { grid-template-columns: 1fr; }
  .factory-data-bar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  /* 询盘页：手机端单列，侧栏在下方，取消sticky */
  .inquiry-layout { grid-template-columns: 1fr; gap: 0; }
  .contact-aside { position: static; margin-top: 40px; }
  /* 指南页：隐藏悬浮导航 */
  .guide-sidebar-nav { display: none; }
}

/* =========================================================
   指南文章页专用样式
   ========================================================= */

/* --- 文章内容区：恢复列表黑点标记 --- */
.article-body ul,
.article-body ol {
  padding-left: 0;
  list-style: none;
}
.article-body ul > li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
}
.article-body ul > li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 10px;
  color: var(--mocha);
  line-height: 1.7;
}
.article-body ol {
  counter-reset: ol-counter;
  padding-left: 0;
}
.article-body ol > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  counter-increment: ol-counter;
}
.article-body ol > li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 15px;
  color: var(--mocha);
}

/* --- note 块样式 --- */
.article-body .note {
  background: var(--oat);
  border-left: 4px solid var(--mocha);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-body .note p { margin-bottom: 0; color: #333; }

/* --- 表格样式 --- */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-body thead {
  background: var(--mocha);
  color: #fff;
}
.article-body th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: #333;
}
.article-body tbody tr:hover { background: var(--oat-soft); }
.article-body tbody tr:last-child td { border-bottom: none; }

/* --- 文章布局 + 左侧导航（与产品中心 .products-page 完全一致） --- */
.article-layout {
  display: grid;
  grid-template-columns: 200px 1fr;   /* 与 .products-page 一致 */
  gap: 40px;
  align-items: start;
}
.article-content {
  min-width: 0;                        /* 与 .prod-content 一致，允许填满 1fr 列 */
}
/* 正文容器宽度由 style.css 统一控制，与产品中心一致（延伸阅读区保持窄栏） */
.article-body .container { max-width: var(--container) !important; }

/* 舒适阅读行宽：纯文本元素限宽 720px，图片/表格/视频仍铺满整列（与产品中心等宽） */
.article-body .container > h2,
.article-body .container > h3,
.article-body .container > h4,
.article-body .container > p,
.article-body .container > ul,
.article-body .container > ol,
.article-body .container > blockquote,
.article-body .container > .note { max-width: 720px; }
.article-body .container > img,
.article-body .container > figure,
.article-body .container > table,
.article-body .container > .video-grid,
.article-body .container > .table-wrap { max-width: 100%; }

.guide-sidebar-nav {
  order: -1; /* 保底：确保位于左列（HTML 中 aside 已排在前） */
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px; /* 与 .prod-nav 一致 */
  box-shadow: var(--shadow-sm);
}
.guide-sidebar-nav h5 {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warmgray);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.gsn-list { list-style: none !important; margin: 0; padding: 0; }
.gsn-list li { margin-bottom: 0 !important; padding-left: 0 !important; }
.gsn-list li::before { display: none !important; }
.gsn-group-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warmgray);
  margin: 10px 0 5px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.gsn-list li:first-child .gsn-group-label {
  margin-top: 0; padding-top: 0; border-top: none;
}
.gsn-list a {
  display: block;
  padding: 6px 8px 6px 12px;
  position: relative;
  font-size: 12.5px;
  color: var(--charcoal);
  border-radius: 5px;
  transition: background .15s ease, color .15s ease;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gsn-list a:hover {
  background: var(--oat);
  color: var(--mocha);
}
.gsn-list a.active {
  background: var(--mocha);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-nav { display: none; }
}
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; } /* 与 .products-page 响应式一致 */
  .guide-sidebar-nav { display: none; }
}
