﻿/* ============================================================
   G-ACOUSTIC — Professional Audio
   Design language inspired by premium pro-audio brands (L-Acoustics)
   Dark, editorial, minimal. Bilingual EN/CN.
   ============================================================ */

:root {
  /* 主色调 RAL5001 Green Blue #1F5F74 —— 绿蓝为主色调 */
  --bg: #1F5F74;
  --bg-deep: #15495b;
  --bg-soft: #2a7288;
  --surface: #ffffff;
  --surface-soft: rgba(255,255,255,0.12);
  --surface-card: #ffffff;
  --line: rgba(255,255,255,0.32);
  --line-soft: rgba(255,255,255,0.16);
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.82);
  --text-faint: rgba(255,255,255,0.6);
  --text-dark: #0e3c4c;
  --accent: #ffffff;
  --accent-solid: #ffffff;
  /* RAL5001 Green Blue 品牌强调色 */
  --brand: #1F5F74;
  --brand-deep: #124656;
  --brand-bright: #8fc8d8;
  --brand-soft: rgba(255,255,255,0.14);
  --maxw: 1280px;
  --nav-h: 100px;
  --nav-bg: var(--brand);
  --font-en: "Helvetica Neue Regular", "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-en);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

body.cn { font-family: var(--font-cn); }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn .arrow { font-size: 16px; line-height: 1; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-solid:hover { background: transparent; color: var(--brand); border-color: var(--brand); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(31,95,116,0.95);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.nav .wrap { width: 100%; max-width: 100%; display: flex; align-items: center; position: relative; padding: 0 24px; }

.brand { display: flex; align-items: center; }
.brand img.logo {
  height: 80px;
  width: auto;
  display: block;
  /* 黑色 SVG logo 转白色 */
  filter: brightness(0) invert(1);
}
body.cn .brand img.logo { height: 80px; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; position: static; }
.nav-links > li { list-style: none; position: relative; }
.nav-right { display: flex; align-items: center; gap: 18px; margin-left: 24px; }

.nav-link {
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: #fff;
}
/* 次级菜单项：与主导航同级字号（18px） */
.nav-sub { font-size: 18px; font-weight: 100; }

/* 搜索按钮 */
.nav-search {
  background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); cursor: pointer; transition: all 0.2s ease;
  padding: 0;
}
.nav-search:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* --- Dropdown (Products) — big panel --- */
.has-dropdown { position: relative; }
.has-dropdown .dd-caret { display: inline-block; margin-left: 5px; font-size: 10px; vertical-align: middle; transition: transform 0.2s ease; }
.has-dropdown:hover .dd-caret { transform: rotate(180deg); }

.dropdown {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  width: 100%;
  max-width: 100%;
  /* Cap the panel so the 3x3 type grid cannot stretch into oversized empty
     cards on tall laptop viewports (MacBook / MateBook hi-res); short
     viewports keep the full 100vh height as before. */
  height: min(calc(100vh - var(--nav-h)), 640px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: none;
  border-top: 2px solid var(--brand);
  box-shadow: 0 24px 60px rgba(18,70,86,0.15);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 200;
  overflow: hidden;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown .dd-head {
  padding: 10px 48px 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5a7a90;
  border-bottom: 1px solid #e3eef5;
  text-align: center;
}
.dropdown .dd-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 48px 6px;
  background: #f0f6fa;
  align-content: stretch;
}
.dropdown .dd-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 22px;
  background: #ffffff;
  color: #5a7a90;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: normal;
  border-radius: 10px;
}
.dropdown .dd-item:hover { background: #f0f6fa; color: var(--brand); }
.dropdown .dd-ic {
  flex: 0 0 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0e4f0;
  color: var(--brand);
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.dropdown .dd-item:hover .dd-ic { border-color: var(--brand); background: var(--brand); color: #fff; }
.dropdown .dd-txt { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* icon-carrying items: icon on the LEFT, title+desc stacked to its right */
.dropdown .dd-txt:has(.dd-icon) { flex-direction: row; align-items: center; gap: 14px; text-align: left; }
.dropdown .dd-tx { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.dropdown .dd-t { font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: #1a5270; font-weight: 600; margin-bottom: 4px; }
.dropdown .dd-d { font-size: 12px; color: #7a9bb3; line-height: 1.4; }
.dropdown .dd-item .dd-icon { width: 38px; height: 38px; flex: 0 0 auto; display: block; object-fit: contain; object-position: center; }
/* Columns (5th item in the Product Types grid) sits in the middle of the column;
   its narrower title text pushes the icon right — shift only this icon left so its
   center lines up with Line Sources (above) and Power Amplifiers (below). */
.dropdown .dd-grid .dd-item:nth-child(5) .dd-icon { transform: translateX(-20px); }
/* Vertical center-line alignment for the remaining misaligned icons: icon X is
   driven by the title/desc column width, so short-text items sit right of their
   column's line. Shift each to the column's left-most icon (longest-text item). */
.dropdown .dd-grid .dd-item:nth-child(3) .dd-icon { transform: translateX(-14px); }  /* Coaxials */
.dropdown .dd-grid .dd-item:nth-child(4) .dd-icon { transform: translateX(-11px); }  /* Point Sources */
.dropdown .dd-grid .dd-item:nth-child(7) .dd-icon { transform: translateX(-16px); }  /* Accessories */
.dropdown .dd-grid .dd-item:nth-child(9) .dd-icon { transform: translateX(-5px); }   /* Processors */
.dropdown .dd-all {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-top: 1px solid #e3eef5;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}
.dropdown .dd-all:hover { background: #f0f6fa; }
.dropdown .dd-all .dd-go { transition: transform 0.2s ease; }
.dropdown .dd-all:hover .dd-go { transform: translateX(5px); }

/* Products dropdown: Product Types + Product Applications */
.dropdown .dd-grid-app {
  flex: none;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 48px 8px;
}
.dropdown .dd-head-app {
  padding: 8px 48px 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5a7a90;
  border-top: 1px solid #e3eef5;
  text-align: center;
}
.dropdown .dd-txt:has(.dd-appimg) { flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.dropdown .dd-txt:has(.dd-appimg) .dd-tx { align-items: center; text-align: center; }
.dropdown .dd-item .dd-appimg { width: 110px; height: 110px; flex: 0 0 auto; object-fit: cover; border-radius: 6px; display: block; }
.dropdown .dd-item:has(.dd-appimg) { padding: 6px 22px; }

/* Language switch */
.lang-switch { display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.4); border-radius: 100px; overflow: hidden; background: transparent; }
.lang-switch button {
  background: transparent; border: none; color: rgba(255,255,255,0.8);
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  padding: 8px 16px; cursor: pointer; transition: all 0.2s ease;
  font-family: inherit;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { color: var(--brand); background: #fff; font-weight: 600; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: background 0.2s ease; }
.nav-burger:hover span { background: rgba(255,255,255,0.7); }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 99;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--nav-h) + 20px) 40px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 28px; font-weight: 600; letter-spacing: 0.02em;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}
.mobile-nav .m-nav-item.has-sub .m-nav-toggle {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.mobile-nav .m-caret { font-size: 24px; font-weight: 300; transition: transform 0.2s ease; }
.mobile-nav .m-nav-item.open .m-caret { transform: rotate(45deg); }
.mobile-nav .m-submenu {
  max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
  margin-left: 2px;
}
/* 展开后：左侧 2px 竖线标示层级，9 项各自成行，避免原来挤在一行里横向溢出 */
.mobile-nav .m-nav-item.open .m-submenu {
  max-height: 620px;
  border-left: 2px solid rgba(255,255,255,0.20);
}
.mobile-nav .m-submenu a {
  display: block;
  font-size: 16px; font-weight: 400; letter-spacing: 0.01em;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line-soft); color: var(--text-dim);
}
.mobile-nav .m-lang { margin-top: 30px; display: flex; gap: 12px; }
.mobile-nav .m-lang button {
  background: transparent; border: 1px solid var(--line); color: var(--text-dim);
  font-size: 14px; padding: 10px 18px; cursor: pointer; font-family: inherit;
}
.mobile-nav .m-lang button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slider .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-pure::after { display: none; }

/* Slider arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 72px; height: 72px;
  background: rgba(0,0,0,0.35); border: none; cursor: pointer;
  color: #fff; font-size: 48px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease; font-family: inherit;
}
.slider-arrow:hover { background: rgba(0,0,0,0.55); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Slider dots */
.slider-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.slider-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.2s ease; border: none; padding: 0;
}
.slider-dots .dot.active { background: #fff; width: 28px; border-radius: 100px; }
.hero-slider .slide.active {
  opacity: 1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0.2) 40%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 40px; padding-top: var(--nav-h); }
.hero .eyebrow {
  font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
  text-transform: uppercase;
}
.hero .sub {
  margin-top: 28px; max-width: 46ch; font-size: 17px; color: var(--text-dim); font-weight: 300;
}
.hero .cta { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-faint); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 52px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--brand-bright); animation: scrollline 2s infinite;
}
@keyframes scrollline { 0%{top:-100%} 60%{top:0} 100%{top:100%} }

/* ---------- Section base ---------- */
section { padding: 120px 0; position: relative; }
.sec-head { margin-bottom: 70px; }
.sec-head .sec-label { font-size: 20px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin-bottom: 24px; font-weight: 500; }
.sec-head h2 {
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.01em;
  text-transform: uppercase; max-width: 20ch; color: var(--text-dark);
}
.sec-head .sec-sub { margin-top: 18px; color: #5a7a90; max-width: 60ch; font-size: 15px; }
.sec-head.right { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }

/* ---------- About / statement ---------- */
.statement { padding: 100px 0; text-align: center; }
.statement .sec-head { text-align: center; margin-bottom: 50px; }
.statement .sec-head .sec-label { font-size: 40px; font-weight: 600; text-align: center; }
.statement .big {
  font-size: 1.25rem;
  font-weight: 300; line-height: 1.6; letter-spacing: 0;
  max-width: 80%;
  margin: 0 auto;
  color: var(--text-dark);
}
.statement .big strong { font-weight: inherit; color: inherit; }
.statement .sec-sub { margin: 24px auto 0; max-width: 80%; font-size: 1.25rem; line-height: 1.6; color: var(--text-dark); font-weight: 300; }
.statement .meta-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid #e3eef5; padding-top: 50px; text-align: center; }
.meta-item .num { font-size: 56px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--brand); }
.meta-item .lbl { margin-top: 12px; color: #5a7a90; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Featured systems ---------- */
.featured { padding-bottom: 60px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat-card { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.feat-card.large { grid-column: span 2; aspect-ratio: 21/9; }
.feat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.feat-card:hover img { transform: scale(1.04); }
.feat-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0.05) 30%, rgba(5,5,5,0.85) 100%); }
.feat-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; }
.feat-card .cap h3 { font-size: clamp(20px, 2.4vw, 34px); font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }
.feat-card .cap p { margin-top: 8px; color: var(--text-dim); font-size: 14px; max-width: 46ch; }
.feat-card .cap .tag { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-bright); border-bottom: 1px solid var(--brand); padding-bottom: 4px; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* empty category state (e.g. Accessories with no products yet) */
.cat-empty { padding: 60px 20px 70px; }
.cat-empty-box {
  max-width: 460px; margin: 0 auto; text-align: center;
  border: 1px dashed #c7dde8; border-radius: 12px;
  padding: 48px 32px; background: #f7fbfd;
}
.cat-empty-icon { width: 54px; height: 54px; margin-bottom: 18px; opacity: 0.85; }
.cat-empty-box h2 {
  font-size: 22px; letter-spacing: 0.04em; color: var(--brand);
  font-weight: 600; margin-bottom: 10px;
}
.cat-empty-box p { font-size: 14px; line-height: 1.7; color: #5a7a90; margin: 0; }
.pcard { background: #fff; border: 1px solid #e3eef5; position: relative; overflow: hidden; transition: all 0.3s ease; border-radius: 12px; display: flex; flex-direction: column; }
.pcard:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(31,95,116,0.1); }
.pcard .img { aspect-ratio: 1/1; overflow: hidden; background: #ffffff; position: relative; }
.pcard .img img { width: 100%; height: 100%; object-fit: contain; padding: 0; transition: transform 0.5s ease; }
.pcard .img.ph { display: flex; align-items: center; justify-content: center; background: #ffffff; }
.pcard .img.ph span { font-size: 15px; font-weight: 700; letter-spacing: 0.25em; color: #9db8c6; text-transform: uppercase; }
.pcard:hover .img img { transform: scale(1.05); }
.pcard .meta { padding: 22px; border-top: 1px solid #e3eef5; flex: 1; display: flex; flex-direction: column; }
.pcard .meta .cat { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand); }
.pcard .meta h3 { margin-top: 8px; font-size: 17px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-dark); }
.pcard .meta .go { margin-top: auto; padding-top: 18px; }

/* ---------- Category strip ---------- */
.categories { padding-top: 220px; }
.categories .wrap { max-width: 1560px; }
.categories .sec-head { text-align: center; }
.categories .sec-head .sec-label { font-size: 40px; font-weight: 600; text-align: center; letter-spacing: 0.04em; margin-bottom: 24px; }
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { border: 1px solid #e3eef5; background: #f7fbfd; overflow: hidden; }
.cat-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.05); }
/* Products overview — Product Types cards use transparent line icons:
   show them whole (contain), centered on the same light blue as the dropdown */
.ov-grid:not(.ov-apps) .cat-card { background: #f0f6fa; }
.ov-grid:not(.ov-apps) .cat-card img { object-fit: contain; padding: 18px; background: #f0f6fa; }
.cat-card .lbl { padding: 18px 16px; text-align: center; }
.cat-card .lbl h3 { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--brand); }
.cat-card .lbl .go { font-size: 14px; color: var(--brand); margin-top: 4px; }

/* ---------- Solutions / CTA ---------- */
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 110px 0; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 300; max-width: 22ch; margin: 0 auto; line-height: 1.15; }
.cta-band h2 strong { font-weight: 600; }
.cta-band .cta { margin-top: 40px; }

/* ---------- Footer ---------- */
footer { background: var(--brand); border-top: 1px solid var(--line); padding: 80px 0 40px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.9fr 2.2fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 16px; font-weight: 600; }
.footer-grid a, .footer-grid p { display: block; color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand img.logo { height: 72px; }
.footer-brand .tagline { margin-top: 16px; color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-brand .social { justify-content: flex-start; }
.social { display: flex; gap: 14px; margin-top: 6px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.9); border-radius: 50%; transition: all 0.2s ease; margin: 0; }
.social a:hover { background: #fff; color: var(--brand); border-color: #fff; }
.social a svg { width: 20px; height: 20px; }
.social-light a { border-color: rgba(31,95,116,0.35); color: var(--brand); }
.social-light a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer-symbol { display: flex; justify-content: center; align-items: center; margin-top: 30px; color: rgba(255,255,255,0.45); }
.footer-symbol svg { width: 26px; height: 26px; }
.qr-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; z-index: 9999; }
.qr-modal.show { display: flex; }
.qr-box { background: #fff; padding: 28px; border-radius: 14px; text-align: center; position: relative; max-width: 320px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.qr-box img { width: 240px; height: 240px; display: block; margin: 0 auto; }
.qr-box p { margin-top: 16px; font-size: 15px; color: var(--brand); font-weight: 600; }
.qr-close { position: absolute; top: 10px; right: 14px; font-size: 24px; line-height: 1; border: none; background: none; cursor: pointer; color: #999; }
.qr-close:hover { color: #333; }
.search-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: flex-start; justify-content: center; z-index: 9998; padding-top: 130px; }
.search-modal.show { display: flex; }
.search-panel { background: #fff; border-radius: 14px; width: min(720px, 92%); max-height: 70vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.3); padding: 20px 22px; }
.search-bar { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--brand); padding-bottom: 12px; }
.search-bar input { flex: 1; border: none; outline: none; font-size: 20px; padding: 6px 0; font-family: inherit; color: var(--text-dark); background: none; }
.search-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #999; }
.search-close:hover { color: #333; }
.search-results { margin-top: 14px; }
.search-results .res-empty { color: #888; font-size: 14px; padding: 16px 4px; }
.search-results a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--text-dark); text-decoration: none; font-size: 15px; }
.search-results a:hover { background: #f0f6fa; }
.search-results a .res-cat { color: #888; font-size: 12px; margin-left: 8px; }
.search-results a.external { color: var(--brand); font-weight: 500; }
.footer-bottom { margin-top: 70px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.6); font-size: 14px; flex-wrap: wrap; gap: 16px; }

/* ---------- Page header (inner pages) ---------- */
.pagehead { padding: 64px 0 80px; border-bottom: 1px solid #e3eef5; }
.pagehead .eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brand); margin-bottom: 20px; }
.pagehead h1 { font-size: clamp(38px, 6vw, 84px); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; text-transform: uppercase; color: var(--text-dark); }
.pagehead p { margin-top: 22px; color: #5a7a90; max-width: 56ch; font-size: 16px; }

/* ---------- Products page ---------- */
.cat-filter { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }
.cat-filter button {
  background: transparent; border: 1px solid #c5dceb; color: #5a7a90;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 20px; cursor: pointer; font-family: inherit; transition: all 0.2s ease;
}
.cat-filter button.active, .cat-filter button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 80px; align-items: start; }
.contact-col { min-width: 0; }
.contact-block { border-top: 1px solid #e3eef5; padding-top: 34px; margin-top: 40px; }
.contact-block:first-child { margin-top: 0; }
.contact-block h3 { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; font-weight: 600; }
.contact-block .addr { font-size: 15px; color: var(--text-dark); line-height: 1.7; }
.contact-block .addr .dim { color: #5a7a90; }
.contact-block a.big-link { font-size: 22px; font-weight: 600; display: block; margin-bottom: 8px; color: var(--brand); }
.contact-block .hint { color: #5a7a90; font-size: 14px; }

.contact-qr { display: flex; align-items: center; gap: 18px; margin: 2px 0 10px; flex-wrap: wrap; }
.contact-qr img { width: 148px; height: 148px; display: block; padding: 6px; border: 1px solid #e3eef5; border-radius: 12px; background: #fff; box-sizing: content-box; }
.contact-qr-cap { display: flex; flex-direction: column; gap: 7px; max-width: 230px; }
.contact-qr-cap .qr-label { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.contact-qr-cap .qr-note { font-size: 13px; line-height: 1.55; color: #5a7a90; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1080px) {
  /* 中等宽度：顶栏链接会被挤压换行，提前切换到汉堡菜单 */
  .nav-links { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .wrap, .hero-content { padding-left: 24px; padding-right: 24px; }
  section { padding: 80px 0; }
  .feat-grid, .cat-strip { grid-template-columns: 1fr; }
  .dropdown { position: static; transform: none; box-shadow: none; height: auto; overflow: visible; }
  .dropdown .dd-grid-app { grid-template-columns: repeat(2, 1fr); }
  /* keep the dropdown compact on narrow viewports */
  .dropdown .dd-grid { padding: 14px 20px 18px; gap: 10px; }
  .dropdown .dd-grid-app { padding: 10px 20px 16px; }
  .dropdown .dd-head, .dropdown .dd-head-app { padding-left: 20px; padding-right: 20px; }
  .dropdown .dd-item { padding: 20px 16px; gap: 12px; }
  .dropdown .dd-t { margin-bottom: 4px; }
  .feat-card.large { grid-column: span 1; aspect-ratio: 4/5; }
  .statement .meta-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand .social { justify-content: center; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* very narrow: stack dropdown grids to a single column so icons + text fit */
  .dropdown .dd-grid, .dropdown .dd-grid-app { grid-template-columns: 1fr; }
}

/* ---------- Two-level product catalog (overview / category / detail) ---------- */
.ov-head { margin-bottom: 30px; }
.ov-head .sec-label {
  font-size: 20px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
}
.ov-head-app { margin-top: 70px; }
.ov-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ov-grid.ov-apps { grid-template-columns: repeat(4, 1fr); }
.cat-card.ov-card { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.cat-card.ov-card:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(31,95,116,0.12); }

/* product cards on category pages are real links now */
a.pcard-link { display: block; color: inherit; text-decoration: none; }
.pcard .meta .desc {
  margin-top: 10px; font-size: 14px; line-height: 1.55;
  color: #5a7a90; min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard .meta .go {
  display: inline-block; margin-top: auto; padding-top: 18px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
}
.pcard .meta .go::after { content: " \2192"; display: inline-block; transition: transform 0.25s ease; }
.pcard-link:hover .meta .go::after { transform: translateX(4px); }

/* product card quick specs — full V2 spec set, full-word labels, one spec per row */
.pcard .stats {
  display: grid; grid-template-columns: 1fr;
  gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #e3eef5;
}
.pcard .stats .st {
  min-width: 0; display: flex; flex-direction: column; justify-content: flex-start;
  text-align: left;
}
.pcard .stats .st i {
  display: block; font-style: normal;
  font-size: 10px; letter-spacing: 0.02em; text-transform: uppercase;
  color: #7ba1b2; margin-bottom: 3px;
  white-space: normal;
}
.pcard .stats .st b {
  display: block; font-size: 12.5px; font-weight: 600; line-height: 1.4;
  color: var(--text-dark); overflow-wrap: anywhere; white-space: normal;
}

/* breadcrumb */
.pd-crumb {
  padding: calc(var(--nav-h) + 26px) 0 22px;
  border-bottom: 1px solid #e3eef5;
  font-size: 13px; color: #8aa6b5;
  position: relative;
}
.pd-crumb .wrap { }
/* back button and breadcrumb share one horizontal line: crumb text sits to the
   right of the absolutely-positioned back button, vertically centred to it.
   The crumb is left-aligned (not the centred .wrap) so it hugs the back button. */
.pd-crumb:has(.pd-back) .wrap {
  padding: 9px 40px 0 0;
  max-width: none; margin: 0;
}
.pd-crumb a:hover { color: var(--brand); }
.pd-crumb .sep { margin: 0 10px; color: #c3d8e5; }
.pd-crumb .cur { color: var(--brand); font-weight: 600; }

/* detail-page back button — aligned under the top-left logo (nav is full-width
   with 24px padding, so the logo's left edge is always at 24px) */
.pd-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  background: #f4f9fc; border: 1px solid #e3eef5; border-radius: 6px;
  color: var(--brand); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background 0.15s ease, color 0.15s ease;
  margin-right: 16px;
}
.pd-back .ico { font-size: 14px; line-height: 1; }
.pd-back:hover { background: #e3eef5; border-color: var(--brand); color: var(--brand-deep); }

/* product detail hero */
.pd-hero { padding: 70px 0 0; }
.pd-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.pd-img { background: #ffffff; border: 1px solid #eef3f7; }
.pd-img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 0; }
.pd-img.ph { display: flex; align-items: center; justify-content: center; min-height: 420px; }
.pd-img.ph span { font-size: 26px; font-weight: 700; letter-spacing: 0.3em; color: #9db8c6; text-transform: uppercase; }
.pd-thumbs { display: flex; gap: 10px; padding: 0 30px 26px; flex-wrap: wrap; }
.pd-thumbs img { width: 74px; height: 74px; aspect-ratio: auto; object-fit: cover; padding: 0; border-radius: 6px; border: 2px solid transparent; cursor: pointer; background: #fff; transition: border-color 0.15s ease; }
.pd-thumbs img:hover { border-color: #bcd6e6; }
.pd-thumbs img.active { border-color: var(--brand); }
.pd-cat { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.pd-info h1 {
  font-size: clamp(38px, 5vw, 64px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  margin: 14px 0 18px; color: var(--text-dark);
}
.pd-tag { font-size: 15px; color: #5a7a90; margin-bottom: 24px; }
.pd-desc p { font-size: 15px; line-height: 1.85; color: var(--text-dark); margin-bottom: 16px; white-space: pre-line; }
.pd-note {
  margin-top: 20px; padding: 14px 18px;
  background: #f4f9fc; border-left: 3px solid var(--brand);
  color: var(--brand-deep); font-size: 14px; line-height: 1.7;
}
.pd-info .btn { margin-top: 8px; }

/* technical specifications */
.pd-specs { padding: 90px 0 40px; }
.pd-specs h2 {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 26px;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td {
  border: 1px solid #e3eef5; padding: 12px 16px;
  font-size: 14px; line-height: 1.6; vertical-align: top; white-space: pre-line;
  color: var(--text-dark);
}
.spec-table td:first-child { width: 38%; font-weight: 600; color: var(--brand); background: #f4f9fc; }
.spec-table .pd-none { color: var(--brand-deep); font-size: 14px; line-height: 1.7; }

/* back link */
.pd-more { padding: 40px 0 120px; }
.pd-more .btn { font-size: 12px; padding: 13px 26px; }

@media (max-width: 1024px) {
  .ov-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-grid.ov-apps { grid-template-columns: repeat(2, 1fr); }
  .pd-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .pd-crumb { padding-top: calc(var(--nav-h) + 18px); }
  .pd-hero { padding-top: 46px; }
}
@media (max-width: 600px) {
  .ov-grid, .ov-grid.ov-apps { grid-template-columns: 1fr; }
  .pd-img img { padding: 0; }
  .pd-specs { padding: 60px 0 30px; }
  .pd-more { padding: 30px 0 80px; }
}

/* ===== ABOUT GALLERY ===== */
.about-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; }
.about-gallery img { width: 100%; height: auto; aspect-ratio: 960 / 660; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
@media (max-width: 900px) { .about-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .about-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Downloads / About / Case Studies pages — appended styles
   ============================================================ */

/* ---------- Downloads page ---------- */
.dl-section { padding: 90px 0; }
.dl-section-alt { background: #f4f9fc; border-top: 1px solid #e3eef5; }
.dl-section .sec-head { margin-bottom: 40px; }
.dl-cat-head {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
  margin: 40px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid #e3eef5;
}
.dl-cat-head:first-of-type { margin-top: 0; }
.dl-row {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid #edf3f8;
}
.dl-name { font-size: 18px; font-weight: 600; color: var(--text-dark); letter-spacing: 0.02em; min-width: 140px; }
.dl-size { color: #8aa6b5; font-size: 13px; min-width: 70px; }
.dl-btn { margin-left: auto; white-space: nowrap; padding: 10px 22px; font-size: 13px; }
.dl-note { margin-top: 30px; color: #8aa6b5; font-size: 13px; }
.dl-backtop { margin-top: 24px; }
.dl-backtop a { color: var(--brand); font-size: 14px; font-weight: 500; }
.dl-backtop a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .dl-row { flex-wrap: wrap; gap: 12px; padding: 14px 0; }
  .dl-name { min-width: 0; }
  .dl-btn { margin-left: 0; width: 100%; justify-content: center; }
  .dl-size { order: 2; }
}

/* ---------- About page ---------- */
.about-story { padding: 90px 0 40px; text-align: center; }
.about-story .sec-head { margin-bottom: 40px; }
.about-story .sec-head .sec-label { font-size: 32px; font-weight: 600; text-align: center; }
.about-story .big {
  font-size: 1.15rem; font-weight: 300; line-height: 1.6;
  max-width: 80%; margin: 0 auto; color: var(--text-dark);
}
.about-story .sec-sub { margin: 24px auto 0; max-width: 80%; font-size: 1.1rem; line-height: 1.6; color: var(--text-dark); font-weight: 300; }
.about-story .meta-grid { margin-top: 60px; }

.about-philosophy { padding: 70px 0; background: #f4f9fc; border-top: 1px solid #e3eef5; border-bottom: 1px solid #e3eef5; }
.about-philosophy .sec-head { margin-bottom: 30px; }
.about-philosophy .sec-head .sec-label { font-size: 32px; font-weight: 600; }
.about-philosophy-text {
  font-size: 1.1rem; font-weight: 300; line-height: 1.7;
  max-width: 80ch; color: var(--text-dark);
}

.about-timeline { padding: 90px 0; }
.about-timeline .sec-head { margin-bottom: 50px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.tl-item {
  position: relative; padding: 30px 24px;
  border: 1px solid #e3eef5; background: #f7fbfd;
  border-top: 3px solid var(--brand);
}
.tl-year { font-size: 36px; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; line-height: 1; }
.tl-txt { margin-top: 14px; color: #5a7a90; font-size: 14px; line-height: 1.6; }

@media (max-width: 860px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .about-story .big, .about-story .sec-sub { max-width: 100%; }
  .about-philosophy-text { max-width: 100%; }
}

/* ---------- Case Studies page ---------- */
.cases-section { padding: 90px 0; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid #e3eef5; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.case-card:hover { box-shadow: 0 12px 32px rgba(18, 70, 86, 0.12); transform: translateY(-2px); }
.case-img { aspect-ratio: 16/10; overflow: hidden; background: #eaf3f8; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 28px 26px 32px; }
.case-body h3 { font-size: 22px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 12px; }
.case-body p { color: #4a6a7c; font-size: 15px; line-height: 1.7; }
.case-example {
  margin-top: 16px; padding: 14px 16px;
  background: #f4f9fc; border-left: 3px solid var(--brand);
  color: var(--brand-deep) !important; font-size: 14px !important;
}

@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .case-body { padding: 22px 20px 26px; }
  .case-body h3 { font-size: 19px; }
}

/* ---------- CTA band spacing for new pages ---------- */
.cta-band .sec-sub { max-width: 60ch; margin: 18px auto 0; }

/* ============ SYSTEM PAGES ============ */
.sys-card .img.sys-img { background:#fff; padding:0; display:block; height:280px; overflow:hidden; position:relative; }
.sys-card .img.sys-img img { width:100%; height:280px; object-fit:contain; display:block; }
.sys-card .meta .desc { -webkit-line-clamp: unset; display:block; overflow: visible; min-height: unset; }
.sys-card .meta h3 {
  min-height: 50px; /* 固定标题区域高度，两行标题也不挤压下面内容 */
  display: flex;
  align-items: center;
}
.sys-card .meta .desc {
  min-height: 90px; /* 4行描述高度，保证所有卡片 Components 区域水平对齐 */
  -webkit-line-clamp: 4;
}
.sys-card .sys-comps { margin:10px 0 0; padding-top:10px; border-top:1px solid #e2ebf2; display:flex; flex-direction:column; gap:3px; min-height: 80px; flex-shrink:0; box-sizing: border-box; }
.sys-card .go { margin-top: 20px; padding-top: 0; flex-shrink:0; }
.sys-card .sys-comps-lbl { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#7a8b99; }
.sys-card .sys-comps-val { font-size:13px; color:#2c3e50; line-height:1.5; }
.pd-img.sys-hero-img { background:#fff; padding:0; display:block; border-radius:10px; overflow:hidden; border:none; }
.pd-img.sys-hero-img img { width:100%; height:420px; object-fit:contain; display:block; padding:0; aspect-ratio:auto; background:#fff; }
.sys-comp-list { display:flex; flex-direction:column; gap:0; border:1px solid #e2ebf2; border-radius:10px; overflow:hidden; }
.sys-comp-row { display:flex; align-items:center; gap:16px; padding:14px 20px; border-bottom:1px solid #e2ebf2; background:#fff; }
.sys-comp-row:last-child { border-bottom:none; }
.sys-comp-row:nth-child(even) { background:#f7fafc; }
.sys-comp-name { font-weight:600; color:#1f6f8b; text-decoration:none; flex:1; font-size:15px; }
.sys-comp-name:hover { text-decoration:underline; }
.sys-comp-qty { color:#1f6f8b; font-size:18px; font-weight:600; min-width:60px; text-align:right; }
.sys-comp-dl { min-width:150px; text-align:right; }
.sys-dl { font-size:12px; color:#1f6f8b; text-decoration:none; border:1px solid #1f6f8b; padding:6px 12px; border-radius:6px; white-space:nowrap; }
.sys-dl:hover { background:#1f6f8b; color:#fff; }
.sys-nodl { display:inline-block; min-width:120px; }

/* ============ APPLICATIONS PAGE ============ */
.app-jump { display:flex; flex-wrap:wrap; gap:10px; margin-top:36px; }
.app-jump a {
  font-size:12px; letter-spacing:.16em; text-transform:uppercase; text-decoration:none;
  color:#40606f; background:#fff; border:1px solid #d9e6ee; border-radius:999px;
  padding:11px 20px; transition:all .2s ease;
}
.app-jump a:hover { background:var(--brand); border-color:var(--brand); color:#fff; }

.app-sec { padding:84px 0; border-top:1px solid #e3eef5; scroll-margin-top:96px; }
.app-row { display:grid; grid-template-columns:0.86fr 1.14fr; gap:64px; align-items:start; }
.app-row.rev { grid-template-columns:1.14fr 0.86fr; }
.app-row.rev .app-txt { order:2; }
.app-row.rev .app-gal { order:1; }
.app-txt h2 {
  margin:0 0 18px; font-size:clamp(26px,3.2vw,42px); line-height:1.1;
  font-weight:600; letter-spacing:-0.01em; text-transform:uppercase; color:var(--text-dark);
}
.app-txt p { color:#4a6a7c; font-size:15.5px; line-height:1.8; }
.app-facts { margin-top:28px; display:flex; flex-direction:column; gap:12px; }
.app-facts li { list-style:none; display:flex; gap:14px; align-items:baseline; font-size:14px; color:#2c3e50; }
.app-facts .k { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#8aa3b3; min-width:92px; flex-shrink:0; }
.app-links { margin-top:28px; display:flex; flex-wrap:wrap; column-gap:10px; row-gap:14px; }
.app-links a {
  font-size:10.5px; letter-spacing:0; text-transform:uppercase; text-decoration:none;
  white-space:nowrap; color:var(--brand); border-bottom:1px solid var(--brand); padding-bottom:3px;
}
.app-links a:hover { color:var(--brand-deep); border-color:var(--brand-deep); }


.app-frame {
  background:#fff; border:1px solid #eef3f7; border-radius:12px; height:500px;
  display:flex; align-items:center; justify-content:center; padding:14px;
}
.app-frame img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; }
.app-thumbs { display:flex; gap:8px; margin-top:14px; flex-wrap:wrap; }
.app-thumbs img {
  height:76px; width:auto; object-fit:contain; background:#fff;
  border:2px solid transparent; border-radius:8px; cursor:pointer;
  transition:border-color .15s ease;
}
.app-thumbs img:hover { border-color:#bcd6e6; }
.app-thumbs img.active { border-color:var(--brand); }
.app-cap { margin-top:14px; font-size:12px; letter-spacing:.04em; color:#8aa3b3; }

@media (max-width:1024px) {
  .app-row, .app-row.rev { grid-template-columns:1fr; gap:34px; }
  .app-row.rev .app-txt, .app-row.rev .app-gal { order:0; }
  .app-frame { height:auto; aspect-ratio:16/10; }
}
@media (max-width:600px) {
  .app-sec { padding:56px 0; }
  .app-frame { height:auto; aspect-ratio:4/3; padding:10px; }
  .app-thumbs img { height:58px; }
  .app-links { gap:14px; }
}

/* ============================================================
   产品总览 —— 左侧分类栏 / 右侧产品（分栏目录）
   ============================================================ */
.cat-split-layout { display: grid; grid-template-columns: 272px 1fr; gap: 56px; align-items: start; }

/* 左栏：竖排分类，滚动时吸附在导航下方 */
.cat-split-nav { position: sticky; top: calc(var(--nav-h) + 20px); min-width: 0; }
.csn-group + .csn-group { margin-top: 34px; }
.csn-title {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: #5a7a90; font-weight: 600; padding-bottom: 12px;
  border-bottom: 1px solid #e3eef5;
}
.csn-list { display: flex; flex-direction: column; }
.csn-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 13px 14px 13px 16px;
  background: none; border: 0; border-bottom: 1px solid #eef5f9;
  font-family: inherit; font-size: 15px; letter-spacing: 0.02em;
  color: #5a7a90; text-align: left; cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.csn-link:hover { color: var(--brand); background: #f7fbfd; }
.csn-link.active {
  color: var(--brand); font-weight: 600; background: #f0f6fa;
  box-shadow: inset 3px 0 0 var(--brand);
}
.csn-count { font-size: 12px; font-weight: 400; color: #9db8c6; }
.csn-link.active .csn-count { color: var(--brand); }

/* 右栏：对应分类的产品（名称 + 小图） */
.cat-split-main { min-width: 0; }
.csp-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid #e3eef5; padding-bottom: 16px;
}
.csp-head h2 {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--text-dark);
}
.csp-all {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap;
}
.csp-all em { font-style: normal; display: inline-block; transition: transform 0.2s ease; }
.csp-all:hover em { transform: translateX(4px); }
.csp-desc { margin-top: 18px; font-size: 15px; line-height: 1.7; color: #5a7a90; max-width: 62ch; }
.csp-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 18px; }
.csp-item {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 10px;
  border: 1px solid #e3eef5; background: #fff; text-decoration: none; color: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.csp-item:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(31,95,116,0.10); transform: translateY(-2px); }
/* 缩略图用 padding-bottom 锁定 4:3 比例（比 aspect-ratio 稳定，不受图片原始高宽影响） */
.csp-thumb { position: relative; display: block; height: 0; padding-bottom: 75%; background: #fff; overflow: hidden; }
.csp-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.csp-name {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-top: 1px solid #e3eef5;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-dark);
}
.csp-arrow {
  color: var(--brand); opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease; font-weight: 400;
}
.csp-item:hover .csp-arrow { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .cat-split-layout { grid-template-columns: 232px 1fr; gap: 36px; }
  .csp-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
}
@media (max-width: 860px) {
  /* 手机/平板：保留左右两栏 —— 左栏收窄成竖排分类栏，右栏按可用宽度排产品 */
  .cat-split-layout { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; }
  .cat-split-nav { position: static; }
  .csn-group + .csn-group { margin-top: 18px; }
  .csn-title {
    font-size: 10px; letter-spacing: 0.1em; padding-bottom: 8px; font-weight: 600;
  }
  .csn-list { flex-direction: column; overflow: visible; }
  .csn-link {
    width: 100%; border: 0; border-bottom: 1px solid #eef5f9; border-radius: 0;
    padding: 10px 6px 10px 8px; font-size: 13px; line-height: 1.35;
    background: none; white-space: normal; word-break: break-word;
  }
  .csn-link.active { background: #f0f6fa; box-shadow: inset 2px 0 0 var(--brand); }
  .csn-count { display: none; }
  .csp-head { display: block; padding-bottom: 10px; }
  .csp-head h2 { font-size: 20px; }
  .csp-all { display: inline-block; margin-top: 6px; font-size: 10px; letter-spacing: 0.12em; }
  .csp-desc { margin-top: 10px; font-size: 12.5px; line-height: 1.6; }
  .csp-grid { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .csp-name { padding: 7px 8px; font-size: 12px; letter-spacing: 0; line-height: 1.3; }
  .csp-arrow { display: none; }
}
@media (max-width: 560px) {
  .cat-split-layout { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .csp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .csp-head h2 { font-size: 18px; }
  .csn-link { font-size: 12.5px; padding: 9px 5px 9px 7px; }
}
@media (max-width: 420px) {
  .cat-split-layout { grid-template-columns: 94px minmax(0, 1fr); gap: 10px; }
  .csn-title { font-size: 9.5px; letter-spacing: 0.08em; }
  .csn-link { font-size: 12px; padding: 8px 4px 8px 6px; }
  .csp-head h2 { font-size: 17px; }
  .csp-grid { gap: 8px; }
  .csp-name { padding: 6px 7px; font-size: 11.5px; }
}

/* ---------- 顶栏：语言切换按钮禁止折行（窄屏 360 会挤成两行） ---------- */
.lang-switch { flex: 0 0 auto; }
.lang-switch button { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 860px) {
  .nav .wrap { padding: 0 18px; }
  .nav-right { margin-left: auto; gap: 10px; }
  .nav-search { width: 36px; height: 36px; }
  .nav-burger { padding: 6px; }
  .lang-switch button { font-size: 13px; padding: 7px 11px; letter-spacing: 0; }
}
@media (max-width: 400px) {
  .nav .wrap { padding: 0 14px; }
  .brand img.logo { height: 70px; }
  .lang-switch button { font-size: 12px; padding: 6px 9px; }
}

/* ---------- 汉堡按钮：命中区域放大到 44×44（原来只有 36×36，手机难点） ---------- */
@media (max-width: 1080px) {
  .nav-burger {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; margin-left: 6px; flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger span { margin: 3px 0; }
}

/* ---------- Education / article pages ---------- */
.edu-head { padding-bottom: 54px; }
.edu-head h1 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.12; text-transform: none; letter-spacing: -0.015em; max-width: 24ch; }
.pagehead.edu-head p.edu-standfirst { margin-top: 22px; max-width: 62ch; color: #456274; font-size: 19px; line-height: 1.55; }
.edu-meta { margin-top: 18px; font-size: 12.5px; letter-spacing: 0.06em; color: #7d97a8; }
.edu-main { padding: 54px 0 96px; }
.edu-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 64px; align-items: start; }
.edu-toc { position: sticky; top: calc(var(--nav-h) + 20px); }
.edu-toc h5 { margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #8aa6b5; }
.edu-toc a { display: block; padding: 8px 0 8px 13px; border-left: 2px solid #e3eef5; font-size: 13.5px; line-height: 1.45; color: #5a7a90; transition: color 0.18s ease, border-color 0.18s ease; }
.edu-toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.edu-toc a.active { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.edu-article section[id] { padding: 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.edu-article a { overflow-wrap: anywhere; word-break: break-word; }
.edu-article { max-width: 82ch; min-width: 0; color: #24414f; font-size: 17px; line-height: 1.78; }
.edu-article h2 { margin: 56px 0 18px; padding-top: 20px; border-top: 1px solid #e3eef5; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -0.01em; color: var(--text-dark); }
.edu-article section:first-child h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.edu-article h3 { margin: 30px 0 12px; font-size: 18.5px; letter-spacing: 0.01em; color: var(--brand-deep); }
.edu-article p { margin: 0 0 16px; }
.edu-article a { color: var(--brand); border-bottom: 1px solid rgba(31,95,116,0.28); }
.edu-article a:hover { border-bottom-color: var(--brand); }
.edu-article sup a { border-bottom: 0; font-size: 11px; }
.edu-article dl { margin: 22px 0 26px; }
.edu-article dt { margin-top: 16px; font-weight: 700; color: var(--text-dark); }
.edu-article dd { margin: 4px 0 0; color: #3d5a68; }
.edu-article .keybox { margin: 24px 0; padding: 18px 22px; background: #f4f9fc; border: 1px solid #dbe8f0; border-left: 4px solid var(--brand); border-radius: 8px; font-size: 14.5px; line-height: 1.7; }
.edu-article .keybox p:last-child { margin-bottom: 0; }
.edu-article .formula { margin: 16px 0 20px; padding: 14px 16px; background: #f4f9fc; border-radius: 8px; font-family: Cambria, Georgia, serif; font-size: 18px; color: var(--brand-deep); text-align: center; }
.edu-article figure { margin: 30px 0 34px; }
.edu-article .diagram-scroll { overflow-x: auto; border: 1px solid #e3eef5; border-radius: 12px; background: #f6fafc; }
.edu-article .signal-flow { display: block; width: 100%; min-width: 760px; height: auto; }
.edu-article figcaption { margin-top: 12px; font-size: 13px; line-height: 1.65; color: #5a7a90; }
.edu-article figcaption strong { color: var(--text-dark); }
.edu-article .table-wrap { overflow-x: auto; margin: 22px 0 10px; border: 1px solid #e3eef5; border-radius: 10px; }
.edu-article table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; font-size: 12.5px; line-height: 1.5; }
.edu-article caption { caption-side: top; padding: 12px 14px; border-bottom: 1px solid #e3eef5; background: #f4f9fc; font-size: 12.5px; color: #5a7a90; text-align: left; }
.edu-article .edu-table-cap { margin: 26px 0 -6px; padding: 12px 14px; border: 1px solid #e3eef5; border-bottom: 0; border-radius: 10px 10px 0 0; background: #f4f9fc; font-size: 12.5px; line-height: 1.55; color: #5a7a90; }
.edu-article .edu-table-cap strong { color: var(--text-dark); }
.edu-article .edu-table-cap + .table-wrap { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.edu-article th, .edu-article td { padding: 10px 11px; border-bottom: 1px solid #eef3f7; text-align: left; vertical-align: top; }
.edu-article th { background: #eef6fb; color: var(--text-dark); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.edu-article tbody tr:hover td { background: #fafdff; }
.edu-article tbody tr:last-child td { border-bottom: 0; }
.edu-article .tag { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.edu-article .tag.good { background: #e8f5ee; color: #246346; }
.edu-article .tag.warn { background: #fdf3dd; color: #8a5a12; }
.edu-article .tag.bad { background: #fbeae6; color: #9d3021; }
.edu-article .note { margin: 8px 0 26px; padding-left: 12px; border-left: 2px solid #e3eef5; font-size: 12.5px; line-height: 1.6; color: #6a8797; }
.edu-article .design-rules { margin: 22px 0; padding: 20px 26px 6px; background: #f4f9fc; border: 1px solid #dbe8f0; border-radius: 10px; }
.edu-article .design-rules ul { padding-left: 20px; }
.edu-article .design-rules li { margin-bottom: 10px; }
.edu-article blockquote.citation { margin: 24px 0; padding: 16px 22px; background: #f4f9fc; border-left: 4px solid var(--brand); border-radius: 8px; font-size: 15px; }
.edu-article blockquote.citation p { margin: 0; }
.edu-article .refs { font-size: 13.5px; line-height: 1.65; }
.edu-article .refs ul { margin: 0; padding-left: 0; list-style: none; }
.edu-article .refs li { margin-bottom: 11px; padding-left: 2.5em; text-indent: 0; color: #3d5a68; }
.edu-article .refs li strong { float: left; width: 2.5em; margin-left: -2.5em; color: var(--brand); }
.edu-article .small { font-size: 13px; color: #6a8797; }
.edu-article .conclusion { margin: 22px 0; padding: 20px 26px 8px; background: #f4f9fc; border: 1px solid #dbe8f0; border-radius: 10px; }
.edu-article .conclusion ol { margin: 10px 0 0 20px; }
.edu-article .conclusion li { margin-bottom: 9px; }
@media (max-width: 1000px) {
  .edu-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .edu-toc { display: none; }
  .edu-article { font-size: 16.5px; }
  .edu-main { padding: 36px 0 70px; }
  .edu-head h1 { font-size: clamp(26px, 7vw, 38px); }
}
@media (max-width: 760px) {
  .edu-head { padding: 44px 0 46px; }
  .edu-head .eyebrow { font-size: 10.5px; letter-spacing: 0.18em; }
  .edu-head p.edu-standfirst { font-size: 17px; margin-top: 16px; }
  .edu-meta { font-size: 12px; }
  .edu-article h2 { margin-top: 44px; }
  .edu-article figure::before {
    content: "Swipe to see the full diagram \2192";
    display: block;
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9fbccb;
  }
  .edu-article .edu-table-cap { margin-top: 22px; }
  .edu-article { line-height: 1.7; }
  .edu-article .design-rules { padding: 16px 18px 6px; }
  .edu-article .design-rules li { margin-bottom: 8px; }
  .edu-article .conclusion { padding: 16px 18px 4px; }
}

/* ---------- Education index (card list) ---------- */
.edu-list { padding: 46px 0 96px; }
.edu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; max-width: 940px; }
.edu-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 24px;
  background: #fff;
  border: 1px solid #e3eef5;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.edu-card:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(31, 95, 116, 0.1); }
.edu-card .cat { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); }
.edu-card h3 {
  margin-top: 11px;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-dark);
}
.edu-card .desc { margin-top: 13px; font-size: 14px; line-height: 1.68; color: #5a7a90; }
.edu-card .edu-card-meta { margin-top: 14px; font-size: 12px; letter-spacing: 0.03em; color: #7d97a8; }
.edu-card-topics {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #eef3f7;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.edu-topics-lbl { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #8aa6b5; }
.edu-topics-val { font-size: 12.5px; line-height: 1.5; color: #2c3e50; }
.edu-card .go {
  margin-top: auto;
  padding-top: 20px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.edu-card .go::after { content: " \2192"; display: inline-block; transition: transform 0.25s ease; }
.edu-card:hover .go::after { transform: translateX(4px); }

@media (max-width: 1080px) {
  .edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .edu-grid { max-width: none; }
}
@media (max-width: 720px) {
  .edu-grid { grid-template-columns: minmax(0, 1fr); }
  .edu-list { padding: 30px 0 64px; }
  .edu-card { padding: 22px 20px 18px; }
  .edu-card h3 { font-size: 17.5px; }
}

/* education detail breadcrumb: on phones the full paper title would wrap onto
   a second line, so keep the short trail Home / Education only */
@media (max-width: 700px) {
  .pd-crumb:has(.sep-last) .sep-last,
  .pd-crumb:has(.sep-last) .cur { display: none; }
  .pd-crumb:has(.pd-back) .wrap { padding-right: 20px; }
}

/* phones: keep back button + breadcrumb on a single line (legacy product/system
   trails used to drop the last crumb onto an unindented second line) */
@media (max-width: 700px) {
  .pd-crumb { font-size: 11.5px; }
  .pd-crumb .sep { margin: 0 6px; }
  .pd-back { margin-right: 10px; padding: 7px 12px 7px 10px; letter-spacing: 0.06em; }
  .pd-crumb:has(.pd-back) .wrap { padding-right: 14px; }
}

/* 页脚联系方式二维码 */
.foot-qr { margin: 0 0 14px; }
.foot-qr img {
  display: block;
  width: 100%;
  max-width: 112px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}
.foot-qr-cap {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

/* 页脚二维码：手机端收小，避免压过文字 */
@media (max-width: 640px) {
  .foot-qr img { max-width: 84px; padding: 4px; }
  .foot-qr-cap { font-size: 11px; }
}

/* ===== HANGING DRAWING THUMBS + LIGHTBOX ===== */
.pd-doc { display: block; line-height: 0; border-radius: 6px; }
.pd-thumbs img.pd-th-doc { border: 2px solid #e2ebf2; }
.pd-thumbs img.pd-th-doc:hover { border-color: #bcd6e6; }
.pd-doc:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.pd-lb { position: fixed; inset: 0; z-index: 990; display: none; overflow: auto; background: rgba(10, 28, 38, .86); padding: 24px 20px 48px; text-align: center; }
.pd-lb.open { display: block; }
.pd-lb img { display: inline-block; width: auto; max-width: min(1000px, 94vw); height: auto; background: #fff; border-radius: 4px; box-shadow: 0 18px 60px rgba(0, 0, 0, .38); margin: 28px auto 0; }
.pd-lb-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pd-lb-close:hover { background: rgba(255, 255, 255, .26); }
body.pd-lb-locked { overflow: hidden; }
@media (max-width: 640px) {
  .pd-lb { padding: 20px 12px 32px; }
  .pd-lb img { max-width: 95vw; margin-top: 46px; }
  .pd-lb-close { top: 10px; right: 12px; width: 40px; height: 40px; }
}

/* back 按钮左沿与顶栏 Logo 左沿对齐（顶栏 .nav .wrap 内边距为 24 / 18 / 14） */
.pd-crumb:has(.pd-back) .wrap { padding-left: 24px; }
@media (max-width: 860px) {
  .pd-crumb:has(.pd-back) .wrap { padding-left: 18px; }
}
@media (max-width: 400px) {
  .pd-crumb:has(.pd-back) .wrap { padding-left: 14px; }
}

/* downloads: category without any document */
.dl-empty {
  padding: 14px 4px 16px;
  border-bottom: 1px solid #edf3f8;
  color: #8aa6b5;
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .dl-empty { padding: 12px 0 14px; font-size: 14px; }
}
