/* ==========================================================================
   DINGNA Official Site — Light Industrial Theme
   Palette: 橙系燃烧器品牌色（浅色工业风）
   ========================================================================== */

:root {
  --bg: #f5f6f8;
  --bg-panel: #ffffff;
  --bg-panel-2: #fafbfc;
  --bg-deep: #1d2126;
  --line: #e9541326;
  --line-soft: #e2e5e8;
  --accent: #e95413;
  --accent-dark: #b73c09;
  --accent-tint: #fff1e8;
  --accent-soft: #f6a272;
  --blue: #1d5e9e;
  --blue-tint: #eaf2fb;
  --green: #2b715c;
  --green-tint: #edf7f2;
  --teal: #0e7f8c;
  --teal-tint: #e8f5f7;
  --purple: #8b2f68;
  --purple-tint: #f7ecf3;
  --gold: #e95413;             /* legacy alias */
  --gold-light: #e95413;       /* legacy alias */
  --gold-deep: #b73c09;        /* legacy alias */
  --flame: #e95413;
  --text: #25292e;
  --text-soft: #5c636b;
  --text-muted: #82878e;
  --radius: 8px;
  --maxw: 1240px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------- Typography ------------------------------ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 23px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: Consolas, "SFMono-Regular", monospace;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 760px;
}

.gold { color: var(--accent-dark); }

/* --------------------------------- Nav ---------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(20, 24, 30, 0.07);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(233, 84, 19, 0.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-logo { display: block; height: 21px; width: auto; }
.brand-text strong {
  font-size: 20px; letter-spacing: 0.1em; font-weight: 800;
  color: var(--accent);
}
.brand-text span { font-size: 10.5px; letter-spacing: 0.2em; color: var(--text-muted); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* --- Products dropdown --- */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-drop .chev {
  font-size: 10px;
  line-height: 1;
  transform: translateY(1px);
  transition: transform 0.25s var(--ease);
  color: currentColor;
}
.nav-drop:hover .chev { transform: translateY(1px) rotate(180deg); }
.drop-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 10px);
  min-width: 224px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(20, 24, 30, 0.13);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 120;
}
/* invisible bridge so the menu stays open while moving the cursor across the gap */
.nav-drop::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 16px; }
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 2px);
}
.drop-menu a {
  display: block;
  padding: 9px 14px;
  width: auto;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.drop-menu a::after { display: none; }
.drop-menu a:hover { background: var(--accent-tint); color: var(--accent-dark); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* --------------------------- Language menu --------------------------- */
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-tint); }
.lang-globe { width: 15px; height: 15px; flex: none; }
.lang-chev { font-size: 9px; opacity: 0.55; transition: transform 0.25s var(--ease); }
.lang-switch.open .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 80;
  min-width: 212px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(20, 24, 30, 0.16);
  display: none;
  max-height: 72vh;
  overflow-y: auto;
}
.lang-switch.open .lang-menu { display: block; animation: langIn 0.18s var(--ease); }
@keyframes langIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.lang-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 8px 10px;
  border: 0; border-radius: 7px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  text-align: start;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-item:hover { background: var(--accent-tint); color: var(--accent-dark); }
