:root {
  --ink: #16211e;
  --ink-2: #3d4a46;
  --muted: #6b7a75;
  --line: #e2e6e3;
  --bg: #fbfaf7;
  --panel: #ffffff;
  --brand: #0e3a33;
  --brand-2: #17544a;
  --gold: #b8912f;
  --gold-soft: #f5eeda;
  --radius: 10px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { font-weight: 600; letter-spacing: .14em; font-size: 15px; color: var(--brand); display: inline-flex; align-items: center; }
.brand img { display: block; height: 28px; width: auto; }
.brand span { color: var(--gold); }
.site-foot .brand img { height: 26px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.site-nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--brand); }
.site-nav a.on { color: var(--brand); border-bottom-color: var(--gold); }
.lang-switch {
  font-size: 13px; color: var(--muted); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px; background: #fff;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.16; margin: 0 0 20px; letter-spacing: -.02em; font-weight: 600; }
.hero p.lead { font-size: 17px; color: var(--ink-2); margin: 0 0 30px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 8px; font-size: 14.5px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-gold { background: var(--gold); color: #1b1405; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 7px; }

.hero-figure {
  background: linear-gradient(160deg, #16342d 0%, #0e3a33 55%, #0a2a25 100%);
  border-radius: 16px; padding: 28px; color: #eaf1ee; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-figure .fig-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9dbfb6; }
.hero-figure .fig-num { font-size: 40px; font-weight: 600; margin: 6px 0 2px; }
.hero-figure .fig-note { font-size: 13px; color: #a8c4bd; }
.hero-figure .fig-row { display: flex; gap: 30px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-figure .fig-row div { font-size: 13px; color: #a8c4bd; }
.hero-figure .fig-row strong { display: block; font-size: 20px; color: #fff; font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h2 { font-size: 27px; margin: 0; letter-spacing: -.01em; font-weight: 600; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.feature p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.feature .n { font-size: 12px; color: var(--gold); letter-spacing: .12em; margin-bottom: 14px; display: block; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.pcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .15s, transform .15s;
}
.pcard:hover { border-color: #c9d2ce; transform: translateY(-2px); }
.pcard-media { position: relative; aspect-ratio: 4/3; background: #f4f5f2; display: flex; align-items: center; justify-content: center; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pcard-media .noimg { color: #b9c2be; font-size: 12px; letter-spacing: .1em; }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff;
  font-size: 11px; letter-spacing: .08em; padding: 4px 9px; border-radius: 4px;
}
.badge.hot { background: #8c3b2b; }
.pcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 16px; margin: 0 0 6px; font-weight: 600; line-height: 1.4; }
.pcard-body .tag { font-size: 13px; color: var(--muted); margin: 0 0 16px; min-height: 40px; }
.pcard-foot { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 22px; font-weight: 600; color: var(--brand); letter-spacing: -.01em; }
.price small { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.price-label { font-size: 11.5px; color: var(--muted); margin-right: 4px; }
.onrequest { font-size: 14px; color: var(--brand); font-weight: 500; }

/* ---------- product detail ---------- */
.detail-head { padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.detail-media { background: #fff; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 26px; }
.detail-media img { max-height: 100%; object-fit: contain; }
.detail-info h1 { font-size: 32px; margin: 0 0 12px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.detail-info .sub { color: var(--ink-2); font-size: 15.5px; margin: 0 0 24px; }
.kv-row { display: flex; gap: 26px; margin: 22px 0; flex-wrap: wrap; }
.kv { font-size: 13px; color: var(--muted); }
.kv strong { display: block; font-size: 17px; color: var(--ink); font-weight: 500; margin-top: 3px; }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.ptable { width: 100%; border-collapse: collapse; min-width: 780px; }
table.ptable th, table.ptable td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
table.ptable th:first-child, table.ptable td:first-child { min-width: 200px; }
table.ptable th { font-size: 12px; letter-spacing: .06em; color: var(--muted); font-weight: 500; text-transform: uppercase; background: #fafbf9; }
table.ptable tr:last-child td { border-bottom: none; }
table.ptable td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.ptable th.num { text-align: right; }
.pname { font-weight: 600; font-size: 14.5px; }
.pmeta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.big { font-size: 18px; font-weight: 600; color: var(--brand); }
.gst-split { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.gst-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row dt { color: var(--muted); margin: 0; }
.spec-row dd { margin: 0; text-align: right; font-weight: 500; }

.hl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hl-list li { padding-left: 22px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.hl-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

.compare-bar {
  position: sticky; bottom: 0; background: #10211d; color: #e9f0ed; padding: 12px 0;
  font-size: 13.5px; z-index: 15;
}
.compare-bar .wrap { display: flex; align-items: center; gap: 14px; }
.compare-bar a { color: #fff; text-decoration: underline; }

/* ---------- compare ---------- */
.cmp-grid { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.cmp-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--line); }
.cmp-row:last-child { border-bottom: none; }
.cmp-cell { padding: 15px 18px; font-size: 14px; border-right: 1px solid var(--line); }
.cmp-cell:last-child { border-right: none; }
.cmp-cell.label { background: #fafbf9; color: var(--muted); font-size: 13px; }
.cmp-head .cmp-cell { background: var(--brand); color: #fff; }
.cmp-head .cmp-cell .s { font-size: 12px; color: #a8c4bd; display: block; margin-top: 4px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 11px 13px; font: inherit; font-size: 14.5px; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid rgba(14,58,51,.15); border-color: var(--brand); }
.field textarea { min-height: 120px; resize: vertical; }
.contact-aside { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.contact-aside h3 { margin: 0 0 16px; font-size: 15px; }
.contact-aside p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.notice { padding: 14px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.notice.ok { background: #edf7f1; color: #1c5c3f; border: 1px solid #cfe8da; }
.notice.err { background: #fdf1ef; color: #8c2f22; border: 1px solid #f3d5cf; }
.notice.info { background: var(--gold-soft); color: #6b5313; border: 1px solid #e8dcbb; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 34px; margin-top: 40px; font-size: 13px; color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--brand); }
.foot-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.pv { font-variant-numeric: tabular-nums; }

.empty { padding: 60px 0; text-align: center; color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 52px 0 44px; }
  .hero-grid, .detail-top, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .section { padding: 46px 0; }
}
