﻿/* =====================================================
   飞利信 Philisense - 统一网站样式系统（全局基座）
   包含：字体、变量、重置、公共组件（导航/Footer/Hero/卡片/表格等）
   ===================================================== */

/* 字体 */
@import url('../vendor/google-fonts/google-fonts.css');
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  src: local("system-ui"), local("-apple-system");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  src: local("PingFang SC"), local("Microsoft YaHei");
}

/* 变量（所有子页面依赖） */
:root {
  --black: #111111;
  --gray-1: #f8fafc;
  --gray-2: #e5e7eb;
  --gray-3: #9ca3af;
  --gray-4: #6b7280;
  --primary: #165dff;
  --primary-dark: #0d47e0;
  --red-tag: #ef4444;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --shadow-light: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-dropdown: 0 18px 44px rgba(15,23,42,0.14);
  --transition: all 0.25s ease;
  --hero-height-desktop: 480px;
  --hero-height-tablet: 380px;
  --hero-height-mobile: 340px;   /* 手机可略小 */
}

/* 重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
  background: var(--gray-1);
  color: var(--black);
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* 标题字体 */
.logo,
.section-title,
.hero-title,
.card-name,
.solu-name,
.drop-title,
.nav-item > span,
.nav-link,
.footer-col h4,
.floor-title {
  font-family: "Space Grotesk", sans-serif;
}
.logo { font-weight: 700; }
.section-title, .hero-title { font-weight: 700; }
.nav-item > span, .drop-title, .card-name, .solu-name, .footer-col h4, .nav-link, .floor-title { font-weight: 600; }
.btn-buy, .card-price, .hero-price { font-weight: 500; }
.hero-desc, .section-sub, .card-desc, .drop-link, .footer-link { font-weight: 400; }

/* 工具类 */
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 14px; }
.text-lg { font-size: 15px; }
.text-xl { font-size: 18px; }
.text-2xl { font-size: 22px; }
.text-3xl { font-size: 28px; }
.text-4xl { font-size: 36px; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray-4); }
.text-white { color: var(--white); }

/* ===== 公共组件：顶部公告条 ===== */
.top-notice {
  width: 100%;
  height: 36px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
}
.top-notice a { color: #93c5fd; text-decoration: underline; }

/* ===== 公共组件：导航栏（全站统一优化版） ===== */
header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--white);
  box-shadow: var(--shadow-light);
}
.nav-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.logo { font-size: 22px; letter-spacing: 1px; }
.nav-main {
  display: flex;
  gap: 34px; /* 原42px，优化后稍紧凑，导航更聚合 */
  align-items: center;
  justify-content: flex-end;
}
.nav-item {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  font-size: 15px;
}
.nav-item > span,
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  cursor: pointer;
  color: #1f2937;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-item > span:hover,
.nav-item > a:hover,
.nav-item:hover > span,
.nav-item:hover > a {
  color: var(--primary);
}
.nav-item.has-dropdown > span::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 0;
  bottom: -18px;
}
nav-item.has-dropdown .nav-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.nav-item.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* 下拉菜单（产品 / 解决方案 / 公司介绍） */
.nav-item:hover .dropdown-product,
.nav-item:hover .dropdown-solution,
.nav-item:hover .dropdown-company,
.nav-item:focus-within .dropdown-product,
.nav-item:focus-within .dropdown-solution,
.nav-item:focus-within .dropdown-company {
  display: grid;
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.dropdown-product,
.dropdown-solution,
.dropdown-company {
  display: grid;
  position: absolute;
  top: 70px;
  left: 50%;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-dropdown);
  border-radius: var(--radius-lg);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.dropdown-product::before,
.dropdown-solution::before,
.dropdown-company::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

/* 产品下拉（三列） */
.dropdown-product {
  width: min(920px, calc(100vw - 48px));
  padding: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
/* 解决方案下拉（三列） */
.dropdown-solution {
  width: min(760px, calc(100vw - 48px));
  padding: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}
/* 公司介绍下拉（单列窄版）- 全站统一新增 */
.dropdown-company {
  width: min(280px, calc(100vw - 48px));
  padding: 16px;
  grid-template-columns: 1fr;
  gap: 0;
}

.col-line {
  min-width: 0;
  padding: 14px 16px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid transparent;
}
.col-line:hover {
  background: #fff;
  border-color: #e5e7eb;
}
.drop-title {
  font-size: 14px;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dbe3ef;
  letter-spacing: 0;
}
.drop-link {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 8px;
  margin: 2px -8px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray-4);
  transition: var(--transition);
}
.drop-link:hover {
  color: var(--primary);
  background: rgba(22, 93, 255, 0.08);
  padding-left: 12px;
}
.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  font-family: inherit;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  color: currentColor;
  opacity: 0.72;
  transform: translateY(1px);
}
.out-link::after {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  color: var(--gray-3);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-1px);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: var(--black);
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); }
.nav-link::after { content: "↗"; font-size: 10px; color: var(--gray-3); margin-left: 2px; }

