/* =============================================
   Gyan Drive — 格扬传动 工业B2B网站样式
   主色: #1a3a5c (深蓝)
   辅色: #e87a30 (橙色)
   背景: #f5f6f8
   ============================================= */

/* --- 基础重置 & 字体 --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: #333;
  background-color: #f5f6f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a3a5c;
  text-align: center;
  margin-bottom: 0.625rem;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(26, 58, 92, 0.1);
  transition: box-shadow 0.3s ease;
}

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

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

.navbar .logo-img-placeholder {
  width: 40px;
  height: 40px;
  background: #1a3a5c;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.navbar .logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.2;
}

.navbar .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #888;
  letter-spacing: 1px;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar .nav-links a {
  font-size: 0.95rem;
  color: #444;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e87a30;
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #1a3a5c;
}

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

.navbar .lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid #ddd;
}

.navbar .lang-switch a {
  font-size: 0.85rem;
  color: #888;
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar .lang-switch a.active,
.navbar .lang-switch a:hover {
  color: #e87a30;
  background: rgba(232, 122, 48, 0.08);
}

/* 汉堡菜单按钮（移动端） */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #1a3a5c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== Banner 区域 ========== */
.banner {
  margin-top: 70px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.banner .banner-bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 58, 92, 0.85), rgba(42, 90, 140, 0.85)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%232a5a8c" width="100" height="100"/><circle cx="20" cy="50" r="18" fill="none" stroke="%233a6a9c" stroke-width="0.5"/><circle cx="50" cy="30" r="22" fill="none" stroke="%233a6a9c" stroke-width="0.5"/><circle cx="75" cy="60" r="16" fill="none" stroke="%233a6a9c" stroke-width="0.5"/></svg>');
  background-size: cover, 300px 300px;
  background-position: center, center;
  opacity: 0.5;
  z-index: 0;
}

.banner .container {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
  text-align: center;
}

.banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.banner .banner-slogan {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.banner .banner-stat-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner .banner-stat-badges .badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ========== 产品概览 ========== */
.products-overview {
  padding: 5rem 0;
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #f5f6f8;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e8eaed;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.1);
  border-color: #1a3a5c;
}

.product-card .icon-placeholder {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: #e8edf2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a3a5c;
  transition: all 0.3s ease;
}

.product-card:hover .icon-placeholder {
  background: #1a3a5c;
  color: #fff;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
}

.product-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.product-card .en-name {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

/* ========== 核心优势 ========== */
.advantages {
  padding: 5rem 0;
  background: #f5f6f8;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.advantage-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #e8eaed;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.08);
  border-color: #e87a30;
}

.advantage-item .icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(232, 122, 48, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #e87a30;
  transition: all 0.3s ease;
}

.advantage-item:hover .icon-circle {
  background: #e87a30;
  color: #fff;
}

.advantage-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 0.5rem;
}

.advantage-item p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}

/* ========== 数据统计 ========== */
.stats {
  padding: 4rem 0;
  background: #1a3a5c;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #e87a30;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.stat-item .stat-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ========== 关于我们 / 技术能力（预览） ========== */
.about-preview,
.tech-preview {
  padding: 5rem 0;
  background: #fff;
}

.about-preview .content-row,
.tech-preview .content-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-preview .text-block,
.tech-preview .text-block {
  flex: 1;
}

.about-preview .text-block h3,
.tech-preview .text-block h3 {
  font-size: 1.5rem;
  color: #1a3a5c;
  margin-bottom: 1rem;
}

.about-preview .text-block p,
.tech-preview .text-block p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.about-preview .image-placeholder,
.tech-preview .image-placeholder {
  flex: 1;
  height: 300px;
  background: #e8edf2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.95rem;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: #e87a30;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #d06a22;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 122, 48, 0.3);
}

.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  background: transparent;
  color: #1a3a5c;
  border: 2px solid #1a3a5c;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: #1a3a5c;
  color: #fff;
}

.tech-preview {
  background: #f5f6f8;
}

.tech-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tech-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #444;
}

.tech-specs li::before {
  content: "✓";
  color: #e87a30;
  font-weight: 700;
}

/* ========== 联系表单 ========== */
.contact {
  padding: 5rem 0;
  background: #fff;
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: #1a3a5c;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #666;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-info .contact-icon {
  color: #e87a30;
  min-width: 20px;
  font-weight: 700;
}

.contact-form {
  flex: 1.2;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  background: #fafbfc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #1a3a5c;
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
}

