/* ============================================================
   宏威视听 HONVEC AV — 全站公共样式
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: #0a0a0f;
  color: #fff;
  overflow-x: hidden;
}

/* ===================== CSS 变量 ===================== */
:root {
  --gold: #d4af37;
  --gold-dark: #b8941e;
  --gold-light: #f5d76e;
  --bg-deep: #0a0a0f;
  --bg-mid: #0d0d18;
  --bg-card: #111120;
  --text-muted: rgba(255,255,255,0.65);
  --text-sub: rgba(255,255,255,0.45);
  --border-gold: rgba(212,175,55,0.2);
  --nav-h: 70px;
}

/* ===================== 导航栏 ===================== */
.hw-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
  background: rgba(10,10,15,0.92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0 60px; display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.hw-nav .logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.hw-nav .logo-icon {
  width: auto; height: 42px; background: none; border-radius: 0;
  display: flex; align-items: center;
}
.hw-nav .logo-icon img {
  height: 42px; width: auto; border-radius: 5px;
}
.hw-nav .logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.hw-nav .logo-text .name { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.hw-nav .logo-text .sub  { font-size: 10px; color: var(--gold); letter-spacing: 2px; }

/* 一级菜单 */
.hw-nav ul.nav-list {
  list-style: none; display: flex; gap: 0; align-items: center;
}
.hw-nav ul.nav-list > li { position: relative; }
.hw-nav ul.nav-list > li > a {
  display: flex; align-items: center; gap: 4px;
  text-decoration: none; color: #fff; font-size: 14px; letter-spacing: 1px;
  transition: color 0.3s; position: relative;
  padding: 0 18px; height: var(--nav-h);
}
.hw-nav ul.nav-list > li > a::after {
  content:''; position:absolute; bottom:0; left:18px; right:18px;
  height:2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s;
}
.hw-nav ul.nav-list > li:hover > a { color: var(--gold); }
.hw-nav ul.nav-list > li:hover > a::after { transform: scaleX(1); }
.hw-nav ul.nav-list > li.active > a { color: var(--gold); }
.hw-nav ul.nav-list > li.active > a::after { transform: scaleX(1); }

/* 下拉箭头 */
.hw-nav .has-children > a .arrow-icon {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.6);
  transition: transform 0.3s, border-top-color 0.3s; margin-top: 1px;
}
.hw-nav .has-children:hover > a .arrow-icon {
  transform: rotate(180deg); border-top-color: var(--gold);
}

/* 二级下拉菜单 */
.hw-nav .sub-menu {
  display: none; position: absolute; top: var(--nav-h); left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,15,0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold); border-top: 2px solid var(--gold);
  border-radius: 0 0 8px 8px; min-width: 180px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  padding: 8px 0; list-style: none; white-space: nowrap;
}
.hw-nav .has-children:hover .sub-menu { display: block; }
.hw-nav .sub-menu li a {
  display: block; padding: 11px 24px;
  color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 1px;
  text-decoration: none; transition: all 0.2s;
  border-left: 2px solid transparent;
}
.hw-nav .sub-menu li a:hover {
  color: var(--gold); background: rgba(212,175,55,0.07);
  border-left-color: var(--gold); padding-left: 28px;
}
.hw-nav .sub-menu li a.active {
  color: var(--gold); border-left-color: var(--gold);
}

/* 立即咨询按钮 */
.hw-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f !important; padding: 10px 24px !important;
  border-radius: 4px; font-weight: 700; letter-spacing: 1px;
  font-size: 13px; height: auto !important;
}
.hw-nav .nav-cta::after { display: none !important; }
.hw-nav .nav-cta:hover { opacity: 0.88; }

