/* ============================================================
   黑马运车 - 门户网站首页样式
   规范：#F5F6F8 浅灰底 / 纯白卡片 / #0A0A0A 深黑页脚
         极速黄 #FFB800 仅用于 CTA 与关键数据高亮
         数字 DIN Pro（回退 Bahnschrift）/ 中文 思源黑体
   ============================================================ */

:root {
  --bg: #F5F6F8;          /* 页面浅灰底 */
  --card: #FFFFFF;        /* 纯白卡片区 */
  --ink: #0A0A0A;         /* 深黑（页脚/标题） */
  --gold: #FFB800;        /* 极速黄：CTA 与关键数据 */
  --gold-deep: #B7791F;   /* 浅底上的金色文字（标签/眉题） */
  --text: #17181A;
  --muted: #6E747E;
  --line: #ECEEF1;
  --zh: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  --din: 'DIN Pro', 'DIN Alternate', 'Bahnschrift', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-width: 1200px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--zh);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; border: 0; }

.container { width: 1200px; margin: 0 auto; }

.num { font-family: var(--din); }

/* ============================================================
   区块1：顶部黑金导航栏
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(100deg, #070708 0%, #16140F 55%, #2A2210 100%);
  border-bottom: 1px solid rgba(255, 184, 0, .28);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.nav-inner {
  height: 108px;
  display: flex;
  align-items: center;
  gap: 26px;
}

/* logo 底板：金色渐变 + 圆角，突出透明 logo2 */
.logo-chip {
  background: linear-gradient(135deg, #FFB800 0%, #FFD24C 50%, #FFB800 100%);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 6px 22px rgba(255, 184, 0, .35), 0 2px 8px rgba(0, 0, 0, .3);
  flex-shrink: 0;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.logo-chip img { width: 60px; height: 60px; }

.brand-slogan { flex-shrink: 0; }
.slogan-top {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.slogan-top i { font-style: normal; color: var(--gold); font-weight: 900; }
.hotline { margin-top: 7px; display: flex; align-items: baseline; gap: 8px; }
.hotline span { color: rgba(255, 255, 255, .62); font-size: 13px; letter-spacing: 1px; }
.hotline b {
  font-family: var(--din);
  color: var(--gold);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .5px;
}

/* 顶部二维码 */
.nav-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-qr img {
  width: 75px; height: 75px;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 3px;
  border: 1px solid rgba(255, 184, 0, .35);
}
.nav-qr-t { color: #FFFFFF; font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.nav-qr-d { color: rgba(255, 255, 255, .52); font-size: 13px; margin-top: 3px; letter-spacing: 1px; }

.nav-menu { margin-left: auto; display: flex; gap: 46px; }
.nav-item {
  position: relative;
  color: #FFFFFF;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 6px 0;
  cursor: pointer;
  transition: color .25s ease;
  white-space: nowrap;
}
.nav-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-item:hover { color: var(--gold); }
.nav-item:hover::after { width: 100%; }

/* ============================================================
   区块2：Hero 主视觉（4:1 宽幅 banner，左对齐防裁切品牌文案）
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 400px;
  max-height: 620px;
  background: url(../images/banner.png) left center / cover no-repeat #0E2233;
}

/* Hero 下方：三大保障卡片，等距分开 */
.hero-benefits {
  padding: 40px 0 44px;
  background: var(--bg);
}
.glass-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.glass {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}
.glass-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 184, 0, .12);
  border: 1px solid rgba(255, 184, 0, .30);
}
.glass h3 { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: 1.5px; }
.glass p { color: var(--muted); font-size: 13px; margin-top: 4px; letter-spacing: .5px; }

/* ============================================================
   通用区块头
   ============================================================ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
}
.sec-kicker {
  font-family: var(--din);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.sec-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 2px;
  line-height: 1.2;
}
.sec-title .dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin-left: 7px;
  border-radius: 3px;
  background: var(--gold);
}
.sec-more {
  font-size: 14.5px;
  color: #8A8F98;
  cursor: pointer;
  padding-bottom: 6px;
  transition: color .2s ease;
  white-space: nowrap;
}
.sec-more:hover { color: var(--gold-deep); }
.sec-side { font-size: 14px; color: var(--muted); padding-bottom: 8px; letter-spacing: 1px; }

/* ============================================================
   区块3：核心服务矩阵
   ============================================================ */
.services { padding: 86px 0 84px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(15, 23, 42, .12);
}
.svc-pic { height: 250px; overflow: hidden; }
.svc-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.svc-card:hover .svc-pic img { transform: scale(1.07); }

.svc-body { padding: 26px 28px 30px; }
.svc-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8A5A00;
  background: rgba(255, 184, 0, .14);
  border: 1px solid rgba(255, 184, 0, .42);
  padding: 5px 14px;
  border-radius: 999px;
}
.svc-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 1.5px;
  margin: 16px 0 10px;
}
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.8; }
.svc-feats { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.svc-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #3A3F47;
}
.svc-feats svg { flex-shrink: 0; }
.svc-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s ease;
}
.svc-link svg { transition: transform .25s ease; }
.svc-link:hover { color: var(--gold-deep); }
.svc-link:hover svg { transform: translateX(4px); }

