/* =========================================================
   HF PRIME — 风格对齐 www.hfblockmachine.com
   主色：海军蓝 #004995 + 琥珀黄 #FFB300
   ========================================================= */

:root {
  --brand-blue: #004995;
  --brand-blue-dark: #003672;
  --brand-blue-link: #0140a7;
  --brand-amber: #ffb300;
  --brand-amber-dark: #e6a100;
  --brand-orange: var(--brand-amber);
  --brand-orange-dark: var(--brand-amber-dark);
  --ink: #333333;
  --ink-soft: #666666;
  --ink-muted: #999999;
  --ink-title: #222222;
  --steel-900: #2c2c2c;
  --steel-800: #323233;
  --steel-700: #444444;
  --steel-600: #666666;
  --steel-400: #999999;
  --steel-200: #d0d5db;
  --steel-100: #e8ebef;
  --steel-50: #edf1f5;
  --page-bg: #f0f0f0;
  --white: #ffffff;
  --overlay: rgba(0, 30, 70, 0.55);
  --shadow: 0 3px 25px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius: 2px;
  --header-h: 78px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* 系统字体：避免 Google Fonts 跨境阻塞首屏 */
  --font-en: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-zh: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-zh);
  color: var(--ink);
  background: var(--steel-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 英文区域使用现代简约无衬线 */
.en-line,
.product-tag,
.lang-switch,
.stat-item strong,
.hero-eyebrow,
.footer-col a,
.brand-logo,
.btn {
  font-family: var(--font-en);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.02rem;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .section-desc {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(245, 127, 32, 0.28);
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  box-shadow: 0 12px 28px rgba(245, 127, 32, 0.38);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--steel-900);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.page-loader--soft {
  /* 首屏用骨架，不再盖死黑遮罩，避免“假慢” */
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  position: relative;
}

.loader-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand-orange);
  border-right-color: var(--brand-blue);
  animation: spin 0.9s linear infinite;
  margin: 0 auto 16px;
}

/* ---------- Skeleton 龙骨占位 ---------- */
@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.sk {
  display: block;
  background: linear-gradient(90deg, #e8ebef 0%, #f5f7fa 40%, #e8ebef 80%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.2s ease-in-out infinite;
  border-radius: 4px;
}

.sk-line {
  height: 14px;
  margin: 8px 0;
}

.sk-w-40 { width: 40%; }
.sk-w-50 { width: 50%; }
.sk-w-55 { width: 55%; }
.sk-w-60 { width: 60%; }
.sk-w-70 { width: 70%; }
.sk-w-80 { width: 80%; }
.sk-w-85 { width: 85%; }
.sk-w-90 { width: 90%; }

.sk-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  flex-shrink: 0;
}

