/* ========================================
   江西康维环保官网 - 现代企业风格样式
   ======================================== */

/* === Design Tokens === */
:root {
  --color-primary: #1890ff;
  --color-primary-dark: #096dd9;
  --color-primary-light: #e6f7ff;
  --color-accent: #52c41a;
  --color-warning: #fa8c16;
  --color-danger: #f5222d;
  --color-text: #1a1a1a;
  --color-text-secondary: #666;
  --color-text-muted: #999;
  --color-border: #f0f0f0;
  --color-bg: #f7f8fa;
  --color-bg-card: #fff;
  --color-hero-gradient-start: #0a1628;
  --color-hero-gradient-end: #1a2d4a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }
address { font-style: normal; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--color-text-secondary);
}
.breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}
.breadcrumb span {
  color: var(--color-text);
}

/* === Navigation === */
.site-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.main-nav a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}
.main-nav a:hover:after { width: 100%; }

.header-search { display: flex; gap: 8px; }
.header-search input {
  padding: 8px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  font-size: 14px;
  width: 200px;
  transition: var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  width: 240px;
}
.header-search button {
  padding: 8px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.header-search button:hover { background: var(--color-primary-dark); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Page Hero === */
.page-hero {
  background: linear-gradient(135deg, var(--color-hero-gradient-start) 0%, var(--color-hero-gradient-end) 100%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24,144,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}
.page-hero .hero-desc {
  font-size: 17px;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

.product-hero { background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%); }
.service-hero { background: linear-gradient(135deg, #0a2818 0%, #1a4a3c 100%); }
.case-hero { background: linear-gradient(135deg, #281a0a 0%, #4a3a1a 100%); }
.news-hero { background: linear-gradient(135deg, #1a0a28 0%, #3a1a4a 100%); }

/* === Page Body === */
.page-body {
  padding: 48px 0 64px;
}

/* === Filter Tabs === */
.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-tabs a {
  padding: 8px 22px;
  border-radius: 24px;
  font-size: 14px;
  color: var(--color-text-secondary);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  font-weight: 500;
}
.filter-tabs a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}
.filter-tabs a.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* === Product Grid === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}
.product-card-cover {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f5ff 0%, #e6f0fa 100%);
}
.product-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card-cover img {
  transform: scale(1.05);
}
.cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
}
.cover-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(24,144,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-icon:before {
  content: '';
  width: 28px;
  height: 28px;
  border: 3px solid var(--color-primary);
  border-radius: 6px;
  opacity: 0.5;
}
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(250,140,22,0.95);
  color: #fff;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
}
.product-intro {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.learn-more {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}
.product-card:hover .learn-more { text-decoration: underline; }

/* === Service Grid (New Design) === */
.service-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.service-card-new {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card-new:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  border-color: var(--color-primary);
}
.service-card-cover {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
}
.service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card-new:hover .service-card-cover img {
  transform: scale(1.05);
}
.service-card-cover .cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #f0f9ff 100%);
}
.service-card-cover .cover-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary);
  opacity: 0.3;
}
.service-card-body-new {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body-new h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.4;
}
.service-intro-new {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}
.service-card-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.service-card-stats .stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.service-card-stats .stat-item svg {
  color: var(--color-primary);
}
.service-card-footer-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card-footer-new .learn-more {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
}
.service-card-new:hover .learn-more {
  text-decoration: underline;
}

/* === Service Process Section === */
.service-process-section {
  padding: 64px 0;
  background: var(--color-bg-card);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 28px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--color-border);
}
.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}
.process-step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === Case Grid === */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.case-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}
.case-card-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
}
.case-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-card:hover .case-card-cover img { transform: scale(1.05); }
.case-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.case-card:hover .case-card-overlay { opacity: 1; }
.case-view-btn {
  padding: 10px 28px;
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(10px);
  transition: var(--transition);
}
.case-card:hover .case-view-btn { transform: translateY(0); }
.case-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.case-card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
}
.case-intro {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-period {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

/* === News Grid === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
}
.news-card-cover {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f0ff 0%, #efdbff 100%);
}
.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-card-cover img { transform: scale(1.05); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.news-author { color: var(--color-text-secondary); }
.news-card-body h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-summary {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-section h2 { font-size: 26px; margin-bottom: 12px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.cta-section .btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: var(--color-primary);
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}
.cta-section .btn-primary:hover {
  background: #f0f0f0;
  text-decoration: none;
  transform: translateY(-2px);
}

/* === Detail Hero === */
.detail-hero {
  background: linear-gradient(135deg, var(--color-hero-gradient-start) 0%, var(--color-hero-gradient-end) 100%);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
}
.detail-hero:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(24,144,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.breadcrumb-inline {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 20px;
  position: relative;
}
.breadcrumb-inline a { color: #fff; opacity: 0.8; }
.breadcrumb-inline a:hover { opacity: 1; }
.breadcrumb-inline span { opacity: 1; }
.detail-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
  line-height: 1.3;
}
.detail-hero .hero-intro {
  font-size: 17px;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 28px;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.detail-hero .btn-outline,
.home-cta .btn-outline {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.detail-hero .btn-outline:hover,
.home-cta .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  text-decoration: none;
  color: #fff;
}

/* Product detail hero with cover */
.product-detail-hero .detail-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.detail-hero-visual .hero-cover {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.hero-cover-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-cover-placeholder .cover-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cover-placeholder .cover-icon:before {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 8px;
}
.hero-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hero-thumb {
  width: 76px;
  height: 58px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-thumb:hover {
  border-color: rgba(255,255,255,0.55);
}
.hero-thumb.active {
  border-color: #fff;
}
.rating-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}
.rating-stars {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-warning);
}
.rating-count {
  font-size: 14px;
  opacity: 0.7;
}
.service-price-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  position: relative;
}
.case-meta-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 14px;
  position: relative;
}

/* News detail hero */
.news-detail-hero { padding-bottom: 36px; }
.article-meta-bar {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: 0.7;
  position: relative;
  flex-wrap: wrap;
}
.meta-updated, .meta-author { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.3); }

/* Article cover */
.article-cover-wrap {
  background: var(--color-bg);
  padding: 32px 0 0;
}
.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* === Detail Body === */
.detail-body {
  padding: 48px 0 64px;
}
.detail-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.detail-main.full-width {
  grid-template-columns: 1fr 300px;
}
.detail-content { min-width: 0; }
.content-section {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.content-section h2 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--color-text);
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.rich-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}
.rich-content h2 { font-size: 22px; margin: 32px 0 16px; color: var(--color-text); border: none; padding: 0; display: block; }
.rich-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--color-text); }
.rich-content p { margin-bottom: 16px; }
.rich-content ul, .rich-content ol { margin: 16px 0; padding-left: 24px; }
.rich-content li { margin-bottom: 8px; }
.rich-content img { border-radius: var(--radius-sm); margin: 20px 0; max-width: 100%; max-height: 600px; height: auto; object-fit: contain; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
/* 服务/案例正文末尾的「服务热线｜地址」段：正文里用 <address> 承载 NAP，UA 默认斜体需复位 */
.rich-content address {
  margin: 20px 0 4px;
  padding: 12px 14px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-primary);
  color: var(--color-text);
}
.rich-content th, .rich-content td { border: 1px solid var(--color-border); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.7; }
.rich-content th { background: var(--color-bg); font-weight: 600; color: var(--color-text); }
.rich-content figure { margin: 24px 0; }
.rich-content figure img { margin: 0 auto; max-width: 100%; max-height: 600px; height: auto; }
.rich-content figcaption { font-size: 13px; color: var(--color-text-muted); text-align: center; margin-top: 10px; line-height: 1.7; }

