/* ==========================================================================
   gzvia.com — 独立站主样式
   设计基调：工业 B2B / 深色底 + 数据蓝绿强调色，突出「传感器→云平台」的技术感
   无外部依赖：纯 CSS，字体全部使用系统字体栈，海外访问零阻塞
   ========================================================================== */

:root {
  --ink: #0e1520;
  --ink-2: #16202e;
  --ink-3: #1e2b3c;
  --line: #2a3a4f;
  --text: #e8eef6;
  --muted: #9db0c6;
  --accent: #17c4a4;      /* 主强调色：数据绿 */
  --accent-2: #3aa0ff;    /* 次强调色：技术蓝 */
  --accent-3: #ffb347;    /* 高亮：告警橙 */
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px rgba(4, 10, 20, .45);
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* 关键：height:auto 必须显式声明。
   图片标签上写了 width/height 属性（防布局抖动 CLS），但如果 CSS 只设 max-width
   而不重置 height，浏览器会按属性里的高度强行拉伸图片。 */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); }
h3 { font-size: 1.16rem; }
p  { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
/* 头部用更宽的容器：9 个导航项 + 品牌 + 按钮在德/法/西语下也能排成一行。
   正文仍保持 1180px 的舒适阅读宽度，两者互不影响。 */
.wrap--header { max-width: 1320px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--ink-2); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.09rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 21, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; min-height: 66px; }
/* 品牌与右侧按钮不参与压缩，导航链接自己收缩：避免「Get a Quote」被挤成两行 */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; color: var(--text); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: grid; place-items: center; color: #06231d; font-size: .8rem; font-weight: 800;
}
.brand small { display: block; font-size: .64rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nav-links {
  display: flex; gap: 2px; margin-left: auto; align-items: center;
  flex-wrap: nowrap; min-width: 0; justify-content: flex-end;
}
/* nowrap：导航项绝不允许在词中折行（否则一行导航会变成两行） */
.nav-links a {
  color: var(--muted); padding: 8px 8px; border-radius: var(--radius-sm);
  font-size: .86rem; font-weight: 500; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--ink-3); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--ink-3); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.lang-btn {
  background: var(--ink-3); color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 13px; font-size: .82rem; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.lang-btn:hover { color: var(--text); border-color: var(--accent); }

.nav-toggle {
  display: none; background: var(--ink-3); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 7px 11px; font-size: 1rem; cursor: pointer; font-family: inherit;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 650; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  white-space: nowrap;            /* 按钮文字不折行 */
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #05231c; box-shadow: 0 10px 26px rgba(23, 196, 164, .26); }
.btn--primary:hover { background: #1ad9b6; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% 8%, rgba(58, 160, 255, .18), transparent 65%),
    radial-gradient(680px 380px at 12% 92%, rgba(23, 196, 164, .16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 46px; align-items: center; padding: 74px 0 66px;
}
.hero h1 { margin-bottom: .38em; }
.hero .lead { font-size: 1.14rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; left: -10px; bottom: -18px; background: var(--ink-3);
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: var(--shadow);
  max-width: 74%;
}
.hero-badge b { display: block; font-size: 1.4rem; line-height: 1.1; color: var(--white); }
.hero-badge span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }

/* ---------- 信任数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--accent); line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--muted); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.card--media { padding: 0; overflow: hidden; }
.card--media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.card--media .card-body { padding: 20px 22px 24px; }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.card-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px;
}
.card--plain { background: transparent; }

.icon-badge {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(23, 196, 164, .12); color: var(--accent); font-weight: 800; font-size: 1rem;
  margin-bottom: 14px; border: 1px solid rgba(23, 196, 164, .28);
}

/* ---------- 规格表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 460px; background: var(--ink-2); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink-3); color: var(--white); font-weight: 650; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
td:first-child { color: var(--muted); width: 38%; }

/* ---------- 分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%; height: auto;      /* 保持原始比例，绝不拉伸 */
  aspect-ratio: 4 / 3; object-fit: cover;  /* 与卡片统一为 4:3，栅格更整齐 */
}
/* 产品图需要看到完整外形（螺纹、气嘴），保持原始比例不裁切 */
.split-media--product img { aspect-ratio: auto; object-fit: contain; }

/* ---------- 图片墙 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 11px;
  font-size: .84rem; color: var(--white);
  background: linear-gradient(to top, rgba(6, 12, 22, .92), transparent);
}

/* ---------- 部件与延伸供应（首页，低权重区块） ---------- */
.supply-strip {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.supply-strip h3 { font-size: 1.05rem; margin-bottom: 4px; }
.supply-items { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.supply-item h4 { font-size: .98rem; margin: 0 0 6px; }
.supply-item p { font-size: .88rem; margin: 0 0 8px; }
.supply-item a { font-size: .88rem; }
@media (max-width: 900px) {
  .supply-strip { grid-template-columns: 1fr; gap: 20px; }
  .supply-items { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- 车型用例页 ---------- */
.veh-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.veh-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .15s, transform .15s;
}
.veh-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.veh-name { font-size: 1.02rem; font-weight: 650; color: var(--fg); }
.veh-en { font-size: .84rem; color: var(--muted); }
.veh-meta {
  margin-top: 10px; font-size: .78rem; color: var(--accent);
  letter-spacing: .03em; text-transform: uppercase;
}
/* 车型页图墙：比案例页的 gallery 更紧凑，容纳更多张 */
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .8rem; }

/* 表格在窄屏可横向滚动，避免撑破页面 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 导航下拉（如 Applications ▾ → Installations） ---------- */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { font-size: .68rem; opacity: .7; }
.nav-drop-menu {
  display: none; position: absolute; top: 100%; inset-inline-start: 0;
  min-width: 190px; padding: 8px; z-index: 60;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-size: .86rem; white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--ink-3); }
/* 窄屏：下拉展开为普通菜单项 */
@media (max-width: 1100px) {
  .nav-drop { display: block; width: 100%; }
  .nav-drop-menu {
    display: block; position: static; min-width: 0; padding: 0 0 0 14px;
    background: none; border: 0; box-shadow: none;
  }
  .nav-drop-menu a { padding: 9px 12px; }
}

/* ---------- 「More machines」里的入口卡（如 Installations） ---------- */
.card--cta {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px dashed var(--accent);
  background: linear-gradient(180deg, rgba(23, 196, 164, .08), transparent);
  transition: border-color .15s, transform .15s;
}
.card--cta:hover { border-style: solid; transform: translateY(-2px); }
.card--cta h3 { font-size: 1rem; margin: 0; }
.card--cta .card-tag { align-self: flex-start; }

/* ---------- 测试工序（Quality & Testing） ---------- */
.qt-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px; margin-top: 34px;
  /* 卡片高度各自独立：有的工序有实测截图、有的没有，
     统一拉伸会在没图的卡片上留一大片空白。 */
  align-items: start;
}
.qt-card { display: flex; flex-direction: column; }
.qt-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.qt-code {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  color: var(--accent); background: rgba(23, 196, 164, .12);
  border-radius: 5px; padding: 3px 7px; white-space: nowrap;
}
.qt-head h3 { font-size: 1rem; margin: 0; }
.qt-body p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.qt-meta { list-style: none; padding: 0; margin: 0 0 4px; }
.qt-meta li { font-size: .84rem; color: var(--muted); padding: 2px 0; }
.qt-meta li b { color: var(--fg); font-weight: 600; margin-right: 4px; }
.qt-media { margin: 12px 0 0; }
.qt-media img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.qt-media figcaption { font-size: .8rem; color: var(--muted); margin-top: 7px; }
@media (max-width: 620px) { .qt-grid { grid-template-columns: 1fr; } }

/* ---------- 视频区 ---------- */
.video-card { margin: 0; }
.video-card figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 列表 ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800;
}
.ticks--num { counter-reset: t; }
.ticks--num li { padding-left: 40px; }
.ticks--num li::before {
  counter-increment: t; content: counter(t); color: var(--ink); background: var(--accent);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; top: 3px;
}

/* ---------- 提示条 ---------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--accent-3);
  background: var(--ink-2); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .92rem;
}
.notice b { color: var(--accent-3); }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--ink); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 12px 14px; font-family: inherit; font-size: .96rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23, 196, 164, .15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #080e17; border-top: 1px solid var(--line); padding: 52px 0 26px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: var(--muted);
}

/* ---------- 面包屑 / 页头 ---------- */
.page-head { padding: 54px 0 40px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.page-head h1 { margin-bottom: .35em; }
.cta-band {
  background: linear-gradient(120deg, rgba(23, 196, 164, .14), rgba(58, 160, 255, .14));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ---------- 双语显示控制 ---------- */
[data-zh] { display: none; }
body.lang-zh [data-zh] { display: block; }
body.lang-zh span[data-zh], body.lang-zh a[data-zh], body.lang-zh li[data-zh],
body.lang-zh b[data-zh], body.lang-zh strong[data-zh], body.lang-zh em[data-zh] { display: inline; }
body.lang-zh h3[data-zh], body.lang-zh figure[data-zh] { display: block; }
body.lang-zh [data-en] { display: none; }
.zh-sub { font-size: .9rem; color: var(--muted); margin-top: -4px; }

/* ---------- 响应式 ---------- */
/* 导航在 1100px 以下改用汉堡菜单。
   原因：德语/西语/法语等长语言在窄屏下 9 个导航项放不下，
   早一点收起比让导航挤成两行体面得多。 */
@media (max-width: 1100px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 10px 18px 16px; flex-direction: column; align-items: stretch; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-actions { margin-left: 0; }
}
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 52px; }
  .hero-badge { left: 12px; bottom: -14px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split-media { order: 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
}
@media (max-width: 620px) {
  .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  td:first-child { width: 45%; }
}

/* 窄屏头部防溢出：实测 414px 视口下原布局需 438px，会横向溢出。
   处置：品牌副标题收起 + CTA 移入汉堡菜单（省 92px），保证一行放得下。 */
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .brand small { display: none; }              /* 收起 TPMS & INDUSTRIAL IOT 副标题 */
  .nav { gap: 8px; min-height: 58px; }
  .nav-actions { gap: 8px; }
  .nav-actions > .btn--primary { display: none; }   /* CTA 移进菜单 */
  .lang-btn { padding: 6px 10px; font-size: .76rem; }
  .nav-toggle { padding: 6px 10px; }
  /* 菜单末尾的 CTA（仅窄屏出现） */
  .nav-links .nav-cta { display: block; margin-top: 8px; }
  .nav-links .nav-cta a {
    display: block; text-align: center; background: var(--accent); color: #05231c;
    font-weight: 650; border-radius: 999px; padding: 11px 16px;
  }
}
/* 桌面端不显示菜单里的 CTA（头部已有按钮） */
.nav-links .nav-cta { display: none; }
@media (max-width: 420px) {
  .wrap { padding: 0 12px; }
  .brand { gap: 7px; }
  .brand-mark { width: 28px; height: 28px; font-size: .72rem; }
  .lang-btn { padding: 5px 9px; font-size: .74rem; }
}

/* ---------- 语言切换器（8 语言下拉） ---------- */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-caret { font-size: .7rem; opacity: .7; }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 190px; padding: 6px; z-index: 60;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  grid-template-columns: 1fr;
}
.lang-menu.open { display: grid; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-radius: 7px; color: var(--muted); font-size: .9rem;
}
.lang-menu a:hover { background: var(--ink-3); color: var(--text); text-decoration: none; }
.lang-menu a[aria-current="true"] { color: var(--accent); background: rgba(23, 196, 164, .1); }
.lang-menu a::after { content: attr(hreflang); font-size: .7rem; text-transform: uppercase; opacity: .45; }
.nav-actions { position: relative; }

/* 脚本未加载时，语言菜单仍可通过焦点展开（无 JS 环境的兜底） */
.lang-btn:focus + .lang-menu, .lang-menu:focus-within { display: grid; }

@media (max-width: 900px) {
  .lang-menu { inset-inline-end: auto; inset-inline-start: 0; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .btn, .lang-menu { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .table-wrap, table { border-color: #ccc; background: #fff; }
  th { background: #eee; color: #111; }
  td:first-child { color: #333; }
}
