/* QHJ Jewelry — minimal B2B site */
:root {
  --ink: #23201c;
  --muted: #6f6a62;
  --bg: #faf9f7;
  --card: #ffffff;
  --line: #e8e4dd;
  --gold: #b08d57;
  --gold-dark: #8a6d3f;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,247,.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: .5px; color: var(--ink); }
.brand span { color: var(--gold); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--ink); text-decoration: none; }

/* hero */
.hero { padding: 84px 0 64px; text-align: center; }
.hero h1 { font-size: 40px; line-height: 1.2; font-weight: 700; max-width: 760px; margin: 0 auto 18px; }
.hero h1 em { font-style: normal; color: var(--gold-dark); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
}
.btn:hover { background: #000; text-decoration: none; }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: var(--gold-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* inquiry form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; color: var(--ink); }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 8px 0 56px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.stat b { display: block; font-size: 26px; color: var(--gold-dark); }
.stat span { font-size: 13.5px; color: var(--muted); }

/* sections */
section.block { padding: 56px 0; }
.block-head { text-align: center; margin-bottom: 36px; }
.block-head h2 { font-size: 28px; }
.block-head p { color: var(--muted); max-width: 620px; margin: 8px auto 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 14.5px; }
.tile .ico { font-size: 24px; margin-bottom: 10px; }

/* categories strip */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: 22px 8px; font-weight: 600; color: var(--ink); font-size: 15px;
}
.cat-tile small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.cat-tile:hover { border-color: var(--gold); text-decoration: none; }

/* product grid */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-size: 14px; cursor: pointer; font-family: inherit;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(35,32,28,.08); }
.card-img { aspect-ratio: 1/1; background: #f1efe9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-cat { font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.card h3 { font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.card-mat { font-size: 12.5px; color: var(--muted); }
.card-link { font-size: 13px; margin-top: auto; padding-top: 6px; }
.catalog-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 36px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #fff; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.step h3 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* about / contact */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: 32px; margin-bottom: 8px; }
.page-head p { color: var(--muted); max-width: 680px; }
.prose { max-width: 760px; }
.prose p { margin: 14px 0; color: #3a3733; }
.prose h2 { font-size: 21px; margin: 30px 0 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.contact-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-tile h3 { font-size: 16px; margin-bottom: 6px; }
.contact-tile p { color: var(--muted); font-size: 14.5px; }
.contact-tile a { font-size: 15px; font-weight: 600; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 14px; padding: 44px 32px; text-align: center; margin: 24px 0 64px; }
.cta-band h2 { font-size: 24px; margin-bottom: 8px; }
.cta-band p { color: #cfc9c0; margin-bottom: 22px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; color: var(--muted); font-size: 13.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner strong { color: var(--ink); }

@media (max-width: 860px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 560px) {
  .grid-products, .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
}
