/* ============================================================
   金禧沛（江西）电子商务有限公司 · 官网样式
   主色 藏蓝 #0B1F35 / 次蓝 #12314F / 剑银 #C7CDD3 / 浅金 #A8874B
   ============================================================ */

:root {
  --navy: #0B1F35;
  --navy-2: #12314F;
  --navy-3: #071628;
  --silver: #C7CDD3;
  --gold: #A8874B;
  --paper: #F4F5F6;
  --ink: #1A2733;
  --ink-2: #4A5763;
  --line: rgba(11, 31, 53, .14);
  --line-light: rgba(199, 205, 211, .22);
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", SimSun, serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; margin: 0; }

p { margin: 0; }

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

@media (min-width: 768px) {
  .wrap { padding: 0 40px; }
}

/* ---------- 纸纹 ---------- */
.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background-color .45s ease, border-color .45s ease, padding .45s ease;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(11, 31, 53, .96);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom-color: rgba(168, 135, 75, .5);
  padding: 6px 0;
}
.nav .wrap { display: flex; align-items: center; gap: 20px; }

.brand img { width: 118px; }
@media (min-width: 768px) { .brand img { width: 150px; } }

.nav-links {
  display: none;
  margin-left: auto;
  gap: 30px;
  align-items: center;
  color: #fff;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  letter-spacing: .06em;
  opacity: .86;
  transition: opacity .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { opacity: 1; }

.nav-coop {
  display: none;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--line-light);
  color: #fff;
}
.nav-coop img { width: 28px; height: 28px; object-fit: contain; border-radius: 2px; }
.nav-coop span { font-size: 12px; line-height: 1.35; opacity: .82; letter-spacing: .04em; }
.nav-coop strong { display: block; font-weight: 500; font-size: 12.5px; opacity: .95; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-coop { display: flex; }
}

.nav-cta {
  display: none;
  border: 1px solid rgba(255, 255, 255, .5);
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: .1em;
  color: #fff;
  transition: background .3s, color .3s, border-color .3s;
}
.nav-cta:hover { background: #fff; color: var(--navy); border-color: #fff; }
@media (min-width: 1024px) { .nav-cta { display: inline-block; margin-left: 26px; } }

.burger {
  margin-left: auto;
  width: 46px; height: 46px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: none; border: 0; padding: 0 10px;
  cursor: pointer;
}
.burger i { display: block; height: 1px; background: #fff; transition: transform .3s, opacity .3s; }
.burger i:nth-child(1) { width: 22px; }
.burger i:nth-child(2) { width: 22px; }
.burger i:nth-child(3) { width: 14px; }
@media (min-width: 1024px) { .burger { display: none; } }

/* 抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 40px;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { width: 118px; }
.drawer-close { background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; width: 40px; height: 40px; font-size: 20px; line-height: 1; cursor: pointer; }
.drawer nav { margin-top: 48px; display: flex; flex-direction: column; gap: 4px; }
.drawer nav a { font-family: var(--serif); font-size: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; align-items: baseline; }
.drawer nav a span { font-size: 12px; font-family: var(--sans); color: var(--silver); opacity: .7; }
.drawer-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--silver); }
.drawer-foot img { width: 32px; height: 32px; object-fit: contain; background: #fff; border-radius: 2px; padding: 0; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 620px;
  height: 88vh;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: contrast(1.06) saturate(.98);
}
.hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 40, .92) 0%, rgba(7, 22, 40, .78) 38%, rgba(7, 22, 40, .34) 70%, rgba(7, 22, 40, .22) 100%),
    linear-gradient(0deg, rgba(7, 22, 40, .88) 0%, rgba(7, 22, 40, .18) 46%, rgba(7, 22, 40, 0) 100%);
}
.hero-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  padding: 120px 0 0;
  color: #fff;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  margin-top: 22px;
  font-size: 40px;
  line-height: 1.22;
  letter-spacing: .04em;
  max-width: 620px;
}
@media (min-width: 768px) { .hero h1 { font-size: 62px; } }
@media (min-width: 1200px) { .hero h1 { font-size: 72px; } }
.hero-lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, .84);
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 14px;
  letter-spacing: .08em;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn.solid { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.solid:hover { background: #96773f; border-color: #96773f; color: #fff; }

.hero-band {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  background: rgba(7, 22, 40, .34);
  backdrop-filter: blur(2px);
}
.hero-band .wrap { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.hero-band img { width: 32px; height: 32px; object-fit: contain; border-radius: 2px; }
.hero-band .txt { color: rgba(255, 255, 255, .9); font-size: 12.5px; line-height: 1.5; letter-spacing: .02em; }
.hero-band .txt strong { font-weight: 500; }
.hero-band .note { margin-left: auto; color: var(--silver); font-size: 12px; letter-spacing: .04em; }

/* ---------- 通用区块 ---------- */
.sec { padding: 64px 0; }
@media (min-width: 768px) { .sec { padding: 96px 0; } }
.sec.paper { background: var(--paper); }
.sec.narrow { padding: 52px 0; }
@media (min-width: 768px) { .sec.narrow { padding: 72px 0; } }

.sec-head { max-width: 760px; }
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .26em;
  color: var(--gold);
  text-transform: none;
}
.mark::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.mark.on-dark { color: var(--silver); }
.mark.on-dark::before { background: var(--gold); }

.sec-title {
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: .03em;
}
@media (min-width: 768px) { .sec-title { font-size: 42px; } }
.sec-lead {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-2);
  max-width: 640px;
}

