/* =========================================================================
 * 琢物 ZHUOWU · 全局样式
 * 设计语言：墨黑 + 暖金 + 留白；简洁、克制、premium；移动端优先响应。
 * ========================================================================= */
:root {
  --ink: #15130f;
  --ink-2: #2a2620;
  --paper: #faf8f4;
  --paper-2: #f1ece3;
  --gold: #b48a3c;
  --gold-2: #d8b15a;
  --gold-soft: #f3e6c8;
  --line: #e4ddcf;
  --muted: #8a8170;
  --good: #2f7d5b;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(30, 22, 8, 0.08);
  --shadow-2: 0 4px 18px rgba(30, 22, 8, 0.10);
  --maxw: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { font-weight: 800; letter-spacing: 2px; font-size: 20px; display: flex; align-items: center; gap: 9px; }
.logo .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 2px 6px rgba(180,138,60,.4);
}
.logo small { font-weight: 500; color: var(--muted); letter-spacing: 1px; font-size: 12px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); font-size: 14.5px; opacity: .85; }
.nav a:hover { color: var(--gold); opacity: 1; }
.lang-sel { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 5px 8px; font-size: 13px; color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid var(--gold); color: var(--ink); background: #fff;
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn:hover { background: var(--gold-soft); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px rgba(180,138,60,.35);
}
.btn-primary:hover { filter: brightness(1.05); background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 54px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(216,177,90,.22), transparent 60%);
  filter: blur(8px); pointer-events: none;
}
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--gold); border: 1px solid var(--gold-soft); padding: 5px 12px; border-radius: 999px; background: #fff; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.18; margin: 18px 0 14px; font-weight: 800; letter-spacing: .5px; }
.hero p.lead { font-size: clamp(15px, 2vw, 18px); color: var(--ink-2); max-width: 640px; }
.hero .cta-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 三大品类 ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-2); transition: .2s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.cat .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--gold-soft); margin-bottom: 14px; }
.cat h3 { margin: 0 0 6px; font-size: 19px; }
.cat p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.flow .step .n { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 2px; }
.flow .step h4 { margin: 8px 0 6px; font-size: 16.5px; }
.flow .step p { margin: 0; font-size: 13.5px; color: var(--muted); }
.flow .step::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 18px; }
.flow .step:last-child::after { content: ""; }

/* ---------- 区块标题 ---------- */
.section { padding: 60px 0; }
.section h2 { font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 8px; font-weight: 800; }
.section .sub { color: var(--muted); margin: 0 0 28px; }

/* ---------- 品牌橱窗 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.piece { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
.piece .thumb { height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, var(--paper-2), #fff); }
.piece .meta { padding: 16px 18px; }
.piece .meta .b { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.piece .meta h4 { margin: 4px 0 6px; font-size: 16px; }
.piece .meta .price { font-weight: 800; color: var(--ink); }
.empty { color: var(--muted); padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 13.5px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .cats { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow .step::after { content: ""; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 36px; }
}
