/* ============================================================
   逸嘉供应链 · YIJIA CHAIN — yijiachain.com
   浅色商务 + 科技蓝主题 | 纯静态零依赖
   ============================================================ */

:root {
  --navy-900: #0a2540;
  --navy-800: #0e2f52;
  --navy-700: #163a63;
  --blue: #1e5eff;
  --blue-deep: #1544c0;
  --blue-soft: #eaf1ff;
  --accent: #ff7a1a;
  --accent-deep: #e8650a;
  --accent-soft: #fff1e6;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #243247;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(10, 37, 64, 0.07);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.12);
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; color: var(--navy-900); }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 94, 255, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(30, 94, 255, 0.36); }
.btn-ghost {
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--navy-900);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 26, 0.32);
}
.btn-sm { padding: 9px 22px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  flex-shrink: 0;
}
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: 0.04em; }
.brand-text small {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
  font-weight: 600;
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  padding: 8px 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.site-nav a.active { color: var(--blue); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 84px) 0 96px;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(30, 94, 255, 0.09), transparent 62%),
    radial-gradient(700px 420px at 4% 96%, rgba(255, 122, 26, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero-network {
  position: absolute;
  top: 40px;
  right: -60px;
  width: min(620px, 55vw);
  height: auto;
  opacity: 0.6;
  pointer-events: none;
}
.net-links path { stroke: rgba(30, 94, 255, 0.22); }
.net-flow path {
  stroke: rgba(255, 122, 26, 0.55);
  stroke-dasharray: 6 130;
  animation: netflow 5s linear infinite;
}
.net-flow path:nth-child(2) { animation-delay: -1.6s; stroke: rgba(30, 94, 255, 0.5); }
.net-flow path:nth-child(3) { animation-delay: -3.2s; }
@keyframes netflow { to { stroke-dashoffset: -272; } }
.net-nodes circle { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.net-nodes circle:nth-child(3n) { stroke: var(--accent); }
.net-halo circle {
  fill: none;
  stroke: rgba(30, 94, 255, 0.28);
  stroke-width: 1.5;
  animation: halo 3.2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.net-halo circle:last-child { animation-delay: -1.6s; stroke: rgba(255, 122, 26, 0.3); }
@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.35); opacity: 0.25; }
}

.hero-inner { position: relative; max-width: 1180px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.hero-badges span {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid rgba(30, 94, 255, 0.16);
  border-radius: 999px;
}
.hero-badges span:last-child {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-color: rgba(255, 122, 26, 0.2);
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue) 20%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 620px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  background: rgba(255, 255, 255, 0.92);
  padding: 26px 24px;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}
.stat dt { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.stat dd {
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}
.stat.stat-long dd { font-size: clamp(30px, 3.4vw, 42px); }
.stat .suffix { font-size: 0.75em; color: var(--accent); font-weight: 700; margin-left: 3px; }

.hero-scrollhint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 2px solid rgba(91, 107, 130, 0.4);
  border-radius: 12px;
}
.hero-scrollhint span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--blue);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; scroll-margin-top: var(--header-h); }
.section-alt { background: linear-gradient(180deg, #fff, var(--bg)); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 16.5px; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.about-copy p { margin-bottom: 18px; color: var(--text); }
.about-copy strong { color: var(--navy-900); }
.cert-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.cert-list li {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.cert-list li:last-child { border-left-color: var(--accent); grid-column: 1 / -1; }
.cert-list strong { font-size: 15px; color: var(--navy-900); }
.cert-list span { font-size: 13px; color: var(--muted); }

.about-figure { margin: 0; text-align: center; }
.about-figure svg { width: min(400px, 100%); margin-inline: auto; }
.about-figure figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); letter-spacing: 0.12em; }
.ring-links path { stroke: rgba(30, 94, 255, 0.25); }
.ring-links path:last-child { stroke: rgba(255, 122, 26, 0.35); stroke-dasharray: 5 7; }
.ring-center { fill: var(--navy-900); }
.ring-center-t1 { fill: #fff; font-size: 22px; font-weight: 700; }
.ring-center-t2 { fill: rgba(255, 255, 255, 0.75); font-size: 13px; }
.ring-node circle { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.ring-node:nth-of-type(odd) circle { stroke: var(--accent); }
.ring-node text { fill: var(--navy-900); font-size: 24px; font-weight: 700; }

/* ---------- 实景配图 ---------- */
.media-banner {
  position: relative;
  margin: 56px 0 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.media-banner:hover img { transform: scale(1.03); }
.media-banner figcaption,
.media-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 26px 18px;
  background: linear-gradient(180deg, transparent, rgba(10, 37, 64, 0.78));
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.media-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.media-grid figure:hover img { transform: scale(1.05); }
.media-grid figcaption { font-size: 13.5px; padding: 34px 18px 14px; }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 94, 255, 0.3);
}
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:nth-child(even) .card-icon { background: var(--accent-soft); }
.card:nth-child(even) .card-icon svg { stroke: var(--accent-deep); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card > p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.card-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 7px;
}
.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--accent));
}