.lang-item.on { background: var(--accent); color: #fff; }
.li-native { white-space: nowrap; }
.li-code {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10.5px; letter-spacing: 0.1em;
  opacity: 0.5;
}
.lang-item.on .li-code { opacity: 0.85; }

@media (max-width: 900px) {
  .lang-menu { max-height: 60vh; }
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* --------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  font-size: 14.5px; letter-spacing: 0.04em;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  background: transparent;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: inherit;
}
.btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-solid {
  background: var(--accent);
  color: #fff; font-weight: 600;
  box-shadow: 0 8px 22px rgba(233, 84, 19, 0.26);
}
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 90px;
  overflow: hidden;
  background: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(880px 560px at 82% 12%, rgba(233, 84, 19, 0.09), transparent 62%),
    radial-gradient(640px 460px at 6% 90%, rgba(29, 94, 158, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 41, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 41, 46, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 76%);
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
}

.hero h1 { margin-bottom: 24px; max-width: 700px; font-size: clamp(17px, 2.5vw, 30px); }
.hero h1 .accent {
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }

/* hero right visual panel (workbench style) */
.hero-visual {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    radial-gradient(420px 300px at 68% 30%, rgba(233, 84, 19, 0.12), transparent 65%),
    radial-gradient(300px 220px at 18% 88%, rgba(29, 94, 158, 0.07), transparent 65%),
    linear-gradient(165deg, #ffffff, #f3f4f6);
  min-height: 400px;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 24, 30, 0.1);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(37,41,46,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-visual .corner-tag {
  position: absolute; top: 18px; right: 20px;
  font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hero-visual .bottom-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 3;              /* 始终压在图片之上，图片预留 padding 不会被遮挡 */
  display: flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 48px;      /* 保持橙色横条高度 */
  background: var(--accent);
  color: #fff;
  padding: 13px 20px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-align: center;
}

.burner-fig, .pc-visual .burner {
  position: relative; z-index: 2;
  width: 220px; height: 220px;
  display: grid; place-items: center;
}
.burner-fig .flame-core, .pc-visual .flame-core {
  width: 96px; height: 96px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 68%, #ffd9a8 0%, #f98b3d 40%, #d9480f 76%, transparent 82%);
  filter: blur(0.4px);
  animation: flicker 3.4s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 0.95; }
  35% { transform: scaleY(1.09) scaleX(0.96); opacity: 1; }
  70% { transform: scaleY(0.95) scaleX(1.03); opacity: 0.9; }
}
.burner-fig .ring, .pc-visual .ring {
  position: absolute;
  border: 1px solid rgba(233, 84, 19, 0.4);
  border-radius: 50%;
}
.burner-fig .ring.r1, .pc-visual .ring.r1 { width: 152px; height: 152px; }
.burner-fig .ring.r2, .pc-visual .ring.r2 { width: 212px; height: 212px; border-style: dashed; opacity: 0.5; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hero-stats > div {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 28px rgba(20, 24, 30, 0.05);
}
.hero-stats .num {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero-stats .num small { font-size: 0.45em; margin-left: 4px; color: var(--text-muted); font-weight: 600; }
.hero-stats .lbl { font-size: 13px; color: var(--text-soft); letter-spacing: 0.04em; margin-top: 4px; }

/* ------------------------------ Section base ----------------------------- */
.section { padding: 104px 0; position: relative; background: #fff; }
.section-alt { background: var(--bg); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.sec-head { margin-bottom: 52px; max-width: 820px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head.center .eyebrow { justify-content: center; }

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

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.045);
}
.card::after {
  content: "";
  position: absolute; left: 0; top: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(233, 84, 19, 0.35); box-shadow: 0 22px 48px rgba(20, 24, 30, 0.1); }
.card:hover::after { width: 100%; }

.card .idx {
  font-size: 12px; letter-spacing: 0.18em; color: var(--accent-dark);
  margin-bottom: 14px; display: inline-block;
  font-family: Consolas, monospace;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 15px; }

.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(233, 84, 19, 0.25);
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-radius: 10px;
}
.card-icon svg { width: 22px; height: 22px; }

/* ----------------------------- Feature list ------------------------------ */
.feat-list { margin-top: 18px; }
.feat-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 9px;
}
.feat-list li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ------------------------------ Product page ----------------------------- */
.prod-cat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.prod-cat.reverse .pc-media { order: 2; }
.prod-card {
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: 12px;
  padding: 38px;
  display: flex; flex-direction: column;
  justify-content: center;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 10px 30px rgba(20, 24, 30, 0.05);
}
.prod-card:hover { border-color: rgba(233, 84, 19, 0.35); box-shadow: 0 20px 44px rgba(20, 24, 30, 0.09); }
.prod-card .range {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-tint);
  border: 1px solid rgba(233, 84, 19, 0.25);
  color: var(--accent-dark);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding: 7px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.prod-card h3 { margin-bottom: 6px; }
.prod-card .en-name { font-size: 12px; letter-spacing: 0.16em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 16px; font-family: Consolas, monospace; }
.prod-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 18px; }
.series-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.series-tags span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  background: var(--accent-tint);
  border: 1px solid rgba(233, 84, 19, 0.2);
  color: var(--accent-dark);
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.series-tags span:nth-child(2n) { background: var(--teal-tint); border-color: rgba(14,127,140,0.25); color: var(--teal); }
.series-tags span:nth-child(3n) { background: var(--blue-tint); border-color: rgba(29,94,158,0.22); color: var(--blue); }
.spec-row {
  display: flex; gap: 26px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.spec-row div { font-size: 13px; color: var(--text-muted); }
.spec-row strong { display: block; font-size: 15px; color: var(--text); font-weight: 700; }

/* （旧的 .pc-visual 半栏样式已弃用，底部图片区统一由下方 .pc-media 通栏轮播接管） */

/* ------------------------------- Tech grid ------------------------------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.tech-item {
  background: #fff;
  padding: 32px 28px;
  transition: background 0.3s var(--ease);
}
.tech-item:hover { background: var(--accent-tint); }
.tech-item .t-no {
  font-family: Consolas, monospace;
  font-size: 11.5px; letter-spacing: 0.2em; color: var(--accent-dark); display: block; margin-bottom: 12px;
}
.tech-item h4 { font-size: 17px; margin-bottom: 10px; color: var(--text); }
.tech-item p { font-size: 14.5px; color: var(--text-soft); }

/* -------------------------------- Timeline ------------------------------- */
.timeline { position: relative; border-left: 2px solid rgba(233, 84, 19, 0.3); padding-left: 34px; }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -42px; top: 8px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(233, 84, 19, 0.14);
}
.tl-year { font-size: 13px; letter-spacing: 0.16em; color: var(--accent-dark); margin-bottom: 6px; font-family: Consolas, monospace; }
.tl-item h4 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { color: var(--text-soft); font-size: 15px; max-width: 720px; }

/* --------------------------------- Values -------------------------------- */
.value-item {
  border-left: 2px solid rgba(233, 84, 19, 0.3);
  padding: 6px 0 6px 24px;
}
.value-item h4 { margin-bottom: 8px; color: var(--accent-dark); letter-spacing: 0.03em; }
.value-item p { color: var(--text-soft); font-size: 15px; }

/* ------------------------------- CTA band -------------------------------- */
.cta-band {
  position: relative;
  padding: 84px 0;
  background:
    radial-gradient(720px 420px at 50% 0%, rgba(255, 255, 255, 0.14), transparent 65%),
    linear-gradient(120deg, #d9480f, #e95413 55%, #f2703a);
  border-top: 1px solid var(--accent-dark);
  text-align: center;
  color: #fff;
}
.cta-band h2 { margin-bottom: 16px; color: #fff; }
.cta-band .lead { margin: 0 auto 34px; color: rgba(255, 255, 255, 0.92); }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #fff;
}
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--accent-dark); }
.cta-band .btn-solid { background: #fff; color: var(--accent-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.cta-band .btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* -------------------------------- Contact -------------------------------- */
/* Two-row grid so the enquiry form lines up with the info cards on the left:
   row 1 is the section heading (col 1 only), row 2 holds the cards + the form.
   The form therefore starts at the first card's top edge and, since it
   stretches to the row height, ends at the last card's bottom edge. */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 46px;
  row-gap: 0;
}
.ct-col { display: contents; }
#contact-details .sec-head { grid-column: 1; grid-row: 1; }
.ct-cards { grid-column: 1; grid-row: 2; }
.ct-cards .info-card:last-child { margin-bottom: 0; }
.contact-wrap .form-box { grid-column: 2; grid-row: 2; align-self: stretch; display: flex; flex-direction: column; }
/* The form is shorter than the card stack, so spread the slack over the field
   gaps and keep the trailing note on the bottom edge of the box. */
.contact-wrap .form-box form { display: flex; flex-direction: column; flex: 1; justify-content: space-between; }

.info-card {
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: 10px;
  padding: 28px 26px;
  display: flex; gap: 18px;
  margin-bottom: 20px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 22px rgba(20, 24, 30, 0.04);
}
.info-card:hover { border-color: rgba(233, 84, 19, 0.35); box-shadow: 0 16px 36px rgba(20, 24, 30, 0.08); }
.info-card .ico {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(233, 84, 19, 0.25);
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-radius: 9px;
}
.info-card .ico svg { width: 18px; height: 18px; }
.info-card .lab { font-size: 11.5px; letter-spacing: 0.16em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; font-family: Consolas, monospace; }
.info-card .val { font-size: 16px; color: var(--text); font-weight: 600; }
.info-card .val a:hover { color: var(--accent-dark); }
.info-card .sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.form-box {
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: 12px;
  padding: 38px 34px;
  box-shadow: 0 10px 30px rgba(20, 24, 30, 0.05);
}
.form-box h3 { margin-bottom: 8px; }
.form-box .fh { font-size: 14.5px; color: var(--text-muted); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent-dark); margin-bottom: 8px; text-transform: uppercase;
  font-weight: 600;
  font-family: Consolas, monospace;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #fbfcfd;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--text);
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 84, 19, 0.12);
}
.field textarea { min-height: 128px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 16px; line-height: 1.7; }
.form-msg {
  display: none; margin-top: 18px; padding: 12px 16px;
  border: 1px solid rgba(233, 84, 19, 0.3); background: var(--accent-tint);
  color: var(--accent-dark); font-size: 14px; border-radius: 6px;
}
.form-msg.show { display: block; }