/* ============================================================
   区块4：运输保障与流程（白色大面板 + 6 步）
   ============================================================ */
.process { padding: 0 0 88px; }

.proc-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 46px 54px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .05);
}
.proc-head { text-align: center; }
.sec-sub { margin-top: 12px; color: var(--muted); font-size: 14.5px; letter-spacing: 1.5px; }

.proc-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.step { text-align: center; position: relative; }
.step-pic { position: relative; }
.step-pic img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.step-badge {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-no {
  margin-top: 34px;
  font-family: var(--din);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-deep);
}
.step h4 {
  margin: 8px 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 1.5px;
}
.step-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.75;
  padding: 0 2px;
}

/* ============================================================
   区块5：资质齐全，标准合同
   ============================================================ */
.certs { padding: 0 0 92px; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.cert-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, .10);
}
.cert-pic { height: 150px; overflow: hidden; }
.cert-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cert-card:hover .cert-pic img { transform: scale(1.06); }
.cert-body { padding: 18px 14px 20px; text-align: center; }
.cert-body h4 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.cert-body p { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   区块6：数据信任区 —— 黑马速度（深黑渐变 + 马头暗纹 + 数字滚屏）
   ============================================================ */
.stats {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050506 0%, #111419 50%, #050506 100%);
  padding: 96px 0 84px;
}
.horse-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  opacity: .16;
  filter: brightness(0) saturate(100%) invert(66%) sepia(95%) saturate(2000%) hue-rotate(1deg) brightness(103%);
  -webkit-filter: brightness(0) saturate(100%) invert(66%) sepia(95%) saturate(2000%) hue-rotate(1deg) brightness(103%);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}
.horse-watermark img { width: 100%; height: auto; display: block; }
.stats-head { position: relative; text-align: center; }
.sec-kicker.gold { color: var(--gold); }
.sec-title.light { color: #FFFFFF; }

.stats-grid {
  position: relative;
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { position: relative; text-align: center; padding: 6px 0; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 16%;
  height: 68%;
  width: 1px;
  background: rgba(255, 255, 255, .10);
}
.stat-num {
  font-family: var(--din);
  font-size: 60px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 1px;
}
.stat-num i { font-style: normal; font-size: 32px; margin-left: 4px; }
.stat-label {
  margin-top: 16px;
  color: rgba(255, 255, 255, .78);
  font-size: 15.5px;
  letter-spacing: 2.5px;
}

/* 合作品牌 Logo 墙（灰度，悬停变彩色 + 光晕 + 浮动） */
.brands { position: relative; margin-top: 80px; }
.brands-cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, .45);
  font-size: 13px;
  letter-spacing: 4px;
}
.cap-line { width: 56px; height: 1px; background: rgba(255, 255, 255, .18); }
.brand-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px 56px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.brand-logo {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, border-color .3s ease;
}
.brand-logo img {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.4) opacity(.6);
  transition: filter .35s ease, opacity .35s ease;
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7E858F;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), color .3s ease;
}
/* hover：整体上浮 + logo 光晕 + 文字变色上浮 */
.brand:hover .brand-logo { transform: translateY(-6px); }
.brand:hover .brand-name { transform: translateY(-3px); }
.brand:hover .brand-logo img { filter: grayscale(0%) brightness(1) opacity(1); }