/* Params table */
.params-table { margin-top: 8px; }
.param-row {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.param-row:last-child { border-bottom: none; }
.param-label {
  width: 180px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
}
.param-value {
  flex: 1;
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* === Sidebar === */
.detail-sidebar { position: sticky; top: 88px; }
.sidebar-block {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.sidebar-block h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 4px; }
.sidebar-list li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: var(--transition);
}
.sidebar-list li a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  text-decoration: none;
}
.sidebar-person-name { display: block; font-weight: 500; color: var(--color-text); }
.sidebar-person-pos { display: block; font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

/* Sidebar FAQ */
.sidebar-faq details {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.sidebar-faq details:last-child { border-bottom: none; }
.sidebar-faq summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  outline: none;
  list-style: none;
}
.sidebar-faq summary:before {
  content: '+';
  margin-right: 8px;
  color: var(--color-primary);
  font-weight: 700;
}
.sidebar-faq details[open] summary:before { content: '−'; }
.sidebar-faq details > div {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-left: 18px;
}

/* Share buttons */
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 8px 16px;
  background: var(--color-bg);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text-secondary);
}
.share-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* === Metrics Showcase === */
.metrics-showcase {
  padding: 48px 0;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
}
.section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--color-text);
  text-align: center;
}
.metrics-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.metric-card {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(24,144,255,0.1);
  transition: var(--transition);
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.metric-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}
.metric-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* === Image Gallery === */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-bg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* === Detail Section === */
.detail-section {
  padding: 48px 0;
  background: var(--color-bg-card);
}
.detail-section:nth-of-type(even) { background: var(--color-bg); }

