/* =============================================================
   渤峰智造官网系统 - 前台样式
   主色：渤峰蓝 #005BAC
   ============================================================= */
:root {
  --blue: #005BAC;
  --blue-deep: #003a75;
  --ink: #0b2338;
  --ink-soft: #16324e;
  --amber: #e8a33d;
  --white: #ffffff;
  --gray: #6b7a8c;
  --line: #e3eaf1;
  --bg-soft: #f4f7fa;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(9, 32, 58, .14);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
/* ---------------- 首页整屏滚动（无浏览器滚动条） ---------------- */
body.is-home { height: 100vh; overflow: hidden; overscroll-behavior: none; }
body.is-home .home-main {
  height: 100vh;
  transition: transform .95s var(--ease);
  will-change: transform;
}
body.is-home .screen { height: 100vh; min-height: 100vh; }
/* 最后一屏内容（新闻+FAQ+页脚）较多：允许屏内滚动，隐藏滚动条 */
body.is-home .screen-news {
  height: 100vh;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
}
body.is-home .screen-news::-webkit-scrollbar { display: none; }
body.is-home .hero-scroll { transition: opacity .4s ease, visibility .4s ease; }
body.is-home .hero-scroll.hide { opacity: 0; visibility: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.anchor { position: absolute; top: 0; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled,
.site-header.is-solid {
  background: linear-gradient(rgba(8, 24, 48, var(--nav-opa, .7)), rgba(8, 24, 48, var(--nav-opa, .7)));
  box-shadow: 0 4px 22px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 14px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 37px; width: auto; }
.site-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 10px 18px;
  color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 500;
  border-radius: 6px; transition: color .2s, background .2s;
}
.nav-item > a:hover,
.nav-item.active > a { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-drop {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 170px; padding-top: 8px; opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-drop .drop-list {
  background: rgba(8, 24, 48, .96); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow);
}
.drop-list a {
  display: block; padding: 9px 14px; color: rgba(255, 255, 255, .85);
  font-size: 14px; border-radius: 6px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.drop-list a:hover { background: var(--blue); color: #fff; }
.has-children:hover .nav-drop,
.has-children:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(0, 91, 172, .35); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }

/* ---------------- 屏幕通用 ---------------- */
.screen { position: relative; width: 100%; min-height: 100vh; overflow: hidden; }
.screen-title {
  position: absolute; top: 96px; left: 0; right: 0; z-index: 5;
  text-align: center; pointer-events: none;
}
.screen-title h2 { font-size: 40px; color: #fff; letter-spacing: 4px; font-weight: 700; }
.screen-title p { margin-top: 4px; font-size: 13px; letter-spacing: 6px; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------------- 屏1：视频首屏 ---------------- */
.screen-hero { min-height: 100vh; background: var(--ink); }
.hero-video {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.hero-video-fallback { background-size: cover; background-position: center; }
.hero-mask {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(6, 18, 36, .55) 0%, rgba(6, 18, 36, .35) 45%, rgba(6, 18, 36, .72) 100%);
}
.hero-content {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; color: #fff; width: min(880px, 92%);
}
.hero-eyebrow {
  font-size: 15px; letter-spacing: 8px; color: rgba(255, 255, 255, .72);
  margin-bottom: 18px;
}
.hero-title {
  font-size: 48px;
  font-size: clamp(48px, 8vw, 92px); font-weight: 800; letter-spacing: 10px;
  line-height: 1.12; text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.hero-sub { margin-top: 18px; font-size: 16px;
  font-size: clamp(15px, 2vw, 20px); color: rgba(255, 255, 255, .85); letter-spacing: 2px; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .75); font-size: 12px; letter-spacing: 3px;
}
.hero-scroll i {
  width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .9), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* BGM 开关（固定悬浮，翻屏后依然可用） */
.bgm-toggle {
  position: fixed; z-index: 130; right: 30px; bottom: 30px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .25);
  color: #fff; font-size: 18px; transition: .25s;
}
.bgm-toggle:hover { background: rgba(0, 91, 172, .65); }
.bgm-toggle.playing .bgm-icon { animation: spin 3s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 屏2：全屏产品 ---------------- */
.screen-products { background: #0a1a2c; }
.product-stage { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.p-track { display: flex; height: 100%; transition: transform .95s var(--ease); }
.p-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.p-bg {
  position: absolute; top: -4%; right: -4%; bottom: -4%; left: -4%; background-size: cover; background-position: center;
  transform: scale(1.02);
}
.p-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(100deg, rgba(5, 15, 30, .78) 0%, rgba(5, 15, 30, .35) 55%, rgba(5, 15, 30, .25) 100%);
}
.p-info {
  position: absolute; left: 50px; bottom: 90px;
  left: clamp(36px, 9vw, 150px); bottom: clamp(90px, 14vh, 150px); z-index: 3;
  color: #fff; max-width: 620px;
}
.p-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--blue); font-size: 13px; letter-spacing: 2px; margin-bottom: 18px;
}
.p-name { font-size: 34px;
  font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; line-height: 1.25; }
.p-summary { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .82); }
.p-more {
  display: inline-block; margin-top: 22px; color: #fff; font-weight: 600;
  border-bottom: 2px solid var(--amber); padding-bottom: 4px; letter-spacing: 1px;
  transition: color .2s, border-color .2s;
}
.p-more:hover { color: var(--amber); }

/* 舞台圆点指示器（已按需移除左右圆圈箭头） */
.stage-dots {
  position: absolute; right: 44px; bottom: 120px; z-index: 6;
  display: flex; gap: 9px;
}
.stage-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .35); transition: .25s;
  outline: none;
}
.stage-dots button:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.stage-dots button.active { background: var(--amber); transform: scale(1.35); outline: none; }

/* 底部浮动分类 */
.p-cats {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 8;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: rgba(7, 20, 38, .55); border: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 16px; border-radius: 999px; backdrop-filter: blur(8px);
  max-width: 94%;
}
.p-cat {
  padding: 9px 24px; border-radius: 999px; border: 0;
  background: transparent; color: rgba(255, 255, 255, .8); font-size: 15px;
  transition: .25s; outline: none;
}
.p-cat:focus-visible { outline: 2px solid rgba(255,255,255,.5); outline-offset: 2px; }
.p-cat:hover { color: #fff; }
.p-cat.active { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(0, 91, 172, .4); outline: none; }

/* ---------------- 屏3：全屏案例 ---------------- */
.screen-cases { background: #0a1a2c; }
.case-stage { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.c-track { display: flex; height: 100%; transition: transform .95s var(--ease); }
.c-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.c-bg { position: absolute; top: -4%; right: -4%; bottom: -4%; left: -4%; background-size: cover; background-position: center; }
.c-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(5, 15, 30, .35) 0%, rgba(5, 15, 30, .5) 60%, rgba(4, 12, 24, .82) 100%);
}
.c-info {
  position: absolute; right: 50px;
  right: clamp(30px, 8vw, 140px); top: 50%; transform: translateY(-42%);
  width: min(520px, 90%); z-index: 3; color: #fff;
  background: rgba(6, 18, 36, .55); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px; padding: 40px 44px; backdrop-filter: blur(10px);
}
.c-year {
  font-size: 60px; font-weight: 800; color: var(--amber); line-height: 1;
  font-family: Georgia, serif;
}
.c-title { margin-top: 10px; font-size: 28px; font-weight: 700; }
.c-meta { margin-top: 18px; display: grid; gap: 8px; }
.c-meta-row { display: flex; gap: 12px; font-size: 14.5px; }
.c-meta-row dt { color: rgba(255, 255, 255, .55); min-width: 44px; }
.c-meta-row dd { color: rgba(255, 255, 255, .92); }
.c-summary { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }

/* ---------------- 屏4：新闻资讯 + FAQ + 页脚 ---------------- */
.screen-news { background: var(--bg-soft); min-height: 100vh; }
.screen-news .screen-title { position: relative; top: auto; padding-top: 60px; }
.screen-news .screen-title h2 { color: var(--ink); }
.screen-news .screen-title p { color: rgba(11, 35, 56, .5); }
.news-stage {
  margin: 22px auto 0; max-width: 1240px; padding: 0 36px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch;
}
/* 左侧新闻大图（高度较原版改小，与右侧5张卡片等高） */
.news-media {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  position: relative; height: 320px;
}
.news-media a { display: block; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; }
.news-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s ease, transform 6s ease;
}
.news-media img.switching { opacity: 0; transform: scale(1.06); }
.news-panel { display: flex; flex-direction: column; }
.news-tabs { display: flex; flex-direction: column; gap: 10px; height: 100%; }
/* 新闻标题卡片：日期 + 标题，右侧一列 5 张 */
.news-tab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border-radius: 12px;
  padding: 10px 18px; transition: .25s; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line);
  text-decoration: none; color: inherit;
}
.news-tab:hover { box-shadow: 0 0 0 1px var(--blue); transform: translateX(4px); }
.news-tab.active { box-shadow: 0 0 0 1px var(--blue); background: var(--ink); }
.news-tab time { font-size: 12px; color: var(--gray); letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.news-tab.active time { color: rgba(255, 255, 255, .6); }
.news-tab-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.news-tab.active .news-tab-title { color: #fff; }

/* ---------- FAQ 常见问题模块（后台可增删改，前台展示最近 6 条 + MORE 全量页） ---------- */
.faq-mod { max-width: 1240px; margin: 26px auto 0; padding: 0 36px; }
.faq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.faq-head h3 { font-size: 22px; font-weight: 700; color: var(--ink); }
.faq-head .faq-sub { font-size: 13px; color: var(--gray); letter-spacing: 1px; }
.faq-more-link {
  margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue); border: 1px solid var(--blue); border-radius: 999px;
  padding: 6px 16px; transition: .25s; text-decoration: none;
}
.faq-more-link:hover { background: var(--blue); color: #fff; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.faq-item { background: #fff; border-radius: 12px; overflow: hidden; transition: box-shadow .25s; box-shadow: 0 0 0 1px var(--line); }
.faq-item.open { box-shadow: 0 8px 22px rgba(9, 32, 58, .08), 0 0 0 1px var(--line); }
.faq-q {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; text-align: left;
  padding: 13px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.5;
}
.faq-no {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--blue);
  background: rgba(0, 91, 172, .1); border-radius: 6px; padding: 2px 8px;
}
.faq-text { flex: 1; }
.faq-arrow {
  flex-shrink: 0; width: 20px; height: 20px; position: relative;
  border: 1px solid var(--line); border-radius: 50%; transition: transform .3s;
}
.faq-arrow::before, .faq-arrow::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--blue); transform: translate(-50%, -50%);
}
.faq-arrow::before { width: 9px; height: 1.5px; }
.faq-arrow::after { width: 1.5px; height: 9px; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 16px 14px 48px; font-size: 13.5px; color: #54657a; line-height: 1.8; }
.faq-a-inner p + p { margin-top: 6px; }
.faq-item.open .faq-a { max-height: 300px; }
/* FAQ 全量页 */
.faq-page-list { display: grid; gap: 12px; }

/* ---------- 页脚并入最后一屏（紧凑版） ---------- */
.screen-news .site-footer { margin-top: 28px; }
.footer-in-screen .footer-main { padding: 34px 36px 22px; gap: 30px; }
.footer-in-screen .footer-desc { margin-top: 10px; font-size: 13px; }
.footer-in-screen .footer-title { margin-bottom: 12px; font-size: 15px; }
.footer-in-screen .footer-links, .footer-in-screen .footer-contact { gap: 6px; }
.footer-in-screen .footer-bottom-inner { padding: 13px 36px; }

/* ---------------- 底部 ---------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); }
.footer-main {
  max-width: 1100px; margin: 0 auto; padding: 64px 36px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px;
  justify-items: center; align-items: start;
}
.footer-col { text-align: center; max-width: 340px; }
.footer-brand img { height: 43px; width: auto; }
.footer-desc { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.9; }
.footer-title { font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 18px; text-align: center; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, .7); transition: color .2s; }
.footer-links a:hover { color: var(--amber); }
.footer-contact li { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer-contact a { color: var(--amber); }
.footer-qr-img { border-radius: 8px; }
.footer-qr-placeholder {
  width: 120px; height: 120px; border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 12px; color: rgba(255, 255, 255, .45);
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 36px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}
.footer-bottom .beian:hover { color: #fff; }
.footer-bottom .hotline { color: rgba(255, 255, 255, .75); }

/* ---------------- 内页 ---------------- */
.inner-hero {
  background: linear-gradient(135deg, #06264a 0%, var(--blue-deep) 55%, var(--blue) 100%);
  padding: 150px 0 70px; color: #fff;
}
.inner-hero-short { padding: 130px 0 46px; }
.inner-hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 36px; }
.inner-title { font-size: 36px; font-weight: 700; letter-spacing: 2px; }
.breadcrumb { margin-top: 14px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: var(--amber); }
.inner-body { padding: 56px 0 80px; background: var(--bg-soft); min-height: 52vh; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 36px; }
.container-narrow { max-width: 960px; }
.empty-tip { padding: 60px 0; text-align: center; color: var(--gray); }

/* 卡片网格 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(9, 32, 58, .08); }
.card-link { display: block; transition: transform .25s var(--ease), box-shadow .25s; }
.card-link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .card-img img { transform: scale(1.06); }
.card-body { display: block; padding: 18px 20px 20px; }
.card-title { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.card-meta, .card-summary { display: block; margin-top: 8px; font-size: 13.5px; color: var(--gray); }

/* 新闻列表 */
.news-list { display: grid; gap: 18px; }
.news-item { background: #fff; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(9, 32, 58, .07); }
.news-item-link { display: flex; gap: 24px; padding: 20px 24px; transition: .25s; }
.news-item-link:hover { box-shadow: var(--shadow); }
.news-item-thumb { flex: 0 0 220px; border-radius: 8px; overflow: hidden; }
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { display: flex; flex-direction: column; flex: 1; }
.news-item-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.news-item-link:hover .news-item-title { color: var(--blue); }
.news-item-time { margin-top: 6px; font-size: 12.5px; color: var(--gray); }
.news-item-summary { margin-top: 10px; font-size: 14px; color: #5d6b7b; }

/* 分页 */
.pager { margin-top: 48px; }
.pager-list { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pager-list a, .pager-list .active span {
  display: block; min-width: 40px; padding: 9px 14px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; transition: .2s;
}
.pager-list a:hover { border-color: var(--blue); color: var(--blue); }
.pager-list .active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-ellipsis { align-self: center; color: var(--gray); }

/* 详情页 */
.detail-product, .detail-case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.detail-gallery { position: sticky; top: 100px; }
/* 详情页多图自动轮播 */
.detail-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #dfe7ef; }
.detail-slider-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.detail-slide { flex: 0 0 100%; height: 100%; }
.detail-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(13, 27, 48, .38); color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s, opacity .25s; opacity: 0;
}
.detail-slider:hover .ds-arrow { opacity: 1; }
.ds-arrow:hover { background: var(--blue); }
.ds-prev { left: 14px; }
.ds-next { right: 14px; }
.ds-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.ds-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.55); transition: width .3s, background .3s; }
.ds-dot.active { width: 22px; border-radius: 5px; background: #fff; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.detail-thumbs button {
  width: 84px; height: 62px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; padding: 0; background: #dfe7ef; transition: .2s;
}
.detail-thumbs button:hover, .detail-thumbs button.active { border-color: var(--blue); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-main { min-width: 0; }
.detail-title { font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.detail-spec { margin-top: 12px; font-size: 14px; color: var(--blue); }
.detail-summary { margin-top: 14px; padding: 16px 18px; background: #eef4fa; border-left: 4px solid var(--blue); border-radius: 4px; font-size: 15px; color: #44566b; }
.detail-contact { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-tel-label { font-size: 14px; color: var(--gray); }
.detail-tel { font-size: 22px; font-weight: 700; color: var(--blue); }
.detail-content { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-content h3, .detail-content h4, .detail-content h5 { color: var(--ink); margin: 18px 0 10px; }
.detail-content h3 { font-size: 20px; }
.detail-content h4 { font-size: 17px; }
.detail-content p { margin: 10px 0; font-size: 15px; color: #3d4c5e; }
.detail-content ul { list-style: disc; padding-left: 22px; margin: 10px 0; color: #3d4c5e; font-size: 15px; }
.detail-content ol { list-style: decimal; padding-left: 22px; margin: 10px 0; color: #3d4c5e; font-size: 15px; }
.detail-content img { border-radius: 8px; margin: 12px 0; }
.detail-content table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.detail-content table td, .detail-content table th { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }

.detail-case-meta { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dc-row { display: grid; grid-template-columns: 90px 1fr; }
.dc-row dt { background: #eef4fa; padding: 10px 16px; font-size: 14px; color: var(--gray); }
.dc-row dd { padding: 10px 16px; font-size: 14.5px; color: var(--ink); border-left: 1px solid var(--line); }
.dc-row:not(:last-child) { border-bottom: 1px solid var(--line); }

.detail-news { max-width: 880px; margin: 0 auto; }
.detail-news-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.detail-news-meta { margin-top: 14px; display: flex; gap: 20px; font-size: 13px; color: var(--gray); }
.detail-news-figure { margin-top: 22px; border-radius: var(--radius); overflow: hidden; max-height: 420px; }
.detail-news-figure img { width: 100%; height: 100%; object-fit: cover; }
.detail-news-nav { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--gray); }
.detail-news-nav a { color: var(--blue); }

/* 单页文档 */
.page-doc { background: #fff; border-radius: var(--radius); padding: 44px 48px; box-shadow: 0 6px 18px rgba(9, 32, 58, .07); }
.page-doc-head { padding-bottom: 18px; border-bottom: 2px solid var(--blue); margin-bottom: 24px; }
.page-doc-head h2 { font-size: 26px; color: var(--ink); }
.page-doc-content h3, .page-doc-content h4 { color: var(--ink); margin: 18px 0 10px; }
.page-doc-content h3 { font-size: 20px; }
.page-doc-content p { margin: 10px 0; color: #3d4c5e; font-size: 15px; }
.page-doc-content ul { list-style: disc; padding-left: 22px; margin: 10px 0; color: #3d4c5e; font-size: 15px; }
.page-doc-content img { border-radius: 8px; margin: 12px 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .news-stage { grid-template-columns: 1fr; }
  .news-media { height: 260px; }
  .faq-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .c-info { right: 5vw; width: min(480px, 88%); }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 18px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(8, 24, 48, .97); padding: 10px 18px 20px;
    display: none; max-height: calc(100vh - 62px); overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-item > a { padding: 13px 12px; }
  .nav-drop { position: static; transform: none; opacity: 1; visibility: visible; padding: 0 0 4px 14px; }
  .nav-drop .drop-list { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .has-children:hover .nav-drop { transform: none; }
  .screen-title { top: 84px; }
  .screen-title h2 { font-size: 28px; }
  .hero-title { letter-spacing: 4px; }
  .p-info { left: 20px; right: 20px; bottom: 110px; }
  .p-name { font-size: 28px; }
  .stage-dots { right: 20px; bottom: 100px; }
  .p-cats { bottom: 24px; border-radius: 18px; padding: 8px 12px; gap: 6px; }
  .p-cat { padding: 8px 16px; font-size: 14px; }
  .c-info { position: relative; top: auto; transform: none; margin: 70vh 18px 24px; width: auto; padding: 24px; }
  .c-year { font-size: 40px; }
  .screen-news .screen-title { padding-top: 40px; }
  .news-stage, .faq-mod { padding: 0 18px; }
  .news-media { height: 200px; }
  .news-tab { padding: 8px 14px; gap: 10px; }
  .news-tab-title { font-size: 14px; }
  .faq-a-inner { padding-left: 42px; }
  .card-grid { grid-template-columns: 1fr; }
  .news-item-link { flex-direction: column; gap: 12px; }
  .news-item-thumb { flex: none; width: 100%; height: 160px; }
  .inner-title { font-size: 26px; }
  .inner-hero, .inner-hero-short { padding-top: 120px; padding-bottom: 40px; }
  .container { padding: 0 18px; }
.detail-product, .detail-case { grid-template-columns: 1fr; gap: 28px; }
  .detail-gallery { position: static; }
  .ds-arrow { opacity: 1; width: 36px; height: 36px; font-size: 20px; }
  .page-doc { padding: 26px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 48px 20px 30px; }
  .footer-bottom-inner { padding: 16px 18px; gap: 8px 16px; }
}
/* ============================================================
 * 3D 模型查看（产品详情）
 * ============================================================ */
.detail-3d { margin-top: 18px; }
.btn-3d {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; font-size: 15px; font-weight: 600;
  color: var(--blue); background: #fff; border: 1.5px solid var(--blue);
  border-radius: 8px; cursor: pointer; transition: all .22s ease;
}
.btn-3d:hover { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(0, 91, 172, .35); }
.badge-3d {
  display: inline-block; padding: 1px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 500; color: #fff; background: var(--blue);
  margin-left: 2px; vertical-align: 1px;
}
.btn-3d:hover .badge-3d { background: #fff; color: var(--blue); }

/* 弹窗 */
.modal-mask {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 20, 32, .72); padding: 20px;
}
.modal-mask[hidden] { display: none; }
.modal-box.modal-3d {
  width: min(1080px, 96vw); height: min(760px, 90vh);
  background: #fff; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 70px rgba(0, 20, 40, .5);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--blue); color: #fff;
}
.modal-head h3 { font-size: 16px; font-weight: 600; }
.modal-close {
  border: none; background: rgba(255,255,255,.16); color: #fff;
  width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 1;
  cursor: pointer; transition: background .2s ease;
}
.modal-close:hover { background: rgba(255,255,255,.32); }
.modal-body { flex: 1; position: relative; min-height: 0; }
.modal-pwd {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: #f6f8fb; padding: 30px;
}
.modal-pwd[hidden] { display: none; }
.pwd-tip { color: #4a5563; font-size: 14px; }
.modal-pwd input[type="password"] {
  width: 320px; max-width: 80%; padding: 11px 14px; font-size: 15px;
  border: 1.5px solid #ccd4de; border-radius: 8px; outline: none;
  transition: border-color .2s ease;
}
.modal-pwd input[type="password"]:focus { border-color: var(--blue); }
.pwd-err { color: #c0392b; font-size: 13px; }
.pwd-err[hidden] { display: none; }
.modal-pwd .btn { min-width: 150px; }
.modal-pwd .btn-plain { background: #eef1f5; color: #4a5563; }
.modal-view { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.modal-view[hidden] { display: none; }
.modal-view iframe { width: 100%; height: 100%; border: none; display: block; background: #fff; }
