/* ==========================================================================
   Veritas Global Trade · 官方主站 veritasglt.com
   风格与目录站 fan.veritasglt.com 保持一致：深藏青 #132339 + 金 #C9A961
   ========================================================================== */

:root {
  --navy: #132339;
  --navy2: #1b3452;
  --navy3: #0d1a2b;
  --gold: #C9A961;
  --gold-l: #e0c68d;
  --ink: #1c2b36;
  --ink-l: #4a5a68;
  --bg: #f5f6f8;
  --line: #e6eaee;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
  /* 🔴 横向溢出兜底：窄屏下不让任何子元素把页面撑宽 */
  overflow-x: hidden;
  max-width: 100%;
}

a { color: var(--navy2); }
img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.25;
}
h1 { font-size: 30px; }
h2 { font-size: 23px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin: 40px 0 0; }
h2 small {
  display: block;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12.5px;
  color: #8a94a0;
  font-weight: 600;
  letter-spacing: .4px;
  margin-top: 5px;
}
h3 { font-size: 16.5px; }
p { margin: 0 0 12px; }

.lede { font-size: 15px; line-height: 1.75; color: #3c4a58; }
.muted { color: var(--ink-l); }
.small { font-size: 13px; }

/* ---------- 顶部 ---------- */
header.top { background: var(--navy); color: #fff; }
header.top .bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
header.top img.logo { width: min(400px, 58vw); display: block; }
.cta { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 19px;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--gold-l); }
.btn.ghost { background: transparent; color: var(--gold); border: 1px solid rgba(201, 169, 97, .6); }
.btn.ghost:hover { background: rgba(201, 169, 97, .1); }
.btn.light { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.light:hover { background: var(--navy); color: #fff; }
.btn.big { font-size: 14.5px; padding: 14px 28px; }

/* ---------- 导航 ---------- */
nav.main {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
nav.main ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: flex;
  flex-wrap: wrap;
}
nav.main li a {
  display: block;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
nav.main li a:hover { color: var(--navy); }
nav.main li a.on { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(201, 169, 97, .16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy3) 100%);
  color: #fff;
  padding: 52px 24px 56px;
}
.hero .wrap { max-width: 1180px; margin: 0 auto; display: flex; gap: 42px; align-items: center; flex-wrap: wrap; }
.hero .copy { flex: 1 1 480px; }
.hero .kicker {
  font-size: 12.5px;
  letter-spacing: 2.4px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.hero .sub { max-width: 560px; font-size: 15.5px; line-height: 1.75; color: #DCE0E6; }
.hero .stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero .stat .n { font-size: 26px; font-weight: 700; color: var(--gold); font-family: Georgia, serif; line-height: 1.1; }
.hero .stat .t { font-size: 12px; color: #A3AEBF; letter-spacing: .4px; }
.hero .shot { flex: 0 1 300px; }
.hero .shot img {
  width: 100%;
  max-width: 300px;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.hero .cta { margin-top: 6px; }

/* ---------- 主体 ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 8px 18px 68px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
}

.kv { display: grid; grid-template-columns: 210px 1fr; gap: 9px 18px; font-size: 14.2px; line-height: 1.7; }
.kv b { color: var(--navy); }

/* ---------- 数字条 ---------- */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.number {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
}
.number .n { font-size: 27px; font-weight: 700; color: var(--navy); font-family: Georgia, serif; line-height: 1.15; }
.number .t { font-size: 13px; color: var(--ink-l); margin-top: 3px; }

/* ---------- 品类卡 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; margin-top: 20px; }
.catcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
  transition: box-shadow .15s, transform .15s;
}
.catcard:hover { box-shadow: 0 6px 20px rgba(19, 35, 57, .16); transform: translateY(-2px); }
.catcard .pic { background: #fff; height: 205px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.catcard .pic img { max-height: 100%; max-width: 100%; object-fit: contain; }
.catcard .in { padding: 13px 15px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.catcard h3 { margin: 0; }
.catcard p { margin: 0; font-size: 12.8px; color: var(--ink-l); line-height: 1.6; flex: 1; }
.catcard .go { font-size: 12.5px; font-weight: 700; color: var(--navy2); }

/* ---------- 优势三栏 ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 20px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 24px; box-shadow: 0 1px 6px rgba(0, 0, 0, .05); }
.pillar .ic {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; margin-bottom: 13px;
  font-family: Georgia, serif;
}
.pillar h3 { margin-bottom: 7px; }
.pillar p { margin: 0; font-size: 13.5px; color: var(--ink-l); line-height: 1.68; }

/* ---------- 流程 ---------- */
.steps { counter-reset: s; margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 22px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -13px; left: 20px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
}
.step h3 { margin: 12px 0 6px; font-size: 15.5px; }
.step p { margin: 0; font-size: 13.2px; color: var(--ink-l); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { margin-top: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 9px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 14.5px; padding: 15px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 700; font-size: 19px; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 0 16px; font-size: 13.8px; color: #3c4a58; line-height: 1.72; }
.faq .ans ul { margin: 6px 0 0; padding-left: 20px; }
.faq .ans li { margin-bottom: 5px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
input, textarea, select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d4dae1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
textarea { min-height: 108px; resize: vertical; }
.hint { font-size: 12.2px; color: #8a94a0; margin-top: 5px; }

/* ---------- 联系卡 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.ccard .lbl { font-size: 11.5px; letter-spacing: 1.4px; color: #8a94a0; font-weight: 700; text-transform: uppercase; margin-bottom: 7px; }
.ccard .val { font-size: 16px; font-weight: 700; color: var(--navy); word-break: break-word; line-height: 1.5; }
.ccard .val a { color: var(--navy2); text-decoration: none; }
.ccard .val a:hover { text-decoration: underline; }
.ccard .note { font-size: 12.2px; color: var(--ink-l); margin-top: 5px; }

/* ---------- CTA 条 ---------- */
.cta-bar {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  margin-top: 44px;
  text-align: center;
}
.cta-bar h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.cta-bar p { color: #DCE0E6; font-size: 14.5px; max-width: 620px; margin: 0 auto 18px; }
.cta-bar .cta { justify-content: center; }

/* ---------- 页脚 ---------- */
footer { background: var(--navy); color: #DCE0E6; text-align: center; padding: 38px 16px; font-size: 13px; line-height: 1.9; }
footer .fbrand { font-family: Georgia, serif; color: var(--gold); font-size: 18px; letter-spacing: .5px; }
footer .slogan { color: #A3AEBF; font-size: 12px; letter-spacing: .6px; margin: 2px 0 12px; }
footer b { color: #fff; }
footer a { color: var(--gold); }
footer .flinks { margin: 12px 0 0; padding: 0; list-style: none; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
footer .flinks a { text-decoration: none; }
footer .flinks a:hover { text-decoration: underline; }
footer .fine { color: #8492a4; font-size: 11.5px; margin-top: 12px; }

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .hero .wrap { gap: 26px; }
  .hero h1 { font-size: 27px; }
  .hero .shot { flex-basis: 100%; max-width: 260px; }
  .hero .shot img { max-width: 260px; }
  .hero .stats { gap: 18px; }
  .hero .stat .n { font-size: 22px; }
}
@media (max-width: 640px) {
  h1 { font-size: 23px; }
  h2 { font-size: 20px; margin-top: 32px; }
  main { padding: 6px 14px 52px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv b { margin-top: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 34px 16px 38px; }
  .hero h1 { font-size: 23px; }
  .hero .sub { font-size: 14px; }
  .btn { padding: 10px 14px; font-size: 12.5px; }
  .btn.big { font-size: 13px; padding: 12px 18px; }

  /* 🔴 顶部 CTA 改为纵向堆叠：两个 nowrap 按钮并排会把页面撑宽导致横向溢出 */
  header.top .bar { padding: 12px 14px; }
  header.top .cta { width: 100%; flex-direction: column; gap: 7px; }
  header.top .cta .btn { width: 100%; text-align: center; white-space: normal; }

  /* Hero 按钮：窄屏一律整行，避免被裁 */
  .hero .cta { width: 100%; flex-direction: column; gap: 8px; }
  .hero .cta .btn { width: 100%; text-align: center; white-space: normal; }
  .hero .stats { gap: 14px; }
  .hero .stat { flex: 1 1 88px; }
  .hero .stat .n { font-size: 21px; }
  .hero .stat .t { font-size: 11px; }
  .hero .shot { max-width: 210px; margin: 0 auto; }
  .hero .shot img { max-width: 210px; max-height: 300px; }

  /* 数字条改单列，避免 180px 最小宽在 390px 屏放不下两列 */
  .numbers { grid-template-columns: 1fr; gap: 12px; }
  .number { padding: 15px 16px; }
  .number .n { font-size: 22px; }

  .catcard .pic { height: 175px; }
  .cta-bar { padding: 26px 18px; }
  .cta-bar h3 { font-size: 18px; }
  .cta-bar .cta { flex-direction: column; gap: 8px; }
  .cta-bar .cta .btn { width: 100%; text-align: center; white-space: normal; }
  footer { padding: 30px 14px; }
  footer .flinks { gap: 10px 16px; }
}