.sk-feature {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 26px;
  min-height: 112px;
}
.sk-feature.is-light { background: #f8d317; }
.sk-feature.is-dark { background: #111; }
.sk-feature.is-dark .sk {
  background: linear-gradient(90deg, #2a2a2a 0%, #3a3a3a 40%, #2a2a2a 80%);
  background-size: 200% 100%;
}
.sk-copy { flex: 1; min-width: 0; }

.sk-banner {
  width: min(980px, 100%);
  height: clamp(180px, 32vw, 320px);
  margin: 0 auto;
  border-radius: 6px;
}

.hotsales-tabs .sk-tab {
  height: 56px;
  min-height: 56px;
}

.sk-panel {
  width: 100%;
  height: clamp(280px, 40vw, 480px);
  border-radius: 0;
  background: linear-gradient(90deg, #1a1a1a 0%, #2c2c2c 40%, #1a1a1a 80%);
  background-size: 200% 100%;
}

.sk-output {
  height: 140px;
  border-radius: 8px;
}

.sk-line-card {
  min-height: 420px;
  border-radius: 0;
}
.sk-line-card.is-yellow {
  background: linear-gradient(90deg, #e6c41a 0%, #f8d317 40%, #e6c41a 80%);
  background-size: 200% 100%;
}
.sk-line-card.is-black {
  background: linear-gradient(90deg, #1a1a1a 0%, #2c2c2c 40%, #1a1a1a 80%);
  background-size: 200% 100%;
}

.sk-about-wrap { position: relative; }
.sk-about-collage {
  position: absolute;
  inset: 12% 4% 8%;
  z-index: 2;
  border-radius: 8px;
  pointer-events: none;
}
body:not(.page-skeleton) .sk-about-collage { display: none; }
body.page-skeleton .about-ref-collage,
body.page-skeleton .about-ref-map {
  opacity: 0.15;
}

.sk-stat { padding: 8px; }
.sk-card {
  height: 260px;
  border-radius: 8px;
}
.sk-h-sm { height: 160px; }

.page-skeleton .hero-title .sk-line { height: 28px; }
.page-skeleton .sk-btn-label { opacity: 0.35; letter-spacing: 0.2em; }

body.is-ready .page-loader { display: none !important; }


.loader-logo {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.loader-text {
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Header / Nav（企业白顶栏，对齐 hfblockmachine.com） ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-amber);
  transition: width 0.3s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--brand-blue);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-btn.is-active,
.lang-btn:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-blue);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero-block {
  position: relative;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: visible;
  color: var(--white);
  background: var(--steel-900);
  padding-bottom: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.55) 0%,
    rgba(8, 12, 20, 0.35) 45%,
    rgba(8, 12, 20, 0.15) 70%,
    rgba(8, 12, 20, 0.05) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 140px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 18px;
}

.hero-title .en-line {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero-title .zh-line {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--brand-orange);
  border-radius: 2px;
  animation: scrollDot 1.6s var(--ease) infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* 首屏入场动画 */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 0.9s var(--ease) forwards;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
}

.delay-1 {
  animation-delay: 0.15s;
}
.delay-2 {
  animation-delay: 0.3s;
}
.delay-3 {
  animation-delay: 0.45s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动触发显现（JS 加 .is-visible） */
.reveal-left.is-visible,
.reveal-right.is-visible,
.section .reveal-up.is-visible {
  animation: revealUp 0.8s var(--ease) forwards;
}

.reveal-left.is-visible {
  animation-name: revealLeft;
}

.reveal-right.is-visible {
  animation-name: revealRight;
}

@keyframes revealLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero 内的 reveal 在加载后立即播放；板块内需滚动触发 */
.section .reveal-up,
.section .reveal-left,
.section .reveal-right {
  animation: none;
}

/* 页面就绪后兜底：防止动画未触发时整块透明空白 */
body.is-ready .section .reveal-up,
body.is-ready .section .reveal-left,
body.is-ready .section .reveal-right {
  opacity: 1;
  transform: none;
}

/* ---------- About（参考站弧形厂区 + 证书拼图） ---------- */
.about {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 64px;
  overflow: visible;
}

.about-ref {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.about-ref-head {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  margin-bottom: -96px; /* 标题/导语压到拼图弧顶上方 */
}

.about-ref-heading {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35em;
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 14px;
  position: relative;
}

.about-ref-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, #f8d317 50%, #111 50%);
}

.about-ref-accent {
  color: #f8d317;
}

.about-ref-rest {
  color: #111;
}

.about-ref-lead {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.55;
  color: #222;
}

.about-ref-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 28px 12px 0;
}

.about-ref-map {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: min(1400px, 96%);
  height: auto;
  opacity: 0.18;
  filter: invert(1);
  pointer-events: none;
  z-index: 0;
}

.about-ref-collage {
  position: relative;
  z-index: 1;
  width: min(1500px, 100%);
  height: auto;
  display: block;
}

.about-ref-foot {
  position: relative;
  z-index: 2;
  margin-top: 20px; /* 与证书拼图分开，避免数字叠进图片 */
  text-align: center;
}

.about-ref-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 18px;
  margin: 12px auto 28px;
  max-width: 1100px;
}

.about-ref-stats .stat-item {
  text-align: center;
}

.about-ref-stats .stat-item strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #111;
  font-weight: 900;
}

.about-ref-stats .stat-item span {
  font-family: var(--font-en);
  font-weight: 800;
  color: #111;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.about-ref-stats .stat-item p {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.35;
}

.about-ref-more {
  max-width: 980px;
  margin: 0 auto 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.about-cta {
  margin-top: 8px;
}

.about-grid,
.about-frame,
.about-art,
.about-badge {
  display: none !important;
}

.case-visual.has-photo {
  background-color: #2f3640;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--steel-100);
}

.stat-item strong {
  font-size: 1.85rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.stat-item span {
  font-family: var(--font-en);
  font-size: 1.1rem;
  color: var(--brand-orange);
  font-weight: 700;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--steel-400);
  margin-top: 4px;
}

/* ---------- Products ---------- */
.products {
  background: var(--steel-50);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(36, 42, 50, 0.06);
  box-shadow: 0 4px 16px rgba(18, 21, 26, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-media {
  display: block;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f7f8fa;
}

.product-media svg,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-media svg,
.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-body {
  padding: 18px 20px 22px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0;
}

.product-body h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink-title);
  line-height: 1.35;
}

.product-body > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.product-specs {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--steel-600);
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--steel-100);
}

.product-specs span {
  color: var(--steel-400);
}

.product-specs em {
  font-style: normal;
}

.product-link {
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-link:hover {
  color: var(--brand-orange-dark);
}

/* ---------- Cases ---------- */
.cases {
  background: var(--steel-900);
  color: var(--white);
}

.cases .section-title {
  color: var(--white);
}

.cases .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: var(--steel-800);
}

.case-large {
  grid-row: span 2;
  min-height: 500px;
}

.case-visual {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-visual {
  transform: scale(1.06);
}

/* 工业风 CSS 图案作为设备实拍视觉（无外链依赖，离线可用） */
.case-visual.v1 {
  background:
    linear-gradient(135deg, rgba(43, 88, 173, 0.75), rgba(18, 21, 26, 0.55)),
    repeating-linear-gradient(
      90deg,
      #2a3340 0 18px,
      #323c4a 18px 36px
    );
}

.case-visual.v2 {
  background:
    linear-gradient(160deg, rgba(245, 127, 32, 0.65), rgba(18, 21, 26, 0.6)),
    radial-gradient(circle at 30% 40%, #5a6570 0 20%, transparent 21%),
    #2f3640;
}

.case-visual.v3 {
  background:
    linear-gradient(200deg, rgba(43, 88, 173, 0.5), rgba(10, 14, 20, 0.7)),
    repeating-linear-gradient(
      -45deg,
      #3a424c 0 12px,
      #2f3640 12px 24px
    );
}

.case-visual.v4 {
  background:
    linear-gradient(45deg, rgba(245, 127, 32, 0.45), rgba(43, 88, 173, 0.55)),
    linear-gradient(#3d4652, #242a32);
}

.case-visual.v5 {
  background:
    linear-gradient(rgba(18, 21, 26, 0.35), rgba(18, 21, 26, 0.75)),
    radial-gradient(ellipse at bottom, #f57f20 0%, transparent 55%),
    #1e3f7a;
}

.case-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  background: linear-gradient(transparent, rgba(10, 14, 20, 0.88));
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.case-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Advantages ---------- */
.advantages {
  background: var(--white);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 32px 24px;
  background: var(--steel-50);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.adv-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  border-color: rgba(43, 88, 173, 0.15);
  box-shadow: var(--shadow);
}

.adv-icon {
  width: 48px;
  height: 48px;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.adv-icon svg {
  width: 100%;
  height: 100%;
}

.adv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.adv-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(120deg, rgba(43, 88, 173, 0.08), rgba(245, 127, 32, 0.06)),
    var(--steel-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center; /* 左文案与右表单垂直居中对齐 */
}

.contact-list {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(18, 21, 26, 0.08);
  flex-shrink: 0;
}

.contact-ico svg {
  display: block;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--steel-400);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-list a:hover {
  color: var(--brand-blue);
}

.inquiry-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inquiry-form label {
  display: block;
  margin-bottom: 16px;
}

.inquiry-form label span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-200);
  border-radius: 4px;
  background: var(--steel-50);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--brand-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(43, 88, 173, 0.15);
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 1.4em;
  color: var(--brand-blue);
}

.form-note.is-error {
  color: #c0392b;
}

.form-note.is-ok {
  color: #1e7a46;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-900);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.social-links a:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
    transform 0.3s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 8px 20px rgba(43, 88, 173, 0.35);
}

.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-orange);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-large {
    grid-row: auto;
    min-height: 320px;
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
      visibility 0.35s var(--ease);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--steel-100);
    color: var(--ink);
  }

  .site-header.menu-open {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 72px 0;
  }

  .brand-logo img {
    height: 40px;
  }

  .product-grid,
  .adv-grid,
  .case-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .case-large {
    grid-column: auto;
    min-height: 260px;
  }

  .inquiry-form {
    padding: 24px 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .hero-title .zh-line {
    letter-spacing: 0.12em;
  }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .loader-ring,
  .hero-scroll span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Secondary pages ---------- */
.page-inner .site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-hero {
  padding: calc(var(--header-h) + 36px) 0 28px;
  background: linear-gradient(180deg, #e8eef6 0%, var(--steel-50) 100%);
  border-bottom: 1px solid var(--steel-100);
}

.page-hero-sm {
  padding-bottom: 18px;
}

.page-section {
  padding-top: 48px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--brand-blue);
}

.breadcrumb a:hover {
  color: var(--brand-amber-dark);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.filter-btn {
  border: 1px solid var(--steel-200);
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.product-detail-grid,
.case-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-media,
.case-detail-media {
  background: #f5f7fa;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-detail-media img,
.case-detail-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: #111;
}

.case-detail-media img {
  max-height: 420px;
  object-fit: cover;
  background: #dce3ea;
}

.product-detail-text {
  color: var(--ink-soft);
  margin: 12px 0 18px;
}

.btn-line-dark {
  background: #fff;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  text-transform: uppercase;
  font-weight: 700;
}

.btn-line-dark:hover {
  background: var(--brand-blue);
  color: #fff;
}

.detail-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.detail-block {
  background: #fff;
  border: 1px solid var(--steel-100);
  border-top: 3px solid var(--brand-amber);
  padding: 22px;
}

.detail-block h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--ink-title);
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--brand-amber);
  border-radius: 1px;
}

.related-wrap {
  margin-top: 56px;
}

.related-wrap h2 {
  margin-bottom: 20px;
  font-size: 1.35rem;
}

.section-more {
  margin-top: 36px;
  text-align: center;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-body h3 a,
.case-card h3 a {
  color: inherit;
}

.product-body h3 a:hover,
.case-card h3 a:hover {
  color: var(--brand-blue);
}

.case-grid-list {
  grid-template-columns: repeat(3, 1fr);
}

.cases-page {
  background: var(--page-bg);
}

/* ---------- News ---------- */
.news-home {
  background: #f5f7fa;
}

.news-page {
  background: var(--page-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-grid-home {
  margin-bottom: 8px;
}

.news-card {
  background: #fff;
  border: 1px solid rgba(0, 73, 149, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 40, 80, 0.08);
}

.news-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce3ec;
}

.news-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-photo {
  transform: scale(1.04);
}

.news-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-date {
  font-size: 0.82rem;
  color: #6b7c8f;
  letter-spacing: 0.02em;
}

.news-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-body h3 a {
  color: inherit;
  text-decoration: none;
}

.news-body h3 a:hover {
  color: var(--brand-blue);
}

.news-body p {
  margin: 0;
  color: #5a6a7a;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.news-detail .news-date {
  margin: 0 0 6px;
}

/* ---------- Language switch (4 langs in a row) ---------- */
#lang-switch-root {
  display: flex;
  align-items: center;
}

.lang-row {
  display: inline-flex;
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  overflow: hidden;
}

.lang-row .lang-btn {
  padding: 6px 8px;
  font-size: 0.72rem;
  min-width: 34px;
}

.lang-select-wrap {
  display: none;
}

.lang-select {
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  padding: 7px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ---------- Stronger mobile ---------- */
@media (max-width: 1024px) {
  .product-detail-grid,
  .case-detail-grid,
  .detail-blocks {
    grid-template-columns: 1fr;
  }

  .case-grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .lang-row {
    display: none;
  }

  .lang-select-wrap {
    display: block;
  }

  .header-inner {
    gap: 10px;
  }

  .nav-menu {
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-title .en-line {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 22px);
  }

  .case-grid-list,
  .product-grid,
  .adv-grid,
  .case-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-form,
  .detail-block {
    padding: 18px 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn {
    padding: 12px 18px;
  }

  .product-link {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-ref-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .about-ref-head {
    margin-bottom: -36px;
  }
  .about-ref-visual {
    min-height: 0;
    padding-top: 36px;
  }
  .about-ref-foot {
    margin-top: 8px;
  }
  .about-badge {
    left: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
}

@media (max-width: 400px) {
  .lang-select {
    max-width: 72px;
    padding: 7px 6px;
  }
}

/* =========================================================
   Screens 2–4 — exact clone of machine.hfblockmachine.com
   Yellow #f8d317 / Black / White industrial look
   ========================================================= */

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}
.btn-outline-dark:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* 2) Feature strip — yellow / black / yellow over hero */
.feature-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  margin: 0;
  transform: translateY(50%);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.feature-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 26px;
  min-height: 112px;
}
.feature-card.is-light {
  background: #f8d317;
  color: #000;
}
.feature-card.is-dark {
  background: #000;
  color: #f8d317;
}
.feature-card.is-dark p {
  color: #f8d317;
  opacity: 0.95;
}
.feature-icon {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  color: inherit;
  display: grid;
  place-items: center;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}
.feature-copy {
  min-width: 0;
}
.feature-card h3 {
  font-family: var(--font-en);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.2;
}
.feature-card p {
  font-size: 0.86rem;
  line-height: 1.35;
  margin: 0;
}

/* 3) Hot sales — 与功能条紧凑衔接；标题压在机型图上方 */
.hotsales {
  background: #fff;
  padding-top: 78px;
  padding-bottom: 40px;
}
.hotsales .section-head {
  margin-bottom: -56px; /* 标题压到 banner 图上方 */
  position: relative;
  z-index: 3;
}
.hotsales-heading {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3em;
  font-family: var(--font-en);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.15;
}
.hotsales-heading-accent {
  color: #f8d317;
  position: relative;
}
.hotsales-heading-accent::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -8px;
  height: 4px;
  background: #f8d317;
}
.hotsales-heading-rest {
  color: #111;
}
.hotsales .section-head .section-desc {
  display: none;
}

.hotsales-banner {
  display: grid;
  place-items: center;
  background: #fff;
  margin: 0 0 6px;
  padding: 52px 0 8px; /* 给叠在上方的标题留出可读空间 */
  position: relative;
  z-index: 1;
}
.hotsales-banner img {
  max-width: min(980px, 100%);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hotsales-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 8px 0 15px; /* 参考站：Tab 与下方黑底内容约 15px 白缝 */
  padding-top: 16px; /* 给激活态双黄线留空 */
  border-top: 0;
  background: #fff;
  overflow: visible;
}
.hotsales-tab {
  position: relative;
  border: 0;
  background: #000;
  color: #f8d317;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  padding: 18px 12px;
  min-height: 65px;
  cursor: pointer;
  font-family: var(--font-en);
  transition: background 0.15s ease, color 0.15s ease;
}
/* 参考站激活 Tab 上方：双黄线 + 白缝 */
.hotsales-tab.is-active::before,
.hotsales-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #f8d317;
  pointer-events: none;
}
.hotsales-tab.is-active::before {
  top: -14px;
}
.hotsales-tab.is-active::after {
  top: -7px;
}
.hotsales-tab.is-active,
.hotsales-tab:hover {
  background: #fdce2f;
  color: #222;
}

.hotsales-panel {
  border: 0;
  background: transparent;
}
.hotsales-layout {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 8px; /* 参考站：左参数栏与右视频约 8px 白缝 */
  align-items: stretch;
  min-height: 520px;
}
.hotsales-info {
  background: #111 url("../assets/hotsales/map.jpg") center / cover no-repeat;
  color: #fff;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.hotsales-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.hotsales-info > * {
  position: relative;
  z-index: 1;
}
.hotsales-model {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  color: #fff;
}
.hotsales-tagline {
  display: inline-block;
  align-self: flex-start;
  background: #f8d317;
  color: #111;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 16px;
  margin: 0;
  border-radius: 0;
}
.hotsales-specs {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
}
.hotsales-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 48px;
  padding: 6px 0;
  border-bottom: 0;
  font-size: 0.98rem;
  width: 100%;
}
.hotsales-specs span {
  color: #f8d317;
  font-weight: 700;
}
.hotsales-specs em {
  font-style: normal;
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.hotsales-price {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 900;
  color: #f8d317;
  margin: 8px 0 4px;
}
.hotsales-quote {
  align-self: flex-start;
  margin-top: 8px;
  background: #f8d317 !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 10px;
  font-weight: 800;
  padding: 12px 28px;
}
.hotsales-quote:hover {
  filter: brightness(0.95);
}

.hotsales-media-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  min-height: 520px;
}
.hotsales-media {
  flex: 1;
  min-height: 420px;
  display: grid;
  place-items: stretch;
  background: #000;
}
.hotsales-media iframe,
.hotsales-player {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  background: #000;
  object-fit: contain;
}
.hotsales-iso-bar {
  margin: 0;
  padding: 22px 28px;
  background: #f8d317;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  font-style: italic;
  line-height: 1.45;
}

.hotsales-outputs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 8px 0 10px;
}
.output-card {
  text-align: center;
  padding: 12px 8px 18px;
  background: #fff;
  border: 0;
}
.output-icon {
  width: 110px;
  height: 90px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.output-icon img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}
