/* 优链通官网首页 — 全宽铺满桌面 */
:root {
  --green: #0b5c45;
  --green-deep: #094a38;
  --red: #e31c23;
  --ink: #1a1a1a;
  --muted: #555;
  --line: #d8dde2;
  --page: #eceff1;
  --card: #ffffff;
  --pad: clamp(16px, 2.5vw, 40px);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
  min-width: 320px;
}

a { color: inherit; text-decoration: none; }

/* 全宽内容带：左右仅留边距，不再限死中间宽度 */
.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Header 通栏 */
.site-header {
  background: var(--green);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-mark { display: flex; }
.site-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 40px);
  align-items: center;
}
.site-nav a {
  color: rgba(255,255,255,.92);
  font-size: clamp(14px, 1.1vw, 16px);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-bottom-color: #fff;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Hero 通栏全宽 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: clamp(380px, 48vh, 560px);
}
.hero-visual {
  position: relative;
  background: #e8ecef;
  min-height: inherit;
}
.hero-map,
.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-trucks {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 12%;
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 2vw, 28px);
  pointer-events: none;
}
.truck-a { width: clamp(160px, 18vw, 280px); height: auto; animation: truckIn 1.1s ease-out both; }
.truck-b { width: clamp(130px, 14vw, 220px); height: auto; animation: truckIn 1.3s .15s ease-out both; opacity: .92; }
@keyframes truckIn {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.hero-copy {
  position: absolute;
  left: clamp(20px, 3vw, 48px);
  top: clamp(20px, 3vw, 48px);
  max-width: 72%;
  z-index: 2;
}
.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: .02em;
  color: #111;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-copy p {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 16px);
  color: #333;
}

.hero-aside {
  background: var(--green);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  min-width: 0;
}
.aside-red {
  background: var(--red);
  padding: clamp(18px, 2.2vw, 28px) clamp(16px, 2vw, 28px);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .02em;
}
.aside-block {
  flex: 1;
  padding: clamp(22px, 2.5vw, 36px) clamp(16px, 2vw, 28px);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.aside-block strong {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: .03em;
}
.aside-block span {
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 700;
  opacity: .95;
}
.aside-block-last {
  background: rgba(0,0,0,.08);
}

/* Features 通栏三列 */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.feature-card {
  background: var(--card);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 32px);
  text-align: center;
  min-height: clamp(200px, 24vh, 280px);
  transition: background .2s ease;
}
.feature-card:last-child { border-right: 0; }
.feature-card:hover {
  background: #fafbfc;
}
.feature-card-accent {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.feature-card-accent:hover {
  background: var(--green-deep);
}
.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg {
  width: clamp(48px, 4vw, 64px);
  height: auto;
}
.feature-card h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
}
.feature-card p {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--muted);
  line-height: 1.7;
}
.feature-card-accent p { color: rgba(255,255,255,.88); }

/* Extra 通栏两列 */
.extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.extra-card {
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(24px, 3vw, 40px) var(--pad);
}
.extra-card:last-child { border-right: 0; }
.extra-card h2 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--green);
}
.extra-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 15px);
  max-width: 52rem;
}
.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost {
  border: 1px solid var(--green);
  color: var(--green);
}
.btn-ghost:hover { background: rgba(11,92,69,.06); }

/* Footer 通栏 */
.site-footer {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 18px var(--pad);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: .06em;
  border-radius: 0;
  width: 100%;
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--green-deep);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 20px;
    border-bottom: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-visual { min-height: 280px; }
  .hero-aside { min-height: auto; }
  .features,
  .extra {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .extra-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-card:last-child,
  .extra-card:last-child {
    border-bottom: 0;
  }
  .hero-trucks { bottom: 8%; }
  .truck-b { display: none; }
}