/* 各品牌 hover 配色 + 光晕 */
.b-benz:hover  .brand-logo { border-color: rgba(38, 160, 218, .55); box-shadow: 0 8px 28px rgba(38, 160, 218, .35); }
.b-benz:hover  .brand-name { color: #26A0DA; }
.b-bmw:hover   .brand-logo { border-color: rgba(62, 142, 222, .55); box-shadow: 0 8px 28px rgba(62, 142, 222, .35); }
.b-bmw:hover   .brand-name { color: #3E8EDE; }
.b-audi:hover  .brand-logo { border-color: rgba(187, 10, 48, .55); box-shadow: 0 8px 28px rgba(187, 10, 48, .35); }
.b-audi:hover  .brand-name { color: #BB0A30; }
.b-vw:hover    .brand-logo { border-color: rgba(26, 160, 218, .55); box-shadow: 0 8px 28px rgba(26, 160, 218, .35); }
.b-vw:hover    .brand-name { color: #1A9AD6; }
.b-toyota:hover .brand-logo { border-color: rgba(208, 0, 0, .55); box-shadow: 0 8px 28px rgba(208, 0, 0, .35); }
.b-toyota:hover .brand-name { color: #D00000; }
.b-aito:hover  .brand-logo { border-color: rgba(0, 196, 106, .55); box-shadow: 0 8px 28px rgba(0, 196, 106, .35); }
.b-aito:hover  .brand-name { color: #00C46A; }
.b-tank:hover  .brand-logo { border-color: rgba(143, 195, 31, .55); box-shadow: 0 8px 28px rgba(143, 195, 31, .35); }
.b-tank:hover  .brand-name { color: #8FC31F; }
.b-jeep:hover  .brand-logo { border-color: rgba(46, 60, 82, .55); box-shadow: 0 8px 28px rgba(80, 98, 120, .45); }
.b-jeep:hover  .brand-name { color: #A0B0C0; }

/* ============================================================
   区块7：深色专业页脚
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 184, 0, .22);
  padding-top: 64px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 44px;
}
.f-logo { display: flex; align-items: center; gap: 14px; }
.f-logo-chip {
  background: linear-gradient(135deg, #FFB800 0%, #FFD24C 50%, #FFB800 100%);
  border-radius: 12px;
  padding: 8px;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 184, 0, .30);
  flex-shrink: 0;
}
.f-logo-chip img { width: 46px; height: 46px; }
.f-name { color: #FFFFFF; font-size: 25px; font-weight: 800; letter-spacing: 3px; }
.f-slogan { margin-top: 12px; color: rgba(255, 255, 255, .55); font-size: 13.5px; letter-spacing: 2px; }
.f-desc { margin-top: 16px; color: rgba(255, 255, 255, .40); font-size: 13px; line-height: 1.9; }

.f-col h5 {
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}
.f-col h5::before {
  content: '';
  width: 4px; height: 14px;
  border-radius: 2px;
  background: var(--gold);
  margin-right: 10px;
}
.f-col li {
  color: rgba(255, 255, 255, .52);
  font-size: 13.5px;
  line-height: 2.4;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color .2s ease;
}
.f-col li:hover { color: var(--gold); }

.f-hot-label { color: rgba(255, 255, 255, .5); font-size: 12.5px; letter-spacing: 1px; }
.f-hot {
  margin-top: 6px;
  font-family: var(--din);
  color: var(--gold);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .5px;
}
.f-hot-sub { margin-top: 6px; color: rgba(255, 255, 255, .45); font-size: 12.5px; letter-spacing: 1px; }
.f-qr { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.f-qr img {
  width: 92px; height: 92px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #FFFFFF;
  padding: 5px;
}
.f-qr-t { color: #FFFFFF; font-size: 13.5px; font-weight: 600; letter-spacing: 1px; }
.f-qr-d { color: rgba(255, 255, 255, .45); font-size: 12px; margin-top: 7px; }

.foot-bottom {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0 24px;
  text-align: center;
  color: rgba(255, 255, 255, .34);
  font-size: 12.5px;
  letter-spacing: .5px;
  line-height: 1.9;
}
.foot-bottom .disclaimer { color: rgba(255, 184, 0, .42); margin-bottom: 4px; }

/* ============================================================
   资质原图查看 Lightbox
   ============================================================ */
.cert-pic { position: relative; }
.cert-pic::after {
  content: '';
  position: absolute;
  right: 10px; bottom: 10px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(10, 10, 10, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23FFB800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9V5a2 2 0 0 1 2-2h4M3 9h6M3 9v6h6M15 9V5a2 2 0 0 0-2-2h-4M15 9h-6M15 9v6H9'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0;
  transition: opacity .3s ease;
}
.cert-card:hover .cert-pic::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img.lb-img {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 10px;
  border: 1px solid rgba(255, 184, 0, .25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
.lb-close {
  position: absolute;
  top: 24px; right: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  line-height: 1;
  color: #FFFFFF;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  cursor: pointer;
  user-select: none;
  transition: background .2s ease, color .2s ease;
}
.lb-close:hover { background: var(--gold); color: #0A0A0A; }
