/*!
 * 深圳不怕影子斜有限责任公司 - 全站样式表
 * 纯 CSS3 + jQuery 响应式网站
 */

/* ============================================
   0. 移动端优化（放在最前面，覆盖默认样式）
   ============================================ */
@media (max-width: 767px) {
  /* 1. 移动端隐藏logo文字 */
  .logo-text {
    display: none;
  }
  
  /* 2. 隐藏右上角语言切换按钮（只在菜单里显示） */
  .header-right > .lang-btn {
    display: none;
  }
  
  /* 3. 页脚：公司信息 | 二维码 | 导航，压缩间距 */
  .footer {
    padding: 24px 0 14px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr minmax(110px, max-content);
    gap: 12px 16px;
    margin-bottom: 16px;
  }

  .footer-info h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .footer-info p {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .footer-wechat {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-width: 110px;
    justify-self: end;
  }

  .footer-wechat img {
    width: 96px;
    height: 96px;
    max-width: none;
  }

  .footer-wechat p {
    white-space: nowrap;
    font-size: 0.8125rem;
  }

  .footer-links {
    grid-column: 1 / -1;
    display: flex !important;
    gap: 24px;
  }

  .footer-links h4 {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  .footer-process {
    display: none !important;
  }

  /* 4. 隐藏微信悬浮按钮 */
  .floating-contact .wechat-btn,
  .wechat-qr-popup {
    display: none !important;
  }

  /* 5. 悬浮按钮尺寸由统一规则控制 */

  /* 6. 菜单语言按钮固定宽度 */
  .nav-mobile .lang-btn {
    margin-top: 15px;
    width: 80px !important;
    min-width: 80px;
    padding: 10px 0;
    text-align: center;
  }
}

/* ============================================
   1. CSS 变量与基础设置
   ============================================ */
:root {
  /* 主色调 */
  --color-primary: #1a1a1a;
  --color-secondary: #c0c0c0;
  --color-accent: #e63946;
  --color-accent-hover: #c62833;

  /* 背景色 */
  --color-bg-light: #f5f5f5;
  --color-bg-white: #ffffff;

  /* 文字色 */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #666666;
  --color-text-light: #999999;

  /* 边框 */
  --color-border: #e0e0e0;

  /* 阴影 */
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;

  /* 过渡 */
  --transition-base: 0.3s ease;
  --transition-fast: 0.2s ease;

  /* 容器宽度 */
  --container-max: 1200px;

  /* 字体 */
  --font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

/* ============================================
   2. 重置与基础样式
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   3. 容器与布局
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 15px auto 0;
}

/* ============================================
   4. 按钮样式
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ============================================
   5. 导航栏
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-white);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.phone-btn {
  display: none;
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航 */
.nav-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-white);
  padding: 20px;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: 999;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile a {
  display: block;
  padding: 15px 0;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile .lang-btn {
  margin-top: 20px;
  width: 80px;
  min-width: 80px;
  text-align: center;
}

/* ============================================
   6. 页脚
   ============================================ */
.footer {
  background: var(--color-primary);
  color: var(--color-bg-white);
  padding: 36px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) auto minmax(200px, 1fr);
  gap: 20px 28px;
  align-items: start;
  margin-bottom: 20px;
}

.footer-info h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-info p {
  color: var(--color-secondary);
  margin-bottom: 6px;
  font-size: 0.8125rem;
}

.footer-wechat {
  text-align: center;
}

.footer-wechat img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  padding: 4px;
  display: block;
}

.footer-wechat p {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--color-secondary);
}

.footer-links {
  display: flex;
  gap: 36px;
}

.footer-links h4 {
  font-size: 0.9375rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: var(--color-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-bg-white);
}

.footer-process {
  display: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-secondary);
}

.footer-bottom a {
  color: var(--color-secondary);
}

/* ============================================
   7. 悬浮询盘组件
   ============================================ */
.floating-contact .wechat-btn,
.wechat-qr-popup {
  display: none !important;
}