.on-dark-panel { background: var(--navy); color: #fff; }
.on-dark-panel .sec-lead { color: rgba(255, 255, 255, .78); }
.on-dark-panel .card { border-color: var(--line-light); }
.on-dark-panel .card p { color: rgba(255, 255, 255, .74); }
.on-dark-panel .num { color: var(--silver); }

/* ---------- 供销集配板块 ---------- */
.coop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-light);
}
.coop-head .logos { display: flex; align-items: center; gap: 26px; }
.coop-head .logos img { height: 56px; width: auto; object-fit: contain; background: #fff; border-radius: 2px; }
.coop-head .logos .divider { width: 1px; height: 44px; background: var(--line-light); }
.coop-head .tag { margin-left: auto; font-size: 12px; letter-spacing: .18em; color: var(--silver); }

.grid { display: grid; gap: 1px; background: var(--line); }
.grid.on-dark { background: transparent; gap: 1px; }
.grid.on-dark .card { background: transparent; border: 1px solid var(--line-light); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card .num { font-family: var(--serif); font-size: 13px; letter-spacing: .1em; color: var(--gold); }
.card h3 { font-size: 19px; line-height: 1.5; }
.card p { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.card.on-dark {
  background: transparent;
  border-color: var(--line-light);
  color: #fff;
}
.card.on-dark p { color: rgba(255, 255, 255, .74); }
.card.on-dark .num { color: var(--silver); }

.grid.cols-1 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* 四方流程条 */
.flow {
  margin-top: 40px;
  display: grid;
  gap: 22px;
  background: transparent;
}
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow div {
  background: transparent;
  padding: 22px 0 6px;
  border-top: 1px solid var(--line-light);
}
.flow b {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
  font-weight: 500;
  display: block;
}
.flow h4 { font-size: 17px; margin-top: 10px; color: #fff; font-weight: 600; }
.flow p { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .7); margin-top: 8px; }

.boundary {
  margin-top: 36px;
  border: 1px solid var(--line-light);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(11, 31, 53, .3);
}
.boundary svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; stroke: var(--gold); }
.boundary p { font-size: 13px; line-height: 1.95; color: rgba(255, 255, 255, .8); }
.boundary strong { color: #fff; font-weight: 500; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 13.5px;
  letter-spacing: .1em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 9px;
  transition: gap .3s, border-color .3s;
}
.link-arrow:hover { gap: 20px; border-color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; stroke: currentColor; }

.link-arrow.dark { color: var(--navy); border-color: var(--line); }
.link-arrow.dark:hover { border-color: var(--gold); }

/* ---------- 图片区块 ---------- */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; display: block; }
.figure.ratio { aspect-ratio: 21 / 9; overflow: hidden; }
.figure.ratio img { height: 100%; object-fit: cover; object-position: 50% 50%; }
.figure.cap { font-size: 12px; color: var(--ink-2); line-height: 1.7; margin-top: 12px; }
.figure.limited { max-width: 880px; margin-left: auto; margin-right: auto; }
.figure.shadow { box-shadow: 0 24px 60px -30px rgba(11, 31, 53, .5); }

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.rev .txt { order: 2; }
}
.split .txt h3 { font-size: 26px; line-height: 1.4; }
@media (min-width: 768px) { .split .txt h3 { font-size: 32px; } }
.split .txt p { margin-top: 16px; font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.split .txt ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.split .txt li { display: flex; gap: 12px; font-size: 14px; line-height: 1.8; color: var(--ink); }
.split .txt li em { font-style: normal; font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .06em; flex: 0 0 auto; }
.split img { width: 100%; object-fit: cover; }

/* ---------- 数据条 / 三级配送 ---------- */
.strips { display: grid; gap: 1px; background: var(--line); margin-top: 44px; }
@media (min-width: 900px) { .strips { grid-template-columns: repeat(4, 1fr); } }
.strip { background: #fff; padding: 26px 22px; }
.strip h4 { font-size: 17px; line-height: 1.5; }
.strip p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }

/* ---------- 页面头（内页） ---------- */
.page-head {
  background: var(--navy);
  color: #fff;
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .page-head { padding: 168px 0 76px; } }
.page-head .crumb { font-size: 12px; letter-spacing: .18em; color: var(--silver); }
.page-head h1 { margin-top: 20px; font-size: 34px; line-height: 1.3; letter-spacing: .04em; }
@media (min-width: 768px) { .page-head h1 { font-size: 52px; } }
.page-head p { margin-top: 18px; max-width: 660px; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, .8); }
.page-head .line { position: absolute; right: -60px; top: -60px; width: 380px; height: 380px; border: 1px solid rgba(199, 205, 211, .16); border-radius: 50%; }

