/* ===========================================================
   Yiwu City Yizheng Trading Co., Ltd. — shared stylesheet
   Clean corporate theme (navy + gold accent)
   =========================================================== */

:root {
  --navy: #0f2c52;
  --navy-deep: #0a1f3c;
  --navy-soft: #1c3f6e;
  --gold: #c39a4d;
  --gold-soft: #d9b86b;
  --ink: #1d2733;
  --muted: #5d6b7a;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-tint: #eef2f7;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 44, 82, .08);
  --maxw: 1120px;
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
}

.section .lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
  box-shadow: var(--shadow);
}
.brand .mark span { color: var(--gold-soft); }
.brand .mark-img {
  background: none;
  padding: 0;
  object-fit: contain;
  border-radius: 10px;
}
.brand .name { line-height: 1.15; }
.brand .name b { display: block; font-size: 16px; color: var(--navy); font-weight: 800; }
.brand .name small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--gold); }

.lang-switch {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  transition: all .15s;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(10, 31, 60, .94), rgba(28, 63, 110, .82)),
    radial-gradient(circle at 80% 20%, rgba(195, 154, 77, .25), transparent 55%);
  background-color: var(--navy-deep);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 104px 0 96px; max-width: 760px; }
.hero .tag {
  display: inline-block;
  font-size: clamp(11px, 2.6vw, 13px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 6.2vw, 56px);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}
.hero p {
  font-size: clamp(15px, 2.1vw, 19px);
  color: rgba(255, 255, 255, .82);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, color .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #1a1205; }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Stat strip ---------- */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 28px 24px; text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--navy); font-weight: 800; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.about-grid p + p { margin-top: 16px; }
.about-grid .lead { color: var(--ink); font-size: 17px; }
.about-grid .muted { color: var(--muted); font-size: 16px; }

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.info-card .info-head {
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
}
.info-card dl { padding: 8px 24px 20px; }
.info-card .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.info-card .row:last-child { border-bottom: 0; }
.info-card dt { color: var(--muted); flex: 0 0 42%; }
.info-card dd { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat .ico {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--bg-tint);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.cat h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; font-weight: 700; }
.cat p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Featured / highlighted categories */
.cat--featured {
  position: relative;
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  box-shadow: 0 12px 34px rgba(195, 154, 77, .2);
}
.cat--featured::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--gold), var(--gold-soft));
}
.cat--featured .ico {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1205;
}
.cat-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: #1a1205;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.why {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.why .num {
  font-size: 14px; font-weight: 800; color: var(--gold);
  letter-spacing: .1em;
}
.why h3 { font-size: 19px; color: var(--navy); margin: 10px 0 8px; font-weight: 700; }
.why p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact {
  color: #fff;
  background:
    linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
}
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,.8); }
.contact-list { margin-top: 26px; display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci {
  width: 42px; height: 42px; flex: none;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 19px;
}
.contact-item .ct small { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; }
.contact-item .ct b { font-size: 16px; font-weight: 600; }
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.contact-card h3 { font-size: 20px; margin-bottom: 18px; }
.contact-card .row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row span:first-child { color: rgba(255,255,255,.65); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
  font-size: 14px;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-inner .brand .name b { color: #fff; }
.footer-inner .brand .name small { color: rgba(255,255,255,.55); }
.site-footer .legal { color: rgba(255,255,255,.5); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding: 88px 0 84px; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .nav-right { gap: 14px; }
  .nav-links { display: none; }
  .nav-links.show {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-toggle {
    display: inline-flex;
    background: none; border: 0; cursor: pointer;
    font-size: 24px; color: var(--navy);
    padding: 0;
  }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 64px; }
  .hero-actions { width: 100%; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .stats { margin-top: 28px; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 18px; }
  .brand .name small { display: none; }
}