/* === Feedback === */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.feedback-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.feedback-card:hover { box-shadow: var(--shadow-md); }
.fb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.fb-author { font-weight: 600; color: var(--color-text); }
.fb-rating { color: var(--color-warning); font-weight: 600; }
.fb-header time { color: var(--color-text-muted); }
.feedback-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--color-text);
}
.feedback-card p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.official-reply {
  background: var(--color-primary-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border-left: 3px solid var(--color-primary);
}
.official-reply strong { color: var(--color-primary); }

/* Feedback form */
.feedback-section-alt .feedback-form-wrap,
.detail-section .feedback-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* === Feedback Form === */
.feedback-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.feedback-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feedback-form .form-group {
  margin-bottom: 20px;
}
.feedback-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-text);
  font-size: 14px;
}
.feedback-form input[type="text"],
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: #fff;
}
.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
}
.feedback-form textarea {
  resize: vertical;
  min-height: 100px;
}
.feedback-form .captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.feedback-form .captcha-row input { flex: 1; }
.captcha-img {
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.feedback-form .btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.feedback-form .btn-submit:hover {
  background: var(--color-primary-dark);
}

/* === Comment Section === */
.comment-section {
  margin-top: 16px;
}
.comment-section h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--color-text);
}
.comment-list { margin-bottom: 32px; list-style: none; padding-left: 0; }
.comment-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.comment-item:last-child { border-bottom: none; }
.comment-item-child {
  margin-left: 52px;
  padding-left: 18px;
  border-left: 2px solid var(--color-primary-light);
}
.comment-reply-to {
  color: var(--color-primary);
  font-size: 14px;
}
@media (max-width: 768px) {
  .comment-item-child { margin-left: 0; padding-left: 12px; }
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.comment-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-author .name { font-weight: 600; color: var(--color-text); }
.comment-author .time { color: var(--color-text-muted); font-size: 14px; }
.comment-content {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.comment-reply {
  background: var(--color-primary-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  font-size: 14px;
  border-left: 3px solid var(--color-primary);
}
.comment-reply strong { color: var(--color-primary); }
.reply-toggle {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  line-height: inherit;
  color: var(--color-primary);
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}
.reply-toggle:hover { text-decoration: underline; }
.reply-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.reply-form {
  margin-top: 16px;
  padding: 20px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}
.reply-form input,
.reply-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 14px;
  font-family: inherit;
}
.reply-form textarea { resize: vertical; min-height: 80px; }
.reply-form .captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.reply-form .captcha-row input { flex: 1; margin-bottom: 0; }
.reply-form button {
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.reply-form button:hover { background: var(--color-primary-dark); }

.comment-form-wrap {
  margin-top: 32px;
  padding: 28px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
}
.comment-form-wrap h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-text);
}
.comment-form-wrap .form-group { margin-bottom: 16px; }
.comment-form-wrap input[type="text"],
.comment-form-wrap textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}
.comment-form-wrap textarea { resize: vertical; min-height: 100px; }
.comment-form-wrap .captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.comment-form-wrap .captcha-row input { flex: 1; }
.comment-form-wrap .btn-submit {
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}
.comment-form-wrap .btn-submit:hover { background: var(--color-primary-dark); }

/* === Pagination === */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.pagination {
  display: flex;
  gap: 8px;
}
.pagination a, .pagination span {
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
  transition: var(--transition);
}
.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}
.pagination .active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.pagination .disabled {
  color: #d9d9d9;
  cursor: not-allowed;
}