/* ========== 页脚 ========== */
.footer {
  background: #1a3a5c;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #e87a30;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #e87a30;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-contact .fc-icon {
  color: #e87a30;
  min-width: 18px;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== 响应式设计 ========== */

/* 平板 */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .about-preview .content-row,
  .tech-preview .content-row {
    flex-direction: column;
  }

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

  .banner h1 {
    font-size: 2.2rem;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .navbar .nav-links.open {
    display: flex;
  }

  .navbar .nav-links a {
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar .nav-links a::after {
    display: none;
  }

  .navbar .lang-switch {
    border-left: none;
    padding: 8px 20px;
    justify-content: center;
  }

  .banner .container {
    padding: 60px 20px;
  }

  .banner h1 {
    font-size: 1.8rem;
  }

  .banner .banner-slogan {
    font-size: 1rem;
  }

  .banner .banner-stat-badges .badge {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

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

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

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

/* 小手机 */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .banner h1 {
    font-size: 1.5rem;
  }

  .banner .banner-stat-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ========== 关于我们 - 页面专用样式 ========== */

/* 公司介绍 */
.company-intro {
  padding: 5rem 0;
  background: #fff;
}

.company-intro .content-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.company-intro .text-block {
  flex: 1.3;
}

.company-intro .text-block h3 {
  font-size: 1.6rem;
  color: #1a3a5c;
  margin-bottom: 1.25rem;
}

.company-intro .text-block p {
  color: #555;
  line-height: 1.9;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.company-intro .image-placeholder {
  flex: 0.8;
  height: 320px;
  background: #e8edf2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.95rem;
}

/* 核心能力表格 */
.core-capabilities {
  padding: 5rem 0;
  background: #f5f6f8;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.core-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  border: 1px solid #e8eaed;
  text-align: center;
  transition: all 0.3s ease;
}

.core-item:hover {
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.08);
  border-color: #e87a30;
}

.core-item .core-icon {
  font-size: 2rem;
  color: #e87a30;
  margin-bottom: 1rem;
}

.core-item h4 {
  font-size: 1.1rem;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
}

.core-item ul {
  text-align: left;
}

.core-item ul li {
  font-size: 0.88rem;
  color: #666;
  padding: 4px 0;
  padding-left: 1.2rem;
  position: relative;
}

.core-item ul li::before {
  content: "•";
  color: #e87a30;
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* 制造工艺流程图 */
.process-flow-section {
  padding: 5rem 0;
  background: #fff;
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  position: relative;
  padding: 2rem 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  position: relative;
}

.process-step .step-circle {
  width: 60px;
  height: 60px;
  background: #1a3a5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover .step-circle {
  background: #e87a30;
  transform: scale(1.08);
}

.process-step .step-label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #555;
  text-align: center;
  font-weight: 500;
}

.process-step .step-arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-size: 1.2rem;
  z-index: 1;
}

.process-step:last-child .step-arrow {
  display: none;
}

/* 工程团队 */
.engineering-team {
  padding: 5rem 0;
  background: #f5f6f8;
}

.software-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.software-item {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 120px;
  transition: all 0.3s ease;
}

.software-item:hover {
  border-color: #1a3a5c;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(26, 58, 92, 0.08);
}

.software-item .sw-icon {
  font-size: 1.8rem;
  color: #1a3a5c;
  margin-bottom: 0.5rem;
}

.software-item .sw-name {
  font-size: 0.9rem;
  color: #444;
  font-weight: 600;
}

/* 设备能力表 */
.equipment-capability {
  padding: 5rem 0;
  background: #fff;
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.data-table thead {
  background: #1a3a5c;
  color: #fff;
}

.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8eaed;
  color: #555;
}

.data-table tbody tr:hover {
  background: #f0f4f8;
}

.data-table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.data-table tbody tr:nth-child(even):hover {
  background: #f0f4f8;
}

/* ========== 产品中心 - 页面专用样式 ========== */

.products-page {
  padding: 5rem 0;
  background: #fff;
}

.products-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* 纯CSS展开卡片 - checkbox hack */
.product-toggle-card {
  background: #f5f6f8;
  border-radius: 10px;
  border: 1px solid #e8eaed;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-toggle-card:hover {
  border-color: #1a3a5c;
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.08);
}

.product-toggle-card .card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

.product-toggle-card .card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: #e0e4ea;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #999;
}

.product-toggle-card .card-title-group {
  flex: 1;
}

.product-toggle-card .card-title-group h3 {
  font-size: 1.05rem;
  color: #1a3a5c;
  font-weight: 600;
  margin-bottom: 2px;
}

.product-toggle-card .card-title-group .en-title {
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 0.3px;
}

.product-toggle-card .expand-icon {
  color: #1a3a5c;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.product-toggle {
  display: none;
}

.product-toggle:checked ~ .card-header .expand-icon {
  transform: rotate(180deg);
}

.product-detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.45s ease;
  padding: 0 1.5rem;
}

