/* theme3 暗金尊享 — 基于 moban 黑金风格，适配企业分站 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --hc-primary: #1a1a1a;
  --hc-secondary: #2c2c2c;
  --hc-accent: #c9a96e;
  --hc-accent-light: #e0c99a;
  --hc-text: #f5f0e8;
  --hc-muted: #a89f91;
  --hc-border: #3a3a3a;
  --hc-max: 1200px;
  --hc-nav-h: 80px;
}

html { scroll-behavior: smooth; }

body.hc-site {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--hc-primary);
  color: var(--hc-text);
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; vertical-align: middle; }

.preview-bar {
  background: #b45309;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  position: relative;
  z-index: 1101;
}

/* —— 导航 —— */
.hc-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hc-border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.hc-navbar.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }

.hc-nav-container {
  max-width: var(--hc-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: var(--hc-nav-h);
}

.hc-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--hc-accent);
  letter-spacing: 3px;
  line-height: 1.3;
  max-width: 50%;
}
.hc-logo span {
  color: var(--hc-text);
  font-weight: 300;
  font-size: 11px;
  display: block;
  letter-spacing: 5px;
  margin-top: 2px;
  opacity: 0.75;
}

.hc-nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
}
.hc-nav-menu a {
  color: var(--hc-text);
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}
.hc-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hc-accent);
  transition: width 0.3s;
}
.hc-nav-menu a:hover,
.hc-nav-menu li.is-active a { color: var(--hc-accent); }
.hc-nav-menu a:hover::after,
.hc-nav-menu li.is-active a::after { width: 100%; }

.hc-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hc-border);
  color: var(--hc-accent);
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
}

/* —— 首页 Hero —— */
.hc-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 50%, #1a1a1a 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hc-hero--img .hc-hero-overlay { background: rgba(10, 10, 10, 0.55); }
.hc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hc-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.35);
}
.hc-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--hc-nav-h) + 40px) 24px 80px;
  max-width: 900px;
}
.hc-hero-subtitle {
  font-size: 14px;
  letter-spacing: 8px;
  color: var(--hc-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hc-hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: 12px;
  margin-bottom: 20px;
  color: var(--hc-text);
}
.hc-hero-desc {
  font-size: 16px;
  color: var(--hc-muted);
  letter-spacing: 3px;
  margin-bottom: 40px;
}
.hc-hero-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--hc-accent);
  color: var(--hc-accent);
  letter-spacing: 4px;
  font-size: 13px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.hc-hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -100%;
  background: var(--hc-accent);
  transition: left 0.4s;
  z-index: -1;
}
.hc-hero-btn:hover { color: var(--hc-primary); }
.hc-hero-btn:hover::before { left: 0; }
.hc-hero-btn--sm { padding: 10px 28px; font-size: 12px; }

.hc-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--hc-muted);
  font-size: 11px;
  letter-spacing: 2px;
  animation: hc-bounce 2s infinite;
  z-index: 2;
}
@keyframes hc-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* —— 通用区块 —— */
.hc-section {
  padding: 88px 40px;
}
.hc-section--alt { background: var(--hc-secondary); }
.hc-section--join {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
  text-align: center;
}
.hc-section-inner {
  max-width: var(--hc-max);
  margin: 0 auto;
}
.hc-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.hc-section-tag {
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--hc-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hc-section-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--hc-text);
}
.hc-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--hc-accent);
  margin: 18px auto 0;
}
.hc-section-more {
  text-align: center;
  margin-top: 40px;
}
.hc-text-link {
  color: var(--hc-accent);
  letter-spacing: 2px;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.hc-text-link:hover { border-bottom-color: var(--hc-accent); }

/* —— 企业介绍 —— */
.hc-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hc-about-text h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--hc-accent);
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.hc-about-excerpt {
  color: var(--hc-muted);
  text-align: justify;
  margin-bottom: 20px;
}
.hc-about-visual {
  min-height: 360px;
  background: linear-gradient(135deg, #3a2a1a 0%, #2c1810 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--hc-border);
  position: relative;
}
.hc-about-visual::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  pointer-events: none;
}