/* 汉堡菜单 */
.hw-nav .hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px; z-index: 10000;
}
.hw-nav .hamburger span {
  display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s;
}
.hw-nav .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hw-nav .hamburger.open span:nth-child(2) { opacity: 0; }
.hw-nav .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 手机菜单 */
.hw-nav .mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; width: 100%;
  background: rgba(10,10,15,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 30px 20px; flex-direction: column; gap: 0; z-index: 9998;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.hw-nav .mobile-menu.open { display: flex; }

.hw-nav .mobile-menu .mob-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.hw-nav .mobile-menu .mob-parent {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 15px; letter-spacing: 1px;
  padding: 14px 0; cursor: pointer; text-decoration: none;
  transition: color 0.3s; background: none; border: none; width: 100%;
  font-family: inherit;
}
.hw-nav .mobile-menu .mob-parent:hover { color: var(--gold); }
.hw-nav .mobile-menu .mob-arrow {
  display: inline-block; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid rgba(255,255,255,0.5); transition: transform 0.3s;
}
.hw-nav .mobile-menu .mob-item.open .mob-arrow {
  transform: rotate(180deg); border-top-color: var(--gold);
}
.hw-nav .mobile-menu .mob-sub { display: none; padding: 4px 0 8px 16px; }
.hw-nav .mobile-menu .mob-item.open .mob-sub { display: block; }
.hw-nav .mobile-menu .mob-sub a {
  display: block; color: rgba(255,255,255,0.7); font-size: 13px;
  padding: 9px 0; text-decoration: none; letter-spacing: 1px;
  border-left: 2px solid rgba(212,175,55,0.3); padding-left: 12px;
  margin-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.hw-nav .mobile-menu .mob-sub a:hover { color: var(--gold); border-left-color: var(--gold); }
.hw-nav .mobile-menu .mob-link {
  display: block; color: #fff; font-size: 15px; letter-spacing: 1px;
  padding: 14px 0; text-decoration: none; transition: color 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hw-nav .mobile-menu .mob-link:hover { color: var(--gold); }
.hw-nav .mobile-menu .nav-cta-mobile {
  display: inline-block; margin-top: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f !important; padding: 12px 28px; border-radius: 4px;
  font-weight: 700; letter-spacing: 1px; font-size: 14px; text-align: center;
  text-decoration: none;
}

/* ===================== 页面横幅 ===================== */
.page-banner {
  position: relative; width: 100%; height: 380px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-top: var(--nav-h);
}
.page-banner .banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0d18 0%, #111120 100%);
}
.page-banner .banner-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,15,0.4), rgba(10,10,15,0.85));
}
.page-banner .banner-content {
  position: relative; z-index: 2; text-align: center;
}
.page-banner .banner-tag {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold);
  padding: 5px 18px; font-size: 11px; letter-spacing: 4px; margin-bottom: 18px;
}
.page-banner h1 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 900;
  letter-spacing: 3px; color: #fff; margin-bottom: 12px;
}
.page-banner h1 span { color: var(--gold); }
.page-banner p {
  font-size: 14px; color: rgba(255,255,255,0.75); letter-spacing: 2px;
}
/* 面包屑 */
.breadcrumb {
  position: relative; z-index: 2; text-align: center; margin-top: 16px;
  font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ===================== 通用 Section 头部 ===================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-tag {
  display: inline-block; color: var(--gold); font-size: 11px;
  letter-spacing: 5px; text-transform: uppercase; margin-bottom: 16px;
}
.section-header .section-tag::before,
.section-header .section-tag::after {
  content: ''; display: inline-block; width: 30px; height: 1px;
  background: var(--gold); vertical-align: middle; margin: 0 12px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  letter-spacing: 2px; margin-bottom: 16px; color: #fff;
}
.section-header p {
  font-size: 15px; color: var(--text-muted);
  max-width: 640px; margin: 0 auto; line-height: 1.85;
}

/* ===================== 通用按钮 ===================== */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f; padding: 14px 38px; font-size: 14px;
  font-weight: 700; letter-spacing: 2px; border: none;
  cursor: pointer; border-radius: 4px; text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(212,175,55,0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(212,175,55,0.55);
}
.btn-outline-gold {
  display: inline-block;
  background: transparent; color: var(--gold);
  border: 1px solid rgba(212,175,55,0.6);
  padding: 13px 38px; font-size: 14px; font-weight: 600;
  letter-spacing: 2px; cursor: pointer; border-radius: 4px;
  text-decoration: none; transition: all 0.3s;
}
.btn-outline-gold:hover {
  background: var(--gold); color: #0a0a0f;
}

/* ===================== 联系 CTA 条 ===================== */
.hw-cta-bar {
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.05));
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 60px;
}
.hw-cta-bar .cta-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hw-cta-bar .cta-text h3 { font-size: clamp(20px,3vw,28px); font-weight: 800; margin-bottom: 8px; }
.hw-cta-bar .cta-text h3 span { color: var(--gold); }
.hw-cta-bar .cta-text p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.hw-cta-bar .cta-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ===================== 页脚 ===================== */
.hw-footer {
  background: #050508; padding: 40px 60px;
  border-top: 1px solid rgba(212,175,55,0.15);
  display: flex; align-items: center; justify-content: space-between;
}
.hw-footer .footer-left { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.9; }
.hw-footer .footer-right { font-size: 12px; color: rgba(255,255,255,0.5); text-align: right; }
.hw-footer .footer-icp a { color: rgba(255,255,255,0.4); text-decoration: none; }
.hw-footer .footer-icp a:hover { color: var(--gold); }
.hw-footer .footer-cert {
  display: flex; gap: 10px; margin-top: 8px; justify-content: flex-end; flex-wrap: wrap;
}
.hw-footer .footer-cert span {
  background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.15);
  padding: 4px 10px; font-size: 10px; color: var(--gold);
  letter-spacing: 1px; border-radius: 2px;
}

/* ===================== 卡片通用 ===================== */
.card-gold {
  background: var(--bg-card); border: 1px solid var(--border-gold);
  border-radius: 8px; overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.card-gold:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.35);
}

/* ===================== 标签 ===================== */
.tag-gold {
  display: inline-block; background: rgba(212,175,55,0.15);
  color: var(--gold); font-size: 10px; letter-spacing: 2px;
  padding: 4px 12px; border-radius: 2px;
}
.tag-blue {
  display: inline-block; background: rgba(100,180,255,0.12);
  color: #64b4ff; font-size: 10px; letter-spacing: 2px;
  padding: 4px 12px; border-radius: 2px;
}

/* ===================== 分隔线 ===================== */
.divider-gold {
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 16px 0;
}
.divider-gold.center { margin: 16px auto; }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .hw-nav { padding: 0 30px; }
  .hw-cta-bar { padding: 50px 30px; }
  .hw-footer { padding: 40px 30px; }
  .hw-cta-bar .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .hw-nav ul.nav-list { display: none; }
  .hw-nav .hamburger { display: flex; }
  .page-banner { height: 280px; }
  .hw-footer { flex-direction: column; gap: 20px; text-align: center; }
  .hw-footer .footer-cert { justify-content: center; }
  .hw-cta-bar .cta-btns { justify-content: center; }
}

/* ===================== 滚动回顶 ===================== */
#scrollTop {
  display: none; position: fixed; right: 30px; bottom: 30px;
  width: 44px; height: 44px; border-radius: 6px;
  background: var(--gold); color: #0a0a0f;
  border: none; cursor: pointer; font-size: 18px;
  align-items: center; justify-content: center;
  z-index: 9990; transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}
#scrollTop.show { display: flex; }
#scrollTop:hover { transform: translateY(-3px); }
