/* ============================================================
   ESIN AUTO PARTS — 内页设计系统 (pages-pro.css)
   适用于 /about 及 /p/*.html 静态内页
   v2 · 2026-10-18
   ============================================================ */
:root {
  --navy: #0b1f3a;
  --navy-2: #123a6b;
  --blue: #1a56db;
  --blue-d: #1447b0;
  --blue-l: #e8effc;
  --ink: #101828;
  --mut: #5b6b7f;
  --line: #e5eaf1;
  --soft: #f5f8fc;
  --ok: #16a34a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  font-size: 15.5px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶栏 ---------- */
.topbar { background: #081426; color: #b9c6dc; font-size: 12.5px; letter-spacing: .02em; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #e8eefb; }
.topbar a:hover { color: #fff; }

/* ---------- 品牌栏 ---------- */
.brandbar { background: #fff; box-shadow: 0 1px 0 var(--line); position: relative; z-index: 60; }
.brandbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 88px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover { text-decoration: none; }
.logo-badge {
  width: 58px; height: 42px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, #2563eb, #1447b0);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; letter-spacing: .04em;
  box-shadow: 0 3px 10px rgba(26, 86, 219, .38);
}
.logo-name { font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: .01em; line-height: 1.15; }
.brand-tag { margin-left: 6px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--mut); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.brand-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.brand-phone { display: flex; flex-direction: column; line-height: 1.3; }
.brand-phone .bp-label { font-size: 11px; color: var(--mut); letter-spacing: .08em; text-transform: uppercase; }
.brand-phone .bp-num { font-size: 16.5px; font-weight: 800; color: var(--navy); }
.brand-phone .bp-num:hover { text-decoration: none; color: var(--blue); }
.brand-quote {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 700;
  font-size: 14px; letter-spacing: .05em; padding: 13px 26px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26, 86, 219, .35); text-transform: uppercase;
}
.brand-quote:hover { background: var(--blue-d); color: #fff; text-decoration: none; }

/* 汉堡按钮（移动端显示） */
.nav-burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 24px; height: 24px; stroke: var(--ink); }
.nav-burger:hover { background: var(--blue-l); }

/* ---------- 主导航 ---------- */
nav.mainnav {
  position: sticky; top: 0; z-index: 55;
  background: linear-gradient(90deg, #0a1a30, #0d2347 60%, #10305e);
  box-shadow: 0 6px 18px rgba(7, 16, 32, .25);
}
nav.mainnav .wrap { display: flex; gap: 2px; align-items: stretch; min-height: 56px; }
nav.mainnav > .wrap > a, nav.mainnav .nav-drop > a {
  display: inline-flex; align-items: center; padding: 0 18px;
  color: #d5e0f2; font-weight: 600; font-size: 13.5px; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; position: relative;
}
nav.mainnav > .wrap > a:hover, nav.mainnav .nav-drop > a:hover {
  color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none;
}
nav.mainnav > .wrap > a.active, nav.mainnav .nav-drop > a.active { color: #fff; }
nav.mainnav > .wrap > a.active::after, nav.mainnav .nav-drop > a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  background: #4f8bff; border-radius: 3px 3px 0 0;
}

/* PRODUCTS 下拉 */
.nav-drop { position: relative; display: flex; align-items: stretch; }
.nav-drop > a { display: inline-flex; align-items: center; height: 100%; }
.nav-drop > a::after { content: '▾'; margin-left: 7px; font-size: 11px; opacity: .8; }
.nav-drop-panel {
  position: absolute; top: 100%; left: 0; z-index: 70;
  min-width: 560px; background: #fff; border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 40px rgba(7, 16, 32, .22); border-top: 3px solid #4f8bff;
  padding: 18px 22px 20px; display: none;
}
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { display: block; }
.nav-drop-panel h5 { margin: 2px 0 10px; font-size: 11.5px; letter-spacing: .12em; color: var(--mut); text-transform: uppercase; }
.nd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; }
.nd-cols + h5 { margin-top: 16px; }
.nav-drop-panel a.nd-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600;
}
.nav-drop-panel a.nd-item:hover { background: var(--blue-l); color: var(--blue); text-decoration: none; }
.nav-drop-panel a.nd-item .cnt { font-size: 12px; color: var(--mut); font-weight: 500; }

/* 移动端下拉面板 */
.mobile-panel { display: none; background: #0a1a30; padding: 6px 0 16px; }
.mobile-panel a {
  display: block; padding: 13px 22px; color: #dbe5f5; font-weight: 600;
  font-size: 15px; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-panel a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.mobile-panel .mp-cta { display: block; margin: 14px 22px 0; text-align: center; background: var(--blue); color: #fff; border-radius: 9px; border-bottom: none; padding: 13px; }
body.nav-open .mobile-panel { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, #0a1a30 0%, #0b1f3a 45%, #143d74 100%);
  color: #fff;
  padding: 64px 0 108px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(720px 300px at 85% -10%, rgba(59, 130, 246, .28), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .65); margin-bottom: 14px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 7px; color: rgba(255, 255, 255, .4); }
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px); line-height: 1.18; margin: 0 0 14px;
  font-weight: 800; letter-spacing: .01em;
}
.hero .lead {
  color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 760px; margin: 0 0 26px;
}
.hero-kicker {
  display: inline-block; margin-bottom: 16px; padding: 5px 13px; border-radius: 999px;
  background: rgba(96, 165, 250, .16); border: 1px solid rgba(147, 197, 253, .35);
  color: #bfdbfe; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; line-height: 1.2; font-family: inherit;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-pri { background: var(--blue); color: #fff !important; box-shadow: 0 4px 14px rgba(26, 86, 219, .4); }
.btn-pri:hover { background: #2a66e8; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-line { background: #fff; color: var(--blue) !important; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.btn-line:hover { border-color: var(--blue); transform: translateY(-1px); }

/* ---------- 数据条 ---------- */
.stats-bar { position: relative; z-index: 2; margin-top: -58px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 12px 32px rgba(11, 31, 58, .12);
}
.stat { background: #fff; padding: 22px 18px; text-align: center; }
.stat .num { font-size: 27px; font-weight: 800; color: var(--blue); line-height: 1.15; letter-spacing: -.01em; }
.stat .lbl { font-size: 12.5px; color: var(--mut); margin-top: 5px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- 区块 ---------- */
main { padding: 0 0 0; }
.sec { padding: 58px 0; }
.sec-alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 0 30px; }
.sec-head h2 { border: 0 !important; padding: 0 !important; margin: 0 0 10px !important; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; color: var(--blue); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.sec h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.25; margin: 0 0 10px; color: var(--ink); font-weight: 800; }
.sec .sub { color: var(--mut); font-size: 16px; margin: 0; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 图文分栏 */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }
.split .media {
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(11, 31, 58, .1); padding: 26px; text-align: center;
}
.split .media img { max-height: 320px; object-fit: contain; }
article p { margin: 10px 0; color: #33415c; }
article p b, article p strong { color: var(--ink); }

/* 能力卡 */
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 31, 58, .1); border-color: #cfdefa; }
.cap-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-l); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.cap-ico svg { width: 23px; height: 23px; }
.cap-card h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--ink); }
.cap-card p { margin: 0; color: var(--mut); font-size: 14px; line-height: 1.7; }

/* 产品矩阵 */
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 31, 58, .1); border-color: #cfdefa; text-decoration: none; }
.prod-thumb { height: 185px; display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; }
.prod-thumb img { max-height: 100%; object-fit: contain; }
.prod-card .nm { padding: 13px 16px 15px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prod-card .nm b { font-size: 14.5px; color: var(--ink); }
.prod-card .nm span { color: var(--blue); font-weight: 700; font-size: 13px; white-space: nowrap; }

/* 对勾列表 */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0 0 0 34px; margin: 13px 0; color: #33415c; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list li b { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b1f3a, #1447b0 130%);
  color: #fff; border-radius: 18px; padding: 38px 40px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(460px 200px at 88% 0%, rgba(96, 165, 250, .35), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 26px); color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 15px; }
.cta-band .hero-actions { flex-wrap: nowrap; }

/* ---------- 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; box-shadow: 0 6px 22px rgba(11, 31, 58, .06); }
.panel h3 { margin: 0 0 4px; font-size: 19px; }
.panel .hint { color: var(--mut); font-size: 13.5px; margin: 0 0 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: #33415c; margin-bottom: 6px; letter-spacing: .02em; }
.field label i { color: #dc2626; font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fbfdff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.form-status.ok { display: block; background: #ecfdf3; border: 1px solid #bbf7d0; color: #166534; }
.form-status.err { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* 快速联系卡 */
.qc-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.qc-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 31, 58, .09); }
.qc-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.qc-ico svg { width: 22px; height: 22px; }
.qc-card b { display: block; font-size: 15.5px; color: var(--ink); }
.qc-card p { margin: 3px 0 0; color: var(--mut); font-size: 13.5px; }
.qc-card .v { display: block; margin-top: 5px; font-weight: 700; color: var(--blue); font-size: 15px; word-break: break-all; }

/* 联系人卡（兼容旧 .pg-contact/.cc 并升级） */
.pg-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 16px 0; }
.pg-contact .cc { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; box-shadow: 0 4px 14px rgba(11, 31, 58, .05); }
.pg-contact .cc b { display: flex; align-items: center; gap: 9px; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.pg-contact .cc b::before {
  content: ''; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.pg-contact .cc div { font-size: 14px; color: var(--mut); margin: 3px 0; }

/* FAQ（details） */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 15px 18px; font-weight: 700; color: var(--ink); font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--blue); font-size: 20px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .a { padding: 0 18px 16px; color: var(--mut); font-size: 14.5px; }

/* 旧排版兼容（factory / quality / faq 既有内容） */
article h2 { font-size: 21px; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
article h3 { font-size: 17px; margin: 22px 0 6px; color: #1f2937; }
article ul, article ol { padding-left: 22px; color: #33415c; }
article li { margin: 6px 0; }
.pg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.pg-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.pg-contact { margin: 16px 0; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: #9fb0c8; margin-top: 64px; font-size: 14px; }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 46px 0 36px; }
footer.site h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 8px 0; }
footer.site a { color: #c3d0e4; }
footer.site a:hover { color: #fff; }
footer.site .about-col .logo-name { color: #fff; font-size: 16px; }
footer.site .about-col p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; color: #9fb0c8; }
footer.site .f-line { display: flex; gap: 9px; align-items: flex-start; margin: 9px 0; color: #c3d0e4; }
footer.site .f-line svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: #7fa4dd; }
footer.site .bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; }
footer.site .bar .wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: #8ba0bd; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  footer.site .top { grid-template-columns: 1fr 1fr; }
  .brand-tag { display: none; }
  .brand-phone { display: none; }
  .brand-quote { padding: 10px 16px; font-size: 12.5px; }
  .brandbar .wrap { min-height: 72px; }
  .logo-badge { width: 50px; height: 37px; font-size: 16px; }
  .logo-name { font-size: 18px; }
  /* 切换为汉堡导航 */
  .nav-burger { display: flex; }
  nav.mainnav .wrap { display: none; }
  nav.mainnav { position: static; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .sec { padding: 42px 0; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 10px; }
  .stat .num { font-size: 22px; }
  .hero { padding: 44px 0 92px; }
  .f-row { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .cta-band { padding: 28px 22px; }
  .cta-band .hero-actions { flex-wrap: wrap; }
  footer.site .top { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 28px; }
}

/* ---------- 首页 ---------- */
.home-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.home-hero { padding: 70px 0 110px; }
.home-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.16; margin: 14px 0 16px; }
.home-hero .lead { font-size: 16.5px; max-width: 560px; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage .cg-i {
  height: 148px; border-radius: 14px; background: #fff; padding: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 36px rgba(4, 12, 26, .45);
}
.collage .cg-i img { max-height: 100%; object-fit: contain; }
.collage .cg-i:nth-child(1) { transform: rotate(-2.5deg); }
.collage .cg-i:nth-child(4) { transform: rotate(2.5deg); }
.collage .cg-badge {
  position: absolute; right: -8px; top: -16px; background: #ffb020; color: #3b2600;
  font-weight: 800; font-size: 12.5px; letter-spacing: .06em; padding: 8px 14px;
  border-radius: 999px; box-shadow: 0 8px 20px rgba(4, 12, 26, .4); text-transform: uppercase;
}
.home-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 31, 58, .1); border-color: #cfdefa; text-decoration: none; }
.cat-card .cat-img { height: 158px; background: linear-gradient(160deg, #f6f9ff, #eef3fb); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cat-card .cat-img img { max-height: 100%; object-fit: contain; }
.cat-card .cat-bd { padding: 15px 17px 17px; border-top: 1px solid var(--line); }
.cat-card .cat-bd b { display: block; font-size: 15.5px; color: var(--ink); }
.cat-card .cat-bd span { display: block; margin-top: 3px; font-size: 13px; color: var(--mut); }
.cat-card .cat-bd .go { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: 13.5px; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ptabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 24px; }
.ptabs button {
  border: 1px solid var(--line); background: #fff; color: #33415c; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.ptabs button.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 3px 9px rgba(26, 86, 219, .3); }
.skel { border-radius: 14px; height: 265px; background: linear-gradient(100deg, #eef2f8 40%, #f8fafd 50%, #eef2f8 60%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.home-check li { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; color: #33415c; font-size: 15px; }
.home-check li::before { content: '✔'; color: #16a34a; font-weight: 800; flex: 0 0 auto; }
.sec.alt { background: linear-gradient(180deg, #f4f8ff, #ecf2fb); }

/* ---------- 首页响应式（置于首页样式之后，确保覆盖生效） ---------- */
@media (max-width: 960px) {
  .home-hero { padding: 46px 0 90px; }
  .home-hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .collage { max-width: 460px; margin: 4px auto 0; }
  .cg-badge { display: none; }
  .home-cats { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cat-card .cat-img { height: 120px; }
  .prod-thumb { height: 140px; }
  .collage .cg-i { height: 108px; }
  .hero-kicker { font-size: 11px; letter-spacing: .05em; }
  .topbar .wrap > div:last-child span:nth-child(3) { display: none; }
  .brand-quote { padding: 9px 13px; font-size: 11.5px; letter-spacing: .03em; }
  .logo-name { font-size: 16.5px; }
  .logo-badge { width: 44px; height: 33px; font-size: 14px; border-radius: 8px; }
}

/* 商品卡名称两行截断，保证网格整齐 */
.prod-card .nm b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.prod-card .nm { align-items: flex-start; }
.prod-thumb img { max-width: 100%; }

/* ---------- 首页轮播图（导航下方） ---------- */
.hero-carousel { position: relative; overflow: hidden; background: #0a1a30; }
.hc-track { display: flex; transition: transform .55s ease; }
.hc-slide { flex: 0 0 100%; display: block; }
.hc-slide img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: cover; }
.hero-carousel:hover .hc-prev, .hero-carousel:hover .hc-next { opacity: 1; }
.hc-prev, .hc-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(10, 26, 48, .45); color: #fff; font-size: 26px; line-height: 1;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
  display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
}
.hc-prev { left: 14px; }
.hc-next { right: 14px; }
.hc-prev:hover, .hc-next:hover { background: rgba(10, 26, 48, .75); }
.hc-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 5;
  display: flex; gap: 8px; justify-content: center;
}
.hc-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .45); padding: 0; transition: background .2s ease, width .2s ease;
}
.hc-dot.on { background: #fff; width: 24px; border-radius: 5px; }
@media (max-width: 767px) {
  .hc-prev, .hc-next { display: none; }
  .hc-dot { width: 7px; height: 7px; }
}

/* ===== R22 (v12): 轮播图与深蓝主题调和 ===== */
.hc-slide { position: relative; }
.hc-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(9,24,46,.32) 0%, rgba(9,24,46,.10) 42%, rgba(9,24,46,.55) 100%),
    radial-gradient(120% 90% at 50% 42%, rgba(9,24,46,0) 55%, rgba(9,24,46,.40) 100%);
  pointer-events: none;
}
.hc-slide img { filter: saturate(.85) brightness(.95) contrast(1.02); }
.hc-prev, .hc-next, .hc-dots { z-index: 3; }

/* ===== R23 (v14): 轮播图完整显示，不被裁切 ===== */
.hc-slide img { object-fit: contain; max-height: 480px; background: #0a1a30; }

/* ===== R24 (v16): 轮播图更满 — 同图模糊延展填充 ===== */
.hc-slide { overflow: hidden; }
.hc-slide::before {
  content: ""; position: absolute; inset: -30px; z-index: 0;
  background-image: inherit; background-size: cover; background-position: center;
  filter: blur(22px) brightness(.72) saturate(.9);
}
.hc-slide img { position: relative; z-index: 1; max-height: 540px; }
.hc-slide::after { z-index: 2; }
