/* ============================================================
   MAX AUTOPARTS · 样式
   设计语言：石墨底色 + 信号橙点缀 + 等宽字体技术标注
   ============================================================ */

:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --ink: #101318;
  --ink-2: #5c636b;
  --line: #e3e1dc;

  --dark: #0c0e11;
  --dark-2: #14171b;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ink-inverse: #f2f1ee;
  --ink-inverse-2: #9aa1a9;

  --accent: #e8590c;
  --accent-dark: #c4490a;
  --accent-soft: rgba(232, 89, 12, 0.12);

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(16, 19, 24, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

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

section { padding: 96px 0; }

/* ---------- 通用元素 ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.section-sub { color: var(--ink-2); margin-top: 14px; max-width: 560px; font-size: 17px; }
.section-head { margin-bottom: 52px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 550;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

/* ---------- 滚入动效 ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 14, 17, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.logo-main { font-weight: 800; font-size: 22px; letter-spacing: 0.04em; }
.logo-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a { color: rgba(255, 255, 255, 0.78); font-size: 14.5px; transition: color 0.2s; position: relative; }
.nav-menu a:hover { color: #fff; }
.nav-menu a.nav-cta {
  color: #fff;
  background: var(--accent);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 550;
}
.nav-menu a.nav-cta:hover { background: var(--accent-dark); }

.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  padding: 7px 12px;
  transition: all 0.2s;
  font-weight: 550;
}
.lang-switch button.is-active { background: #fff; color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 9px; right: 9px; height: 2px;
  background: #fff; transition: all 0.3s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
  color: var(--ink-inverse);
  padding: 140px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-brake.png") center / cover no-repeat;
  opacity: 0.55;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(12,14,17,0.92) 0%, rgba(12,14,17,0.55) 55%, rgba(12,14,17,0.75) 100%),
    linear-gradient(to top, rgba(12,14,17,1) 0%, rgba(12,14,17,0.1) 45%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--accent); }

.hero h1 {
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 820px;
}
.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  color: var(--ink-inverse-2);
  font-size: 17.5px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 90px;
  border-top: 1px solid var(--line-dark);
  background: rgba(12, 14, 17, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 28px; padding-bottom: 28px;
}
.stat { padding: 0 26px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--mono); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; color: #fff; }
.stat-label { font-size: 13px; color: var(--ink-inverse-2); margin-top: 4px; }

/* ---------- 产品体系 ---------- */

.categories { background: var(--bg); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.7s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.cat-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark-2); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-body { padding: 22px 24px 24px; position: relative; }
.cat-index {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--mono); font-size: 13px; color: #c8c5bf;
}
.cat-name { font-size: 19px; font-weight: 650; }
.cat-desc { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.cat-meta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-family: var(--mono); font-size: 12.5px;
  color: var(--accent);
}
.cat-card .arrow, .p-card .arrow { transition: transform 0.25s ease; display: inline-block; }
.cat-card:hover .arrow, .p-card:hover .arrow { transform: translateX(4px); }

/* ---------- 产品目录 ---------- */

.catalog { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 1;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.p-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--dark-2); overflow: hidden; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.p-card:hover .p-card-img img { transform: scale(1.05); }
.p-sku {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(12, 14, 17, 0.55);
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.p-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 11.5px; font-weight: 600;
  color: #fff; background: var(--accent);
  padding: 4px 10px; border-radius: 3px;
  letter-spacing: 0.06em;
}
.p-card-body { padding: 20px 22px 22px; }
.p-cat { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.p-name { font-size: 18px; font-weight: 650; margin-top: 6px; }
.p-tagline { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.p-detail {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 13.5px; font-weight: 550;
  color: var(--ink);
}

/* ---------- 产品详情弹窗 ---------- */

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(12, 14, 17, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: 6px;
  max-width: 940px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal-img { background: var(--dark-2); min-height: 320px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 40px 40px 36px; }
.modal-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
#pmSku { font-family: var(--mono); font-size: 12.5px; color: var(--accent); letter-spacing: 0.08em; }
#pmCat { font-size: 12.5px; color: var(--ink-2); }
#pmName { font-size: 26px; font-weight: 700; line-height: 1.25; }
#pmTagline { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
#pmDesc { margin-top: 18px; color: var(--ink-2); font-size: 15px; }

.spec-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-2);
  margin: 28px 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.spec-list dt { font-size: 13.5px; color: var(--ink-2); padding: 9px 0; }
.spec-list dd { font-size: 13.5px; font-weight: 550; text-align: right; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); }
.spec-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.modal-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: rgba(12, 14, 17, 0.45);
  color: #fff; font-size: 18px; line-height: 1;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(12, 14, 17, 0.75); }

/* ---------- 品质管控 ---------- */

.quality { background: var(--dark); color: var(--ink-inverse); }
.quality .eyebrow { color: var(--accent); }
.quality .section-sub { color: var(--ink-inverse-2); }
.q-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.q-step { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px 24px; transition: border-color 0.3s; background: rgba(255,255,255,0.02); }
.q-step:hover { border-color: var(--accent); }
.q-num { font-family: var(--mono); font-size: 30px; color: var(--accent); font-weight: 600; }
.q-step h3 { font-size: 17px; font-weight: 650; margin-top: 18px; }
.q-step p { color: var(--ink-inverse-2); font-size: 14px; margin-top: 8px; }

.cert-block { margin-top: 56px; }
.cert-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-inverse-2); margin-bottom: 16px; }
.cert-list { display: flex; flex-wrap: wrap; gap: 12px; }
.cert {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  border: 1px solid var(--line-dark);
  color: var(--ink-inverse);
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- 关于我们 ---------- */

.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about-text p { color: var(--ink-2); margin-top: 18px; font-size: 15.5px; }
.about-points { display: grid; gap: 14px; }
.point {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.point h4 { font-size: 15.5px; font-weight: 650; }
.point p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }

/* ---------- 零件适配车型（品牌平铺） ---------- */

.brands { background: var(--bg); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.brand-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.brand-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.brand-card:hover img { transform: scale(1.03); }
.brand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 17, 0.78) 0%, rgba(12, 14, 17, 0.30) 30%, rgba(12, 14, 17, 0) 58%);
  pointer-events: none;
}
.brand-name {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color: var(--ink-inverse);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(12, 14, 17, 0.5);
}