/* 移动端 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span { width: 24px; height: 2px; background: #000; transition: 0.2s; }
.mobile-menu {
  display: none;
  width: 100%;
  background: #fff;
  padding: 20px 24px;
  box-shadow: var(--shadow-light);
}
.mobile-menu.active { display: block; }
.mobile-menu li { padding: 10px 0; border-bottom: 1px solid var(--gray-2); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a { color: var(--black); font-size: 15px; }

/* ===== 公共组件：首页 Hero 轮播 ===== */
.hero {
  width: 100%;
  height: 78vh;
  max-height: 720px;
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #e8f0ff, #ffffff);
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  z-index: 1;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.hero-content {
  width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tag-new {
  width: fit-content;
  padding: 4px 10px;
  background: var(--red-tag);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
}
.hero-title { font-size: 48px; max-width: 600px; line-height: 1.2; }
.hero-desc { font-size: 18px; color: var(--gray-4); max-width: 520px; }
.hero-price { font-size: 22px; }
.hero-price del { font-size: 16px; color: var(--gray-3); font-weight: 400; margin-left: 8px; }
.btn-buy {
  width: fit-content;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
}
.btn-buy:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.slide-arrow:hover { background: #fff; box-shadow: var(--shadow-light); }
.arrow-prev { left: 24px; }
.arrow-next { right: 24px; }
.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-2);
  cursor: pointer;
  transition: 0.2s;
}
.dot.active { background: var(--primary); width: 24px; border-radius: 5px; }

/* ===== 首页通用区块 ===== */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px;
  scroll-margin-top: 108px;
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 32px; margin-bottom: 10px; }
.section-sub { color: var(--gray-4); font-size: 15px; }

/* 产品卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.pro-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-img {
    width: 100%;
    height: 200px; /* 根据设计需求调整高度，或使用 aspect-ratio: 16/9; */
    overflow: hidden; /* 关键：防止图片撑开容器或超出边框 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa; /* 可选：图片加载前的占位背景色 */
}

/* 2. 让图片自适应容器大小，保持比例且居中 */
.card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 保证图片完整显示不裁剪；若想填满容器可改为 cover */
    display: block;
}
.card-img svg { width: 70px; height: 70px; fill: var(--primary); opacity: 0.7; }
.card-body { padding: 20px; }
.card-tag { font-size: 12px; color: var(--red-tag); margin-bottom: 8px; }
.card-name { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.card-desc { font-size: 13px; color: var(--gray-4); margin-bottom: 12px; line-height: 1.5; }
.card-price { font-size: 16px; }
.card-price del { font-size: 13px; color: var(--gray-3); font-weight: 400; margin-left: 6px; }

/* Logo轮播 */
.logo-section { padding: 60px 0; overflow: hidden; }
.logo-track {
  display: flex;
  gap: 70px;
  animation: scroll 22s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  width: 130px;
  height: 80px;
  background: var(--gray-1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--gray-4);
}

/* 解决方案 */
.solution-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.solu-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}
.solu-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.solu-name { font-size: 17px; margin-top: 12px; }

