/* ============ 佛山优选 · 杂志式版式系统 ============ */
:root {
  --bg: #f8f5ef;
  --bg-alt: #f2ece1;
  --surface: #ffffff;
  --ink: #1f1a16;
  --ink-soft: #6b6054;
  --ink-mute: #948878;
  --line: #e2d9ca;
  --line-soft: #ece5d8;
  --red: #a83a2a;
  --red-deep: #82291c;
  --gold: #b98e4b;
  --sand: #efe6d6;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1220px; margin: 0 auto; padding: 0 36px; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--ink);
  color: #cfc4b6;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar .tag { letter-spacing: 0.2em; text-transform: uppercase; }
.topbar a { color: #cfc4b6; }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; }
.foot-logo { height: 38px; width: auto; display: block; margin-bottom: 18px; }
.nav-links { display: flex; gap: 32px; font-size: 14.5px; }
.nav-links a { color: var(--ink-soft); position: relative; padding: 4px 0; transition: color 0.25s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; font-size: 14.5px; letter-spacing: 0.08em;
  border: 1px solid transparent; cursor: pointer; transition: all 0.3s var(--ease);
  font-family: var(--sans);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; font-size: 12.5px; letter-spacing: 0.05em; }
.lang-switch a {
  color: var(--ink-mute); text-decoration: none; padding: 5px 10px;
  border: 1px solid var(--line-soft); transition: all 0.25s var(--ease); line-height: 1;
}
.lang-switch a + a { border-left: 0; }
.lang-switch a.on { background: var(--red); color: #fff; border-color: var(--red); }
.lang-switch a:hover:not(.on) { color: var(--ink); border-color: var(--ink-mute); }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 0; overflow: hidden; }
.hero-split {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 72px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--red); margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px); line-height: 1.24; letter-spacing: 0.01em;
  margin-bottom: 26px; font-weight: 700;
}
.hero h1 .accent { color: var(--red); font-style: italic; }
.hero p.lead { font-size: 16.5px; color: var(--ink-soft); max-width: 500px; margin-bottom: 38px; line-height: 2.05; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.hero-media .cap {
  position: absolute; left: 0; bottom: -18px; background: var(--bg);
  padding: 10px 20px; font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-mute);
  text-transform: uppercase;
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 84px; padding: 44px 0;
}
.stat { text-align: left; padding-left: 34px; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; color: var(--ink); line-height: 1.1; }
.stat .num span { font-size: 16px; color: var(--ink-soft); letter-spacing: 0.05em; }
.stat .label { font-size: 12.5px; color: var(--ink-mute); letter-spacing: 0.14em; margin-top: 10px; text-transform: uppercase; }

