/* =========================================================
   前台样式
   ========================================================= */

/* ---------- 字体 ---------- */
/* DM Sans — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fraunces — latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fraunces — latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* 暖棕主色系 */
  --brown-900: #241b13;
  --brown-800: #34261a;
  --brown-700: #4a3422;
  --brown-600: #6b4a2f;
  --brown-500: #8a5d38;
  --tan-400: #a67c52;
  --tan-300: #c19a6b;
  --gold: #b08d57;
  --gold-light: #d4b577;
  /* 赤陶点缀 */
  --terracotta: #c2603b;
  --terracotta-dark: #a34f2d;
  /* 米白基底 */
  --cream: #faf6ef;
  --cream-2: #f2ead9;
  --cream-3: #ebe0ca;
  --line: #e3d6be;
  --line-soft: #ece3d2;
  /* 文字 */
  --text: #3a2f26;
  --text-soft: #5c4d3e;
  --muted: #8a7b6c;
  --white: #fff;
  /* 阴影（暖色调、分层） */
  --shadow-sm: 0 2px 10px rgba(74, 52, 34, .06);
  --shadow: 0 14px 40px rgba(74, 52, 34, .11);
  --shadow-lg: 0 28px 70px rgba(52, 38, 26, .18);
  --shadow-gold: 0 12px 34px rgba(176, 141, 87, .28);
  /* 圆角 */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  /* 字体 */
  --serif: "Fraunces", Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: "DM Sans", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Tahoma, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 细腻暖光 + 噪点肌理 */
  background-image:
    radial-gradient(circle at 12% 8%, rgba(176, 141, 87, .07), transparent 38%),
    radial-gradient(circle at 88% 4%, rgba(194, 96, 59, .05), transparent 40%);
}
/* 全局噪点叠加（编辑质感） */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: var(--brown-600); text-decoration: none; transition: color .22s ease; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--brown-800); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { color: var(--text-soft); }
.container { width: min(1200px, 92%); margin: 0 auto; position: relative; }
.muted { color: var(--muted); }
::selection { background: var(--gold); color: var(--white); }