/* ===== 公共组件：Footer ===== */
footer {
  background: var(--black);
  color: #fff;
  padding: 70px 24px 30px;
}
.footer-wrap { max-width: 1440px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col h4 { font-size: 16px; margin-bottom: 20px; }
.footer-link {
  display: block;
  color: #b8c2cc;
  font-size: 14px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-link:hover { color: #fff; padding-left: 3px; }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 30px;
  text-align: center;
  color: #888;
  font-size: 13px;
  line-height: 1.8;
}

/* ===== 公共页面容器（联系我们/资质/关于我们） ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.page-header h1 {
  font-size: 42px;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}
.page-header .breadcrumb { font-size: 14px; opacity: 0.9; margin-top: 12px; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb span { margin: 0 8px; }

.content-wrap { max-width: 1440px; margin: 0 auto; padding: 60px 24px; }
.section {
  margin-bottom: 60px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-light);
}
.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--black);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-2);
}
.content-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-4);
  text-align: justify;
}
.content-text p { margin-bottom: 16px; }
.content-text strong { color: var(--black); font-weight: 600; }
.highlight-box {
  background: var(--gray-1);
  border-left: 4px solid var(--primary);
  padding: 16px;
  margin: 12px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.highlight-box h3 { font-size: 16px; margin-bottom: 8px; color: var(--black); }
.highlight-box p { font-size: 13px; color: var(--gray-4); line-height: 1.5; }

/* 富文本（公共） */
.rich-copy {
  color: #374151;
  font-size: 16px;
  line-height: 1.85;
}
.rich-copy p { margin-bottom: 14px; }
.rich-copy ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px;
}
.rich-copy li {
  position: relative;
  padding-left: 18px;
}
.rich-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #165dff;
}