.floating-contact {
  position: fixed !important;
  left: auto !important;
  right: 12px;
  bottom: 16px;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: max-content;
  max-width: 56px;
  margin: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.floating-contact .inquiry-btn,
.floating-contact .phone-btn,
.floating-contact .back-to-top {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  min-width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}

.floating-contact .inquiry-btn {
  background: var(--color-accent);
  color: var(--color-bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.floating-contact .wechat-btn,
.floating-contact .phone-btn {
  background: var(--color-accent);
  color: var(--color-bg-white);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.floating-contact .wechat-btn:hover,
.floating-contact .phone-btn:hover {
  background: var(--color-accent-hover);
  transform: scale(1.1);
}

.floating-contact .wechat-btn svg,
.floating-contact .phone-btn svg,
.floating-contact .back-to-top svg {
  width: 24px;
  height: 24px;
}

.wechat-qr-popup {
  position: absolute;
  bottom: 65px;
  right: 0;
  background: var(--color-bg-white);
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  display: none;
}

.wechat-qr-popup.active {
  display: block;
}

.wechat-qr-popup img {
  width: 150px;
  height: 150px;
}

.wechat-qr-popup p {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

/* 桌面端悬停展开 */
@media (min-width: 768px) {
  .wechat-qr-popup {
    bottom: 60px;
  }
}

/* ============================================
   8. Hero 区域
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-bg-white);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.hero-buttons .btn {
  width: 200px;
}

/* ============================================
   9. 核心优势
   ============================================ */
.advantages {
  background: var(--color-bg-light);
}

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

.advantage-card {
  background: var(--color-bg-white);
  padding: 25px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-base);
}

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

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-bg-white);
  fill: none;
  stroke-width: 2;
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================
   10. 定制流程
   ============================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--color-accent);
  color: var(--color-bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================
   11. 产品网格
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card-content {
  padding: 15px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  background: var(--color-bg-light);
  color: var(--color-text-secondary);
  border-radius: 20px;
}

/* ============================================
   12. 筛选栏
   ============================================ */
.filter-bar {
  background: var(--color-bg-white);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg-white);
}

/* ============================================
   13. 材质对比表格
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table th,
.comparison-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: var(--color-primary);
  color: var(--color-bg-white);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--color-bg-light);
}

/* ============================================
   14. 视频展示
   ============================================ */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   15. 客户评价
   ============================================ */
.testimonials-grid {
  display: grid;
  gap: 20px;
}

.testimonial-card {
  background: var(--color-bg-white);
  padding: 25px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.testimonial-info strong {
  display: block;
  font-size: 0.875rem;
}

.testimonial-info span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ============================================
   16. 客户Logo墙
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-logo {
  background: var(--color-bg-white);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.client-logo img {
  max-width: 80%;
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-base);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   17. FAQ 折叠
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--color-bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 15px;
}

/* ============================================
   18. CTA 横幅
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a2a2a 100%);
  padding: 50px 20px;
  text-align: center;
  color: var(--color-bg-white);
}

.cta-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.cta-banner p {
  color: var(--color-secondary);
  margin-bottom: 25px;
}

.cta-banner .btn {
  margin: 5px;
}

/* ============================================
   19. 面包屑
   ============================================ */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.breadcrumb a {
  color: var(--color-text-secondary);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ============================================
   20. 产品详情页
   ============================================ */
.product-gallery {
  margin-bottom: 30px;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.gallery-thumb.active {
  border-color: var(--color-accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  background: var(--color-bg-white);
  padding: 25px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.product-info h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.product-meta-item {
  display: flex;
  gap: 10px;
}

.product-meta-item strong {
  color: var(--color-text-secondary);
  min-width: 80px;
}

.product-params {
  margin-bottom: 30px;
}

.product-params h2 {
  font-size: 1.125rem;
  margin-bottom: 15px;
}

.related-products {
  margin-bottom: 30px;
}

.related-products h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

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

.related-grid .product-card img {
  height: 120px;
}

.product-faq h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

/* ============================================
   21. 关于页面
   ============================================ */
.about-intro {
  margin-bottom: 40px;
}

.about-intro p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.factory-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--color-bg-light);
  padding: 25px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 5px;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
}

.timeline-year {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================
   22. 联系页面
   ============================================ */
.contact-grid {
  display: grid;
  gap: 30px;
}

.contact-info-card {
  background: var(--color-bg-white);
  padding: 25px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.contact-info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
}

.contact-info-card p {
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.contact-info-card a {
  color: var(--color-accent);
}

.contact-map {
  width: 100%;
  height: 360px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================
   23. 博客文章
   ============================================ */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
}

.blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card h3 a:hover {
  color: var(--color-accent);
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .read-more {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 600;
}

.article-content {
  background: var(--color-bg-white);
  padding: 30px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.article-content h2 {
  font-size: 1.25rem;
  margin: 25px 0 15px;
}

.article-content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.article-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.article-content li {
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  list-style: disc;
}

/* ============================================
   24. 回到顶部
   ============================================ */
.floating-contact .back-to-top {
  position: static;
  right: auto;
  bottom: auto;
  display: none;
  background: var(--color-primary);
  color: var(--color-bg-white);
  cursor: pointer;
}

.floating-contact .back-to-top.visible {
  display: flex;
}

.floating-contact .back-to-top:hover {
  background: var(--color-accent);
}

/* ============================================
   25. 页面切换动画
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.page-loader.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   26. 平板断点 (>= 768px)
   ============================================ */
@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  /* 导航 */
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  /* Hero */
  .hero h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  /* 优势 */
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 流程 */
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .process-step {
    flex: 1 1 calc(33.333% - 15px);
    min-width: 200px;
  }

  /* 产品网格 */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 客户Logo */
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 评价 */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 产品详情 */
  .gallery-main {
    height: 400px;
  }

  /* 关于页面 */
  .factory-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 联系页面 */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 博客 */
  .blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* 相关产品 */
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: minmax(180px, 1.4fr) auto minmax(200px, 1fr);
  }

  .footer-process {
    display: none;
  }
}

/* ============================================
   27. 桌面断点 (>= 1200px)
   ============================================ */
@media (min-width: 1200px) {
  .section-title {
    font-size: 2.5rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 3.5rem;
  }

  /* 产品网格 */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 流程 */
  .process-step {
    flex: 1 1 calc(14.285% - 15px);
    min-width: auto;
  }

  /* 客户Logo */
  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* 评价 */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 产品详情 */
  .gallery-main {
    height: 500px;
  }

  /* 关于页面 */
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  /* 联系页面 */
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }

  /* 博客列表 */
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 相关产品 */
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: minmax(220px, 1.6fr) auto minmax(240px, 1fr);
  }
}

/* ============================================
   28. 打印样式
   ============================================ */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.post-content h2,
.post-content h3 {
  margin: 1.4em 0 0.6em;
}

.post-content p,
.post-content li {
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.post-content p {
  margin-bottom: 0.9em;
}

.post-content ul {
  margin: 0 0 1em 1.25em;
}

@media (max-width: 767px) {
  .floating-contact {
    position: fixed !important;
    left: auto !important;
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: max-content;
    max-width: 56px;
  }

  .floating-contact .phone-btn:hover,
  .floating-contact .inquiry-btn:hover {
    transform: none;
  }
}

@media print {
  .header,
  .footer,
  .floating-contact,
  .back-to-top {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}