.output-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #111;
  line-height: 1.35;
  font-weight: 600;
}
.output-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}
.output-card strong {
  color: #f8d317;
  font-size: 1.2rem;
  font-weight: 900;
}
.output-card span {
  color: #333;
  font-weight: 600;
}

/* 4) Production lines */
.prod-lines {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 28px;
}
.prod-lines-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 8px;
}
.prod-lines-accent {
  color: #f8d317;
  position: relative;
}
.prod-lines-accent::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 100px;
  height: 4px;
  background: #f8d317;
}
.prod-lines-rest {
  color: #111;
  margin-top: 8px;
}
.prod-lines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: stretch; /* 参考站：黄/黑色块等高、底边齐平 */
}
.prod-line-card {
  background: transparent;
  border: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.prod-line-media {
  height: auto;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0 12px;
  position: relative;
  z-index: 2;
  margin-bottom: -48px;
  flex-shrink: 0;
}
.prod-line-media img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}
.prod-line-body {
  padding: 72px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 520px; /* 接近参考站色块高度，两卡底边对齐 */
}
.prod-line-card.is-yellow .prod-line-body {
  background: #f8d317;
  color: #000;
}
.prod-line-card.is-black .prod-line-body {
  background: #000;
  color: #f8d317;
}
.prod-line-body h3 {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}
.prod-line-body h3 span {
  display: block;
}
.prod-line-card.is-yellow .prod-line-body h3 { color: #000; }
.prod-line-card.is-black .prod-line-body h3 { color: #f8d317; }
.prod-line-body p {
  font-size: 1.05rem;
  max-width: 34ch;
  margin: 0;
  line-height: 1.45;
}
.prod-line-card.is-yellow .prod-line-body p { color: #111; }
.prod-line-card.is-black .prod-line-body p { color: #f8d317; }
.prod-line-price {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  margin: 6px 0 4px !important;
}
.prod-line-card.is-yellow .prod-line-price { color: #000 !important; }
.prod-line-card.is-black .prod-line-price { color: #f8d317 !important; }
.prod-line-btn {
  margin-top: auto; /* 按钮贴色块底部，两卡对齐 */
  border-radius: 10px;
  font-weight: 800;
  padding: 12px 32px;
  border: 0;
}
.prod-line-card.is-yellow .prod-line-btn {
  background: #000;
  color: #f8d317;
}
.prod-line-card.is-black .prod-line-btn {
  background: #f8d317;
  color: #000;
}
.prod-line-card.is-yellow .prod-line-btn:hover,
.prod-line-card.is-black .prod-line-btn:hover {
  filter: brightness(1.08);
}

.about-cta {
  margin-top: 8px;
}

.process { background: #fff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-card {
  padding: 28px 22px;
  background: var(--steel-50);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.process-card:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(0, 73, 149, 0.15);
  box-shadow: var(--shadow);
}
.process-icon {
  width: 44px;
  height: 44px;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.process-icon svg { width: 100%; height: 100%; }
.process-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.process-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-side-card {
  margin: 22px 0 8px;
  padding: 18px 20px;
  background: rgba(0, 73, 149, 0.08);
  border-left: 4px solid var(--brand-amber);
}
.contact-side-card strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--brand-blue);
}
.contact-side-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  /* 卖点条已移出 .hero：手机端整宽上下排 */
  .hero-block {
    display: block;
  }
  .hero {
    display: block;
    min-height: 0;
    padding-bottom: 0;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 12, 20, 0.72) 0%,
      rgba(8, 12, 20, 0.55) 50%,
      rgba(8, 12, 20, 0.7) 100%
    );
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 40px;
    box-sizing: border-box;
  }
  .hero-slogan {
    max-width: 36em;
  }
  .feature-strip {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 2;
  }
  .feature-strip-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
  .feature-card {
    min-height: 0;
    padding: 18px 20px;
    gap: 14px;
  }
  .feature-card h3 {
    font-size: 1.05rem;
  }
  .feature-card p {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .hotsales-layout,
  .prod-lines-grid {
    grid-template-columns: 1fr;
  }
  .hotsales {
    padding-top: 40px;
  }
  .hotsales .section-head {
    margin-bottom: -28px;
  }
  .hotsales-banner {
    padding: 40px 0 8px;
  }
  .feature-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }
  .hotsales-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .hotsales-outputs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hotsales-media,
  .hotsales-media iframe,
  .hotsales-player {
    min-height: 280px;
  }
  .prod-line-media {
    margin-bottom: -36px;
  }
  .prod-line-body {
    min-height: 0;
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  /* 机型 Tab 保持 2 列，单列太高不好点 */
  .hotsales-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid,
  .hotsales-outputs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hotsales-info { padding: 24px 16px; }
  .hotsales-banner { padding-bottom: 8px; }
  .feature-card {
    padding: 16px 16px;
    gap: 12px;
  }
  .feature-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---------- Standalone pages / article case / map ---------- */
.about-story {
  padding-bottom: 24px;
}
.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.about-page-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 12px 32px rgba(15, 35, 70, 0.08);
}
.about-page-visual img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.about-page-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-page-body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 1.02rem;
}
.about-page-body p:last-child {
  margin-bottom: 0;
}
.about-page-copy .btn {
  align-self: flex-start;
  margin-top: 4px;
}
.about-stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--steel-100, #e6ebf0);
  border: 1px solid var(--steel-100, #e6ebf0);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-stat {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}
.about-stat strong {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--brand-blue);
  margin-bottom: 8px;
  font-weight: 800;
}
.about-stat span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}
.about-advantages {
  background: var(--steel-50, #f5f7fa);
  border-top: 1px solid var(--steel-100, #e6ebf0);
}
.about-advantages .section-head {
  margin-bottom: 28px;
}

/* ---------- Service page ---------- */
.service-hero-desc {
  max-width: 720px;
  margin-top: 10px;
}
.service-page {
  padding-top: 40px;
  padding-bottom: 64px;
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--steel-50, #f5f7fa);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(0, 73, 149, 0.14);
  box-shadow: var(--shadow);
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-card-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-amber-dark, #c99500);
}
.service-card-icon {
  width: 42px;
  height: 42px;
  color: var(--brand-blue);
}
.service-card-icon svg {
  width: 100%;
  height: 100%;
}
.service-card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: var(--ink-title);
  line-height: 1.35;
}
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}
.service-cta-band {
  margin-top: 48px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, rgba(0, 73, 149, 0.08), rgba(248, 211, 23, 0.18));
  border-left: 4px solid var(--brand-amber);
  border-radius: var(--radius);
}
.service-cta-copy strong {
  display: block;
  font-size: 1.05rem;
  color: var(--brand-blue);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.service-cta-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 640px;
}
.service-cta-band .btn {
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
}

