/* ========== 基础与设计 token ========== */
:root {
  --navy: #0F2B5B;
  --navy-dark: #0A1E40;
  --navy-light: #1C3D7A;
  --orange: #F97316;
  --orange-dark: #E05E0B;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --line: #E5E9F0;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 43, 91, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

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

/* ========== 顶部导航 ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(15, 43, 91, 0.1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding-left: 10vw; padding-right: 24px;
  margin-left: 0; max-width: none;
}

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-logo {
  font-size: 24px; font-weight: 900; letter-spacing: 2px;
  color: var(--navy);
}
.brand-sub {
  font-size: 13px; color: var(--orange); font-weight: 500; letter-spacing: 1px;
}

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 15px; color: var(--text); font-weight: 500;
  padding: 6px 2px; position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  height: 34px; padding: 0 12px; margin-left: 24px;
  background: transparent; border: 1px solid var(--line); border-radius: 17px;
  color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--navy); color: var(--navy); }
.lang-switch.is-en { background: var(--navy); border-color: var(--navy); color: #fff; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); }

/* ========== 视图路由 ========== */
.view { display: none; }
.view.view-active { display: block; }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  margin-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10, 30, 64, 0.94) 0%, rgba(15, 43, 91, 0.88) 50%, rgba(15, 43, 91, 0.6) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 24px 120px 10vw; text-align: left; margin-left: 0; max-width: 48vw; }
.hero-eyebrow {
  color: var(--orange); font-size: 14px; font-weight: 700;
  letter-spacing: 4px; margin-bottom: 20px;
}
.hero-title-img {
  display: block; width: 100%; max-width: 560px; height: auto;
  margin-bottom: 24px;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.82); font-size: 18px;
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 56px; }
.hstat-num { font-size: 42px; font-weight: 900; color: var(--orange); line-height: 1; letter-spacing: 1px; }
.hstat-num span { font-size: 18px; font-weight: 700; margin-left: 3px; }
.hstat-label { color: rgba(255,255,255,.72); font-size: 13px; margin-top: 8px; }

.wave-line {
  position: absolute; bottom: 0; left: 0; width: 100%;
  height: 60px; z-index: 2;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ========== 区块通用 ========== */
.section { padding: 96px 0; }
.section-alt { background: #F4F6FA; }
.cases-dark { background: #0A1E40; }
.cases-dark .section-title { color: #fff; }
.cases-dark .section-more { color: rgba(255,255,255,.65); }
.cases-dark .section-more:hover { color: var(--orange); }
.warm { background: #F4F6FA; }
.cert-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cert-card { background: #fff; padding: 8px; border-radius: 6px; box-shadow: 0 4px 14px rgba(15,43,91,.08); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.cert-card img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
@media (max-width: 768px){ .cert-row { grid-template-columns: repeat(2,1fr); } }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 44px;
}
.section-title {
  font-size: 32px; font-weight: 900; color: var(--navy);
  letter-spacing: 1px; position: relative; padding-left: 16px;
}
.section-title::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; background: var(--orange); border-radius: 2px;
}
.section-title--left { padding-left: 16px; }
.section-more { color: var(--muted); font-size: 14px; }
.section-more:hover { color: var(--orange); }

/* ========== 栅格 ========== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========== 产品卡片（首页预览） ========== */
.prod-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(15, 43, 91, 0.14); }
.prod-img {
  background: #EDF0F5; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img--placeholder { color: var(--muted); font-size: 15px; letter-spacing: 2px; }
.prod-card .prod-img { margin: 0; }
.prod-card > div:last-of-type { padding: 18px 20px 6px; }
.prod-name { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.prod-desc { font-size: 13px; color: var(--muted); padding: 0 20px 20px; }

/* ========== 案例卡片 ========== */
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow); cursor: pointer;
}
.case-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.case-card:hover img { transform: scale(1.06); }
.case-mask {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 30, 64, 0.9));
  color: var(--white); font-size: 14px; font-weight: 500;
}

/* ========== 关于我们首页摘要 ========== */
.about-preview {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}
.about-preview-text p { color: var(--muted); font-size: 15px; margin: 20px 0 28px; }
.about-head { display: flex; align-items: center; justify-content: space-between; }
.link-more { color: var(--orange); font-weight: 700; font-size: 15px; }

.strength-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.strength-item { display: flex; gap: 18px; align-items: flex-start; }
.strength-icon {
  flex: 0 0 48px; height: 48px; border-radius: 10px;
  background: rgba(15, 43, 91, 0.08); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.strength-icon svg { width: 24px; height: 24px; }
.strength-name { font-size: 17px; font-weight: 700; color: var(--navy); }
.strength-desc { font-size: 14px; color: var(--muted); }

/* ========== CTA 横幅 ========== */
.cta-band {
  background: #ffffff;
  padding: 50px 0; text-align: center;
}
.cta-title { color: var(--navy); font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.cta-sub { color: var(--muted); margin-bottom: 32px; }
.footer-contact .footer-cta { margin-left: 10px; color: var(--orange); font-weight: 700; font-size: 13px; }
.footer-contact .footer-cta:hover { text-decoration: underline; }

/* ========== 内页 page-hero ========== */
.page-hero {
  color: var(--white); padding: 120px 0 72px; margin-top: 68px;
  background:
    linear-gradient(115deg, rgba(10, 30, 64, 0.96) 0%, rgba(15, 43, 91, 0.88) 46%, rgba(15, 43, 91, 0.68) 100%),
    url("assets/hero-bg-v9.jpg") center / cover no-repeat;
}
.page-hero h1 { font-size: 44px; font-weight: 900; letter-spacing: 2px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 16px; }

/* ========== 产品详情（产品中心页） ========== */
.series-title {
  font-size: 24px; font-weight: 900; color: var(--navy);
  margin-bottom: 32px; padding-left: 14px; position: relative;
}
.series-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--orange); border-radius: 2px;
}
.series-desc { color: var(--muted); margin: -22px 0 32px; font-size: 14px; }

.prod-detail {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); padding-bottom: 22px;
  transition: transform 0.25s ease;
  cursor: pointer;
}
.prod-detail:hover { transform: translateY(-4px); }
.prod-detail.is-pinned { outline: 2px solid var(--orange); outline-offset: 2px; }
.prod-detail h3 {
  font-size: 18px; color: var(--navy); padding: 18px 20px 8px;
}
.specs { font-size: 13.5px; color: var(--muted); padding: 0 20px; }
.prod-extra { display: none; }