/* ---------- 商品广度 ---------- */
.assort-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.assort-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 24px 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow);
}
.assort-stats strong {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.assort-stats span { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }

.grid-cats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 122, 26, 0.4);
}
.cat svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
}
.cat:nth-child(even) svg { stroke: var(--accent-deep); }
.cat h3 { font-size: 16px; margin-bottom: 5px; }
.cat p { font-size: 12.8px; color: var(--muted); line-height: 1.6; }
.assort-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- 交付网络(深色) ---------- */
.section-dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(30, 94, 255, 0.22), transparent 60%),
    radial-gradient(600px 380px at 6% 100%, rgba(255, 122, 26, 0.12), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.72); }

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 56px;
}
.delivery-figure { margin: 0; }
.delivery-figure svg { width: 100%; height: auto; }
.delivery-figure figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.dl-links path { stroke: rgba(255, 255, 255, 0.2); }
.dl-flow path {
  stroke: var(--accent);
  stroke-dasharray: 7 120;
  animation: netflow 4.4s linear infinite;
}
.dl-flow path:last-child { animation-delay: -2.2s; stroke: #6ea0ff; }
.dl-hubs rect { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.28); }
.dl-hubs text { fill: #fff; font-size: 15px; font-weight: 600; }
.dl-core circle { fill: var(--blue); stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; }
.dl-core text { fill: #fff; }
.dl-core text:first-of-type { font-size: 21px; font-weight: 800; }
.dl-core text:last-of-type { font-size: 12px; opacity: 0.85; }
.dl-ends rect { fill: rgba(255, 122, 26, 0.16); stroke: var(--accent); }
.dl-ends text { fill: #ffd9b8; font-size: 15px; font-weight: 700; }
.dl-caption { fill: rgba(255, 255, 255, 0.55); font-size: 13px; letter-spacing: 0.1em; }

.delivery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dcard {
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.dcard:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 122, 26, 0.5);
  transform: translateY(-3px);
}
.dcard strong { display: block; font-size: 16px; margin-bottom: 6px; color: #fff; }
.dcard strong::before { content: "◆ "; color: var(--accent); font-size: 11px; vertical-align: 2px; }
.dcard p { font-size: 13px; color: rgba(255, 255, 255, 0.68); line-height: 1.65; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.flow li {
  position: relative;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}
.flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  z-index: 1;
}
.flow-step {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 8px;
}
.flow strong { display: block; font-size: 18px; color: #fff; margin-bottom: 6px; }
.flow p { font-size: 13px; color: rgba(255, 255, 255, 0.66); line-height: 1.65; }

/* ---------- 数字技术 ---------- */
.tech-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.tech-flow span {
  padding: 12px 26px;
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.tech-flow span:nth-of-type(2) { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.tech-flow i {
  font-style: normal;
  font-size: 12.5px;
  color: var(--accent-deep);
  font-weight: 600;
  position: relative;
  padding: 0 6px;
}
.tech-flow i::before { content: "⟶ "; letter-spacing: -0.1em; }

.eco-block { margin-top: 72px; }
.eco-title { font-size: clamp(22px, 2.6vw, 28px); text-align: center; }
.eco-lead { text-align: center; color: var(--muted); margin: 10px 0 36px; }
.card.eco > p { margin-bottom: 0; }

/* ---------- 业务合作 ---------- */
.biz-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.card.biz:nth-child(2) .biz-tag { color: var(--accent-deep); background: var(--accent-soft); }

/* ---------- 联系我们 ---------- */
.section-contact { padding-bottom: 110px; }
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 56px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 122, 26, 0.14), transparent 60%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700));
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-copy h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.contact-copy p { color: rgba(255, 255, 255, 0.75); margin-bottom: 30px; max-width: 440px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
}
.contact-list svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.contact-list strong { font-size: 16px; color: #fff; font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-brand strong { color: #fff; font-size: 16px; letter-spacing: 0.06em; }
.footer-brand p { font-size: 13px; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-legal {
  width: 100%;
  padding-top: 22px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.card-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid-cats .reveal:nth-child(4n+2) { transition-delay: 0.06s; }
.grid-cats .reveal:nth-child(4n+3) { transition-delay: 0.12s; }
.grid-cats .reveal:nth-child(4n) { transition-delay: 0.18s; }

/* 无 JS 时保证内容可见 */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid var(--line); }
  .delivery-grid { grid-template-columns: 1fr; gap: 32px; }
  .delivery-figure svg { max-width: 560px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-figure { order: -1; }
  .about-figure svg { width: min(320px, 80%); }
  .media-grid { grid-template-columns: 1fr; }
  .media-grid img { height: 210px; }
  .media-banner img { height: 260px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 24px 20px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(10, 37, 64, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-network { opacity: 0.32; right: -140px; }
  .footer-nav { margin-left: 0; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { padding: 18px 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 16px; }
  .stat dd { font-size: 32px; }
  .stat.stat-long dd { font-size: 27px; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat:nth-child(5) { grid-column: 1 / -1; }
  .assort-stats { grid-template-columns: 1fr; gap: 12px; }
  .assort-stats > div { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 16px 22px; }
  .delivery-cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li::after { display: none !important; }
  .cert-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .tech-flow { gap: 8px; }
  .tech-flow span { padding: 10px 18px; font-size: 13.5px; }
  .tech-flow i { width: 100%; text-align: center; padding: 0; }
  .tech-flow i::before { content: "↓ "; }
  .hero-scrollhint { display: none; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