/* 自定义滚动条（webkit） */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--tan-300); border-radius: 8px; border: 2px solid var(--cream-2); }
::-webkit-scrollbar-thumb:hover { background: var(--brown-600); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 9px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  font-family: var(--sans); position: relative; overflow: hidden; letter-spacing: .01em;
}
.btn-primary { background: var(--brown-700); color: var(--white); box-shadow: 0 6px 18px rgba(74, 52, 34, .2); }
.btn-primary:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { border-color: var(--brown-700); color: var(--brown-700); background: transparent; }
.btn-outline:hover { background: var(--brown-700); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-light { background: var(--white); color: var(--brown-700); border-color: var(--line); }
.btn-light:hover { background: var(--cream-2); color: var(--brown-800); border-color: var(--gold); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--muted); background: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 15px 38px; font-size: 16px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--brown-900); color: #d8c9b8; font-size: 13px; letter-spacing: .02em; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 12px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact a { color: #e8dccd; }
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-contact span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact svg { width: 14px; height: 14px; opacity: .85; flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; justify-content: flex-end; }
.lang-dd { margin: 0; position: relative; }
.lang-dd summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.08) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" fill="none" stroke="%23e8dccd" stroke-width="1.5" stroke-linecap="round"/></svg>') no-repeat right 8px center;
  border: 1px solid rgba(255,255,255,.22); color: #e8dccd;
  padding: 3px 26px 3px 10px; border-radius: 4px;
  font-size: 12px; font-family: inherit; letter-spacing: .05em; max-width: 150px;
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover { border-color: var(--terracotta); color: var(--white); }
.lang-dd[open] summary { border-color: var(--gold-light); }
.lang-dd-menu {
  list-style: none; margin: 0; padding: 4px 0; position: absolute; top: 100%; right: 0; z-index: 200;
  background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.12);
  min-width: 120px;
}
.lang-dd-menu li { margin: 0; }
.lang-dd-menu a {
  display: block; padding: 6px 14px; color: #3a2e24; text-decoration: none;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.lang-dd-menu a:hover { background: rgba(166,124,82,.08); color: var(--terracotta); }
.lang-dd-menu a.on { color: var(--terracotta); font-weight: 700; }
[dir="rtl"] .lang-dd summary {
  background-position: left 8px center; padding: 3px 10px 3px 26px;
}
[dir="rtl"] .lang-dd-menu { right: auto; left: 0; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(140deg, var(--brown-700), var(--terracotta-dark));
  color: var(--gold-light); font-family: var(--serif); font-size: 19px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; letter-spacing: 1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 16px rgba(74,52,34,.25);
}
.brand-text { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--brown-800); display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 10.5px; color: var(--muted); font-family: var(--sans); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a {
  position: relative; padding: 10px 15px; font-weight: 500; color: var(--text-soft);
  border-radius: 7px; font-size: 15px; transition: color .2s, background .2s;
}
.main-nav > a::after {
  content: ""; position: absolute; inset-inline: 15px; bottom: 4px; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: center; transition: transform .28s ease; border-radius: 2px;
}
.main-nav > a:hover { color: var(--brown-800); }
.main-nav > a:hover::after { transform: scaleX(1); }
.main-nav > a.on { color: var(--terracotta-dark); font-weight: 600; }
.main-nav > a.on::after { transform: scaleX(1); background: var(--terracotta); }
.main-nav > a.btn { margin-inline-start: 10px; color: var(--white); }
.main-nav > a.btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--brown-700); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- 轮播 ---------- */
.hero { position: relative; height: 600px; overflow: hidden; background: var(--brown-900); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(36,27,19,.88) 0%, rgba(36,27,19,.55) 52%, rgba(36,27,19,.18) 100%);
}
[dir="rtl"] .hero-slide::after { background: linear-gradient(-100deg, rgba(36,27,19,.88) 0%, rgba(36,27,19,.55) 52%, rgba(36,27,19,.18) 100%); }
.hero-text {
  position: absolute; z-index: 2; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  width: min(1200px, 92%); margin-inline: auto; right: 0; left: 0; color: var(--white);
}
.hero-text .badge {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light);
  padding: 0; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500;
}
.hero-text .badge::before {
  content: ""; width: 36px; height: 1px; background: var(--gold);
}
.hero-text h1 { color: var(--white); font-size: clamp(34px, 5.6vw, 62px); max-width: 820px; margin: 0 0 18px; line-height: 1.05; font-weight: 500; }
.hero-text h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-text p { font-size: clamp(15px, 1.7vw, 18.5px); color: #e8dccd; max-width: 620px; margin: 0 0 34px; opacity: .92; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-light { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.hero-actions .btn-light:hover { background: var(--white); color: var(--brown-800); border-color: var(--white); }
.hero-dots { position: absolute; bottom: 26px; inset-inline: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .35s; padding: 0; }
.hero-dots button.on { background: var(--gold-light); width: 30px; border-radius: 6px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 18px; transition: .3s; backdrop-filter: blur(6px);
}
.hero-arrow:hover { background: var(--terracotta); color: var(--white); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { inset-inline-start: 26px; }
.hero-arrow.next { inset-inline-end: 26px; }

/* ---------- 通用区块 ---------- */
section.section { padding: 96px 0; position: relative; }
section.section.alt { background: var(--cream-2); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.sec-head .kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 14px; }
.sec-head .rule { width: 56px; height: 2px; background: var(--gold); margin: 0 auto 18px; border-radius: 2px; }
.sec-head p { color: var(--muted); font-size: 16.5px; max-width: 560px; margin: 0 auto; }

/* ---------- 优势三项 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.adv-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 42px 32px; text-align: center; transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
  position: relative; overflow: hidden;
}
.adv-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta)); transform: scaleX(0); transform-origin: center; transition: transform .4s ease;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--tan-300); }
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px;
  background: linear-gradient(140deg, var(--cream-2), var(--cream-3));
  color: var(--terracotta-dark);
  display: flex; align-items: center; justify-content: center; font-size: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.adv-card h3 { font-size: 21px; margin-bottom: 10px; }
.adv-card p { color: var(--muted); font-size: 15px; }

/* ---------- 分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.cat-card {
  text-align: center; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; transition: transform .4s, box-shadow .4s, border-color .4s;
}
.cat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card .cc-body { padding: 16px 12px 20px; }
.cat-card h3 { font-size: 16px; }
.cat-card span { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

/* ---------- 产品网格 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
  position: relative;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.prod-card .pimg { position: relative; overflow: hidden; background: var(--cream-2); }
.prod-card .pimg::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(36,27,19,.08));
  opacity: 0; transition: opacity .4s;
}
.prod-card:hover .pimg::after { opacity: 1; }
.prod-card .pimg img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s; }
.prod-card:hover .pimg img { transform: scale(1.08); }
.pflag {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: var(--terracotta); color: var(--white);
  font-size: 11px; padding: 4px 11px; border-radius: 20px; letter-spacing: .06em; font-weight: 600;
  box-shadow: 0 4px 10px rgba(194,96,59,.35);
}
.prod-card .pbody { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-card .pcat { font-size: 11.5px; color: var(--terracotta); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.prod-card h3 { font-size: 18px; transition: color .25s; }
.prod-card:hover h3 { color: var(--terracotta-dark); }
.prod-card .pmeta { font-size: 13.5px; color: var(--muted); display: grid; gap: 3px; border-top: 1px dashed var(--line); padding-top: 12px; }
.prod-card .pmeta b { color: var(--text); font-weight: 600; }
.prod-card .btn { margin-top: auto; }

/* 筛选条 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar a {
  padding: 9px 22px; border-radius: 30px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 14px; color: var(--text-soft); transition: .28s; font-weight: 500;
}
.filter-bar a:hover, .filter-bar a.on { background: var(--brown-700); border-color: var(--brown-700); color: var(--white); box-shadow: 0 6px 16px rgba(74,52,34,.2); }
.search-form { display: flex; gap: 10px; margin-bottom: 30px; max-width: 500px; margin-inline: auto; }
.search-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 9px; padding: 12px 18px; font-size: 15px; background: var(--white); font-family: var(--sans); }
.search-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.15); }

/* ---------- 为什么选我们 ---------- */
.why-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.why-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.why-img img { width: 100%; height: 500px; object-fit: cover; transition: transform .8s; }
.why-img:hover img { transform: scale(1.04); }
.why-img::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); pointer-events: none; }
.why-list { display: grid; gap: 18px; }
.why-item {
  display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 22px 24px; transition: .35s; position: relative; overflow: hidden;
}
.why-item:hover { box-shadow: var(--shadow); transform: translateX(6px); border-color: var(--gold); }
[dir="rtl"] .why-item:hover { transform: translateX(-6px); }
.why-item .wi {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(140deg, var(--cream-2), var(--cream-3));
  color: var(--terracotta); display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.why-item h3 { font-size: 17.5px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- 客户见证 ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 30px; position: relative; transition: .4s;
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: var(--tan-300); }
.testi-card .quote-mark { font-family: var(--serif); font-size: 60px; color: var(--gold-light); line-height: .6; margin-bottom: 10px; }
.testi-card p { color: var(--text); font-size: 15px; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testi-card .stars { color: var(--gold); margin-bottom: 16px; font-size: 14px; display: inline-flex; gap: 2px; align-items: center; }
.testi-card .stars svg { width: 14px; height: 14px; }
.testi-card .who { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.testi-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(140deg, var(--brown-600), var(--terracotta)); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--serif); font-size: 16px; }
.testi-card .who b { display: block; font-size: 14.5px; color: var(--brown-800); }
.testi-card .who span { font-size: 13px; color: var(--muted); }

/* ---------- 报价表单 ---------- */
.quote-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(194,96,59,.25), transparent 50%),
    linear-gradient(120deg, var(--brown-900) 0%, var(--brown-700) 100%);
  color: var(--white); position: relative;
}
.quote-band .sec-head h2 { color: var(--white); }
.quote-band .sec-head p { color: #e0d0bc; }
.quote-form { background: var(--white); border-radius: var(--radius-lg); padding: 44px; max-width: 880px; margin: 0 auto; box-shadow: var(--shadow-lg); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--brown-800); letter-spacing: .02em; }
.form-group label .req { color: var(--terracotta); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--line); border-radius: 9px; padding: 12px 15px; font-size: 15px;
  font-family: var(--sans); background: var(--cream); transition: .22s; color: var(--text); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(176,141,87,.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); }
