/* ============================================================
   ZWILLIS · 中威利斯电气科技有限公司 — 设计系统
   ============================================================ */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #17211f;
  --ink-2: #33403c;
  --muted: #66716c;
  --line: #e5e2d9;
  --line-strong: #d4d0c5;
  --accent: #b06c2f;
  --accent-deep: #8a5322;
  --accent-soft: #f3e7d8;
  --navy: #16323a;
  --navy-2: #0f242a;
  --ok: #2e7d4f;
  --err: #b3402f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(23, 33, 31, 0.05), 0 12px 32px -18px rgba(23, 33, 31, 0.25);
  --shadow-lg: 0 24px 64px -28px rgba(23, 33, 31, 0.35);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar-contact { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 19px; letter-spacing: 2px; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: 3.2px; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 16px; font-size: 15px; color: var(--ink-2); border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 40px; height: 40px; font-size: 18px; color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy-2); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ---------- 分区 ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 4px; color: var(--accent-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: 0.5px; line-height: 1.25; }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 16.5px; }
.dark { background: var(--navy-2); color: #eef2f1; }
.dark .section-title { color: #fff; }
.dark .section-sub { color: rgba(238, 242, 241, 0.65); }
.dark .eyebrow { color: #d8a86a; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 110% at 82% 4%, #1e424b 0%, #123039 45%, #0b1a1f 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 78%);
}
.hero-art { position: absolute; right: -8%; top: 0; width: 66%; height: 100%; color: #e8b877; opacity: .42; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; padding: 150px 0 130px; max-width: 660px; }
.hero-kicker { font-size: 14px; letter-spacing: 6px; color: #d8a86a; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 36px; height: 1px; background: #d8a86a; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.18; font-weight: 600; letter-spacing: 1px; }
.hero h1 span { color: #e8b877; }
.hero-sub { margin-top: 24px; font-size: 17.5px; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero-actions { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--navy-2); color: #fff; border-top: 1px solid rgba(255,255,255,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,0.1); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 40px; font-weight: 600; color: #e8b877; line-height: 1.1; }
.stat span { font-size: 14px; color: rgba(255,255,255,0.6); letter-spacing: 1px; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #ece9e2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag { font-size: 12px; letter-spacing: 2px; color: var(--accent-deep); }
.card-title { font-size: 20px; font-weight: 600; }
.card-text { font-size: 14.5px; color: var(--muted); flex: 1; }
.card-link { font-size: 14px; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

/* ---------- 特性块 ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.num-list { display: grid; gap: 28px; counter-reset: item; }
.num-item { display: flex; gap: 20px; }
.num-item::before {
  counter-increment: item; content: "0" counter(item);
  font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 1px;
  border-top: 1px solid var(--line-strong); padding-top: 10px; min-width: 44px;
}
.num-item h4 { font-size: 17px; margin-bottom: 6px; }
.num-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- 流程 / 时间线 ---------- */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line-strong); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 36px 32px; }
.timeline-item::before {
  content: ""; position: absolute; left: -5.5px; top: 8px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent);
}
.timeline-item b { font-size: 15px; color: var(--accent-deep); letter-spacing: 1px; }
.timeline-item h4 { font-size: 17px; margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- 徽章 ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px;
  font-size: 13.5px; color: var(--ink-2); background: var(--surface);
}

/* ---------- CTA 横幅 ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 0; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: 1px; }
.cta-inner p { color: rgba(255,255,255,0.7); margin-top: 10px; }

/* ---------- 页头（内页） ---------- */
.page-hero { background: var(--navy-2); color: #fff; padding: 88px 0 72px; position: relative; overflow: hidden; }
.page-hero .crumb { font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: 1px; }
.page-hero p { margin-top: 16px; max-width: 640px; color: rgba(255,255,255,0.72); font-size: 16.5px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.5px; }
.form-field label i { color: var(--err); font-style: normal; }
.input, textarea.input, select.input {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border 0.2s, box-shadow 0.2s; width: 100%; color: var(--ink);
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176, 108, 47, 0.14); }
textarea.input { min-height: 130px; resize: vertical; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.form-msg { font-size: 14px; padding: 12px 16px; border-radius: var(--radius-sm); display: none; }
.form-msg.ok { display: block; background: #e7f2ea; color: var(--ok); }
.form-msg.err { display: block; background: #f7e7e3; color: var(--err); }

/* ---------- OTP 登录 ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 40px 36px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.auth-tab { flex: 1; background: none; border: none; padding: 12px 0; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tab.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.otp-row { display: flex; gap: 10px; }
.otp-row .input { flex: 1; }
.otp-send { flex: none; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-deep); border-radius: var(--radius-sm); padding: 0 16px; font-size: 14px; }
.otp-send:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-alt { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; margin: 24px 0 18px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- 会员中心 ---------- */
.member-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.member-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.member-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; margin-bottom: 14px;
}
.member-side h3 { font-size: 18px; }
.member-side .uid { font-size: 12px; color: var(--muted); word-break: break-all; margin-top: 4px; }
.member-nav { margin-top: 24px; display: grid; gap: 4px; }
.member-nav a, .member-nav button { text-align: left; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-2); background: none; border: none; }
.member-nav a:hover, .member-nav button:hover { background: var(--accent-soft); color: var(--accent-deep); }
.member-nav button.danger:hover { background: #f7e7e3; color: var(--err); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel h2 { font-size: 20px; margin-bottom: 20px; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12.5px; letter-spacing: 1px; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding: 10px 12px; white-space: nowrap; }
table.data td { border-bottom: 1px solid var(--line); padding: 14px 12px; vertical-align: top; }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 14.5px; }

/* ---------- 文件上传 ---------- */
.dropzone {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 28px;
  text-align: center; color: var(--muted); font-size: 14px; transition: all 0.2s; cursor: pointer; background: var(--bg);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }
.file-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.file-item .name { flex: 1; word-break: break-all; }
.file-item .meta { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.icon-btn { background: none; border: 1px solid var(--line-strong); border-radius: 7px; padding: 5px 10px; font-size: 12.5px; color: var(--ink-2); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.icon-btn.danger:hover { border-color: var(--err); color: var(--err); }

/* ---------- 产品页 tabs ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tabs button {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  border-radius: 999px; padding: 9px 22px; font-size: 14.5px; transition: all 0.2s;
}
.filter-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 26, 24, 0.55); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px);
}
.modal-mask.open { display: flex; }
.modal {
  background: var(--surface); border-radius: 18px; max-width: 780px; width: 100%;
  max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface); font-size: 16px; z-index: 2;
}
.modal-media { aspect-ratio: 16 / 8; overflow: hidden; border-radius: 18px 18px 0 0; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 32px 36px 40px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin: 18px 0 8px; }
.spec-list div { font-size: 14px; color: var(--ink-2); padding: 8px 0; border-bottom: 1px dashed var(--line); }
.tick-list { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.tick-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.tick-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,0.72); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 48px; }
.footer-grid h5 { color: #fff; font-size: 15px; letter-spacing: 2px; margin-bottom: 18px; font-weight: 500; }
.footer-grid a, .footer-grid p { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.62); }
.footer-grid a:hover { color: #e8b877; }
.footer-brand strong { font-size: 20px; color: #fff; letter-spacing: 2px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 13px; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- 杂项 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 200; max-width: 86vw;
}
.toast.show { opacity: 1; transform: translateX(-50%); }
.skeleton { background: linear-gradient(90deg, #eceae4 25%, #f4f2ec 50%, #eceae4 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
.loading-note { color: var(--muted); font-size: 14px; padding: 40px 0; text-align: center; grid-column: 1/-1; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }
}
@media (max-width: 900px) {
  #contactLayout { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .form-grid, .spec-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 110px 0 90px; }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: center; }
  .auth-card { padding: 30px 22px; }
  .modal-body { padding: 24px 22px 30px; }
  .panel { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   工程线稿视觉（替代照片）
   ============================================================ */
.card-media {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, #f6f4ee 0%, #ece8de 100%);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.card-media::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(23,33,31,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,33,31,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.card-media svg { position: relative; width: 100%; height: 100%; color: #16323a; opacity: .88; }
.card-media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media svg { opacity: 1; }

.art-panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, #faf9f5 0%, #efebe2 100%);
  padding: 40px; display: flex; align-items: center; justify-content: center;
  min-height: 320px; overflow: hidden;
}
.art-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(23,33,31,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,33,31,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.art-panel svg, .art-panel img { position: relative; width: 100%; height: auto; color: #16323a; }
.art-caption {
  position: absolute; left: 20px; bottom: 16px; font-size: 11.5px; letter-spacing: 2.5px;
  color: var(--muted); text-transform: uppercase;
}

/* 语言切换 */
.lang-switch { display: flex; gap: 2px; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: none; background: none; font-size: 12.5px; letter-spacing: .5px; color: var(--muted);
  padding: 4px 9px; border-radius: 999px; transition: all .18s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: var(--ink); color: #fff; }

/* 产品弹窗线稿 */
.modal-media { background: linear-gradient(160deg, #f7f5ef, #eae6dc); display: flex; align-items: center; justify-content: center; padding: 26px; }
.modal-media svg { width: 100%; height: 100%; color: #16323a; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .hero-art { width: 100%; right: 0; opacity: .22; }
  .hero-inner { padding: 120px 0 100px; }
  .lang-switch { display: none; }
  .lang-switch.mobile { display: flex; margin-top: 14px; }
}
@media (max-width: 640px) {
  .art-panel { padding: 22px; min-height: 240px; }
}

/* ============================================================
   产品独立页
   ============================================================ */
.prose { max-width: 860px; }
.prose p { color: var(--muted-2); font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.prose p::first-letter { }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 6px; background: var(--panel);
  transition: all .2s; text-decoration: none;
}
.rel-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.rel-card strong { color: var(--ink); font-size: 15.5px; }
.rel-card span { color: var(--muted); font-size: 12.5px; letter-spacing: .5px; }
.crumb a { color: var(--gold); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .rel-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   真实工厂照片
   ============================================================ */
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  opacity: .18; filter: saturate(.75) contrast(1.06);
  pointer-events: none;
}

.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.photo-grid figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  aspect-ratio: 3 / 4; position: relative;
}
.photo-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease, opacity .3s;
}
.photo-grid figure:hover img { transform: scale(1.045); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px; font-size: 12px; letter-spacing: 1.5px;
  color: #fff; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(8, 18, 22, .72));
}
.photo-grid.wide { grid-template-columns: repeat(2, 1fr); }
.photo-grid.wide figure { aspect-ratio: 4 / 3; }

@media (max-width: 960px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .photo-grid, .photo-grid.wide { grid-template-columns: 1fr; }
}