.contact-map-wrap {
  margin-top: 48px;
}
.contact-hero-desc {
  max-width: 720px;
  margin-top: 10px;
}
.contact-page {
  padding-top: 40px;
  padding-bottom: 64px;
}
.contact-page .contact-grid {
  align-items: start;
  gap: 40px;
}
.contact-page .contact-side-card {
  margin-top: 0;
  margin-bottom: 8px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
}
.contact-page .contact-list {
  margin-top: 24px;
  gap: 14px;
}
.contact-page .contact-list li {
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(15, 35, 70, 0.04);
}
.contact-page .inquiry-form {
  border: 1px solid rgba(0, 73, 149, 0.08);
}
.contact-page .contact-map-wrap {
  margin-top: 40px;
}
.contact-page .contact-map-title {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.contact-map-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--ink-title);
}
.contact-map {
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8eef6;
  min-height: 360px;
}
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.article-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.article-head {
  margin-bottom: 28px;
}
.article-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink-title);
  margin: 8px 0 12px;
}
.article-meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.article-cover {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f7fa;
}
.article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.1em;
}
.article-actions {
  margin-top: 36px;
  gap: 12px;
}
.news-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.news-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0, 73, 149, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
}
.news-list-card .news-body h3 {
  font-size: 1.15rem;
}
.product-card--titled .product-media {
  height: 230px;
  background: #f7f8fa;
}
.product-card--titled .product-media img {
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}
.product-card--titled .product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  min-height: 1.4em;
}
.product-card--titled .product-body h3 a {
  color: var(--ink-title);
  text-decoration: none;
}
.product-card--titled .product-link {
  margin-top: 6px;
}
@media (max-width: 900px) {
  .about-page {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-stats-band {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px;
  }
  .contact-map iframe {
    height: 300px;
  }
}
@media (max-width: 520px) {
  .about-stats-band {
    grid-template-columns: 1fr 1fr;
  }
  .about-stat {
    padding: 22px 14px;
  }
}

/* =========================================================
   H5 / Mobile polish — phone-first usability
   ========================================================= */

/* Nav backdrop when menu open */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 12, 20, 0.45);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nav-backdrop.is-open {
  display: block;
  opacity: 1;
}
body.nav-locked {
  overflow: hidden;
  touch-action: none;
}