/* ===== 产品悬浮参数窗 ===== */
.product-pop {
  position: fixed; z-index: 3000; width: 320px; max-width: calc(100vw - 24px);
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1.5px solid var(--navy);
  box-shadow: 0 10px 28px rgba(15, 43, 91, 0.22), 0 28px 70px rgba(15, 43, 91, 0.42);
  display: none; flex-direction: column; max-height: 88vh; animation: popIn 0.18s ease;
}
.product-pop.show { display: flex; }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.product-pop-img {
  background: var(--bg); height: 190px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 14px; box-sizing: border-box;
}
.product-pop-img img { width: 100%; height: 100%; object-fit: contain; }
.product-pop-body { padding: 16px 18px 18px; overflow-y: auto; }
.product-pop-title {
  font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.product-pop-params p {
  font-size: 13px; color: var(--muted); line-height: 1.9;
  display: flex; gap: 8px;
}
.product-pop-params b { color: var(--text); font-weight: 600; flex: 0 0 82px; }
.product-pop-pin {
  position: absolute; top: 10px; right: 10px;
  font-size: 12px; color: var(--orange); background: rgba(255,255,255,0.9);
  border: 1px solid var(--orange); border-radius: 20px; padding: 2px 10px;
  display: none;
}
.product-pop.pinned .product-pop-pin { display: block; }

.placeholder-box {
  background: var(--white); border: 2px dashed var(--line);
  border-radius: var(--radius); padding: 48px 24px; text-align: center;
}
.placeholder-box p { color: var(--muted); margin-bottom: 20px; }

/* ========== 案例页 ========== */
.case-grid--full { margin-bottom: 64px; }
.other-cases {
  background: var(--bg); border-radius: var(--radius); padding: 32px 36px;
  display: flex; flex-direction: column; gap: 32px;
}
.case-group-title {
  font-size: 16px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-left: 12px; position: relative;
}
.case-group-title::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; background: var(--orange); border-radius: 2px;
}
.prod-subgroup { margin-top: 44px; }
.prod-subgroup:first-of-type { margin-top: 0; }
.case-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 40px;
}
.case-list li {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  padding-left: 18px; position: relative;
}
.case-list li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); opacity: 0.7;
}

/* ========== 关于我们页 ========== */
.about-detail p {
  font-size: 15.5px; color: var(--text); margin-bottom: 18px; max-width: 860px;
}

.strength-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); border-top: 3px solid var(--orange);
}
.strength-card-icon { color: var(--navy); margin-bottom: 16px; }
.strength-card-icon svg { width: 40px; height: 40px; }
.strength-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.strength-card p { font-size: 14px; color: var(--muted); }

.cert-grid { gap: 20px; }
.cert-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow); padding: 8px;
  transition: transform 0.25s ease;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-card img { width: 100%; height: 180px; object-fit: cover; }