.product-toggle:checked ~ .product-detail-content {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}

.product-detail-content .detail-specs {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.product-detail-content .detail-row {
  display: flex;
  padding: 6px 0;
  font-size: 0.88rem;
}

.product-detail-content .detail-label {
  color: #888;
  min-width: 80px;
  font-weight: 500;
}

.product-detail-content .detail-value {
  color: #444;
  flex: 1;
}

/* 产品页 CTA */
.products-cta {
  text-align: center;
  padding: 4rem 0 3rem;
  background: #f5f6f8;
}

.products-cta h3 {
  font-size: 1.5rem;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
}

.products-cta p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* ========== 技术能力 - 页面专用样式 ========== */

.tech-page-section {
  padding: 5rem 0;
  background: #fff;
}

.tech-page-section.alt-bg {
  background: #f5f6f8;
}

/* 设备列表网格 */
.equipment-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.equipment-showcase .eq-item {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.alt-bg .equipment-showcase .eq-item {
  background: #fff;
}

.equipment-showcase .eq-item:hover {
  border-color: #1a3a5c;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(26, 58, 92, 0.08);
}

.equipment-showcase .eq-icon {
  font-size: 1.8rem;
  color: #1a3a5c;
  margin-bottom: 0.5rem;
}

.equipment-showcase .eq-name {
  font-size: 0.88rem;
  color: #444;
  font-weight: 500;
  line-height: 1.4;
}

/* 精度等级对照表 */
.precision-ref {
  padding: 5rem 0;
  background: #f5f6f8;
}

/* ========== 联系我们 - 二维码区 ========== */
.qrcode-section {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.qrcode-item {
  text-align: center;
}

.qrcode-placeholder {
  width: 120px;
  height: 120px;
  background: #e8edf2;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.8rem;
  border: 2px dashed #ccc;
  margin-bottom: 0.5rem;
}

.qrcode-placeholder .qr-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.qrcode-item .qr-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* ========== 页面标题区域 ========== */
.page-header {
  margin-top: 70px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* 响应式补充 */
@media (max-width: 992px) {
  .company-intro .content-row {
    flex-direction: column;
  }

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

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

  .process-step {
    width: 80px;
  }

  .process-step .step-circle {
    width: 50px;
    height: 50px;
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .products-detail-grid {
    grid-template-columns: 1fr;
  }

  .process-flow {
    gap: 0.5rem;
  }

  .process-step {
    width: 70px;
  }

  .process-step .step-circle {
    width: 44px;
    height: 44px;
    font-size: 0.6rem;
  }

  .process-step .step-arrow {
    right: -14px;
    font-size: 0.9rem;
  }

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

  .qrcode-section {
    justify-content: center;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .equipment-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== 知识库网格（用于 capabilities.php） ========== */
.knowledge-section {
  padding: 60px 0;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.knowledge-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.knowledge-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.knowledge-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.knowledge-card:hover .knowledge-img img {
  transform: scale(1.05);
}

.knowledge-body {
  padding: 20px;
}

.knowledge-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 4px;
  line-height: 1.4;
}

.knowledge-title-en {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.knowledge-summary {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.knowledge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.knowledge-tags .tag {
  display: inline-block;
  background: #eef2f7;
  color: #1a3a5c;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.knowledge-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: #999;
}

.knowledge-date {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ========== 工具类 ========== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }


/* 手机端footer单列 */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ========== 表格响应式 ========== */
table {
  word-break: break-word;
  hyphens: auto;
}

.spec-table, .std-table, .process-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.spec-table td, .spec-table th,
.std-table td, .std-table th,
.process-table td, .process-table th {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  font-size: 0.9rem;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  table, .spec-table, .std-table, .process-table {
    font-size: 0.78rem;
  }
  
  .spec-table td, .spec-table th,
  .std-table td, .std-table th,
  .process-table td, .process-table th {
    padding: 6px 8px;
    font-size: 0.78rem;
  }
  
  .spec-table th, .std-table th {
    white-space: normal;
    word-break: break-word;
  }
  
  /* 防止表格溢出 */
  .product-body .container,
  .tech-page-section .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .spec-table td, .spec-table th,
  .std-table td, .std-table th,
  .process-table td, .process-table th {
    padding: 4px 6px;
    font-size: 0.72rem;
  }
}
