/* ===================================================================
   乐拓智造 | Lotelf PackFab - 简约工业智造 B2B 官网平台主样式库
   Design System: Clean Industrial Minimalism (No AI-glow, Pure Precision)
   =================================================================== */

:root {
  /* 极简工业色系：克制、专业、高信任度 */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-surface: #1e293b;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --primary: #1e40af;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-teal: #0d9488;
  --accent-amber: #d97706;

  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-dark: #334155;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  --shadow-dock: 0 8px 30px rgba(0, 0, 0, 0.12);

  --font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 英文排版优化规则 */
body.lang-en {
  letter-spacing: -0.01em;
}

body.lang-en .hero-title {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
}

body.lang-en .nav-link {
  font-size: 12.5px;
  padding: 6px 8px;
  white-space: nowrap;
}

body.lang-en .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 顶部导航 ================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo-icon,
.logo-symbol {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e40af, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.25);
  line-height: 1;
  user-select: none;
}

.logo-symbol svg {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-cn {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-en-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--bg-subtle);
}

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

.lang-toggle-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* 标准工业按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-main);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-blue {
  background: var(--primary);
  color: #ffffff;
}

.btn-blue:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--text-main);
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* ================= 英雄区 (Hero Section) ================= */
.hero-clean {
  padding: 60px 0 70px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-clean-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-dot-clean {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.hero-title {
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-sub-slogan {
  font-size: 19px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 18px;
}

.hero-body-p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 英雄区实物展示卡片 (纯净真实摄影) */
.hero-photo-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.hero-photo-stage {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.hero-photo-card:hover .hero-photo-stage img {
  transform: scale(1.02);
}

.hero-photo-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.caption-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.caption-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= 核心优势条 ================= */
.section-values {
  padding: 50px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

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

.value-card {
  padding: 24px;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-card:hover {
  background: #ffffff;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.value-icon {
  font-size: 26px;
  margin-bottom: 14px;
}

.value-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ================= 通用 Section 头部 ================= */
.section-clean-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-clean-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-clean-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-clean-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= 核心四大产品线卡片 ================= */
.section-products-clean {
  padding: 70px 0;
}

.products-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-clean-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-clean-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-clean-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-clean-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.product-clean-card:hover .product-clean-media img {
  transform: scale(1.04);
}

.product-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-clean-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-clean-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.product-clean-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 18px;
}

.product-spec-row {
  background: var(--bg-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* ================= 报价中心与工程系统入口 ================= */
.section-quote-clean {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quote-clean-box {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.quote-clean-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn-clean:hover {
  border-color: var(--border-subtle);
}

.tab-btn-clean.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.quote-engine-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.engine-display-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ================= 页面右侧悬浮组件 (Floating Dock) ================= */
.floating-dock {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dock-item {
  position: relative;
  width: 46px;
  height: 46px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-dock);
  transition: var(--transition);
  text-decoration: none;
}

.dock-item:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  transform: translateX(-4px);
}

.dock-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* 悬浮气泡卡片 (Tooltip / Flyout) */
.dock-popover {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  transition: all 0.2s ease;
  pointer-events: none;
}

.dock-item:hover .dock-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.popover-phone {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.popover-qr {
  text-align: center;
}

.popover-qr img {
  width: 120px;
  height: 120px;
  border-radius: 4px;
}

.popover-qr-tip {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 在线客服弹窗 */
.service-dialog-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-dialog-backdrop.open {
  display: flex;
}

.service-dialog-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.service-dialog-head {
  padding: 20px 24px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-dialog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.service-dialog-body {
  padding: 24px;
}

/* ================= 页脚规范 ================= */
.site-footer-clean {
  background: var(--text-main);
  color: #ffffff;
  padding: 60px 0 28px;
  font-size: 13.5px;
}

.footer-clean-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-h {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cbd5e1;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
}

/* ================= 响应式适配 ================= */
@media (max-width: 1024px) {
  .hero-clean-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-clean-grid {
    grid-template-columns: 1fr;
  }
  .quote-engine-display {
    grid-template-columns: 1fr;
  }
  .footer-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-clean-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .floating-dock {
    right: 10px;
  }
}

/* ===================================================================
   乐拓智造 Lotelf PackFab - 子页面与组件库扩展 (Subpages & Components)
   =================================================================== */

/* 产品中心：分类筛选栏 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* 产品中心：产品网格卡片 */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.catalog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.catalog-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.catalog-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.catalog-card:hover .catalog-img-wrap img {
  transform: scale(1.04);
}

.catalog-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.catalog-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.catalog-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  margin-bottom: 18px;
}

.catalog-meta-item {
  display: flex;
  justify-content: space-between;
}

.catalog-meta-lbl {
  color: var(--text-muted);
}

.catalog-meta-val {
  font-weight: 600;
  color: var(--text-main);
}

.catalog-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

/* 车间与装备：车间模块卡片 */
.workshop-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.workshop-card:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.workshop-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-md);
}

.workshop-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.workshop-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.workshop-card:hover .workshop-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.workshop-info {
  padding: 40px;
}

.workshop-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.workshop-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.workshop-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.workshop-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.workshop-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.workshop-stat-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 装备参数数据表格 */
.equip-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.equip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.equip-table th {
  background: var(--bg-subtle);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.equip-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.equip-table tr:hover td {
  background: #fafbfc;
}

/* 认证卡片网格 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.cert-badge-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.cert-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 关于我们：发展历程时间轴 */
.timeline-track {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 32px;
}

.timeline-badge {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text-main);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 4px #ffffff;
  z-index: 2;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.timeline-year-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.timeline-head-t {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.timeline-head-d {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
}

/* 愿景与使命双栏 */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.vision-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.vision-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.vision-h {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.vision-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 客户与案例网格 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.case-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-client-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.case-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.case-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 16px;
}

.case-quote-box {
  background: var(--bg-subtle);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
  color: var(--text-body);
  font-style: italic;
  margin-top: auto;
}

/* 企业用户登录/注册预留模态框 */
.user-dialog-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.user-modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.user-modal-tab-btn {
  flex: 1;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.user-modal-tab-btn.active {
  color: var(--text-main);
  background: #ffffff;
  border-bottom-color: var(--primary);
}

.user-notice-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: #1e40af;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ================= 英文排版与布局全局优化 ================= */
body.lang-en {
  letter-spacing: -0.01em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.lang-en .site-header .container {
  max-width: 1360px;
}

body.lang-en .nav-wrap {
  gap: 8px;
}

body.lang-en .nav-link {
  font-size: 13px;
  padding: 6px 8px;
  white-space: nowrap;
}

body.lang-en .nav-actions .btn {
  font-size: 12px;
  padding: 7px 12px;
  white-space: nowrap;
}

body.lang-en .hero-title {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.22;
  word-break: normal;
}

body.lang-en .hero-sub-slogan {
  font-size: 16px;
  line-height: 1.4;
}

body.lang-en .catalog-title,
body.lang-en .case-title,
body.lang-en .workshop-title {
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 700;
}

body.lang-en .catalog-desc,
body.lang-en .case-desc,
body.lang-en .workshop-desc {
  font-size: 13px;
  line-height: 1.55;
}

body.lang-en .catalog-meta-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

body.lang-en .catalog-meta-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

body.lang-en .catalog-meta-val {
  font-size: 12px;
  line-height: 1.3;
}

body.lang-en .hero-metrics-bar {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

body.lang-en .metric-val {
  font-size: 17px;
  letter-spacing: -0.02em;
}

body.lang-en .metric-lbl {
  font-size: 11px;
  line-height: 1.3;
}

body.lang-en .product-tag-pill,
body.lang-en .catalog-cat-tag,
body.lang-en .case-badge,
body.lang-en .workshop-tag {
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

body.lang-en .floating-dock .dock-popover {
  min-width: 170px;
  font-size: 12px;
}

/* 响应式断点补充 */
@media (max-width: 1160px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 992px) {
  .catalog-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workshop-card,
  .workshop-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .workshop-card:nth-child(even) .workshop-media {
    order: 1;
  }
  .workshop-card:nth-child(even) .workshop-info {
    order: 2;
  }
  .workshop-media {
    height: 280px;
  }
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .workshop-info {
    padding: 24px;
  }
  .workshop-stats-row {
    grid-template-columns: 1fr;
  }
  .timeline-track::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: 54px;
  }
  .timeline-badge {
    left: 6px;
    width: 26px;
    height: 26px;
  }
}



/* 旺铺代表品类与产品自适应展示卡 */
.product-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.product-item-card .img-box,
.product-item-card .catalog-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
  }
.product-item-card:hover img {
  transform: scale(1.04);
}


/* 全站图片框自动等比自适应规则，杜绝裁切与溢出 */
.img-contain-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}
.img-contain-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

/* ===================================================================
   乐拓安全箱专用图片展示优化 (正方形画幅 + contain完整显示无裁剪)
   =================================================================== */
.catalog-card[data-cat="safety"] .catalog-img-wrap,
.product-clean-card.card-safety .product-clean-media {
  background-color: #ffffff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-card[data-cat="safety"] .catalog-img-wrap img,
.product-clean-card.card-safety .product-clean-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 12px;
  transition: transform 0.3s ease;
}

.catalog-card[data-cat="safety"]:hover .catalog-img-wrap img,
.product-clean-card.card-safety:hover .product-clean-media img {
  transform: scale(1.04);
}