/* === Footer === */
.site-footer {
  background: var(--color-hero-gradient-start);
  color: #fff;
  padding: 48px 0 20px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-col p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 8px;
}
/* 页脚 tel:/mailto: 链接走 p 的灰白色，不吃全局 a 的主色（深色底上对比不足） */
.footer-contact p a { color: inherit; }
.footer-contact p a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-contact p a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

/* === Index Page === */
.hero {
  background: linear-gradient(135deg, var(--color-hero-gradient-start) 0%, var(--color-hero-gradient-end) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24,144,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.5px;
}
.hero-intro {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.hero .hero-actions { position: relative; }
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  text-decoration: none;
  color: #fff;
}

.section {
  padding: 64px 0;
  background: var(--color-bg-card);
}
.section:nth-child(even) { background: var(--color-bg); }
.section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 36px;
  text-align: center;
  color: var(--color-text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card h3 {
  padding: 16px 16px 8px;
  font-size: 17px;
  font-weight: 600;
}
.card h3 a { color: var(--color-text); }
.card h3 a:hover { color: var(--color-primary); text-decoration: none; }
.card p {
  padding: 0 16px 16px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.news-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}
.news-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-list li:last-child { border-bottom: none; }
.news-list a {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}
.news-list a:hover { color: var(--color-primary); text-decoration: none; }
.news-list time {
  color: var(--color-text-muted);
  font-size: 14px;
}
.more-link {
  display: block;
  text-align: center;
  margin-top: 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}
.more-link:hover { text-decoration: none; }

/* === FAQ Page === */
.faq-page {
  padding: 48px 0 64px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.faq-main h1 {
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--color-text);
}
.faq-list { max-width: 100%; }

/* Sidebar */
.faq-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  margin-bottom: 12px;
}
.sidebar-list li:last-child {
  margin-bottom: 0;
}
.sidebar-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 8px 0;
  transition: color 0.2s;
}
.sidebar-list a:hover {
  color: var(--color-primary);
}
.sidebar-list .title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}
.sidebar-list .date,
.sidebar-list .category {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
}
.sidebar-list .desc {
  display: block;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.faq-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(24,144,255,0.2);
}
.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  list-style: none;
  padding-right: 24px;
  position: relative;
}
.faq-item summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 300;
}
.faq-item[open] summary:after { content: '−'; }
.faq-answer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

/* 首页问答模块：左右两列，各 6 条，与居中的 section-header / section-more 对齐 */
.home-faq-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.home-faq-col { max-width: none; }

