/* ============================================================
   合并站专属样式：双公司引导页 + 品牌双入口
   追加在 style.css 之后
   ============================================================ */

/* ---------- 双品牌页头 ---------- */
.brand-duo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-duo .bd-unit {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 13px;
  border-right: 1px solid var(--line);
}
.brand-duo .bd-unit:last-child {
  padding-right: 0;
  border-right: 0;
}
.brand-duo .bd-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  flex: 0 0 auto;
  letter-spacing: 0;
}
.brand-duo .bd-unit.w .bd-mark { background: linear-gradient(135deg, #1B7A43, #0B3D21); }
.brand-duo .bd-unit.y .bd-mark { background: linear-gradient(135deg, #1D4ED8, #0B2A5B); }
.bd-text { display: flex; flex-direction: column; line-height: 1.2; }
.bd-text b { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.bd-text span { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 引导页 Hero ---------- */
.hero-duo {
  background: linear-gradient(160deg, #071F12 0%, #0B3D21 42%, #10331F 100%);
  color: #fff;
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-duo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 340px at 78% 12%, rgba(35,152,90,.30), transparent 62%),
    radial-gradient(560px 300px at 10% 88%, rgba(29,78,216,.20), transparent 60%);
  pointer-events: none;
}
.hero-duo > .container { position: relative; z-index: 2; }
.hd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.90);
  margin-bottom: 22px;
}
.hd-eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #46D08A; box-shadow: 0 0 0 4px rgba(70,208,138,.22);
}
.hero-duo h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .01em;
  margin: 0 0 16px;
  max-width: 900px;
}
.hero-duo h1 em {
  font-style: normal;
  color: #7BE0A8;
}
.hero-duo h1 em.b { color: #93B9FF; }
.hd-lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.80);
  max-width: 760px;
  margin: 0 0 14px;
}
.hd-lead b { color: #fff; font-weight: 600; }

/* 双方向选择卡 */
.hd-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.hd-card {
  position: relative;
  display: block;
  border-radius: 18px;
  padding: 26px 26px 24px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.hd-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 22px 48px -18px rgba(0,0,0,.62);
}
.hd-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}
.hd-card.w::after { background: linear-gradient(90deg, #46D08A, #1B7A43); }
.hd-card.y::after { background: linear-gradient(90deg, #93B9FF, #1D4ED8); }
.hd-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 13px;
  font-weight: 600;
}
.hd-card.w .hd-tag { background: rgba(70,208,138,.16); color: #8CE8B4; }
.hd-card.y .hd-tag { background: rgba(120,160,255,.18); color: #A8C4FF; }
.hd-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 750;
  color: #fff;
  letter-spacing: .01em;
}
.hd-card .hd-sub {
  font-size: 14.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin: 0 0 16px;
  min-height: 50px;
}
.hd-card ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hd-card ul li {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.82);
}
.hd-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 650;
  color: #fff;
}
.hd-card.w .hd-go { color: #7BE0A8; }
.hd-card.y .hd-go { color: #93B9FF; }
.hd-go svg { transition: transform .25s ease; }
.hd-card:hover .hd-go svg { transform: translateX(5px); }

/* Hero 底部数据带 */
.hd-stats {
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 24px 0 26px;
}
.hd-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hd-stats .s b {
  display: block;
  font-size: 25px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.hd-stats .s b i { font-style: normal; font-size: 14px; font-weight: 600; opacity: .72; }
.hd-stats .s span { font-size: 12.5px; color: rgba(255,255,255,.62); }

/* ---------- 双方向对比区 ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dir-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.dir-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.dir-head {
  padding: 22px 24px 20px;
  border-bottom: 1px solid var(--line);
}
.dir-head .dh-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.dir-card.w .dh-badge { background: var(--green-050); color: var(--green-700); }
.dir-card.y .dh-badge { background: #EEF3FF; color: #1D4ED8; }
.dir-head h3 { margin: 0 0 6px; font-size: 20px; font-weight: 750; color: var(--ink); }
.dir-head p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.dir-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.dir-body h4 {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.dir-specs { list-style: none; margin: 0 0 18px; padding: 0; }
.dir-specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.dir-specs li:last-child { border-bottom: 0; }
.dir-specs li span { color: var(--muted); }
.dir-specs li b { color: var(--ink); font-weight: 650; text-align: right; }
.dir-fit {
  margin-top: auto;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.dir-card.w .dir-fit { background: var(--green-050); color: var(--green-800); }
.dir-card.y .dir-fit { background: #EEF3FF; color: #16357A; }
.dir-fit b { font-weight: 700; }

/* ---------- 客户自选路由 ---------- */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  text-align: center;
}
.route .ri {
  width: 46px; height: 46px;
  margin: 0 auto 13px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--green-700);
}
.route h4 { margin: 0 0 7px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.route p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---------- 双公司资质 ---------- */
.dual-cert { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dc-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.dc-head {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}
.dc-head .dm {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex: 0 0 auto;
}
.dc-col.w .dc-head .dm { background: linear-gradient(135deg, #1B7A43, #0B3D21); }
.dc-col.y .dc-head .dm { background: linear-gradient(135deg, #1D4ED8, #0B2A5B); }
.dc-head b { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.dc-head span { font-size: 12px; color: var(--muted); display: block; }
.dc-body { padding: 18px 20px 20px; }
.dc-body ul { list-style: none; margin: 0; padding: 0; }
.dc-body li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
.dc-body li svg { flex: 0 0 auto; margin-top: 3px; color: var(--green-600); }
.dc-col.y .dc-body li svg { color: #1D4ED8; }
.dc-body li b { color: var(--ink); font-weight: 650; }

/* ---------- 双公司页脚 ---------- */
.foot-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.fd-box {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 17px 19px;
  background: rgba(255,255,255,.035);
}
.fd-box h4 {
  margin: 0 0 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fd-box h4 i {
  width: 20px; height: 20px;
  border-radius: 5px;
  display: grid; place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.fd-box.w h4 i { background: #1B7A43; }
.fd-box.y h4 i { background: #1D4ED8; }
.fd-box p { margin: 0 0 4px; font-size: 12.5px; color: rgba(255,255,255,.62); line-height: 1.8; }
.fd-box a { color: rgba(255,255,255,.82); text-decoration: none; }
.fd-box a:hover { color: #7BE0A8; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hd-picker { grid-template-columns: 1fr; }
  .hd-stats .container { grid-template-columns: repeat(2, 1fr); }
  .dir-grid, .dual-cert { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .foot-duo { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .brand-duo .bd-unit.y { display: none; }
  .brand-duo .bd-unit.w { border-right: 0; padding-right: 0; }
  .hero-duo { padding-top: 52px; }
  .hd-stats .container { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hd-stats .s b { font-size: 21px; }
}
@media (max-width: 480px) {
  .brand-duo .bd-text b { font-size: 13px; }
  .hd-stats .container { grid-template-columns: 1fr; }
}

/* ---------- 双品牌站导航紧凑化 ---------- */
@media (max-width: 1240px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 10px 11px; font-size: 14.5px; }
  .nav-cta { margin-left: 8px; padding: 11px 16px; font-size: 14px; }
}
@media (max-width: 1120px) {
  .nav-links a { padding: 10px 9px; font-size: 14px; }
  .nav-cta { padding: 11px 14px; }
  .brand-duo { gap: 10px; }
  .brand-duo .bd-mark { width: 30px; height: 30px; font-size: 14px; }
  .brand-duo .bd-text b { font-size: 13.5px; }
  .brand-duo .bd-text span { font-size: 9.5px; }
}
