/* MGTener — Forklift Battery Retrofit
   Brand: ink black + industrial orange (matches logo & cable color) */

:root {
  --ink: #14181d;
  --ink-2: #232a33;
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --line: #e3e6ea;
  --muted: #5b6572;
  --accent: #e8730c;
  --accent-dark: #c25f06;
  --accent-soft: #fdf1e5;
  --ok: #1e7f4f;
  --max: 1160px;
  --radius: 10px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent-dark); border-bottom-color: var(--accent); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; text-decoration: none; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero .eyebrow {
  color: var(--accent); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 14px;
}
.hero h1 { font-size: 2.6rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.hero h1 .accent { color: var(--accent); }
.hero p.lede { margin: 18px 0 28px; color: #c9d1da; font-size: 1.08rem; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hero-note { margin-top: 14px; color: #8b95a1; font-size: .85rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow {
  color: var(--accent-dark); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 10px;
}
.section-head h2 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; }
.section-head p { margin-top: 12px; color: var(--muted); }

/* class cards */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
}
.class-card:hover { box-shadow: 0 14px 40px rgba(20,24,29,.12); transform: translateY(-3px); }
.class-card .thumb { background: var(--paper-2); padding: 18px; }
.class-card .thumb img { height: 210px; width: 100%; object-fit: contain; }
.class-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.class-card h3 { font-size: 1.25rem; font-weight: 800; }
.class-card .range { color: var(--muted); font-size: .92rem; }
.class-card ul { list-style: none; margin: 6px 0 12px; }
.class-card li { padding-left: 22px; position: relative; font-size: .93rem; margin-bottom: 6px; }
.class-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.class-card .btn { margin-top: auto; }

