/* 全站共用页头、手机菜单、页脚。新版页面与旧版页面都引用这一份；变量只作用在这三块里，不影响旧页面的 common.css。 */
.v2-header, .v2-mnav, .v2-footer {
  --brand: #F5811F; --brand-dark: #D96A0B; --navy: #1A2B4A; --line: #E5E7EB;
  --text-2: #4B5563; --text-3: #8A94A6; --stage: #0D1B2A;
  --font: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.v2-header *, .v2-mnav *, .v2-footer * { box-sizing: border-box; margin: 0; padding: 0; }
.v2-header a, .v2-mnav a, .v2-footer a { color: inherit; text-decoration: none; }
.v2-header .wrap, .v2-footer .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.v2-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--line); }
.v2-header .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.v2-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); }
.v2-logo img { width: 36px; height: 36px; border-radius: 8px; }
.v2-logo span { font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--text-3); }
.v2-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--text-2); margin-left: auto; }
.v2-nav a.t:hover, .v2-nav a.t.on, .v2-dd:hover > a.t { color: var(--brand); }
.v2-dd { position: relative; }
.v2-dd > a.t::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .6; }
.v2-dd-menu { position: absolute; top: 100%; left: -16px; min-width: 168px; padding: 8px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(26, 43, 74, .12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.v2-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.v2-dd:hover .v2-dd-menu, .v2-dd:focus-within .v2-dd-menu { opacity: 1; visibility: visible; transform: none; }
.v2-dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--navy); white-space: nowrap; }
.v2-dd-menu a:hover { background: #FFF4EA; color: var(--brand); }
.v2-header .btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 15px; background: var(--brand); color: #fff; transition: .2s; white-space: nowrap; }
.v2-header .btn:hover { background: var(--brand-dark); }
.v2-search { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: -16px; border-radius: 10px; color: var(--text-2); flex: none; }
.v2-search:hover, .v2-search:focus-visible { color: var(--brand); background: rgba(245, 129, 31, .08); }
.v2-burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; background: none; border: 0; cursor: pointer; }
.v2-burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.v2-burger i:nth-child(1) { top: 14px; } .v2-burger i:nth-child(2) { top: 21px; } .v2-burger i:nth-child(3) { top: 28px; }
body.nav-open .v2-burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .v2-burger i:nth-child(2) { opacity: 0; }
body.nav-open .v2-burger i:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.v2-mnav { display: none; }

.v2-footer { background: var(--stage); padding: 56px 0 36px; color: #8EA0B8; font-size: 14px; }
.v2-footer .v2-logo { color: #fff; margin-bottom: 14px; }
.v2-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; }
.v2-footer .cols p + p { margin-top: 8px; }
.v2-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.v2-footer h4.sub-h { margin-top: 18px; }
.v2-footer ul { list-style: none; }
.v2-footer li { margin-bottom: 8px; }
.v2-footer a:hover { color: var(--brand); }
.v2-footer .bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }

@media (max-width: 1080px) {
  .v2-header .wrap { height: 60px; }
  .v2-nav, .v2-header .btn { display: none; }
  .v2-burger { display: block; margin-left: 0; }
  .v2-search { margin-left: auto; }
  .v2-mnav { position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; padding: 16px; flex-direction: column; overflow-y: auto; }
  .v2-mnav a.t { padding: 14px 4px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--navy); }
  .v2-mnav a.t:first-child { border-top: 0; }
  .v2-mnav a.t.on { color: var(--brand); }
  .v2-mnav .sub { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 4px 14px; }
  .v2-mnav .sub a { padding: 4px 0; font-size: 14px; color: var(--text-2); }
  .v2-mnav a.cta { margin-top: 12px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; text-align: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open .v2-mnav { display: flex; }
  .v2-footer .cols { grid-template-columns: repeat(3, 1fr); }
  .v2-footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .v2-header .wrap, .v2-footer .wrap { padding: 0 16px; }
  .v2-footer .cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