.form-note { background: var(--cream-2); border-inline-start: 3px solid var(--gold); padding: 13px 18px; border-radius: 6px; font-size: 14px; margin-bottom: 22px; color: var(--brown-700); }
.alert-success { background: #eaf3e7; border: 1px solid #c2dcb9; color: #2e5b2a; padding: 14px 18px; border-radius: 9px; margin-bottom: 22px; }
.alert-error { background: #fbe8e5; border: 1px solid #e8b8b0; color: #8a2f27; padding: 14px 18px; border-radius: 9px; margin-bottom: 22px; }

/* ---------- 验证码（PoW 挑战-应答，参考 rhex.im） ---------- */
.captcha-box { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.captcha-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border: 2px solid #ddd; border-radius: 8px;
  cursor: pointer; user-select: none; background: #fafafa;
  transition: border-color .2s, background .2s; font-size: 14px; color: #555;
}
.captcha-trigger:hover { border-color: #b08d57; background: #fff; }
.captcha-trigger .captcha-icon { color: #999; display: inline-flex; align-items: center; transition: color .2s; }
.captcha-trigger .captcha-icon svg { display: block; }
.captcha-status { font-size: 13px; color: var(--muted); }

/* ---------- 页面 Banner（内页头图） ---------- */
.page-hero {
  background:
    radial-gradient(circle at 80% 50%, rgba(194,96,59,.18), transparent 55%),
    linear-gradient(120deg, var(--brown-900), var(--brown-700));
  color: var(--white); padding: 76px 0 68px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); opacity: .06; pointer-events: none; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 12px; font-weight: 500; position: relative; }
.page-hero p { color: #e0d0bc; max-width: 640px; margin: 0 auto; position: relative; }
.breadcrumb { font-size: 13px; color: #c9b8a4; margin-top: 18px; position: relative; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- 产品详情 ---------- */
.pd-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.pd-img { background: transparent; position: relative; }
.pd-img.is-zoom { z-index: 40; }
.pd-img > img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); border: 1px solid #dfd9cf; border-radius: 4px; }
.pd-info h1 { font-size: clamp(26px, 3.2vw, 36px); margin: 6px 0 18px; font-weight: 600; }
.pd-table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; background: var(--white); border-radius: 9px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pd-table th, .pd-table td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); text-align: start; font-size: 15px; }
.pd-table th { background: var(--cream-2); color: var(--brown-800); width: 150px; font-weight: 600; }
.pd-desc { color: var(--text); }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* 产品主图轮播（上方主图框 + 下方缩略图条 + 悬停放大镜） */
.pd-preview { position: relative; }
.pd-mainbox { position: relative; aspect-ratio: 1; background: var(--white); border: 1px solid #dfd9cf; border-radius: 4px; overflow: hidden; }
.pd-mainimg { width: 100%; height: 100%; object-fit: contain; }
.pd-lens {
  position: absolute; width: 180px; height: 180px; display: none;
  background: rgba(204, 204, 204, .5); border: 1px solid rgba(255,255,255,.85);
  cursor: move; z-index: 3; pointer-events: none;
}
.pd-img.is-zoom .pd-lens { display: block; }
.pd-zoombox {
  position: absolute; inset-inline-start: 100%; top: 0; display: none;
  width: 100%; aspect-ratio: 1; margin-inline-start: 12px;
  background: var(--white); border: 1px solid #dfd9cf; border-radius: 4px;
  overflow: hidden; z-index: 60; box-shadow: var(--shadow-lg); pointer-events: none;
}
.pd-img.is-zoom .pd-zoombox { display: block; }
.pd-zoomimg { position: absolute; inset: 0; width: 150%; max-width: none; }
.pd-thumbs { position: relative; margin-top: 16px; padding: 0 36px; }
.pd-thumbs-clip { overflow: hidden; }
@media (min-width: 1025px) and (pointer: fine) {
  .pd-thumbs-clip { cursor: grab; }
  .pd-thumb { cursor: inherit; }
  .pd-img.is-dragging .pd-thumbs-clip, .pd-img.is-dragging .pd-thumb { cursor: grabbing; }
}
.pd-thumbs-track { display: flex; gap: 10px; transition: transform .25s ease; }
.pd-thumb {
  flex: 0 0 calc((100% - 30px) / 4);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #dcd6cb; border-radius: 5px; background: var(--white);
  cursor: pointer; overflow: hidden; transition: border-color .2s;
}
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.pd-thumb:hover { border-color: var(--tan-400); }
.pd-thumb.on { border-color: var(--terracotta); }
.pd-thumb:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.pd-tnav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; padding: 0; border: 0; background: transparent;
  color: #b3a795; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .2s;
}
.pd-tnav:hover { color: var(--terracotta); }
.pd-tnav.is-off { color: #ddd6ca; pointer-events: none; }
.pd-tprev { inset-inline-start: 0; }
.pd-tnext { inset-inline-end: 0; }
[dir="rtl"] .pd-tnav svg { transform: scaleX(-1); }
.pd-badge {
  position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 5; display: none;
  width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--terracotta); color: var(--white);
  font-size: 11.5px; font-weight: 600; line-height: 1;
}

/* ≤1024px：主图框隐藏，缩略图条变为整宽触摸滑动图，右下角圆形页码 */
@media (max-width: 1024px) {
  .pd-mainbox, .pd-zoombox, .pd-lens { display: none !important; }
  .pd-thumbs { margin-top: 0; padding: 0; border: 1px solid #dcd6cb; border-radius: 4px; overflow: hidden; background: var(--white); }
  .pd-thumbs-track { gap: 0; }
  .pd-thumb { flex: 0 0 100%; height: auto; aspect-ratio: 1; border: 0; border-radius: 0; pointer-events: none; }
  .pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
  .pd-tnav { display: none; }
  .pd-badge { display: flex; }
}

/* 产品详情介绍（富文本） */
.pd-details {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 34px 40px; line-height: 1.85; color: var(--text); font-size: 15.5px; box-shadow: var(--shadow-sm);
}
.pd-details h2 { font-size: 22px; margin: 26px 0 12px; color: var(--brown-800); }
.pd-details h3 { font-size: 18px; margin: 20px 0 9px; color: var(--brown-800); }
.pd-details ul, .pd-details ol { margin: 10px 0; padding-inline-start: 26px; }
.pd-details img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; box-shadow: var(--shadow-sm); }
.pd-details table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.pd-details table th, .pd-details table td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.pd-details table th { background: var(--cream-2); }

/* ---------- 时间轴（公司历程） ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-inline-start: 28px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--tan-300)); }
.tl-item { position: relative; padding: 0 0 38px 28px; }
.tl-item::before {
  content: ""; position: absolute; inset-inline-start: -24px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--terracotta); box-shadow: 0 0 0 4px rgba(194,96,59,.12);
}
.tl-item .year { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--terracotta-dark); }
.tl-item h3 { font-size: 17.5px; margin: 5px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- 图片网格（工厂实景） ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal-item { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.gal-item img { width: 100%; height: 270px; object-fit: cover; transition: transform .6s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item figcaption {
  position: absolute; bottom: 0; inset-inline: 0; padding: 30px 18px 16px; color: var(--white); font-size: 14.5px;
  background: linear-gradient(transparent, rgba(36,27,19,.9)); opacity: 0; transform: translateY(8px); transition: .35s;
}
.gal-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* 认证 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; text-align: center; transition: .4s; box-shadow: var(--shadow-sm); }
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: var(--gold); }
.cert-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.cert-card .cb { padding: 18px; }
.cert-card h3 { font-size: 16px; }
.cert-card p { font-size: 13px; color: var(--muted); }

/* 数据统计 */
.stats-band {
  background:
    radial-gradient(circle at 30% 50%, rgba(176,141,87,.15), transparent 60%),
    var(--brown-900); color: var(--white); padding: 64px 0; position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat b { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 48px); color: var(--gold-light); display: block; font-weight: 600; line-height: 1; }
.stat span { font-size: 14.5px; color: #d9c8b4; margin-top: 8px; display: block; letter-spacing: .04em; }

/* QC 流程步骤 */
.qc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: qc; }
.qc-step {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 22px;
  text-align: center; position: relative; counter-increment: qc; transition: .4s; overflow: hidden;
}
.qc-step:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: var(--gold); }
.qc-step::before {
  content: counter(qc, decimal-leading-zero); font-family: var(--serif); font-size: 34px; font-weight: 600;
  color: var(--tan-300); display: block; margin-bottom: 12px; line-height: 1;
}
.qc-step h3 { font-size: 16px; margin-bottom: 6px; }
.qc-step p { font-size: 13.5px; color: var(--muted); }

/* OEM 区块 */
.oem-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.oem-points { display: grid; gap: 16px; margin-top: 24px; }
.oem-points li { list-style: none; display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.oem-points .tick {
  color: var(--terracotta); font-weight: 700; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2); display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .4s; box-shadow: var(--shadow-sm);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: var(--gold); }
.news-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s; }
.news-card:hover img { transform: scale(1.06); }
.news-card .nb { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-card time { font-size: 12.5px; color: var(--terracotta); letter-spacing: .06em; font-weight: 600; }
.news-card h3 { font-size: 18px; transition: color .25s; }
.news-card:hover h3 { color: var(--terracotta-dark); }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; }
.news-card .more { font-weight: 600; font-size: 14px; color: var(--brown-700); display: inline-flex; align-items: center; gap: 5px; transition: gap .25s, color .25s; }
.news-card .more:hover { color: var(--terracotta); gap: 9px; }
.post-body { max-width: 840px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 52px; box-shadow: var(--shadow-sm); }
.post-body img { border-radius: 10px; margin: 20px 0; box-shadow: var(--shadow-sm); }
.post-meta { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.post-content { font-size: 16px; line-height: 1.85; }
.post-content h2, .post-content h3 { margin: 28px 0 14px; }
.post-content p { margin-bottom: 16px; }
.post-content ul, .post-content ol { margin: 0 0 16px 22px; }
[dir="rtl"] .post-content ul, [dir="rtl"] .post-content ol { margin: 0 22px 16px 0; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 26px;
  display: flex; gap: 16px; align-items: flex-start; transition: .3s;
}
.contact-card:hover { box-shadow: var(--shadow); border-color: var(--gold); transform: translateY(-3px); }
.contact-card .ci { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(140deg, var(--cream-2), var(--cream-3)); color: var(--terracotta); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); word-break: break-word; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); margin-top: 46px; box-shadow: var(--shadow-sm); }
.map-box iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- 隐私政策 / 通用内容页 ---------- */
.doc-body { max-width: 880px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 52px; box-shadow: var(--shadow-sm); }
.doc-body h2 { font-size: 23px; margin: 32px 0 14px; }
.doc-body p, .doc-body li { color: var(--text); font-size: 15.5px; }
.doc-body ul { margin: 0 0 16px 22px; }
[dir="rtl"] .doc-body ul { margin: 0 22px 16px 0; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination .page {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-size: 14.5px; color: var(--text-soft); transition: .25s;
}
.pagination .page.active, .pagination .page:hover { background: var(--brown-700); border-color: var(--brown-700); color: var(--white); box-shadow: 0 6px 16px rgba(74,52,34,.2); }

/* ---------- 页脚 ---------- */
.site-footer {
  background:
    radial-gradient(circle at 80% 20%, rgba(176,141,87,.1), transparent 55%),
    var(--brown-900); color: #cbb9a5; margin-top: 0; position: relative;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 52px; }
.foot-col h3 { color: var(--gold-light); font-size: 17px; margin-bottom: 18px; font-weight: 600; letter-spacing: .02em; }
.foot-col a { display: block; color: #cbb9a5; padding: 5px 0; font-size: 14.5px; transition: color .2s, padding-inline-start .2s; }
.foot-col a:hover { color: var(--white); padding-inline-start: 5px; }
.foot-col p { font-size: 14.5px; margin-bottom: 9px; }
.foot-about p { color: #b5a28c; font-size: 14.5px; line-height: 1.75; }
.foot-social { display: flex; gap: 12px; margin-top: 18px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; background: var(--brown-700); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; padding: 0; transition: .25s; }
.foot-social a:hover { background: var(--terracotta); color: var(--white); transform: translateY(-3px); padding: 0; }
.wa-link { color: var(--gold-light) !important; font-weight: 600; }
.foot-bottom { border-top: 1px solid rgba(203, 185, 165, .16); padding: 20px 0; }
.foot-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #a89682; }
.foot-bottom a { color: #cbb9a5; }

/* ---------- WhatsApp 浮窗 ---------- */
.wa-float {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .5); transition: transform .3s, box-shadow .3s;
}
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #25d366; opacity: .35; z-index: -1;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 14px 36px rgba(37, 211, 102, .6); }

/* ---------- Cookie 弹窗 ---------- */
.cookie-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 120;
  background: rgba(36, 27, 19, .97); color: #e8dccd; padding: 18px 0;
  box-shadow: 0 -8px 36px rgba(0,0,0,.3); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(176,141,87,.3);
}
.cookie-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-in p { font-size: 14px; max-width: 760px; color: #d8c9b8; }
.cookie-in a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- 滚动渐显动画（短过渡 + 轻错峰 + GPU 合成，减少滚动卡顿） ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
.reveal.revealed { opacity: 1; transform: none; }
/* 动画结束后释放合成层与 will-change，避免长期占用 GPU 图层资源 */
.reveal.reveal-done { will-change: auto; }
.reveal[data-delay="1"] { transition-delay: .04s; }
.reveal[data-delay="2"] { transition-delay: .08s; }
.reveal[data-delay="3"] { transition-delay: .12s; }
.reveal[data-delay="4"] { transition-delay: .16s; }
.reveal[data-delay="5"] { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; will-change: auto !important; }
}

/* ---------- 面包屑（内页正文区） ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-steps { grid-template-columns: repeat(3, 1fr); }
  .why-wrap, .oem-wrap, .contact-wrap, .pd-wrap { grid-template-columns: 1fr; gap: 36px; }
  .why-img img { height: 380px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { height: 500px; }
  section.section { padding: 78px 0; }
}
@media (max-width: 768px) {
  section.section { padding: 60px 0; }
  .adv-grid, .testi-grid, .news-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-steps { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .post-body, .doc-body { padding: 30px 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 38px; }
  .topbar-contact span:first-child { display: none; }

  /* 移动端导航 */
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 78px; inset-inline: 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 16px 5% 24px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 36px rgba(62,47,35,.14);
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 13px 12px; border-bottom: 1px solid var(--cream-2); }
  .main-nav > a::after { display: none; }
  .main-nav > a.btn { margin: 14px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero { height: 460px; }
  .hero-arrow { display: none; }
  .page-hero { padding: 56px 0 50px; }
}
@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .qc-steps { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .topbar-right .muted { display: none; }
  .hero { height: 420px; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; inset-inline-end: 18px; }
}

/* ---------- 打印优化 ---------- */
@media print {
  .topbar, .site-header, .site-footer, .wa-float, .cookie-bar, .hero-dots, .hero-arrow { display: none !important; }
  body::before { display: none; }
}