/* ---------------------------- Emission table ---------------------------- */
.emis-table { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.emis-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
}
.emis-row > div { background: #fff; padding: 16px 22px; font-size: 15px; }
.emis-head > div {
  background: var(--bg-deep);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: Consolas, monospace;
}
.emis-row:not(.emis-head):hover > div { background: var(--accent-tint); }
@media (max-width: 560px) {
  .emis-row { grid-template-columns: 1fr; }
}

/* ------------------------------ QR codes -------------------------------- */
.info-card-qr { align-items: flex-start; }
.qr-body { flex: 1; min-width: 0; }
.qr-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 20px; }
.qr-item { margin: 0; text-align: center; }
.qr-item img {
  width: 156px; height: 156px;
  display: block;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(20, 24, 30, 0.06);
}
.qr-item figcaption {
  margin-top: 10px;
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.map-box {
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  min-height: 220px;
  background:
    linear-gradient(90deg, rgba(37,41,46,0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(37,41,46,0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(400px 260px at 40% 40%, rgba(233, 84, 19, 0.1), transparent 70%),
    #fff;
  display: grid; place-items: center;
  text-align: center;
  padding: 30px;
}
.map-box .pin { width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); border-radius: 3px; margin: 0 auto 14px; }
.map-box p { color: var(--text-soft); font-size: 14px; }

.map-link {
  display: grid; place-items: center;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.map-link:hover {
  border-color: rgba(233, 84, 19, 0.45);
  box-shadow: 0 14px 32px rgba(20, 24, 30, 0.08);
  transform: translateY(-2px);
}
.map-link .map-addr {
  color: var(--text); font-size: 14.5px; font-weight: 600;
  max-width: 380px; margin: 0 auto 14px; line-height: 1.6;
}
.map-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--accent-dark);
}
.map-cta .arw { transition: transform 0.3s var(--ease); }
.map-link:hover .map-cta .arw { transform: translateX(5px); }
.map-alt { margin-top: 12px; font-size: 12.5px; text-align: center; }
.map-alt a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.map-alt a:hover { color: var(--accent-dark); border-color: var(--accent); }

/* --------------------------------- Footer -------------------------------- */
.footer {
  background: var(--bg-deep);
  color: #b9bec5;
  padding: 64px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 46px; }
.footer h5 { font-size: 13px; letter-spacing: 0.18em; color: #fff; margin-bottom: 18px; text-transform: uppercase; font-weight: 700; }
.footer-brand { display: flex; align-items: center; min-height: 18px; }
.footer-logo { display: block; height: 17px; width: auto; }
.footer p, .footer li { font-size: 14.5px; color: #9aa0a8; }
.footer li { margin-bottom: 10px; }
.footer-addr a { display: inline-block; line-height: 1.62; text-align: start; }
.footer li a:hover, .footer p a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #82878e;
}

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

/* -------------------------------- Page head ------------------------------ */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 68px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(720px 400px at 78% 8%, rgba(233, 84, 19, 0.09), transparent 62%),
    linear-gradient(180deg, #ffffff, #f6f7f9);
}
.page-head h1 { margin-bottom: 16px; }
.crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; letter-spacing: 0.04em; font-family: Consolas, monospace; }
.crumb a:hover { color: var(--accent-dark); }

/* ------------------------------- Responsive ----------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 320px; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.99);
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 32px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  /* Products dropdown: expand inline in the mobile menu */
  .nav-drop { width: 100%; }
  .nav-drop::after { display: none; }
  .nav-drop > a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 6px 14px;
  }
  .drop-menu a { padding: 10px 0; white-space: normal; border-bottom: 1px solid var(--line-soft); }
  .drop-menu a:hover { background: transparent; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .prod-cat { grid-template-columns: 1fr; }
  .prod-cat.reverse .pc-media { order: 0; }
  .pc-media { min-height: 300px; }
  /* single column: drop the two-row alignment, let the columns stack */
  .contact-wrap { grid-template-columns: 1fr; row-gap: 46px; }
  .ct-col { display: block; }
  #contact-details .sec-head,
  .ct-cards,
  .contact-wrap .form-box { grid-column: auto; grid-row: auto; }
  .ct-cards .info-card:last-child { margin-bottom: 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .container, .nav-inner { padding: 0 22px; }
  .section { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .form-box, .prod-card { padding: 26px 20px; }
}

/* ==========================================================================
   Catalog product cards（产品目录卡片，参考目录排版）
   ========================================================================== */
.card.pv { padding: 0; display: flex; flex-direction: column; }
.pv-visual {
  position: relative;
  height: 168px;
  display: grid; place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(240px 150px at 62% 40%, rgba(233, 84, 19, 0.13), transparent 68%),
    linear-gradient(165deg, #ffffff, #f2f3f5);
}
.pv-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(37,41,46,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pv-series {
  position: absolute; top: 12px; left: 14px;
  font-family: Consolas, monospace;
  font-size: 11px; letter-spacing: 0.14em;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  text-transform: uppercase;
  z-index: 2;
}
.pv-series.t-teal { background: var(--teal-tint); color: var(--teal); }
.pv-series.t-blue { background: var(--blue-tint); color: var(--blue); }
.pv-series.t-green { background: var(--green-tint); color: var(--green); }
.pv-series.t-purple { background: var(--purple-tint); color: var(--purple); }
.pv-flame {
  position: relative; z-index: 2;
  width: 66px; height: 66px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 68%, #ffd9a8 0%, #f98b3d 40%, #d9480f 76%, transparent 82%);
  animation: flicker 3.4s ease-in-out infinite;
}
.pv-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pv-body .idx { margin-bottom: 10px; font-weight: 700; }
.pv-body h3 { margin-bottom: 8px; }
.pv-body p { margin-bottom: 16px; }
.pv-more {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 6px;
}
.card.pv:hover .pv-more { color: var(--accent); }
.card.pv:hover .pv-flame { animation-duration: 1.8s; }

/* 首页四大产品系列：四张卡片同一排展示 */
.families { gap: 20px; }
.families .pv-body { padding: 20px 20px 22px; }
.families .pv-body p { font-size: 14px; }
.families .pv-series { font-size: 10px; letter-spacing: 0.1em; padding: 3px 8px; }


/* ---------------- Product photos (transparent) ----------------
   注意：Chrome 对 grid/abs 容器内的 img，百分比 max-height 常不按容器高解析，
   导致竖版图溢出被裁。这里统一改为绝对定位铺满 + object-fit: contain，
   用 padding 留出角标/箭头/指示点的空间，确保图片完整显示。 */
.pv-visual img, .hero-visual img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(20, 24, 30, 0.14));
}
.pv-visual img { padding: 18px 7%; }
/* hero photo: landscape transparent PNG — occupy ~60% of the panel area
   (9% side / 6px top padding) and sit fully above the orange caption bar */
.hero-visual img { padding: 6px 9% 74px; }

/* ------------------- Series media band (full width) --------------- */
.pc-media {
  grid-column: 1 / -1;              /* 底部通栏，合并左下+右下 */
  position: relative;
  min-height: 420px;
  margin-top: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(680px 340px at 72% 26%, rgba(233, 84, 19, 0.12), transparent 66%),
    radial-gradient(520px 320px at 16% 88%, rgba(29, 94, 158, 0.07), transparent 66%),
    linear-gradient(160deg, #ffffff, #f2f3f5);
  box-shadow: 0 14px 36px rgba(20, 24, 30, 0.06);
}
.pc-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(37, 41, 46, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pc-media .tag {
  position: absolute; top: 16px; left: 20px;
  z-index: 4;
  font-family: Consolas, monospace;
  font-size: 11.5px; letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.pc-track { position: absolute; inset: 0; }
.pc-slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 54px 84px;
  opacity: 0; visibility: hidden;
  transform: scale(0.985);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.pc-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 26px 84px 52px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(20, 24, 30, 0.16));
}
.pc-slide.on { opacity: 1; visibility: visible; transform: none; }

/* 控件：箭头 / 指示点 / 说明 */
.pc-arrow {
  position: absolute; top: 50%; z-index: 5;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 24px; line-height: 1;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.pc-prev { left: 16px; }
.pc-next { right: 16px; }
.pc-media:hover .pc-arrow,
.pc-media:focus-within .pc-arrow { opacity: 1; }
.pc-arrow:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.pc-dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  z-index: 5;
  display: flex; justify-content: center; gap: 8px;
}
.pc-dot {
  width: 9px; height: 9px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(37, 41, 46, 0.18);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.pc-dot:hover { background: var(--accent-soft); }
.pc-dot.on { background: var(--accent); width: 26px; border-radius: 5px; }
.pc-caption {
  position: absolute; bottom: 18px; left: 20px;
  z-index: 5;
  display: flex; align-items: baseline; gap: 10px;
  font-family: Consolas, monospace;
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--text-muted);
  pointer-events: none;
}
.pc-cap-model { color: var(--text); font-weight: 600; letter-spacing: 0.14em; }

/* 只有单张图时不显示控件占位 */
.pc-media[data-single="true"] .pc-arrow,
.pc-media[data-single="true"] .pc-dots { display: none; }

@media (max-width: 900px) {
  .pc-media { min-height: 300px; }
  .pc-slide { padding: 44px 60px; }
  .pc-slide img { padding: 22px 56px 44px; }
  .pv-visual img { padding: 12px 6%; }
  .pc-arrow { opacity: 1; width: 36px; height: 36px; }
  .pc-arrow:hover { transform: translateY(-50%); }
}
@media (max-width: 560px) {
  .pc-media { min-height: 240px; }
  .pc-slide { padding: 36px 44px; }
  .pc-slide img { padding: 18px 44px 40px; }
  .pc-caption { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-slide { transition-duration: .01ms; transform: none; }
  /* 关闭滚动淡入，内容直接呈现 */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ------------------------- Case photos ----------------------------- */
.case-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;          /* 统一画框比例，图片按 contain 完整显示，不裁切 */
  object-fit: contain;
  background: #eef0f3;
  border-radius: 10px;
  margin: 4px 0 18px;
  border: 1px solid var(--line-soft);
}

/* --------------------- Technical spec table ------------------------ */
.spec-table-wrap {
  margin-top: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow-x: auto;
  background: var(--bg-panel-2);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 520px;
}
.spec-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #fff;
  padding: 11px 16px;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}
.spec-table td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  white-space: nowrap;
}
.spec-table td.m {
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
  white-space: normal;
  line-height: 1.45;
  min-width: 132px;
}
.spec-table tbody tr:nth-child(even) { background: #fff; }
.spec-table tbody tr:hover { background: var(--accent-tint); }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td:last-child, .spec-table th:last-child { white-space: normal; }
.spec-table-wrap.scroll { max-height: 560px; overflow-y: auto; padding-right: 6px; }
.spec-table-wrap.scroll::-webkit-scrollbar { width: 6px; }
.spec-table-wrap.scroll::-webkit-scrollbar-track { background: transparent; }
.spec-table-wrap.scroll::-webkit-scrollbar-thumb { background: #d4d8de; border-radius: 3px; }
.spec-table-wrap.scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.spec-table-wrap.scroll::after { content: ""; position: sticky; bottom: 0; display: block; }

/* ==========================================================================
   About 页：产品图区块
   ========================================================================== */
.about-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: -14px;      /* 位置往右移一点点 */
}
.about-visual img {
  width: 100%;
  max-width: 470px;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .about-visual { justify-content: center; margin-right: 0; }
  .about-visual img { max-width: 100%; }
}

/* ==========================================================================
   News 页：行业新闻列表 + 分页
   ========================================================================== */
.news-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 56px;
  align-items: start;
}
.news-main, .news-side { min-width: 0; }
.news-title, .news-excerpt, .news-body p { overflow-wrap: break-word; }

.news-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.news-count {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-family: Consolas, monospace;
}
.news-sort { font-size: 12.5px; color: var(--text-muted); }

.news-list { list-style: none; margin: 0; padding: 0; }

.news-item {
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--line-soft);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}
.news-date { color: var(--text-muted); }
.news-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  text-transform: uppercase;
}
.news-title {
  font-size: 21px;
  line-height: 1.38;
  margin-bottom: 10px;
  max-width: 760px;
  transition: color 0.25s var(--ease);
}
.news-item:hover .news-title { color: var(--accent-dark); }
.news-excerpt {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
  max-width: 760px;
}

.news-body { display: none; }
.news-item.open .news-body {
  display: block;
  margin-top: 18px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  max-width: 740px;
  animation: newsFade 0.45s var(--ease);
}
.news-body p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.88;
  margin-bottom: 14px;
}
.news-body p:last-child { margin-bottom: 0; }
@keyframes newsFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.news-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-dark);
}
.news-toggle .arw { transition: transform 0.3s var(--ease); }
.news-toggle:hover .arw { transform: translateX(5px); }
.news-item.open .news-toggle .arw { transform: rotate(90deg); }