/* ---------- 背书条 ---------- */
.endorse {
  background: var(--navy-2);
  color: #fff;
  padding: 18px 0;
}
.endorse .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.endorse img { width: 32px; height: 32px; object-fit: contain; border-radius: 2px; }
.endorse .t { font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .88); }
.endorse .sep { width: 1px; height: 26px; background: var(--line-light); }

/* ---------- 资质列表 ---------- */
.rows { margin-top: 40px; border-top: 1px solid var(--line); }
.row {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .row { grid-template-columns: 200px 1fr 160px; align-items: baseline; gap: 24px; }
}
.row h3 { font-size: 18px; }
.row p { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.row .state { font-size: 12px; letter-spacing: .1em; color: var(--gold); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.info-list { margin-top: 32px; border-top: 1px solid var(--line); }
.info-list div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.info-list dt { font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.info-list dd { margin: 0; font-size: 15px; line-height: 1.8; }
.tbd { color: var(--ink-2); border-bottom: 1px dashed var(--line); font-size: 14px; }

.qr-box {
  border: 1px solid var(--line);
  padding: 28px;
  text-align: center;
}
.qr-box .ph {
  width: 160px; height: 160px;
  margin: 0 auto;
  border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 12px; line-height: 1.6;
  letter-spacing: .1em;
}
.qr-box p { margin-top: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-3); color: #fff; padding: 56px 0 26px; }
@media (min-width: 768px) { .footer { padding: 72px 0 30px; } }
.footer-top { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer .brand img { width: 168px; margin-bottom: 22px; }
.footer p.small { font-size: 12.5px; line-height: 1.95; color: rgba(255, 255, 255, .6); max-width: 420px; }
.footer .coop-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.footer .coop-row img { width: 40px; height: 40px; object-fit: contain; border-radius: 2px; }
.footer .coop-row .txt { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.footer .coop-row .txt strong { display: block; font-weight: 500; color: #fff; font-size: 12.5px; }
.footer-col h4 { font-size: 13px; letter-spacing: .16em; color: var(--silver); font-weight: 500; font-family: var(--sans); }
.footer-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 13px; color: rgba(255, 255, 255, .74); line-height: 1.7; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .03em;
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }

/* ---------- CTA 区 ---------- */
.cta {
  background: var(--navy-2);
  color: #fff;
  padding: 64px 0;
}
@media (min-width: 768px) { .cta { padding: 88px 0; } }
.cta .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1fr auto; gap: 48px; } }
.cta h2 { font-size: 28px; line-height: 1.45; }
@media (min-width: 768px) { .cta h2 { font-size: 36px; } }
.cta p { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .76); line-height: 1.9; max-width: 560px; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav, .nav-links a::after, .link-arrow, .btn { transition: none; }
}

/* 焦点可见 */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