/* === Manual Page === */
.manual-list-page {
  padding: 48px 0 64px;
}
.manual-list-page h1 {
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--color-text);
}
.manual-list { max-width: 800px; }
.manual-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.manual-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.manual-item h3 a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}
.manual-item h3 a:hover {
  color: var(--color-primary);
}
.product-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.manual-excerpt {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 14px;
}
.read-more {
  display: inline-block;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.read-more:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
.manual-content {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.download-link {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
.download-link:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
  color: #fff;
}

/* === Search Page === */
.search-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
  padding-bottom: 80px;
}
.hero-search-form {
  max-width: 680px;
  margin: 32px auto 0;
  position: relative;
}
.hero-search-input {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 4px;
}
.hero-search-input .search-icon {
  margin-left: 16px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.hero-search-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 16px;
  background: transparent;
  color: var(--color-text);
}
.hero-search-input input::placeholder {
  color: var(--color-text-muted);
}
.hero-search-input button {
  padding: 14px 32px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.hero-search-input button:hover {
  background: var(--color-primary-dark);
}

.search-type-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.search-type-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  font-weight: 500;
}
.search-type-tabs a span {
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 1px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}
.search-type-tabs a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}
.search-type-tabs a.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.search-type-tabs a.active span {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.search-result-summary {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}
.search-result-summary strong {
  color: var(--color-primary);
  font-weight: 600;
}
.search-result-summary em {
  font-style: normal;
  color: var(--color-text);
  font-weight: 500;
}

.search-result-list {
  list-style: none;
  max-width: 820px;
}
.search-result-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.search-result-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}
.search-result-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.search-result-card h3 a {
  color: var(--color-text);
}
.search-result-card h3 a:hover {
  color: var(--color-primary);
}
.search-result-card mark {
  background: #fff3b0;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.result-snippet {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.result-snippet mark {
  background: #fff3b0;
  color: var(--color-text);
  padding: 0 2px;
  border-radius: 2px;
}
.result-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.result-type-badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}
.badge-product { background: #e6f7ff; color: #1890ff; }
.badge-service { background: #f6ffed; color: #52c41a; }
.badge-project_case { background: #fff7e6; color: #fa8c16; }
.badge-news { background: #f9f0ff; color: #722ed1; }
.badge-faq { background: #fff0f6; color: #eb2f96; }
.badge-manual { background: #e6fffb; color: #13c2c2; }
.result-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
}
.result-link:hover {
  color: var(--color-primary-dark);
}

.search-empty {
  text-align: center;
  padding: 64px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.search-empty .empty-icon {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  opacity: 0.5;
}
.search-empty h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}
.search-empty p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.search-empty ul {
  text-align: left;
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 2;
}
.search-empty a {
  color: var(--color-primary);
  font-weight: 500;
}

/* === About Page === */
.about-page {
  padding: 48px 0 64px;
  background: var(--color-bg-card);
}
.about-page h1 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--color-text);
}
.about-page h2 {
  font-size: 24px;
  margin: 48px 0 24px;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  font-weight: 600;
}
.about-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}
.team-section-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin: -8px 0 28px;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline:before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}
.timeline-item .year {
  width: 100px;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}
.timeline-item .content {
  flex: 1;
  padding-left: 24px;
  position: relative;
}
.timeline-item .content:before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-text);
}
.timeline-item p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Credentials */
.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.credential-item {
  background: var(--color-bg);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.credential-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.credential-item img {
  max-width: 100px;
  max-height: 100px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.credential-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--color-text);
  font-weight: 600;
}
.credential-item p {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Team Hero */
.team-hero {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* Team List Section */
.team-section {
  padding: 64px 0;
}
.team-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-member-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: block;
  color: inherit;
}
.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
  border-color: transparent;
}
.member-card-top {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #f0f5ff 100%);
  padding: 40px 0;
  display: flex;
  justify-content: center;
}
.member-avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.member-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
}
.member-card-body {
  padding: 24px;
  text-align: center;
}
.member-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.member-role {
  display: block;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
}
.member-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.member-tags .tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* Team Detail Hero */
.team-detail-hero {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* Manual Detail Hero */
.manual-detail-hero .hero-intro a {
  color: #fff;
  text-decoration: underline;
  opacity: 0.9;
}
.manual-detail-hero .hero-intro a:hover {
  opacity: 1;
}
.team-hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
}
.team-hero-avatar {
  flex-shrink: 0;
}
.team-hero-avatar img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.avatar-fallback-lg {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
  border: 4px solid rgba(255,255,255,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
}
.team-hero-info h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-role {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 20px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-tags .tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 16px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.hero-links {
  display: flex;
  gap: 12px;
}
.hero-links .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.hero-links .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Team Detail Sections */
.detail-block {
  max-width: 800px;
}
.detail-block h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text);
}
.detail-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}
.detail-section-alt {
  background: var(--color-bg);
}
.section-desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-top: -20px;
  margin-bottom: 32px;
}
.team-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  color: inherit;
}
.team-mini-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
  text-decoration: none;
  color: inherit;
}
.mini-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-fallback-sm {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.mini-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mini-info strong {
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-info span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === Contact Page === */
.contact-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.contact-hero h1 { font-size: 36px; margin-bottom: 12px; }
.contact-hero .hero-subtitle { font-size: 18px; opacity: 0.9; }

.contact-methods {
  padding: 56px 0;
  background: var(--color-bg-card);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.method-card {
  background: var(--color-bg);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.method-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: 50%;
  color: var(--color-primary);
}
.method-icon svg {
  width: 28px;
  height: 28px;
}
.method-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-weight: 600;
}
.method-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  word-break: break-all;
}
.method-desc { font-size: 13px; color: var(--color-text-muted); }
/* 联系卡与页脚里的电话/邮箱改成了 tel:/mailto: 链接，保持原配色与可聚焦轮廓 */
.method-value a { color: inherit; }
.method-value a:hover { text-decoration: underline; text-underline-offset: 2px; }
.method-value a:focus-visible,
.map-info-card p a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.map-info-card p a { text-decoration: underline; text-underline-offset: 2px; }

.contact-form-section {
  padding: 56px 0;
  background: var(--color-bg);
}
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.form-intro { text-align: center; margin-bottom: 32px; }
.form-intro h2 { font-size: 24px; margin-bottom: 8px; color: var(--color-text); }
.form-intro p { color: var(--color-text-secondary); font-size: 14px; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-text);
  font-size: 14px;
}
.contact-form input[type="text"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .captcha-group .captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.contact-form .captcha-group .captcha-row input { flex: 1; }
.contact-form .btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.contact-form .btn-submit:hover { background: var(--color-primary-dark); }

.contact-map-section {
  padding: 56px 0;
  background: var(--color-bg-card);
}
.contact-map-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--color-text);
  text-align: center;
}
.map-placeholder {
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  text-align: center;
  border: 2px dashed rgba(24,144,255,0.3);
}
.map-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.map-info-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  z-index: 10;
}
.map-info-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.map-info-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}
.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: underline;
}
.map-link:hover {
  color: var(--color-primary-dark);
}
.map-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.map-info p {
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

/* === 404 Page === */
.error-404 {
  text-align: center;
  padding: 80px 20px;
}
.error-404 h1 {
  font-size: 100px;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-weight: 700;
}
.error-404 p {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}
.error-404 a {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 28px;
  font-size: 16px;
}
.error-404 a:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

/* === Homepage === */

/* Hero */
.home-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d2137 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.home-hero:before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24,144,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.home-hero:after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(82,196,26,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.home-hero .container { position: relative; z-index: 1; }
.hero-header {
  text-align: center;
  margin-bottom: 48px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(24,144,255,0.15);
  border: 1px solid rgba(24,144,255,0.3);
  border-radius: 20px;
  font-size: 14px;
  color: #69c0ff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.home-hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 48px;
}
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-company-image {
  max-width: 100%;
  max-height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.3);
}
.hero-image-placeholder svg {
  width: 64px;
  height: 64px;
}
.hero-image-placeholder span {
  font-size: 14px;
  letter-spacing: 1px;
}
.hero-content {
  display: flex;
  align-items: center;
}
.hero-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}
.hero-tagline p { margin: 0 0 12px 0; }
.hero-tagline p:last-child { margin-bottom: 0; }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}
.btn-hero-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,144,255,0.4);
}
.btn-hero-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 28px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 20px 0;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* Section */
.home-section {
  padding: 80px 0;
  background: var(--color-bg-card);
}
.home-section-alt {
  background: var(--color-bg);
}
.home-section-dark {
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
  color: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-tag-light {
  background: rgba(24,144,255,0.15);
  color: #69c0ff;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  letter-spacing: -0.5px;
}
.section-header-light h2 { color: #fff; }
.section-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
.section-header-light .section-desc { color: rgba(255,255,255,0.6); }
.section-more {
  text-align: center;
  margin-top: 40px;
}
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  color: var(--color-text-secondary);
  font-size: 15px;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

/* Home Card Grid (Products) */
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: block;
  color: inherit;
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}
.card-cover {
  height: 180px;
  overflow: hidden;
  background: var(--color-bg);
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.home-card:hover .card-cover img { transform: scale(1.05); }
.card-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.card-cover-placeholder svg { width: 48px; height: 48px; }
.card-body {
  padding: 20px;
}
.card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}
.card-body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-arrow {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}

/* Service Icon Grid */
.service-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-icon-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: block;
  color: inherit;
}
.service-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  border-color: var(--color-primary);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition);
}
.service-icon-card:hover .service-icon-wrap {
  background: var(--color-primary);
  color: #fff;
}
.service-icon-wrap svg { width: 28px; height: 28px; }
.service-icon-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}
.service-icon-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Case Showcase */
.case-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-showcase-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: block;
  color: inherit;
}
.case-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}
.case-cover {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.case-showcase-card:hover .case-cover img { transform: scale(1.05); }
.case-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}
.case-info {
  padding: 20px;
}
.case-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}
.case-info p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 12px;
  font-size: 12px;
}