.news-empty {
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
}

/* ------------------------------- 分页 ------------------------------- */
.news-pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.news-pager:empty { display: none; }
.pg-nums { display: flex; gap: 8px; }
.pg, .pg-nav {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.pg:hover, .pg-nav:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-tint);
}
.pg.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pg-nav:disabled { opacity: 0.38; cursor: not-allowed; }
.pg-nav .arw { transition: transform 0.3s var(--ease); }
.pg-nav:hover:not(:disabled) .arw { transform: translateX(4px); }
.pg-info {
  margin-left: auto;
  font-family: Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ------------------------------- 侧栏 ------------------------------- */
.news-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.side-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-panel-2);
  padding: 24px 22px;
}
.side-card h5 {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: Consolas, monospace;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.topic-list { display: grid; gap: 2px; max-width: 100%; }
.topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-soft);
  text-align: left;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.topic em {
  font-style: normal;
  font-family: Consolas, monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}
.topic:hover { background: #fff; color: var(--accent-dark); }
.topic.on { background: var(--accent); color: #fff; }
.topic.on em { color: rgba(255, 255, 255, 0.8); }

.side-cta p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.side-cta .btn { width: 100%; justify-content: space-between; }

/* ------------------------------- 响应式 ------------------------------- */
@media (max-width: 1080px) {
  .news-wrap { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
}
@media (max-width: 900px) {
  .news-wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .news-main, .news-side { min-width: 0; }
  .news-side { position: static; }
  .topic-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .topic { border: 1px solid var(--line-soft); background: #fff; white-space: nowrap; }
  .topic.on { border-color: var(--accent); }
  .news-title { font-size: 18.5px; }
  .pg-info { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .news-pager { gap: 8px; }
  .pg, .pg-nav { min-width: 38px; height: 38px; padding: 0 11px; font-size: 12.5px; }
  .pg-nav { padding: 0 12px; }
  .news-item { padding: 24px 0 22px; }
}

/* QR 卡片在窄屏改为上下排列，避免二维码被挤 */
@media (max-width: 560px) {
  .info-card-qr { flex-direction: column; }
  .qr-pair { gap: 16px; margin-top: 16px; }
  .qr-item img { width: 108px; height: 108px; padding: 5px; }
  .map-link .map-addr { font-size: 13.5px; }
}

/* ==========================================================================
   RTL（阿拉伯语）与语言字体栈
   ========================================================================== */
html[lang="ar"] body,
html[lang="ar"] .lang-item,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", Arial, sans-serif;
}
html[lang="th"] body,
html[lang="th"] .lang-item,
html[lang="th"] input,
html[lang="th"] textarea,
html[lang="th"] select {
  font-family: "Leelawadee UI", "Segoe UI", "Noto Sans Thai", Tahoma, sans-serif;
}

/* 时间轴、竖线、缩进等物理方向在 RTL 下镜像 */
[dir="rtl"] .timeline {
  border-left: 0;
  border-right: 2px solid rgba(233, 84, 19, 0.3);
  padding-left: 0;
  padding-right: 34px;
}
[dir="rtl"] .tl-item::before { left: auto; right: -42px; }
[dir="rtl"] .value-item {
  border-left: 0;
  border-right: 2px solid rgba(233, 84, 19, 0.3);
  padding: 6px 24px 6px 0;
}
[dir="rtl"] .feat-list li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .news-body {
  border-left: 0;
  border-right: 2px solid var(--accent);
  padding-left: 0;
  padding-right: 18px;
}
[dir="rtl"] .pg-info { margin-left: 0; margin-right: auto; }
[dir="rtl"] .spec-table th { text-align: right; }
[dir="rtl"] .topic,
[dir="rtl"] .lang-item { text-align: right; }

/* 箭头在 RTL 下水平翻转，悬停位移方向同步 */
[dir="rtl"] .arw { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arw,
[dir="rtl"] .pg-nav:hover:not(:disabled) .arw,
[dir="rtl"] .news-toggle:hover .arw,
[dir="rtl"] .map-link:hover .map-cta .arw {
  transform: scaleX(-1) translateX(-4px);
}
[dir="rtl"] .news-item.open .news-toggle .arw { transform: scaleX(-1) rotate(90deg); }

/* 非中英语言下提示新闻正文语言 */
.news-note {
  margin: 0 0 4px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  background: var(--accent-tint);
  border: 1px solid rgba(233, 84, 19, 0.16);
  border-radius: 8px;
}

/* ==========================================================================
   Footer QR codes (replaces the phone line)
   ========================================================================== */
.footer-qr { margin-top: 2px; }
.footer-qr-lab {
  display: block;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f868e;
  margin-bottom: 10px;
}
.footer-qr-pair { display: flex; gap: 12px; }
.footer-qr-pair a { display: block; text-align: center; }
.footer-qr-pair img {
  display: block;
  width: 76px; height: 76px;
  padding: 5px;
  background: #fff;
  border-radius: 8px;
}
.footer-qr-pair em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #9aa0a8;
}
.footer-qr-pair a:hover em { color: var(--accent-soft); }

/* ==========================================================================
   WORKSHOP GALLERY — shared seamless rolling strip (home + contact)
   ========================================================================== */
.production .sec-head { margin-bottom: 36px; }
/* White cards read better on the home page's grey .section-alt band. */
.production .ws-item { box-shadow: 0 6px 20px rgba(20, 24, 30, 0.07); }

/* ==========================================================================
   WORKSHOP GALLERY — seamless horizontal rolling strip
   ========================================================================== */
.workshop { padding-bottom: 88px; }
.ws-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ws-track {
  display: flex;
  width: max-content;
  animation: ws-scroll 48s linear infinite;
}
.ws-marquee:hover .ws-track,
.ws-marquee:focus-within .ws-track { animation-play-state: paused; }
.ws-group { display: flex; align-items: flex-start; gap: 18px; padding-right: 18px; }
/* The nine workshop shots mix 3:4 portrait and 4:3 landscape frames.  Forcing a
   single card width + object-fit:cover cropped ~46% off every portrait photo,
   so the card width now follows the photo's own ratio while the height stays
   uniform: every image is shown in full and the tops still line up. */
.ws-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
}
.ws-item a { display: flex; justify-content: center; line-height: 0; background: #eceef0; }
.ws-item img {
  display: block;
  height: 300px;
  width: auto;
  max-width: none;
}
.ws-item figcaption {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  font-size: 12.5px; color: var(--text-soft);
}
.ws-item figcaption span { min-width: 0; overflow-wrap: anywhere; }
.ws-item figcaption b {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px; color: var(--accent);
}
.ws-hint {
  margin-top: 20px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--text-muted);
}
@keyframes ws-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .ws-item img { height: 230px; }
}
@media (max-width: 560px) {
  .footer-qr-pair img { width: 66px; height: 66px; }
  .ws-item img { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-track { animation: none; }
}

/* Tighten the gap between CONTACT DETAILS and WORKSHOP GALLERY.
   Both blocks inherit .section { padding: 104px 0 }, which stacked into a
   ~208px void; pull each side back to 24px (~160px removed). */
#contact-details { padding-bottom: 24px; }
#workshop { padding-top: 24px; }
@media (max-width: 560px) {
  #contact-details { padding-bottom: 16px; }
  #workshop { padding-top: 16px; }
}

/* ==========================================================================
   Home page — reduce the gap between sections by 40%.
   A gap is the sum of the previous block's bottom padding and the next
   block's top padding, so each contributing edge is scaled by 0.6:
     .section 104 -> 62 | .hero bottom 90 -> 54 | .cta-band 84 -> 50
     .footer top 64 -> 38 | mobile .section 76 -> 46
   ========================================================================== */
.page-home .section { padding: 62px 0; }
.page-home .hero { padding-bottom: 54px; }
.page-home .cta-band { padding: 50px 0; }
.page-home .footer { padding-top: 38px; }
@media (max-width: 900px) {
  .page-home .section { padding: 46px 0; }
}

/* ------------------- 手机端页头品牌区（新标语较长，避免换行） ------------------- */
@media (max-width: 560px) {
  .nav-inner { padding: 0 14px; gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; font-size: 12px; border-radius: 7px; }
  .brand-logo { height: 16px; }
  .brand-text { min-width: 0; }
  .brand-text span { font-size: 8px; letter-spacing: 0.07em; }
  .nav-actions { gap: 10px; }
}
@media (max-width: 340px) {
  .brand-mark { display: none; }
}