/* why grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.why-item .num {
  display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.why-item h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .93rem; }

/* fit-check band */
.fit-band { background: var(--ink); color: #fff; }
.fit-band .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.fit-band h2 { font-size: 1.8rem; font-weight: 800; line-height: 1.25; }
.fit-band h2 .accent { color: var(--accent); }
.fit-band p { color: #c9d1da; margin-top: 14px; }
.fit-band .steps { margin-top: 22px; display: grid; gap: 12px; }
.fit-band .step { display: flex; gap: 14px; align-items: flex-start; }
.fit-band .step .n {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.fit-band .card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 30px;
}
.fit-band .card h3 { margin-bottom: 16px; }
.fit-band .card label { display: block; font-size: .85rem; color: #aeb7c2; margin: 14px 0 6px; }
.fit-band .card input, .fit-band .card select, .fit-band .card textarea {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.25); color: #fff; font-size: .95rem; font-family: inherit;
}
.fit-band .card input::placeholder, .fit-band .card textarea::placeholder { color: #7d8794; }
.fit-band .card .btn { width: 100%; margin-top: 20px; }
.fit-band .card .card-lead { color: #c9d1da; font-size: .92rem; margin-bottom: 18px; }
.fit-band .card .card-list { list-style: none; display: grid; gap: 11px; margin: 0 0 22px; }
.fit-band .card .card-list li { position: relative; padding-left: 22px; color: #c9d1da; font-size: .88rem; line-height: 1.5; }
.fit-band .card .card-list li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.fit-band .card .card-list b { color: #fff; }
.fit-band .fine { font-size: .8rem; color: #8b95a1; margin-top: 12px; }

/* factory strip */
.factory-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.factory-strip figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.factory-strip img { height: 220px; width: 100%; object-fit: cover; transition: transform .3s; }
.factory-strip figure:hover img { transform: scale(1.04); }
.factory-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: .85rem; font-weight: 600;
}

/* feature split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 64px; }
.split img { border-radius: var(--radius); box-shadow: 0 14px 40px rgba(20,24,29,.12); }
.split h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 12px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.split ul { list-style: none; margin-top: 6px; }
.split li { padding-left: 24px; position: relative; margin-bottom: 8px; color: var(--ink-2); }
.split li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.split.rev .media { order: 2; }

/* ---------- products page ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 8px 18px; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 14px 40px rgba(20,24,29,.12); transform: translateY(-3px); }
.product-card .thumb { background: var(--paper-2); padding: 16px; position: relative; }
.product-card .thumb img { height: 190px; width: 100%; object-fit: contain; }
.badge {
  position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px;
}
.badge.gray { background: var(--ink-2); }
.product-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { font-size: 1.08rem; font-weight: 800; }
.product-card .spec-line { color: var(--muted); font-size: .9rem; }
.product-card .kv { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.kv span {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px;
  font-size: .78rem; padding: 3px 9px; color: var(--ink-2); font-weight: 600;
}
.product-card .btn { margin-top: auto; }

/* spec tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.spec { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
table.spec th, table.spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
table.spec tbody tr:nth-child(even) { background: var(--paper-2); }
table.spec tbody tr:last-child td { border-bottom: none; }
table.spec td.k { font-weight: 700; white-space: nowrap; width: 220px; }
table.spec.compare td, table.spec.compare th { font-size: .88rem; }
table.spec.compare tbody td { white-space: nowrap; }
table.spec.wrap tbody td { white-space: normal; }
table.spec.wrap tbody td a { display: inline-block; margin-right: 10px; }
table.spec.compare a { font-weight: 700; }
.tbc { color: var(--accent-dark); font-weight: 700; }

/* ---------- product detail ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 32px 0 8px; }
.pd-hero .media { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pd-hero .media img { width: 100%; object-fit: contain; }
.pd-hero h1 { font-size: 2.1rem; font-weight: 800; line-height: 1.15; }
.pd-hero .sub { color: var(--muted); font-size: 1.02rem; margin-top: 8px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.pd-chips .chip-stat {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 18px; min-width: 108px;
}
.pd-chips .chip-stat b { display: block; font-size: 1.25rem; font-weight: 800; }
.pd-chips .chip-stat span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.render-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.drawing-note { font-size: .84rem; color: var(--muted); line-height: 1.6; margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--line, #e2e6ee); background: #f7f9fc; }
.drawing-note b { color: var(--ink, #16202e); }
.pd-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.pd-section { padding: 44px 0; }
.pd-section h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.benefit-list { list-style: none; }
.benefit-list li { padding-left: 30px; position: relative; margin-bottom: 14px; }
.benefit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent-dark); font-weight: 800; font-size: .78rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-list b { display: block; }
.benefit-list span { color: var(--muted); font-size: .92rem; }
details.drawing { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--paper-2); }
details.drawing summary { font-weight: 700; cursor: pointer; }
details.drawing img { margin-top: 18px; border: 1px solid var(--line); background: #fff; border-radius: 8px; }

.related { background: var(--paper-2); }
.related .product-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; }
.page-hero p { color: #c9d1da; max-width: 46em; margin-top: 12px; }
.page-hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin: 0 0 10px; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); }
.gallery-grid img { height: 240px; width: 100%; object-fit: cover; }
.gallery-grid figcaption { padding: 12px 14px; font-size: .88rem; font-weight: 600; background: var(--paper); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper-2);
}
.contact-card h3 { margin-bottom: 14px; }
.contact-card p { color: var(--muted); margin-bottom: 8px; }
.mail-list { list-style: none; margin: 10px 0 0; padding: 0; }
.mail-list li .tel { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; padding-left: 22px; }
.mail-list li { margin: 0 0 8px; }
.mail-list a {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px;
  word-break: break-all;
}
.mail-list a::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor; opacity: .45;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m2 7 10 6 10-6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m2 7 10 6 10-6'/></svg>") center/contain no-repeat;
}
.mail-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.form-alt { color: var(--muted); font-size: .86rem; margin-top: 16px; line-height: 1.6; }
.form-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-alt a:hover { color: var(--accent); }
form.contact label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 6px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .95rem; font-family: inherit; background: var(--paper);
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent);
}

/* ---------- data sheet (fit check) ---------- */
.spec-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .92fr); gap: 52px; align-items: start; }
.specform .fgroup { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 26px; }
.specform .fgroup:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.specform .opt-note + .fgroup { border-top: 0; margin-top: 24px; padding-top: 0; }
.specform .grp {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 4px;
}
.specform .grp span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px;
  background: var(--accent); color: #fff; font-size: .8rem; font-weight: 800;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field-grid .span2 { grid-column: 1 / -1; }
.specform label { margin: 16px 0 6px; }
.specform .hint { display: block; font-size: .78rem; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.specform .opt-note {
  margin: 34px 0 4px; padding: 14px 18px;
  background: #f3f7fb; border-left: 3px solid var(--accent);
  font-size: .86rem; line-height: 1.6; color: #46525f;
}
.specform .opt-note b { color: var(--ink); }
.specform textarea { resize: vertical; }
.spec-submit { margin-top: 34px; }
.specform .fine { font-size: .82rem; color: var(--muted); margin-top: 14px; line-height: 1.6; max-width: 620px; }
.spec-aside { position: sticky; top: 24px; }
.spec-aside .contact-card h3 { font-size: 1.02rem; }

/* 展开更多选填项（contact 页） */
details.more {
  margin-top: 36px; border: 2px solid var(--accent); border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: 0 6px 18px rgba(232,115,12,.10);
  transition: box-shadow .18s ease, background .18s ease;
}
details.more > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 76px 20px 22px;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 10px rgba(232,115,12,.35);
  transition: transform .18s ease, background .18s ease;
}
details.more[open] > summary::after { content: "–"; background: var(--ink); box-shadow: none; }
details.more > summary:hover { background: rgba(232,115,12,.07); border-radius: var(--radius); }
details.more > summary:hover::after { transform: translateY(-50%) scale(1.06); }
details.more[open] > summary { border-bottom: 2px solid rgba(232,115,12,.35); border-radius: var(--radius) var(--radius) 0 0; }
details.more .more-kicker {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px;
}
details.more .more-title { display: block; font-weight: 800; color: var(--ink); font-size: 1.1rem; line-height: 1.35; }
details.more .more-sub { display: block; font-size: .86rem; color: #6b5a4c; margin-top: 6px; line-height: 1.5; }
details.more .more-body { padding: 4px 22px 20px; background: var(--paper); border-radius: 0 0 8px 8px; }
details.more .more-body .fgroup:first-of-type { border-top: 0; margin-top: 0; padding-top: 22px; }

@media (max-width: 980px) {
  .spec-wrap { grid-template-columns: 1fr; gap: 36px; }
  .spec-aside { position: static; }
  .field-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aeb7c2; margin-top: 72px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.site-footer .brandline img { height: 36px; background: #fff; border-radius: 6px; padding: 5px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #aeb7c2; }
.site-footer a:hover { color: #fff; }
.site-footer .tel { display: block; font-size: .8rem; color: #8b95a1; margin-top: 1px; letter-spacing: .01em; }
.site-footer .legal { padding: 16px 0 0; font-size: .72rem; line-height: 1.6; color: #8b95a1; }
.site-footer .legal b { color: #aeb7c2; }
.site-footer .legal p { margin: 0; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1160px) {
  .site-header .wrap { gap: 14px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .88rem; }
}
@media (max-width: 960px) {
  .hero .wrap, .fit-band .wrap, .split, .pd-hero, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .class-grid, .why-grid, .product-grid, .related .product-grid { grid-template-columns: 1fr 1fr; }
  .factory-strip { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 20px; gap: 14px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .class-grid, .why-grid, .product-grid, .related .product-grid, .factory-strip, .gallery-grid { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 52px 0; }
}

/* ================= nav dropdown ================= */
.main-nav .has-menu { position: relative; }
.main-nav .has-menu > a::after { content: " ▾"; font-size: .7em; opacity: .6; }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: -18px; z-index: 60;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 46px rgba(20,24,29,.16); padding: 18px; width: 460px;
  display: none; grid-template-columns: 1fr 1fr; gap: 22px;
}
.main-nav .has-menu:hover .nav-menu,
.main-nav .has-menu:focus-within .nav-menu,
.main-nav .has-menu.open .nav-menu { display: grid; }
/* invisible bridge across the 10px gap so the pointer never leaves the hover area */
.nav-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-menu h5 {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 700;
}
.nav-menu a { display: block; padding: 5px 0; font-size: .9rem; border: none; }
.nav-menu a:hover { color: var(--accent-dark); }
.nav-menu .all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; color: var(--accent-dark); }

/* ================= entry tiles (home banner modules) ================= */
.entry-section { padding: 0 0 72px; margin-top: -1px; background: var(--paper-2); }
.entry-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  margin-top: -56px;
}
.entry {
  grid-column: span 3; position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px 24px; min-height: 190px;
  box-shadow: 0 10px 30px rgba(20,24,29,.06); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.entry:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(20,24,29,.13); border-color: #cfd5dc; text-decoration: none; }
.entry.small { grid-column: span 2; min-height: 168px; padding: 22px; }
.entry .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.entry.small .ico { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px; }
.entry h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.entry.small h3 { font-size: 1.08rem; }
.entry p { color: var(--muted); font-size: .93rem; margin-top: 8px; }
.entry .tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.entry .tags span {
  font-size: .76rem; font-weight: 700; color: var(--ink-2);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.entry .go { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .88rem; color: var(--accent-dark); }
.entry:hover .go { text-decoration: underline; }

/* ================= application (truck class) cards ================= */
.app-list { display: grid; gap: 20px; }
.app-card {
  display: grid; grid-template-columns: 200px 1fr 280px; gap: 26px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.app-card .app-ico {
  width: 200px; height: 150px; border-radius: 16px; background: var(--paper-2);
  display: flex; align-items: center; justify-content: center; color: var(--ink-2);
  overflow: hidden;
}
.app-card .app-ico img { max-width: 92%; max-height: 92%; object-fit: contain; }
.app-card h3 { font-size: 1.2rem; font-weight: 800; }
.app-card .cls { color: var(--accent-dark); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.app-card p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
.app-card .app-side { border-left: 1px solid var(--line); padding-left: 22px; }
.app-card .app-side h5 { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.app-card .app-side a { display: block; font-size: .9rem; font-weight: 700; padding: 3px 0; }
.app-card.na { opacity: .85; background: var(--paper-2); }

/* ================= accessory grid ================= */
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acc-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.acc-card img { height: 200px; width: 100%; object-fit: cover; }
.acc-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acc-card h3 { font-size: 1.05rem; font-weight: 800; }
.acc-card p { color: var(--muted); font-size: .9rem; }
.acc-card ul { list-style: none; font-size: .86rem; color: var(--ink-2); margin-top: 4px; }
.acc-card li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.acc-card li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

/* ================= misc ================= */
.lede-block { max-width: 720px; }
.note-box {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: .92rem; color: var(--ink-2);
}
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill-row a { font-size: .84rem; font-weight: 700; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; color: var(--ink-2); }
.pill-row a:hover { border-color: var(--accent); color: var(--accent-dark); text-decoration: none; }

@media (max-width: 960px) {
  .entry-grid { grid-template-columns: 1fr 1fr; }
  .entry, .entry.small { grid-column: span 1; }
  .app-card { grid-template-columns: 150px 1fr; }
  .app-card .app-ico { width: 150px; height: 118px; }
  .app-card .app-side { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .acc-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { position: static; display: block; width: 100%; box-shadow: none; border: none; padding: 6px 0 0 12px; }
  .nav-menu::before { display: none; }
  .nav-menu h5 { margin-top: 8px; }
}
@media (max-width: 620px) {
  .entry-grid, .acc-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; }
  .app-card .app-ico { width: 100%; height: 190px; }
}

.acc-card .ph {
  height: 200px; display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--accent-dark); border-bottom: 1px solid var(--line);
}
.acc-card .ph svg { width: 54px; height: 54px; stroke-width: 1.2; }

/* ================= compliance / documents ================= */
.pill-status {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.pill-status.ok { background: #e6f4ec; color: var(--ok); }
.pill-status.partial { background: var(--accent-soft); color: var(--accent-dark); }
.pill-status.none { background: #f1f2f4; color: #7b848f; }

table.doc { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 760px; }
table.doc th, table.doc td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.doc thead th {
  background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .07em;
  text-transform: uppercase; font-weight: 700; white-space: nowrap;
}
table.doc tbody tr:nth-child(even) { background: var(--paper-2); }
table.doc td.cell { font-weight: 800; white-space: nowrap; }
table.doc td .ref { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
table.doc td .ref b { color: var(--ink-2); font-weight: 700; }
table.doc-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--paper);
  display: flex; flex-direction: column; gap: 8px;
}
.tier .lvl { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tier h3 { font-size: 1.02rem; font-weight: 800; }
.tier p { font-size: .86rem; color: var(--muted); }
.tier .mark { margin-top: auto; padding-top: 12px; }

.honesty {
  border: 1px solid #e6c9a8; background: #fffaf4; border-radius: 12px; padding: 26px 28px;
}
.honesty h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.honesty ol { margin: 12px 0 0 20px; font-size: .9rem; color: var(--ink-2); }
.honesty li { margin-bottom: 9px; }
.honesty li b { color: var(--ink); }

.pending { display: grid; gap: 10px; }
.pending .row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0;
  padding: 13px 16px; background: var(--paper); font-size: .88rem;
}
.pending .row .k { font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 960px) {
  .tier-grid.three { grid-template-columns: repeat(3, 1fr); }
.tier-grid { grid-template-columns: 1fr 1fr; }
  .pending .row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 620px) { .tier-grid { grid-template-columns: 1fr; } }

.doc-cta { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
@media (max-width: 900px) { .doc-cta { grid-template-columns: 1fr; gap: 28px; } }
.doc-cta .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(20,24,29,.06); }
.doc-cta .card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.doc-cta .card .btn { width: 100%; margin-top: 20px; }
.doc-cta .card .fine { font-size: .8rem; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* ---- parts catalog ---- */
.parts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.part-card{margin:0;background:#fff;border:1px solid var(--line,#e6e3dc);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.part-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:#fff}
.part-card figcaption{padding:10px 12px 12px;display:flex;flex-direction:column;gap:3px}
.part-card b{font-size:.78rem;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.part-card span{font-size:.82rem;color:var(--ink,#222)}
.part-card i{font-style:normal;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#777)}

/* 质保页 */
.wx-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.wx-list li { font-size: .92rem; color: var(--muted); line-height: 1.55; padding-left: 16px; position: relative; }
.wx-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .wx-list { grid-template-columns: 1fr; } }

/* 产品实拍多角度缩略 */
.pd-hero .media-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pd-hero .media-thumbs a { display: block; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; }
.pd-hero .media-thumbs a:hover { border-color: var(--accent); }
.pd-hero .media-thumbs img { width: 100%; display: block; }

/* 无实物图占位 */
.pd-hero .media-empty { min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.pd-hero .ph-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); }
.pd-hero .ph-title { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.pd-hero .ph-sub { font-size: .92rem; color: var(--muted); max-width: 34em; line-height: 1.55; }
.thumb .thumb-ph { display: flex; width: 100%; height: 100%; min-height: 150px; align-items: center; justify-content: center; text-align: center; background: var(--paper-2); color: var(--muted); font-size: .85rem; font-weight: 700; line-height: 1.5; }