/* Milestone Timeline */
.milestone-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.milestone-timeline:before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.15);
}
.milestone-item {
  position: relative;
  padding-bottom: 32px;
}
.milestone-item:last-child { padding-bottom: 0; }
.milestone-year {
  font-size: 14px;
  color: #69c0ff;
  font-weight: 600;
  margin-bottom: 4px;
}
.milestone-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid #0a1628;
}
.milestone-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}
.milestone-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* (old team-grid styles removed, using team-grid-new) */

/* News Featured Grid */
.news-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-featured-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: block;
  color: inherit;
}
.news-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
}
.news-cover {
  height: 160px;
  overflow: hidden;
}
.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.news-featured-card:hover .news-cover img { transform: scale(1.05); }
.news-body {
  padding: 20px;
}
.news-category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 10px;
}
.news-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body time {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* CTA Section */
.home-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.cta-actions .btn-hero-primary {
  background: #fff;
  color: var(--color-primary);
}
.cta-actions .btn-hero-primary:hover {
  background: #f0f0f0;
  color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.cta-actions .btn-hero-secondary {
  border-color: rgba(255,255,255,0.5);
}
.cta-actions .btn-hero-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* === Responsive === */
@media (max-width: 900px) {
  .detail-main, .detail-main.full-width {
    grid-template-columns: 1fr;
  }
  .detail-sidebar { position: static; }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-widget {
    flex: 1;
    min-width: 280px;
  }
  .product-detail-hero .detail-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 32px; }
  .product-grid, .service-grid, .service-grid-new, .case-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .metrics-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-card-grid, .service-icon-grid, .news-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-showcase-grid {
    grid-template-columns: 1fr;
  }
  .home-faq-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .team-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .home-hero h1 { font-size: 36px; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image {
    order: -1;
  }
  .hero-image-placeholder {
    max-width: 300px;
  }
  .hero-header { margin-bottom: 36px; }
  .hero-actions { margin-bottom: 48px; }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .process-step:not(:last-child):after {
    display: none;
  }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
  }
  .header-search { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .param-row { flex-direction: column; gap: 4px; }
  .param-label { width: auto; }
  .home-card-grid, .service-icon-grid, .news-featured-grid,
  .team-grid-new, .team-mini-grid, .hero-stats {
    grid-template-columns: 1fr;
  }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
  .stat-item:last-child { border-bottom: none; }
  .home-hero { padding: 60px 0 48px; }
  .home-hero h1 { font-size: 28px; }
  .hero-header { margin-bottom: 32px; }
  .hero-tagline { font-size: 15px; line-height: 1.8; }
  .hero-split { gap: 32px; margin-bottom: 36px; }
  .hero-image-placeholder { max-width: 100%; }
  .hero-company-image { max-height: 300px; width: 100%; object-fit: cover; }
  .hero-actions { margin-bottom: 40px; }
  .faq-sidebar {
    flex-direction: column;
  }
  .sidebar-widget {
    min-width: auto;
  }
  .section-header h2 { font-size: 26px; }
  .home-section { padding: 48px 0; }
  .cta-content h2 { font-size: 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .milestone-timeline { padding-left: 32px; }
  .milestone-timeline:before { left: 11px; }
  .milestone-dot { left: -29px; }
  .team-hero-content { flex-direction: column; text-align: center; gap: 24px; }
  .team-hero-info h1 { font-size: 28px; }
  .hero-tags { justify-content: center; }
  .hero-links { justify-content: center; }
  .team-hero-avatar img, .avatar-fallback-lg { width: 120px; height: 120px; }
  .avatar-fallback-lg { font-size: 42px; }
  .hero-search-input { flex-direction: column; padding: 8px; }
  .hero-search-input .search-icon { display: none; }
  .hero-search-input input { padding: 12px; text-align: center; }
  .hero-search-input button { width: 100%; padding: 12px; }
  .search-type-tabs { gap: 8px; }
  .search-type-tabs a { padding: 6px 14px; font-size: 13px; }
  .search-result-card { padding: 18px 20px; }
  .search-result-card h3 { font-size: 16px; }
  .result-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Error pages (404/500) — light background, so secondary button needs dark text */
.error-page { padding: 72px 0 96px; }
.error-page h1 { font-size: 72px; font-weight: 800; color: #1e88e5; margin: 0 0 8px; }
.error-page h2 { font-size: 28px; color: #1f2937; margin: 0 0 12px; }
.error-page p { color: #6b7280; margin: 0 0 28px; }
.error-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.error-actions .btn-secondary { color: #1e88e5; border-color: #1e88e5; }
.error-actions .btn-secondary:hover { background: rgba(30, 136, 229, 0.08); color: #1565c0; border-color: #1565c0; }
