/* ============================================================
   GloveSource — B2B Trade Site (EN primary / ZH secondary)
   ============================================================ */
:root {
  --navy: #0e2237;
  --navy-2: #16324e;
  --ink: #1b2834;
  --muted: #5b6b7a;
  --accent: #e85d04;
  --accent-dark: #c64d02;
  --accent-soft: #fdeee2;
  --wa: #25d366;
  --wa-dark: #1da851;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --border: #e3e8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 34, 55, 0.08);
  --font: "Inter", "Noto Sans SC", -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style-position: inside; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.22; font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 700; }
p.lead { font-size: 18px; color: var(--muted); margin-top: 14px; }

/* ---------- Header ---------- */
#site-header { position: sticky; top: 0; z-index: 100; }
.hdr { background: #ffffffee; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--navy);
  color: #fff; display: grid; place-items: center; flex: none;
}
.brand .mark svg { width: 20px; height: 20px; }
.brand em { font-style: normal; color: var(--accent); }
nav.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav.main-nav a {
  padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
nav.main-nav a:hover { background: var(--bg-soft); }
nav.main-nav a.active { color: var(--accent); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.lang-btn {
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: 6px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--navy);
  font-family: inherit;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--wa); color: #fff; flex: none;
}
.icon-btn:hover { background: var(--wa-dark); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 40px; height: 38px; cursor: pointer; place-items: center; color: var(--navy); }
.burger svg { width: 22px; height: 22px; }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 0; font-weight: 600; border-bottom: 1px solid var(--bg-soft); }
.mobile-nav .btn { margin-top: 14px; width: 100%; justify-content: center; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 10px; border: none; cursor: pointer; font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1d4266 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232, 93, 4, 0.35), transparent 65%);
}
.hero-in { position: relative; z-index: 1; padding: 88px 0 96px; max-width: 780px; }
.hero .eyebrow { color: #ffb27a; }
.hero p.lead { color: #c6d4e2; font-size: 19px; max-width: 640px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: #8fa5b8; }

/* ---------- Trust bar ---------- */
.trustbar { background: #0a1a2b; color: #dce6ef; padding: 18px 0; }
.trustbar-in { display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; }
.trustbar span { font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.trustbar svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 22px; }
.card-body p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--accent); font-weight: 700; font-size: 14.5px; }
.card-link svg { width: 16px; height: 16px; }

/* Placeholder panels for real photos */
.ph {
  position: relative; display: grid; place-items: center; color: #fff;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 14px, transparent 14px 28px), var(--navy-2);
  min-height: 200px; text-align: center; padding: 18px;
}
.ph.orange { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 14px, transparent 14px 28px), linear-gradient(135deg, #d45503, #f28b1e); }
.ph.teal { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 14px, transparent 14px 28px), linear-gradient(135deg, #0f5a5e, #17877d); }
.ph svg { width: 44px; height: 44px; opacity: 0.9; margin: 0 auto 10px; }
.ph small { font-size: 12.5px; opacity: 0.85; display: block; margin-top: 4px; }
.ph strong { font-size: 15px; }

/* ---------- Icon feature blocks ---------- */
.icon-feat { text-align: left; }
.icon-feat .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 14px;
}
.icon-feat .ico svg { width: 24px; height: 24px; }
.icon-feat p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.tl-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; }
.tl-step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.tl-step h4 { font-size: 15.5px; margin-bottom: 4px; }
.tl-step p { font-size: 13px; color: var(--muted); }
.tl-step .dur { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { font-size: 34px; color: var(--navy); letter-spacing: -0.02em; }
.stat span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); }
table.spec th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); width: 220px; }
table.spec tr:last-child td { border-bottom: none; }

/* ---------- Check list ---------- */
.check-list { list-style: none; }
.check-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Quote band / forms ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); border-radius: 20px; color: #fff; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: #c6d4e2; }
.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-grid textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-ok { display: none; background: #e8f7ee; border: 1px solid #b7e2c8; color: #14663a; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: start; }
.inline-form .full { grid-column: 1 / -1; }

/* ---------- Blog ---------- */
.blog-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 24px; margin: 34px 0 12px; }
.article p, .article li { color: #33414f; font-size: 16px; margin-top: 12px; }
.article ul, .article ol { padding-left: 22px; }
.article blockquote { border-left: 4px solid var(--accent); background: var(--bg-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; margin-top: 16px; color: var(--navy); font-weight: 600; }

/* ---------- FAQ ---------- */
details.faq-item { border: 1px solid var(--border); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
details.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero p { color: #c6d4e2; max-width: 680px; margin-top: 12px; }

/* ---------- Footer ---------- */
#site-footer { background: var(--navy); color: #b9c7d4; margin-top: 80px; }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.ftr a { display: block; padding: 5px 0; font-size: 14px; }
.ftr a:hover { color: #fff; }
.ftr .brand { color: #fff; margin-bottom: 12px; }
.ftr p { font-size: 14px; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.wa-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 700; }
.wa-inline svg { width: 16px; height: 16px; }
.ftr span { display: block; font-size: 13.5px; padding: 4px 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .cta-band { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ftr { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .burger { display: grid; margin-left: auto; }
  .hdr-actions { margin-left: 0; }
  .hdr-in { gap: 12px; }
  .inline-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .timeline { grid-template-columns: 1fr; }
  .ftr { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .cta-band { padding: 30px; }
  .hero-in { padding: 60px 0 70px; }
}