/* Mobile bottom dock: Quote + WhatsApp */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  gap: 10px;
}
.mobile-dock a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.mobile-dock__quote {
  background: var(--brand-blue);
  color: #fff;
}
.mobile-dock__wa {
  background: #25d366;
  color: #fff;
}
.mobile-dock a:active {
  opacity: 0.9;
}

@media (max-width: 860px) {
  .nav-menu {
    z-index: 1001;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .header-inner {
    height: var(--header-h);
  }

  .hamburger {
    width: 44px;
    height: 44px;
  }

  .nav-menu a {
    font-size: 1.02rem;
    padding: 16px 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 20px);
    padding-bottom: 28px;
  }

  .hero-slogan {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .feature-card {
    min-height: 0;
    gap: 14px;
    padding: 16px 18px;
  }

  .feature-card h3 {
    font-size: 1.02rem;
  }

  .feature-card p {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .hotsales {
    padding-top: 36px;
  }

  .hotsales-layout {
    min-height: 0;
  }

  .hotsales-media,
  .hotsales-media iframe,
  .hotsales-player {
    min-height: 220px;
  }

  .hotsales-tab {
    min-height: 52px;
    padding: 14px 8px;
    font-size: clamp(0.9rem, 3.6vw, 1.15rem);
  }

  /* iOS 不自动放大输入框 */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .inquiry-form label {
    gap: 6px;
  }

  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    min-height: 46px;
    padding: 12px 14px;
  }

  .inquiry-form textarea {
    min-height: 120px;
  }

  .inquiry-form button[type="submit"],
  .inquiry-form .btn {
    width: 100%;
    min-height: 48px;
  }

  .back-to-top {
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-dock {
    display: flex;
  }

  /* 底部 dock 占位，避免挡内容 */
  body.has-mobile-dock {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .filter-row::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    line-height: 1.25;
  }

  .breadcrumb {
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }

  .detail-table,
  .specs-table,
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .brand-logo img {
    height: 36px;
  }

  .hero {
    min-height: 0;
  }

  .hero-title .en-line {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-title .zh-line {
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    letter-spacing: 0.08em;
  }

  .hero-slogan {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .hotsales {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hotsales .section-head {
    margin-bottom: -18px;
  }

  .hotsales-heading {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }

  .hotsales-banner {
    padding: 28px 0 4px;
  }

  .hotsales-model {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .hotsales-outputs-grid {
    gap: 10px;
  }

  .prod-lines-heading,
  .about-ref-heading {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }

  .prod-line-body {
    padding: 48px 16px 20px;
  }

  .about-ref-lead {
    font-size: 0.92rem;
    padding: 0 4px;
  }

  .about-ref-stats {
    gap: 10px;
  }

  .stat-item strong {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
  }

  .contact-page .contact-grid,
  .about-page {
    gap: 22px;
  }

  .contact-map iframe {
    height: 240px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .service-cta-band .btn {
    width: 100%;
  }

  /* 减弱桌面 hover 位移，避免触控残留 */
  .service-card:hover,
  .product-card:hover,
  .case-card:hover {
    transform: none;
  }
}

@media (max-width: 400px) {
  .hotsales-outputs-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
  }

  .mobile-dock a {
    font-size: 0.85rem;
    min-height: 44px;
  }
}



/* === CMS v7 product/service/article === */
.product-hero-contrast {
  background: linear-gradient(145deg, #d9e8f6 0%, #c5daf0 45%, #b7d0ea 100%);
  border: none;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.product-hero-contrast img {
  background: transparent;
  max-height: 420px;
  filter: drop-shadow(0 12px 22px rgba(15, 55, 100, 0.18));
}
.detail-blocks-stack {
  grid-template-columns: 1fr;
  gap: 28px;
}
.detail-block-wide {
  border-top-color: var(--brand-blue);
}
.param-table-wrap {
  overflow-x: auto;
}
.param-table {
  width: 100%;
  border-collapse: collapse;
}
.param-table th,
.param-table td {
  border: 1px solid var(--steel-100);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.param-table th {
  width: 42%;
  background: #f4f7fb;
  color: var(--ink-title);
  font-weight: 600;
}
.param-table td {
  color: var(--ink-soft);
}
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.product-gallery-item {
  margin: 0;
  background: #f5f7fa;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
  box-sizing: border-box;
}
.product-video-wrap {
  background: #0b1220;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-video-wrap video {
  width: 100%;
  display: block;
  max-height: 520px;
  background: #000;
}
.product-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.product-app-card {
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.product-app-media {
  height: 140px;
  background: #eef3f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-amber));
  opacity: 0.35;
}
.product-app-card h3 {
  font-size: 1rem;
  margin: 12px 14px 6px;
  color: var(--ink-title);
}
.product-app-card p {
  margin: 0 14px 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.article-inline-figure {
  margin: 1.4em 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f7fa;
}
.article-inline-figure img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}
.article-inline-figure figcaption {
  padding: 10px 12px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.service-stages {
  display: grid;
  gap: 28px;
  margin-bottom: 48px;
}
.service-stage {
  background: #fff;
  border: 1px solid var(--steel-100);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.service-stage[data-stage="on"] {
  border-left-color: var(--brand-amber);
}
.service-stage[data-stage="after"] {
  border-left-color: #1f8a70;
}
.service-stage-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.service-stage-badge {
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
}
.service-stage-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ink-title);
}
.service-stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-stage-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  line-height: 1.55;
}
.service-stage-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 73, 149, 0.08);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .product-hero-contrast {
    min-height: 240px;
    padding: 18px;
  }
  .param-table th {
    width: 38%;
  }
}


/* === CMS v8 product/service/about === */
.product-gallery-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-gallery-grid--2 .product-gallery-item {
  aspect-ratio: 16/10;
  min-height: 220px;
}
.product-gallery-grid--2 .product-gallery-item img {
  object-fit: contain;
  padding: 12px;
}
.output-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.output-media-card {
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.output-media {
  height: 150px;
  background: #f3f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.output-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}
.output-media--empty {
  background: linear-gradient(135deg, #e8eef6, #f7f9fc);
}
.output-media-copy {
  padding: 12px 14px 16px;
}
.output-media-copy h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--ink-title);
}
.output-media-copy p {
  margin: 0;
  color: var(--brand-blue);
  font-weight: 700;
}
.feature-media-list {
  display: grid;
  gap: 22px;
}
.feature-media-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.feature-media-row.is-reverse .feature-media { order: 2; }
.feature-media-row.is-reverse .feature-media-copy { order: 1; }
.feature-media {
  min-height: 220px;
  background: #0f2f55;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-media--empty {
  background: linear-gradient(135deg, #1a4a7a, #0d2a4d);
}
.feature-media-copy {
  padding: 22px 24px;
}
.feature-media-copy h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink-title);
}
.feature-media-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.product-contact-band {
  margin: 48px 0 8px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(90deg, #f7b500 0%, #f0a000 100%);
  border-radius: var(--radius);
  color: #1a1a1a;
}
.product-contact-copy strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.product-contact-copy p {
  margin: 0;
  opacity: 0.9;
}
.product-contact-band .btn {
  background: #0b2f5b;
  border-color: #0b2f5b;
  color: #fff;
  white-space: nowrap;
}
.page-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  margin: 0 auto 28px;
}
.page-banner-wrap {
  margin-bottom: 8px;
}
.page-banner-wrap:empty,
.page-banner-wrap.is-empty {
  display: none;
}
.service-stage-media {
  margin: 0 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef3f9;
  max-height: 240px;
}
.service-stage-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.service-stage-item-grid {
  display: grid;
  gap: 12px;
}
.service-stage-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: start;
}
.service-stage-item img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
}
.about-factory {
  margin: 40px 0 8px;
}
.about-factory-grid {
  display: grid;
  gap: 24px;
}
.about-factory-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.about-factory-card.is-reverse .about-factory-media { order: 2; }
.about-factory-card.is-reverse .about-factory-copy { order: 1; }
.about-factory-media {
  min-height: 280px;
  background: #123f73;
}
.about-factory-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.about-factory-copy {
  padding: 24px;
}
.about-factory-copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}
.about-factory-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}
@media (max-width: 860px) {
  .feature-media-row,
  .about-factory-card,
  .product-contact-band {
    grid-template-columns: 1fr;
    display: grid;
  }
  .feature-media-row.is-reverse .feature-media,
  .feature-media-row.is-reverse .feature-media-copy,
  .about-factory-card.is-reverse .about-factory-media,
  .about-factory-card.is-reverse .about-factory-copy {
    order: initial;
  }
  .product-gallery-grid--2 {
    grid-template-columns: 1fr;
  }
  .product-contact-band {
    text-align: left;
  }
}