/* ---------- Section ---------- */
.section { padding: 118px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 84px 0; }
.section-head { margin-bottom: 56px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-head .no {
  display: block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.3em;
  color: var(--red); margin-bottom: 14px; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.28; }
.section-head p { font-size: 15px; color: var(--ink-soft); max-width: 460px; line-height: 1.95; }
.section-head.center { display: block; text-align: center; }
.section-head.center p { margin: 16px auto 0; }

/* ---------- 图片瓦片 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.tile { display: block; position: relative; }
.tile-media { overflow: hidden; background: var(--sand); }
.tile-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-body { padding-top: 18px; }
.tile-body .en { display: block; font-size: 10.5px; letter-spacing: 0.24em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 6px; }
.tile-body h3 { font-size: 20px; }
.tile-body p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; line-height: 1.85; }
.tile--wide .tile-media img { aspect-ratio: 3 / 2; }

/* 纯文字卡（子页面用） */
.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: 36px 32px; transition: all 0.35s var(--ease);
}
.card:hover { border-color: var(--ink-mute); box-shadow: 0 18px 40px rgba(31, 26, 22, 0.06); }
.card .idx { display: block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.24em; color: var(--red); margin-bottom: 10px; text-transform: uppercase; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }
.card .icon {
  width: 46px; height: 46px; margin-bottom: 20px; color: var(--red);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.card .icon svg { width: 22px; height: 22px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* 品类条目（横排列表，替代卡片） */
.cat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cat-item {
  padding: 34px 28px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line-soft);
  display: block; transition: background 0.3s var(--ease);
}
.cat-item:nth-child(3n) { border-right: 0; }
.cat-item:hover { background: var(--surface); }
.cat-item .cn-big { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.cat-item .en { display: block; font-size: 10.5px; letter-spacing: 0.24em; color: var(--ink-mute); text-transform: uppercase; margin-top: 8px; }
.cat-item p { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.85; }

/* ---------- 品牌带 ---------- */
.brand-band {
  background: linear-gradient(120deg, #2a201a 0%, #4a2c21 48%, #a83a2a 130%);
  color: #f4ece2; padding: 74px 64px;
}
.brand-band .eyebrow { color: #d9b48a; }
.brand-band h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 20px; color: #fff; }
.brand-band p { color: rgba(244, 236, 226, 0.82); max-width: 700px; font-size: 15px; line-height: 2; }
.brand-band .marks { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.brand-band .marks span {
  border: 1px solid rgba(244, 236, 226, 0.32); padding: 7px 18px; font-size: 12.5px; letter-spacing: 0.06em;
}

/* ---------- 货盘筛选 ---------- */
.filter-bar { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.chip {
  padding: 12px 26px; background: none; border: 0; border-bottom: 2px solid transparent;
  font-size: 14.5px; color: var(--ink-mute); cursor: pointer; transition: all 0.25s var(--ease);
  font-family: var(--sans); letter-spacing: 0.04em;
}
.chip:hover { color: var(--ink); }
.chip.on { color: var(--red); border-bottom-color: var(--red); }

/* 货盘卡（图片主导） */
.goods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 26px; }
.goods-card { display: block; }
.goods-media { overflow: hidden; position: relative; background: var(--sand); }
.goods-media img { width: 100%; aspect-ratio: 3 / 2.2; object-fit: cover; transition: transform 1.1s var(--ease); }
.goods-card:hover .goods-media img { transform: scale(1.05); }
.goods-media .cat {
  position: absolute; left: 0; top: 0; background: rgba(248, 245, 239, 0.94);
  font-size: 11px; letter-spacing: 0.16em; padding: 7px 14px; color: var(--red-deep);
}
.goods-info { padding-top: 16px; }
.goods-info h3 { font-size: 19px; }
.goods-info .desc { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 12px; line-height: 1.85; }
.goods-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.goods-foot .spec { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em; }
.status { font-size: 11.5px; color: var(--red); letter-spacing: 0.1em; border: 1px solid rgba(168, 58, 42, 0.35); padding: 3px 10px; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.flow-step { padding: 34px 26px 0 0; }
.flow-step .dot {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; color: var(--red);
  border-bottom: 1px solid var(--red); display: inline-block; padding-bottom: 3px; margin-bottom: 16px;
}
.flow-step h3 { font-size: 19px; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--ink-mute); letter-spacing: 0.1em; }
.field input, .field textarea, .field select {
  border: 0; border-bottom: 1px solid var(--line); padding: 12px 2px; font-size: 15px;
  font-family: var(--sans); background: transparent; color: var(--ink); outline: none; transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--red); }
.field textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 12px; color: var(--ink-mute); margin-top: 18px; line-height: 1.85; }

/* ---------- 联系卡 ---------- */
.contact-card { border-top: 1px solid var(--line); padding: 28px 0; }
.contact-card h3 { font-size: 17px; margin-bottom: 12px; letter-spacing: 0.04em; }
.contact-card .row { display: flex; gap: 16px; font-size: 14.5px; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .k { color: var(--ink-mute); min-width: 76px; font-size: 13px; letter-spacing: 0.08em; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.3; margin-bottom: 20px; }
.cta p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 40px; }

/* ---------- 子页面头部 ---------- */
.page-hero { padding: 84px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.26; }
.page-hero p.lead { font-size: 16px; color: var(--ink-soft); max-width: 620px; margin-top: 20px; line-height: 2; }

/* ---------- 页脚 ---------- */
footer { background: #1f1a16; color: #a89c8d; padding: 72px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 46px; }
.foot-grid h4 { color: #f2e9dd; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.foot-grid p, .foot-grid li { font-size: 13.5px; line-height: 2.1; }
.foot-grid ul { list-style: none; }
.foot-grid a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 11.5px; color: #7c7266; letter-spacing: 0.08em;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-media .cap { display: none; }
  .tiles, .goods-grid, .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-list { grid-template-columns: repeat(2, 1fr); }
  .cat-item:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .cat-item:nth-child(2n) { border-right: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .stat { padding-left: 22px; }
  .brand-band { padding: 52px 32px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .tiles, .goods-grid, .grid-2, .grid-3, .grid-4, .grid-5, .cat-list, .flow { grid-template-columns: 1fr; }
  .cat-item { border-right: 0 !important; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 0; padding: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 0; }
  .section, .section--tight { padding: 62px 0; }
  .cta { padding: 80px 0; }
}