/* ---------- 公司实景（实体门店大图 + 其余小图） ---------- */

.facilities { background: var(--bg); }
.g-grid { display: grid; gap: 16px; }

.g-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-2);
}
.g-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.g-feature:hover img { transform: scale(1.02); }
.g-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 17, 0.88) 0%, rgba(12, 14, 17, 0.40) 34%, rgba(12, 14, 17, 0) 62%);
  pointer-events: none;
}
.g-feature-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 36px 40px;
  color: var(--ink-inverse);
}
.g-feature-tag {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.g-feature-desc {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.5;
  color: var(--ink-inverse);
  max-width: 62ch;
}

.g-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.g-thumb {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.g-thumb:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.g-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s ease; }
.g-thumb:hover img { transform: scale(1.05); }
.g-thumb figcaption {
  padding: 9px 8px;
  font-size: 12px;
  color: var(--ink-2);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ---------- 合作方式 ---------- */

.coop { background: var(--surface); border-top: 1px solid var(--line); }
.coop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.coop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.3s, transform 0.3s;
  background: var(--bg);
}
.coop-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.coop-index { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.coop-card h3 { font-size: 16.5px; font-weight: 650; margin-top: 14px; }
.coop-card p { color: var(--ink-2); font-size: 14px; margin-top: 8px; }

/* ---------- 联系我们 ---------- */

.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.channel { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-person { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.contact-person strong { color: var(--ink); font-weight: 650; font-size: 15px; }
.form-hint.is-alert { color: var(--accent); }.channel:last-of-type { border-bottom: none; }
.channel-icon {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: var(--surface);
}
.channel-icon svg { width: 19px; height: 19px; }
.channel-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.channel-value { font-size: 15.5px; font-weight: 550; word-break: break-all; }
a.channel-value:hover { color: var(--accent); }
.copy-mini {
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 12px;
  padding: 5px 12px;
  color: var(--ink-2);
  transition: all 0.2s;
  flex: none;
}
.copy-mini:hover { border-color: var(--accent); color: var(--accent); }
.copy-mini.is-done { background: var(--accent); border-color: var(--accent); color: #fff; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title { font-size: 20px; font-weight: 650; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--ink-2); font-weight: 550; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field textarea { resize: vertical; min-height: 104px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-or { font-size: 13px; color: var(--ink-2); }
.form-hint { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }

/* ---------- 页脚 ---------- */

.footer { background: var(--dark); color: var(--ink-inverse-2); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline { font-size: 14px; max-width: 300px; }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 650; }
.footer-nav a { display: block; font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-contact li { font-size: 14px; padding: 5px 0; }
.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.footer-certs { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-certs span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; }
.footer-top-link { color: var(--ink-inverse-2); transition: color 0.2s; }
.footer-top-link:hover { color: #fff; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .cat-grid, .p-grid { grid-template-columns: repeat(2, 1fr); }
  .q-grid, .coop-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g-thumbs { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(12, 14, 17, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-burger { display: block; }
  .nav-right .lang-switch { margin-left: auto; }
  .hero { min-height: 84vh; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat { padding: 0 18px; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-img { min-height: 240px; max-height: 300px; }
  .modal-body { padding: 28px 24px; }
  .g-feature { aspect-ratio: 4 / 3; }
  .g-feature-cap { padding: 24px 22px; }
  .g-feature-desc { font-size: 15px; margin-top: 8px; }
}

@media (max-width: 560px) {
  .cat-grid, .p-grid, .q-grid, .coop-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .g-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-feature-tag { font-size: 11px; letter-spacing: 0.14em; }
  .brand-grid { gap: 10px; }
  .brand-name { left: 12px; bottom: 10px; font-size: 13px; }
}