.service-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px;
}
.service-item {
  display: flex; gap: 14px; padding: 16px 20px;
  background: var(--white); border-radius: 8px; box-shadow: var(--shadow);
}
.service-item strong {
  flex: 0 0 76px; color: var(--navy); font-size: 15px;
}
.service-item span { font-size: 13.5px; color: var(--muted); }

/* ========== 联系页：合作文案区块 ========== */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.partner-title {
  font-size: 26px; font-weight: 900; color: var(--navy);
  line-height: 1.4; margin-bottom: 18px; letter-spacing: 1px;
}
.partner-block p { font-size: 15.5px; color: var(--muted); line-height: 1.9; }

/* ========== 联系我们页 ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 18px; font-weight: 700; color: var(--navy); }
.contact-phone a { color: var(--orange); font-size: 26px; letter-spacing: 1px; }
.contact-pending { font-size: 15px; color: var(--muted); font-weight: 400; }

.contact-side h2 { font-size: 26px; color: var(--navy); margin-bottom: 16px; }
.contact-side p { color: var(--muted); margin-bottom: 28px; font-size: 15px; }

/* ========== 页脚 ========== */
.site-footer { background: #08101F; color: rgba(255,255,255,0.62); }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; padding: 40px 24px 16px;
}
.footer-links2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.footer-links2 a { margin-bottom: 8px; }
.footer-products { margin-left: -24px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: baseline; }
.footer-col a, .footer-col p {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.62);
  margin-bottom: 10px; line-height: 1.6;
}
.footer-col a:hover { color: var(--orange); }
.footer-contact a { color: rgba(255,255,255,0.62); }
.footer-copy {
  padding: 16px 24px 24px; text-align: center;
  font-size: 12.5px; color: rgba(255,255,255,0.42);
}
.footer-copy p { margin-bottom: 4px; }
.footer-copy a { color: rgba(255,255,255,0.42); }
.footer-copy a:hover { color: var(--orange); text-decoration: underline; }

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-preview, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-grid { grid-template-columns: 1fr; gap: 36px; }
  .other-cases { padding: 24px 20px; }
  .case-list { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero-title { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-left: auto; margin-right: 10px; height: 32px; padding: 0 11px; }
  .header-inner { gap: 8px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px 28px; }
  .section { padding: 64px 0; }
  .hero-title { font-size: 30px; }
  .hero-inner { max-width: none; padding-left: 24px; }
  .header-inner { padding-left: 24px; }
  .hero-stats { gap: 24px; }
  .service-list { grid-template-columns: 1fr; }
  .products-layout { flex-direction: column; gap: 20px; padding: 24px 16px 64px; }
  .products-nav { position: static; flex: none; width: 100%; padding: 12px 0; }
  .products-nav-title { padding: 0 16px 10px; }
  .products-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
  .products-nav a {
    border-left: none; border-bottom: 3px solid transparent;
    padding: 8px 14px; font-size: 13.5px;
  }
  .products-nav a.active { border-bottom-color: var(--orange); border-left: none; }
}

/* 系列锚点跳转时避开固定导航栏 */
#series-line, #series-active, #series-amp, #series-fullrange,
#series-sub, #series-monitor, #series-accessory, #series-mic {
  scroll-margin-top: 88px;
}

/* ========== 产品中心：左侧固定系列目录 ========== */
.products-layout {
  display: flex; gap: 36px; align-items: flex-start;
  padding: 40px 24px 96px;
}
.products-nav {
  position: sticky; top: 88px; flex: 0 0 184px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 0;
}
.products-nav-title {
  font-size: 13px; font-weight: 800; color: var(--muted);
  letter-spacing: 2px; padding: 0 22px 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.products-nav ul { list-style: none; }
.products-nav a {
  display: block; padding: 11px 22px; font-size: 14.5px; color: var(--text);
  border-left: 3px solid transparent; cursor: pointer; transition: all .18s;
}
.products-nav a:hover { color: var(--orange); background: var(--bg); }
.products-nav a.active {
  color: var(--orange); border-left-color: var(--orange);
  font-weight: 700; background: var(--bg);
}
.products-main { flex: 1 1 auto; min-width: 0; }
/* 小分类标题与大分类标题统一 */
.prod-subgroup-title {
  font-size: 24px; font-weight: 900; color: var(--navy);
  margin: 0 0 24px; padding-left: 14px; position: relative;
}
.prod-subgroup-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--orange); border-radius: 2px;
}

/* ===== 数据背书条 ===== */

/* reveal */
.reveal{opacity:0;transform:translateY(48px);transition:opacity 1.1s ease,transform 1.1s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important;transition:none!important}}