/* —— 产品卡片 —— */
.hc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hc-product-card {
  background: var(--hc-secondary);
  border: 1px solid var(--hc-border);
  transition: border-color 0.35s, transform 0.35s;
  color: inherit;
  display: block;
}
.hc-product-card:hover {
  border-color: var(--hc-accent);
  transform: translateY(-4px);
}
.hc-product-card-img {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-product-card-img img.product-img--placeholder {
  object-fit: contain;
  padding: 16px;
  background: #e8eef4;
}
.hc-product-card-info {
  padding: 20px;
  text-align: center;
}
.hc-product-card-info h3 {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.hc-product-card-info p {
  font-size: 13px;
  color: var(--hc-muted);
}

/* —— 招商 —— */
.hc-join-inner { max-width: 720px; }
.hc-join-text {
  color: var(--hc-muted);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 8px;
}

/* —— 资讯 —— */
.hc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hc-news-card {
  background: var(--hc-primary);
  border: 1px solid var(--hc-border);
  padding: 28px;
  transition: border-color 0.3s;
  display: block;
}
.hc-section--alt .hc-news-card { background: var(--hc-primary); }
.hc-news-card:hover { border-color: var(--hc-accent); }
.hc-news-card h3 {
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.hc-news-card p {
  font-size: 14px;
  color: var(--hc-muted);
  line-height: 1.8;
}

/* —— 联系 —— */
.hc-contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px 64px;
}
.hc-contact-item { text-align: center; max-width: 280px; }
.hc-contact-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--hc-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--hc-accent);
  font-size: 18px;
}
.hc-contact-label {
  font-size: 12px;
  color: var(--hc-muted);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.hc-contact-value {
  font-size: 16px;
  letter-spacing: 1px;
  word-break: break-word;
}

.hc-contact-extra { margin-top: 48px; }

/* —— 内页 —— */
.hc-page-banner {
  padding: calc(var(--hc-nav-h) + 48px) 40px 40px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
  border-bottom: 1px solid var(--hc-border);
}
.hc-page-banner--compact { padding-bottom: 28px; }
.hc-page-banner h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 6px;
  margin-top: 8px;
}
.hc-page-body {
  padding: 48px 40px 72px;
}
.hc-breadcrumb {
  font-size: 13px;
  color: var(--hc-muted);
  margin-bottom: 8px;
}
.hc-breadcrumb a:hover { color: var(--hc-accent); }
.hc-breadcrumb span { margin: 0 6px; opacity: 0.5; }
.hc-back {
  display: inline-block;
  color: var(--hc-accent);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.hc-back:hover { opacity: 0.85; }

.hc-product-grid--page { margin-bottom: 24px; }

.hc-product-hero {
  margin-bottom: 28px;
  border: 1px solid var(--hc-border);
  background: var(--hc-secondary);
}
.hc-product-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.hc-product-hero img.product-img--placeholder {
  object-fit: contain;
  max-height: 400px;
  background: #e8eef4;
  padding: 24px;
}
.hc-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hc-border);
}
.hc-product-meta span {
  display: block;
  font-size: 12px;
  color: var(--hc-muted);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.hc-product-meta strong { font-size: 18px; color: var(--hc-accent); }

.hc-article-meta {
  font-size: 13px;
  color: var(--hc-muted);
  margin-top: 8px;
}
.hc-article-related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--hc-border);
}
.hc-article-related h3 {
  font-size: 16px;
  color: var(--hc-accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.hc-article-related ul { list-style: none; }
.hc-article-related li { margin-bottom: 10px; }
.hc-article-related a:hover { color: var(--hc-accent); }

/* —— 正文 —— */
.hc-prose {
  color: var(--hc-muted);
  font-size: 15px;
  line-height: 1.9;
}
.hc-prose h1, .hc-prose h2, .hc-prose h3 { color: var(--hc-text); margin: 1.2em 0 0.6em; }
.hc-prose p { margin-bottom: 1em; }
.hc-prose img { max-width: 100%; border-radius: 4px; }
.hc-prose a { color: var(--hc-accent); }
.hc-prose ul, .hc-prose ol { padding-left: 1.5em; margin-bottom: 1em; }
.hc-empty { color: var(--hc-muted); text-align: center; padding: 40px 0; }

/* —— 友商 —— */
.hc-peer-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.hc-peer-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--hc-border);
  font-size: 14px;
  transition: border-color 0.3s;
}
.hc-peer-grid a:hover {
  border-color: var(--hc-accent);
  color: var(--hc-accent);
}
.hc-peer-grid i { font-size: 12px; opacity: 0.6; }

/* —— 分页 —— */
.hc-pagination {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--hc-muted);
}
.hc-pagination a,
.hc-pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid var(--hc-border);
  color: var(--hc-text);
}
.hc-pagination a:hover,
.hc-pagination .current {
  border-color: var(--hc-accent);
  color: var(--hc-accent);
}

/* —— 页脚 —— */
.hc-footer {
  background: #0f0f0f;
  padding: 36px 24px;
  text-align: center;
  border-top: 1px solid var(--hc-border);
}
.hc-footer p {
  font-size: 12px;
  color: var(--hc-muted);
  letter-spacing: 2px;
}

/* —— 响应式 —— */
@media (max-width: 992px) {
  .hc-product-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hc-nav-toggle { display: block; }
  .hc-nav-menu {
    display: none;
    position: absolute;
    top: var(--hc-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid var(--hc-border);
    padding: 12px 0 20px;
  }
  .hc-nav-menu.open { display: flex; }
  .hc-nav-menu li { width: 100%; }
  .hc-nav-menu a {
    display: block;
    padding: 12px 40px;
  }
  .hc-nav-container { padding: 0 20px; }
  .hc-logo { font-size: 18px; max-width: 65%; }
  .hc-hero-title { letter-spacing: 6px; }
  .hc-about-grid { grid-template-columns: 1fr; }
  .hc-about-visual { min-height: 240px; }
  .hc-product-grid,
  .hc-news-grid { grid-template-columns: 1fr; }
  .hc-section { padding: 56px 20px; }
  .hc-page-banner,
  .hc-page-body { padding-left: 20px; padding-right: 20px; }
  .hc-contact-row { flex-direction: column; gap: 32px; }
}