/* Meta 卡片（公共） */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.meta-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
}
.meta-card h3 { font-size: 17px; margin-bottom: 10px; }
.meta-card p { color: #4b5563; font-size: 14px; line-height: 1.7; margin-bottom: 6px; }

/* 表格（公共） */
.table-scroll { overflow-x: auto; }
.source-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.source-table td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  vertical-align: top;
  color: #374151;
  line-height: 1.65;
}
.source-table tr:nth-child(even) td { background: #f8fafc; }

.source-details {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}
.source-details summary {
  cursor: pointer;
  padding: 16px 18px;
  background: #f8fafc;
  font-weight: 600;
}
.source-details .table-scroll { padding: 0 14px 14px; }
.cell-coord {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: #e0edff;
  color: #165dff;
  font-size: 12px;
  font-weight: 600;
}
.raw-cell { white-space: pre-wrap; margin: 0; color: #374151; font: inherit; line-height: 1.7; }

/* ===== 联系我们页面专属 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--gray-1);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.contact-card h3 { font-size: 16px; margin-bottom: 12px; color: var(--black); font-weight: 600; }
.contact-card .contact-item {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--gray-4);
  line-height: 1.6;
}
.contact-card .contact-item strong { color: var(--black); font-weight: 600; margin-right: 6px; }
.contact-card .contact-item a { color: var(--primary); }
.contact-card .contact-item a:hover { color: var(--black); }
.contact-card.headquarters {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.contact-card.headquarters h3 { color: #fff; }
.contact-card.headquarters .contact-item { color: rgba(255,255,255,0.9); }
.contact-card.headquarters .contact-item strong { color: #fff; }
.contact-card.headquarters .contact-item a { color: #fff; text-decoration: underline; }

.wechat-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--gray-1);
  border-radius: var(--radius-md);
  text-align: center;
}
.wechat-section h3 { font-size: 20px; margin-bottom: 20px; color: var(--black); }
.wechat-qrcode {
  width: 200px;
  height: 200px;
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
}
.wechat-qrcode img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.wechat-desc { margin-top: 16px; font-size: 14px; color: var(--gray-4); }

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.branch-card {
  background: var(--gray-1);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}
.branch-card:hover { box-shadow: var(--shadow-light); background: #fff; }
.branch-card h4 { font-size: 15px; margin-bottom: 10px; color: var(--primary); font-weight: 600; }
.branch-card .branch-item {
  font-size: 13px;
  color: var(--gray-4);
  margin-bottom: 6px;
  line-height: 1.5;
}
.branch-card .branch-item strong { color: var(--black); font-weight: 500; }

.branch-map-section { margin-bottom: 40px; }
.branch-map-title {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--black);
  font-weight: 600;
  text-align: center;
}
.branch-map-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}
.branch-map-image img { width: 100%; height: auto; display: block; }
.branch-map-caption { text-align: center; margin-top: 12px; font-size: 14px; color: var(--gray-4); }

/* ===== 资质荣誉页面专属 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.stat-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
}
.stat-card .stat-number { font-size: 48px; font-weight: 700; margin-bottom: 8px; }
.stat-card .stat-label { font-size: 14px; opacity: 0.9; }

.qualify-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  table-layout: fixed;
}
.qualify-table th,
.qualify-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--gray-2);
  vertical-align: middle;
}
.qualify-table th {
  background: var(--gray-1);
  font-weight: 600;
  color: var(--black);
  font-size: 14px;
}
.qualify-table td {
  font-size: 14px;
  color: var(--gray-4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}
.qualify-table tr:hover { background: var(--gray-1); }
.qualify-table .category-col { font-weight: 600; color: var(--black); }
.qualify-table .level-col { color: var(--primary); font-weight: 500; }
.qualify-table th:nth-child(1), .qualify-table td:nth-child(1) { width: 60px; text-align: center; }
.qualify-table th:nth-child(2), .qualify-table td:nth-child(2) { width: auto; text-align: center; }
.qualify-table th:nth-child(3), .qualify-table td:nth-child(3) { width: 280px; text-align: center; }

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 24px 0;
  padding: 16px 20px;
  background: var(--gray-1);
  border-radius: var(--radius-sm);
}
.category-header .category-icon { font-size: 24px; }
.category-header .category-name { font-size: 20px; font-weight: 600; color: var(--black); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.badge-high { background: #e8f5e9; color: #2e7d32; }
.badge-medium { background: #fff3e0; color: #ef6c00; }
.badge-low { background: #fce4ec; color: #c2185b; }
.badge-entry { background: #e3f2fd; color: #1565c0; }

/* ===== 关于我们/核心业务页面专属 ===== */
.business-grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
  min-height: 500px;
}
.business-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 500px;
  justify-content: center;
}
.business-image {
  width: 400px;
  flex-shrink: 0;
  background: var(--gray-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 500px;
}
.business-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== 全局响应式 ===== */
@media (max-width: 1200px) {
  .dropdown-product { width: min(720px, calc(100vw - 48px)); grid-template-columns: 1fr 1fr; }
  .dropdown-solution { width: min(680px, calc(100vw - 48px)); }
}
@media (max-width: 1024px) {
  .nav-wrap { grid-template-columns: auto 1fr; }
  .nav-main { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 36px; }
  .solution-wrap { grid-template-columns: repeat(3, 1fr); }
  .dropdown-product,
  .dropdown-solution,
  .dropdown-company { display: none; }
  .business-grid { flex-direction: column; }
  .business-image { width: 100%; }
  .business-image img { height: auto; object-fit: contain; }
}
@media (max-width: 768px) {
  .hero { height: 60vh; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 26px; }
  .solution-wrap { grid-template-columns: repeat(2, 1fr); }
  .slide-arrow { display: none; }
  .dropdown-product { width: calc(100vw - 40px); }
  .page-header h1 { font-size: 32px; }
  .section { padding: 24px; }
  .content-text { font-size: 15px; }
  .qualify-table { font-size: 12px; }
  .qualify-table th, .qualify-table td { padding: 10px 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .wechat-qrcode { width: 160px; height: 160px; }
}
@media (max-width: 480px) {
  .solution-wrap { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .nav-wrap { padding: 0 16px; }
  .section { padding: 60px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.headquarters-section {
    padding: 28px 40px;
    margin-bottom: 48px;
}
.headquarters-section .section-title {
    margin-bottom: 16px;
    padding-bottom: 10px;
}
.headquarters-section .contact-grid {
    gap: 18px;
}
.headquarters-section .contact-card {
    min-height: 150px;
    padding: 18px;
}
.headquarters-section .contact-card:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.headquarters-section .contact-card:last-child .wechat-desc {
    margin: 0 0 10px;
    text-align: center;
}
.headquarters-section .contact-card:last-child .wechat-qrcode {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Flex子项水平居中 */
}
/* 若仅标题居中，描述左对齐： */
.card-name { align-self: center; }
.card-desc { align-self: flex-start; }

/* 高优先级：强制物联网板块卡片居中 */
section#iot .card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 380px)) !important;
    justify-content: center !important;
    gap: 24px !important; /* 保持与其他板块一致的间距，按需调整 */
    margin: 0 auto !important;
}

/* 确保卡片本身不会被拉伸变形 */
section#iot .pro-card {
    max-width: 380px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* ========== 走马灯视口与遮罩 ========== */
.logo-section .marquee-viewport {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin-top: 40px !important;
}

/* 左右渐变遮罩 - 营造从页面中心浮现的沉浸感 */
.marquee-fade {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 120px !important;
    z-index: 10 !important;
    pointer-events: none !important; /* 关键：不阻挡鼠标点击logo */
}
.marquee-fade-left {
    left: 0 !important;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%) !important;
}
.marquee-fade-right {
    right: 0 !important;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%) !important;
}

/* ========== 轨道动画 ========== */
.logo-section .logo-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    animation: logo-marquee 35s linear infinite !important;
    will-change: transform !important;
}
.logo-section .logo-track:hover {
    animation-play-state: paused !important;
}
@keyframes logo-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== Logo卡片样式（可跳转版） ========== */
.logo-section .logo-item {
    flex-shrink: 0 !important;
    width: 180px !important;
    height: 90px !important;
    margin: 0 16px !important; /* 对应参考站的 mx-4 */
    padding: 15px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* 卡片质感 */
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important; /* 对应 rounded-2xl */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.logo-section .logo-item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    transform: translateY(-2px) !important;
}

/* ✅ 新代码：默认全彩显示，保留悬停微交互 */
.logo-section .logo-item img {
    max-width: 140px !important;
    max-height: 56px !important;
    object-fit: contain !important;
    filter: none !important;           /* 核心修改：去掉置灰和透明度 */
    opacity: 1 !important;             /* 确保完全不透明 */
    transition: transform 0.3s ease !important; /* 过渡改为transform，配合卡片悬浮 */
}

/* 悬停时仅保留轻微放大效果（可选，若不需要可整段删除） */
.logo-section .logo-item:hover img {
    transform: scale(1.05) !important;
}

/* ========== 响应式适配 ========== */
@media (max-width: 768px) {
    .marquee-fade { width: 60px !important; }
    .logo-section .logo-item {
        width: 140px !important;
        height: 70px !important;
        margin: 0 10px !important;
    }
    .logo-section .logo-item img {
        max-width: 100px !important;
        max-height: 40px !important;
    }
    .logo-section .logo-track {
        animation-duration: 25s !important;
    }
}
/* ========== 页脚联系方式优化 (重构版) ========== */

/* ========== 页脚联系方式布局调整 ========== */

/* 1. 整体容器：改为垂直排列 (Column) */
.footer-col .contact-box {
    display: flex !important;
    flex-direction: column !important; /* 关键：让子元素从上到下排列 */
    align-items: flex-start !important; /* 左对齐 */
    gap: 12px !important; /* 图片和文字之间的间距 */
}

/* 2. 二维码样式 */
.footer-col .contact-box .qr-img img {
    width: 80px !important;       /* 根据视觉效果调整大小，参考图中约 80-90px */
    height: 80px !important;
    object-fit: contain !important;
    background-color: #fff;       /* 确保二维码背景为白 */
    padding: 4px;                 /* 可选：增加一点内边距防止太挤 */
    border-radius: 4px;           /* 可选：圆角 */
}

/* 3. 文本区域样式 */
.footer-col .contact-box .contact-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;          /* 电话和地址之间的行间距 */
}

.footer-col .contact-box .contact-text p {
    margin: 0 !important;         /* 清除默认段落间距 */
    color: rgba(255, 255, 255, 0.7); /* 假设是深色背景，设置灰白色字体 */
    font-size: 14px !important;   /* 字体稍微调小以适应单行 */
    line-height: 1.5 !important;
    white-space: nowrap !important; /* 核心：强制地址不换行 */
    text-align: left !important;
}

/* 针对特定段落的微调（如果需要） */
.footer-col .contact-box .contact-text p:last-child {
    /* 如果地址特别长，可以稍微缩小字号，或者保持 nowrap 让它自然延伸 */
    font-size: 14px !important; 
}






/* 确保 hero 区域占满整个视口高度 */
.hero {
    position: relative;
    height: 100vh; /* 关键：让 hero 占满一整屏 */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例并覆盖整个区域 */
    display: block;
}

/* 箭头和圆点定位（确保在全屏内正确显示） */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 24px;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
}

.arrow-prev { left: 20px; }
.arrow-next { right: 20px; }

.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
}