/* ============================================================
   首页全新样式 — 主色 #0056b3，自适应
   ============================================================ */
:root {
  --blue:    #0056b3;
  --blue-d:  #004494;
  --blue-l:  #e8f1fc;
  --blue-ink:#003d80;
  --orange:  #FF6B00;
  --orange-d:#e55e00;
  --dark:    #0b2f5f;
  --text:    #2d2d2d;
  --muted:   #5a6b7d;
  --border:  #dde3ec;
  --bg:      #f5f8fd;
  --white:   #ffffff;
  --font:    'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(0,86,179,.12);
  --shadow-l:0 1px 4px rgba(0,86,179,.08);
  --max:     1200px;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: visible;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--dark); }
h1 { font-size: clamp(1.8rem, 1.6vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p  { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }
strong { font-weight: 600; }

.container { width: 80%; max-width: 1800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; scroll-margin-top: 84px; }
.section-sm { padding: 44px 0; }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue h1,.bg-blue h2,.bg-blue h3,.bg-blue h4 { color: var(--white); }
.bg-light { background: var(--bg); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-dark h4 { color: var(--white); }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-ink);
  margin-bottom: .75rem;
}
.eyebrow + h2 { margin-bottom: 1.4rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); text-decoration: none; }
.btn-outline-blue { background: transparent; color: var(--blue-ink); border-color: var(--blue-ink); }
.btn-outline-blue:hover { background: var(--blue-l); text-decoration: none; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: var(--shadow-l);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0056b3, transparent);
  pointer-events: none;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1.5rem;
  position: relative;
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; line-height: 0; }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { display: block; width: auto; height: 40px; }
.nav-main { display: flex; align-items: center; gap: .1rem; list-style: none; padding: 0; margin: 0 auto; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .5rem .75rem;
  font-size: .92rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius);
  transition: background .15s; cursor: pointer; white-space: nowrap;
}
.nav-link:hover { background: var(--bg); text-decoration: none; }
.nav-link.active { color: var(--blue-ink); }
.nav-chevron { width: 11px; height: 11px; transition: transform .2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 2px); left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,56,125,.14);
  min-width: 220px; padding: .5rem; z-index: 100;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: .55rem .9rem; font-size: .88rem; color: var(--text); border-radius: 4px; }
.nav-dropdown a:hover { background: var(--bg); color: var(--blue-ink); text-decoration: none; }
.nav-dropdown-all { margin-top: .35rem; border-top: 1px solid var(--border); padding-top: .55rem !important; color: var(--blue-ink) !important; font-weight: 600 !important; font-size: .82rem !important; }
.nav-dropdown-all:hover { background: var(--blue-l) !important; }
.nav-cta { margin-left: 1rem; }
.nav-item-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .2s; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #6da5ea 0%, #2f86e0 35%, #0a5ec2 70%, #0056b3 100%);
  color: var(--white);
  padding: 90px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow { color: #bcd9ff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; display: block; }
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.05rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero-visual { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.media-frame { background: #dbe5f3; border-radius: var(--radius); overflow: hidden; position: relative; min-height: 220px; }
.media-frame-hero { min-height: 400px; }
.media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- TRUST BAR ---------- */
.trust-bar { background: var(--blue-l); border-bottom: 1px solid var(--border); }
.trust-bar .container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}
.trust-item .num { font-size: 2rem; font-weight: 800; color: var(--blue-ink); display: block; line-height: 1.1; }
.trust-item .num .unit { font-size: 1rem; font-weight: 600; margin-left: 2px; }
.trust-item .label { font-size: .8rem; color: var(--muted); display: block; margin-top: 2px; }

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px;
  background: var(--blue-l);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { color: var(--blue-ink); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.card .card-link { font-size: .88rem; font-weight: 600; color: var(--blue-ink); display: inline-flex; align-items: center; gap: .35rem; }
.card .card-link:hover { text-decoration: underline; }
.card-service { border-top: 3px solid var(--orange); }
.card-service:hover { border-top-color: var(--blue-ink); }
.section-heading { margin-bottom: 2rem; }
.section-heading.center { text-align: center; }

/* ---------- 流程 ---------- */
.process-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; position: relative; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 28px; left: 50%;
  width: calc(100% + 1rem); height: 2px;
  background: var(--border); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .8rem; position: relative; z-index: 2;
}
.process-step h3 { font-size: .9rem; color: var(--dark); margin-bottom: .3rem; }
.process-step p { font-size: .78rem; color: var(--muted); }

/* ---------- CTA 带 ---------- */
.cta-band { background: var(--orange); padding: 60px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.94); font-size: 1.02rem; max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .btn-outline { color: var(--white); border-color: rgba(255,255,255,.7); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.cta-band .btn-primary { background: var(--white); color: var(--orange); border-color: var(--white); }
.cta-band .btn-primary:hover { background: #fff7ef; }

/* ---------- 产品中心（品牌矩阵） ---------- */
.brand-products { background: var(--white); padding: 70px 0; }
.section_title { text-align: center; margin-bottom: 40px; }
.section_title h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--dark); position: relative; padding-bottom: 14px; margin-bottom: 14px; }
.section_title h2::after { content: ''; width: 60px; height: 3px; background: var(--blue); position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.section_title p { font-size: 14px; color: var(--muted); max-width: 800px; margin: 0 auto; line-height: 1.7; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.brand-item { display: flex; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .3s; background: var(--white); }
.brand-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.brand-left { width: 40%; min-height: 200px; background: #f0f4f9; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; position: relative; transition: background .3s; }
.brand-left .logo-wrap { position: relative; width: 100%; height: 70px; display: flex; align-items: center; justify-content: center; }
.brand-left .logo-wrap img { max-width: 80%; max-height: 90px; position: absolute; transition: opacity .3s; }
.brand-left .logo-wrap .logo-hover { opacity: 0; }
.brand-item:hover .brand-left { background: var(--blue); }
.brand-item:hover .brand-left .logo-wrap .logo-default { opacity: 0; }
.brand-item:hover .brand-left .logo-wrap .logo-hover { opacity: 1; }
.brand-left .brand-link { margin-top: 18px; font-size: 14px; font-weight: 600; color: #4a5568; text-decoration: none; transition: color .3s; }
.brand-item:hover .brand-left .brand-link { color: var(--white); }
.brand-right { width: 60%; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.brand-right a { color: #4a5568; text-decoration: none; font-size: 13px; line-height: 1.55; transition: color .2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-right a:hover { color: var(--blue); }
.brand-right a::before { content: '>'; color: var(--orange); margin-right: 6px; font-weight: 700; }
.brand-item:hover .brand-right { background: #dbe8ff; border-left: 3px solid var(--blue); }

/* ---------- 新闻资讯与技术支持 ---------- */
.news-cases { background: var(--bg); padding: 70px 0; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-col h3 { font-size: 18px; color: var(--blue); font-weight: 700; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid var(--border); position: relative; }
.news-col h3::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--orange); }
.news-col h3 a { color: inherit; text-decoration: none; }
.news-col h3 a:hover { text-decoration: none; color: var(--blue-d); }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 10px 0; border-bottom: 1px dashed #d5dde8; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.news-list li a { color: #1a1a2e; text-decoration: none; font-size: 14px; transition: color .2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.news-list li a:hover { color: var(--blue); }
.news-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 8px; flex-shrink: 0; }
.news-more { display: inline-block; margin-top: 12px; font-size: .85rem; color: var(--blue-ink); font-weight: 600; }
.news-more:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue); color: rgba(255,255,255,.85); font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer .footer-top { padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 1fr auto; gap: 16px; }
.footer-logo { display: inline-block; margin-bottom: .8rem; line-height: 0; }
.footer-logo img { height: 44px; width: auto; }
.footer-left p { margin-bottom: .5rem; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.82); }
.footer-left .fp { margin-bottom: .5rem; }
.footer-left .fla { display: inline-block; margin-top: .2rem; }
.footer-col h3 { color: var(--white); font-size: .95rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; font-size: 13px; }
.footer-col ul li a::before { content: '\B7'; margin-right: 4px; color: var(--orange); }
.footer-col ul a { color: rgba(255,255,255,.8); }
.footer-qr { text-align: center; }
.footer-qr img { width: 94px; height: 94px; border-radius: 6px; border: 2px solid rgba(255,255,255,.35); display: inline-block; }
.footer-qr p { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; font-size: 12px; text-align: center; }
.footer-links .links-label { color: var(--white); font-weight: 600; margin-right: 4px; }
.footer-links a { color: rgba(255,255,255,.85); }
.footer-links a:hover { color: var(--white); }
.footer-links .sep { color: rgba(255,255,255,.45); }
.footer-copy { text-align: center; font-size: 12px; color: rgba(255,255,255,.7); margin-top: 14px; }
.footer-copy a { color: var(--white); text-decoration: underline; }

/* ---------- 返回顶部 ---------- */
#backToTop {
  position: fixed; right: 2rem; bottom: 2rem; z-index: 999;
  width: 44px; height: 52px; cursor: pointer; border: none; background: transparent; padding: 0;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop img { width: 44px; height: 52px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-qr { grid-column: 1 / -1; }
  .process-steps { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 768px) {
  .container { width: 100%; padding: 0 18px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 56px 0 48px; }
  .trust-bar .container { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-left { min-height: 140px; }
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-qr { grid-column: 1 / -1; }
  .btn { white-space: normal; }
  .btn-group { width: 100%; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .hero .btn-group .btn, .cta-band .btn-group .btn { width: auto; }

  .nav-main, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: .9rem 1rem 1rem;
    gap: .25rem;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    margin: 0;
  }
  .nav-item { width: 100%; }
  .nav-item-cta-mobile { display: block; }
  .nav-link { width: 100%; justify-content: space-between; padding: .8rem .4rem; }
  .nav-dropdown { display: block; position: static; box-shadow: none; border: none; background: var(--bg); margin: .25rem 0 .5rem; min-width: 0; padding: .35rem; }
  .nav-dropdown a { padding: .7rem .8rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .container { width: 100%; padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .trust-bar .container { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .trust-item .num { font-size: 1.5rem; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .footer-bottom { padding: 14px 0 18px; }
}

/* ============================================================
   以下为首页专用追加样式（圆环翻转首屏 / 透明导航 / 应用方案盒 /
   合作伙伴走马灯 / 中英文切换）。追加于文件末尾，不改动上方规则。
   ============================================================ */

/* ---------- 首页导航透明浮层（导航浮在首屏渐变上） ---------- */
/* 由 index.html 顶部的内联脚本给 <html> 加 .home-hero 类 */
html.home-hero .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; box-shadow: none;
}
html.home-hero .site-header::after { display: none; }
html.home-hero .site-header .nav-link { color: rgba(255,255,255,.94); }
html.home-hero .site-header .nav-link:hover { background: rgba(255,255,255,.14); color: #fff; }
html.home-hero .site-header .nav-toggle span { background: #fff; }
/* 首页 logo 反白。若模板 logo 本身已是浅色，请删掉这行 filter */
html.home-hero .site-header .nav-logo img { filter: brightness(0) invert(1); }
/* 不支持 JS 类名时的纯 CSS 兜底（:has 现代浏览器支持） */
body:has(> .hero-ring) .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; }
body:has(> .hero-ring) .site-header::after { display: none; }
body:has(> .hero-ring) .site-header .nav-link { color: rgba(255,255,255,.94); }
body:has(> .hero-ring) .site-header .nav-toggle span { background: #fff; }

/* ---------- 中英文切换按钮 ---------- */
.nav-lang {
  display: flex; align-items: center; flex-shrink: 0;
  margin-left: .7rem; padding: 2px;
  border: 1px solid var(--border); border-radius: 999px;
}
.nav-lang a {
  display: inline-block; padding: .26rem .62rem;
  font-size: .78rem; line-height: 1.4; border-radius: 999px; color: var(--muted);
}
.nav-lang a:hover { text-decoration: none; color: var(--blue-ink); }
.nav-lang a.active { background: var(--blue-l); color: var(--blue-ink); font-weight: 700; }
html.home-hero .site-header .nav-lang { border-color: rgba(255,255,255,.5); }
html.home-hero .site-header .nav-lang a { color: rgba(255,255,255,.9); }
html.home-hero .site-header .nav-lang a.active { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- 首屏：圆环翻转区 ---------- */
/* 导航(浮层,66px) + 圆环区 + 公司优势 = 恰好一屏(100dvh) */
.hero-ring {
  position: relative; overflow: hidden; box-sizing: border-box;
  padding-top: 66px;
  height: calc(100dvh - 108px);
  min-height: 500px; max-height: 1080px;
  background: linear-gradient(135deg, #6da5ea 0%, #2f86e0 35%, #0a5ec2 70%, #0056b3 100%);
  color: #fff;
  user-select: none; -webkit-user-select: none;
  /* 中间大图宽 → 4:3 图高 + 标题区高 = 面高；正六棱柱 translateZ 距离 = 面高 × 0.866 */
  --ring-w: clamp(200px, 22vw, 400px);
  --ring-cap: 92px;
  --ring-h: calc(var(--ring-w) * 0.75 + var(--ring-cap));
  --ring-d: calc(var(--ring-h) * 0.866);
  --thumb-w: clamp(108px, 11vw, 186px);
}
.hero-ring::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ring-wrap { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.ring-col {
  flex: 1 1 0; min-width: 0; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 1.6vh, 26px);
}
.ring-mid {
  flex: 0 0 auto; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring-stage {
  position: relative; width: var(--ring-w);
  height: min(calc(var(--ring-h) * 2), calc(100% - 34px));
  perspective: 1600px; perspective-origin: 50% 50%;
}
.ring {
  position: absolute; left: 0; right: 0; top: 50%;
  height: var(--ring-h); margin-top: calc(var(--ring-h) / -2);
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.25, .8, .3, 1);
}
.ring-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 10px; box-sizing: border-box;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
  text-align: center; text-decoration: none;
}
.ring-face .face-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #2a7fd4; }
.ring-face .face-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ring-face .face-title { margin: 10px 0 3px; font-size: clamp(15px, 1.25vw, 22px); font-weight: 700; color: #fff; letter-spacing: 1px; }
.ring-face .face-title a { color: #fff; text-decoration: none; }
.ring-face .face-title a:hover { text-decoration: underline; }
.ring-face .face-sub { margin: 0; font-size: clamp(11px, .78vw, 14px); line-height: 1.5; color: rgba(255,255,255,.78); }

/* 左右两侧小图（4:3） */
.hero-thumb {
  display: block; width: var(--thumb-w); aspect-ratio: 4 / 3;
  border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.30);
  transition: transform .25s ease, box-shadow .25s ease, background-color .45s ease;
}
.hero-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-thumb:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0,0,0,.38); }

/* 圆点 */
.ring-dots { display: flex; justify-content: center; margin-top: 14px; }
.ring-dots i {
  display: block; width: 9px; height: 9px; margin: 0 6px;
  border-radius: 50%; background: rgba(255,255,255,.45);
  cursor: pointer; transition: all .3s;
}
.ring-dots i.on { background: #fff; transform: scale(1.35); }

/* 公司优势：固定一屏高度里的一部分 */
.trust-bar { min-height: 108px; display: flex; align-items: center; }
.trust-bar .container { width: 100%; }

/* ---------- 应用方案盒（changjiana） ---------- */
.changjiana { background: var(--white); padding: 62px 0 72px; }
.changjian { width: 80%; max-width: 1800px; margin: 0 auto; padding: 0 24px; }
.changjian .title h2 { text-align: center; margin: 0; }
.changjian .txt { text-align: center; color: var(--muted); font-size: 13px; line-height: 1.95; margin: 12px auto 34px; max-width: 1180px; }
.jjfa_con { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.jjfabox {
  position: relative; background: var(--bg);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 16px 20px; text-align: center;
  transition: box-shadow .25s, transform .25s, background .25s, border-color .25s;
}
.jjfabox:hover { background: var(--white); border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.jjfabox .jjfaicon {
  display: block; width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 12px; background: var(--blue-l); position: relative;
}
.jjfabox .jjfaicon::after { content: ''; position: absolute; inset: 14px; border: 2px solid var(--blue); border-radius: 4px; }
.jjfabox .boxem, .jjfabox .boxi { display: none; }
.jjfabox .p1 { font-size: 1rem; margin: 0 0 10px; color: var(--dark); }
.jjfabox .p1 b { font-weight: 700; }
.jjfabox .p2 { margin: 0; font-size: .86rem; line-height: 2; }
.jjfabox .p2 a { color: var(--muted); }
.jjfabox .p2 a:hover { color: var(--blue); }

/* ---------- 合作伙伴走马灯（242×150，灰度 → hover 彩色） ---------- */
.partner-marquee { padding: 56px 0 62px; background: var(--white); }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto; width: 242px; height: 150px; margin: 0 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: box-shadow .25s, border-color .25s;
}
.marquee-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.marquee-item img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(100%); opacity: .72; transition: filter .3s, opacity .3s; }
.marquee-item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 资讯 + 案例 两栏（复用 .news-grid） ---------- */
.section-subtitle { font-size: 1rem; color: var(--muted); margin: .6rem auto 0; max-width: 780px; }
.news-cases .news-col .news-more { margin-top: 12px; }
.news-list .news-date { font-size: .78rem; color: var(--muted); flex-shrink: 0; }

/* ---------- 首屏相关响应式 ---------- */
@media (max-width: 1199px) {
  .hero-ring { --ring-w: clamp(190px, 30vw, 340px); --thumb-w: clamp(96px, 12vw, 150px); }
  .jjfa_con { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .hero-ring {
    height: auto; min-height: 0; max-height: none;
    padding: 78px 0 40px;
    --ring-w: min(62vw, 300px);
    --ring-h: calc(var(--ring-w) * 0.75 + 88px);
    --ring-d: calc(var(--ring-h) * 0.866);
  }
  .ring-col { display: none; }                 /* 手机端收起两侧小图，只留中间 */
  .ring-stage { height: var(--ring-h); }
  .ring-wrap { height: auto; display: block; }
  .ring-mid { height: auto; }
  .trust-bar { min-height: 0; display: block; }
  .changjian { width: 100%; padding: 0 18px; }
  .jjfa_con { grid-template-columns: repeat(2, 1fr); }
  .marquee-item { width: 168px; height: 104px; margin: 0 8px; }
}
@media (max-width: 480px) {
  .jjfa_con { grid-template-columns: 1fr; }
  .changjian { padding: 0 16px; }
}


/* ============================================================
   第二轮修正（首页部分）
   1) 首屏渐变改成「两边深、中间浅」，且圆环 + 公司优势共用一块渐变底铺满一屏
   2) 左右两列小图随屏幕缩放，上下与中间圆环对齐
   3) 导航滚过首屏后变实底 + 深色字
   ============================================================ */

/* ---------- 1) 首屏整体：一块渐变底，合计 100dvh ---------- */
.hero-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  /* 两边深 → 中间浅 */
  background: linear-gradient(90deg,
    #00315f 0%, #00479a 13%, #0a5ec2 31%, #2f86e0 44%,
    #82b7ef 50%,
    #2f86e0 56%, #0a5ec2 69%, #00479a 87%, #00315f 100%);
}
/* 圆环区不再自带底色和固定高度，交给 .hero-screen 的渐变 */
.hero-ring {
  background: none;
  height: auto;
  max-height: none;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 66px;   /* 让位给 fixed 导航 */
  /* 中间圆环舞台高度：左右两列小图按它对齐 */
  --stage-h: min(calc(var(--ring-h) * 1.75), calc(100dvh - 66px - 108px - 30px));
}
/* 公司优势：透明，融进同一块渐变 */
.trust-bar {
  background: none;
  border-bottom: none;
  color: #fff;
  flex: 0 0 auto;
  height: 108px;
  min-height: 0;
  display: flex;
  align-items: center;
}
.trust-bar .trust-item .num { color: #fff; }
.trust-bar .trust-item .label { color: rgba(255,255,255,.8); }

/* ---------- 2) 左右小图：随屏缩放 + 与中间圆环上下对齐 ---------- */
.ring-col {
  --col-gap: clamp(8px, 1.6vh, 26px);
  gap: var(--col-gap);
  height: var(--stage-h);
  justify-content: space-between;
  padding: 0;
}
.ring-mid { height: var(--stage-h); justify-content: flex-start; }
.ring-stage { height: calc(var(--stage-h) - 34px); }
.hero-thumb {
  height: calc((var(--stage-h) - var(--col-gap) * 2 - 34px) / 3);
  width: auto;
  aspect-ratio: 4 / 3;
}

/* ---------- 3) 导航：滚过首屏后变白底深色字 ---------- */
html.nav-solid .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,49,95,.14);
}
html.nav-solid .site-header::after { display: block; }
html.nav-solid .site-header .nav-link { color: #0b2f5f; }
html.nav-solid .site-header .nav-link:hover { background: var(--bg); color: var(--blue-ink); }
html.nav-solid .site-header .nav-logo img { filter: none; }
html.nav-solid .site-header .nav-toggle span { background: #0b2f5f; }
html.nav-solid .site-header .nav-lang { border-color: var(--border); }
html.nav-solid .site-header .nav-lang a { color: var(--muted); }
html.nav-solid .site-header .nav-lang a.active { background: var(--blue-l); color: var(--blue-ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .hero-ring { --stage-h: min(calc(var(--ring-h) * 1.6), calc(100dvh - 66px - 96px - 24px)); }
}
@media (max-width: 991px) {
  .hero-screen { min-height: auto; }
  .hero-ring { --stage-h: calc(var(--ring-h) * 1.35); padding-bottom: 24px; }
  .ring-col { display: none; }        /* 平板收起两侧，避免挤压 */
  .trust-bar { height: auto; padding: 16px 0; }
  .trust-bar .container { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 767px) {
  .hero-ring { padding-top: 78px; --stage-h: calc(var(--ring-h) * 1.2); }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: center; }
}
@media (max-width: 480px) {
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   第三轮修正
   1) 去掉首屏十字暗纹
   2) 3D 面变换改用纯 CSS（兜底修复「翻转失效」）
   3) 中间卡片改成不透明卡片 → 浮起效果，渐变不再透出
   4) 舞台 + 左右小图整体放大（舞台拉高 → 小图随之变大），铺满首屏
   5) 导航永远压在首屏之上
   6) 合作伙伴走马灯放慢
   ============================================================ */

/* ---------- 1) 去掉十字暗纹 ---------- */
.hero-ring::before { display: none !important; background-image: none !important; }

/* ---------- 5) 导航层级：永远在首屏之上 ---------- */
html.home-hero .site-header { z-index: 1200; }
.hero-screen { isolation: isolate; }
.ring-wrap { position: relative; z-index: 1; }

/* ---------- 3) 中间卡片：不透明、浮起 ---------- */
.ring-face {
  background: #ffffff;
  border: 1px solid rgba(0, 49, 95, .10);
  box-shadow: 0 22px 54px rgba(0, 18, 45, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.ring-face .face-img { background: #eaf0f8; }
.ring-face .face-title,
.ring-face .face-title a { color: #0b2f5f; }
.ring-face .face-title a:hover { color: #0056b3; }
.ring-face .face-sub { color: #5a6b7d; }
.hero-thumb { background: #fff; }

/* ---------- 2) 3D 面变换（纯 CSS，绕水平轴 6 等分） ---------- */
.ring-face:nth-child(1) { transform: rotateX(0deg)   translateZ(var(--ring-d)); }
.ring-face:nth-child(2) { transform: rotateX(60deg)  translateZ(var(--ring-d)); }
.ring-face:nth-child(3) { transform: rotateX(120deg) translateZ(var(--ring-d)); }
.ring-face:nth-child(4) { transform: rotateX(180deg) translateZ(var(--ring-d)); }
.ring-face:nth-child(5) { transform: rotateX(240deg) translateZ(var(--ring-d)); }
.ring-face:nth-child(6) { transform: rotateX(300deg) translateZ(var(--ring-d)); }

/* ---------- 4) 整体放大，铺满首屏 ---------- */
.hero-ring {
  --ring-w: clamp(260px, 24vw, 440px);
  --ring-cap: 96px;
  --stage-h: min(calc(var(--ring-h) * 1.9), calc(100dvh - 64px - 108px - 6px));
  padding-top: 64px;
}
.ring-col {
  --col-gap: clamp(6px, 1.1vh, 16px);
  height: var(--stage-h);
  justify-content: space-between;
}
.ring-mid { height: var(--stage-h); justify-content: center; }
.ring-stage { height: calc(var(--stage-h) - 28px); }
/* 小图 = 舞台高度三等分 → 舞台变大即整体放大，且上下与圆环严格对齐 */
.hero-thumb {
  height: calc((var(--stage-h) - var(--col-gap) * 2 - 28px) / 3);
  width: auto;
  aspect-ratio: 4 / 3;
}

/* ---------- 6) 走马灯放慢 ---------- */
.marquee-track { animation-duration: 78s; }

/* ---------- 响应式覆盖 ---------- */
@media (max-width: 1400px) {
  .hero-ring { --ring-w: clamp(240px, 26vw, 400px); }
}
@media (max-width: 1199px) {
  .hero-ring {
    --ring-w: clamp(210px, 32vw, 340px);
    --stage-h: min(calc(var(--ring-h) * 1.7), calc(100dvh - 64px - 96px - 6px));
  }
}
@media (max-width: 991px) {
  .hero-ring { --stage-h: calc(var(--ring-h) * 1.35); }
}

/* ============================================================
   第四轮修正
   1) 首屏整体下移 + 圆环尺寸按视口反算，保证六棱柱不顶到导航
      （六棱柱轴向长度 = 1.732 × 面高，屏幕不够高时必须缩小面）
   2) 页脚改为 flex 单行布局：栏目列数再多也不换行，二维码固定在最右
   ============================================================ */

/* ---------- 1) 首屏 ---------- */
.hero-ring {
  /* 导航 66px + 留白；下方 108px 是公司优势 */
  --avail: calc(100dvh - 78px - 108px - 22px);
  /* 由可用高度反算面宽上限：ring-h = ring-w*0.75 + 96，六棱柱要 1.95×ring-h */
  --ring-max-w: calc((var(--avail) / 1.95 - 96px) / 0.75);
  --ring-w: min(clamp(230px, 23vw, 430px), var(--ring-max-w));
  --ring-cap: 96px;
  --stage-h: calc(var(--ring-h) * 1.95);
  padding-top: 78px;      /* 关键：把圆环整体压到导航下方 */
  padding-bottom: 6px;
}
.ring-mid { justify-content: center; }
.ring-col { height: var(--stage-h); }

@media (max-width: 1440px) {
  .hero-ring { --ring-w: min(clamp(220px, 25vw, 380px), var(--ring-max-w)); }
}
@media (max-width: 991px) {
  .hero-ring {
    --avail: auto;
    --stage-h: calc(var(--ring-h) * 1.5);
    padding-top: 84px;
  }
}


/* ============================================================
   第五轮修正：中间的进度圆点
   1) 舞台底部预留 60px，圆点整体下移，不再压在滚动的图片上
   2) 圆点放大 + 加深色托盘 + 描边发光，更醒目
   ============================================================ */

/* 舞台与左右小图同步让出 60px 给圆点（保持小图与圆环上下对齐） */
.ring-stage { height: calc(var(--stage-h) - 60px); }
.hero-thumb { height: calc((var(--stage-h) - var(--col-gap) * 2 - 60px) / 3); }

/* 圆点托盘：深色半透明胶囊，压住后面的图片，保证可见 */
.ring-dots {
  margin-top: 18px;
  padding: 7px 14px;
  width: max-content;
  border-radius: 999px;
  background: rgba(0, 18, 45, .30);
  box-shadow: 0 4px 16px rgba(0, 18, 45, .30), inset 0 0 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* 圆点本体：加大 + 描边 */
.ring-dots i {
  display: block;
  width: 13px;
  height: 13px;
  margin: 0 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 1px 3px rgba(0, 18, 45, .35);
  cursor: pointer;
  transition: transform .25s, background .25s, box-shadow .25s;
}
.ring-dots i:hover {
  background: #fff;
  transform: scale(1.18);
}
.ring-dots i.on {
  background: #fff;
  transform: scale(1.5);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(255, 255, 255, .30), 0 0 14px rgba(255, 255, 255, .65);
}

@media (max-width: 767px) {
  .ring-dots { margin-top: 16px; padding: 6px 12px; }
  .ring-dots i { width: 12px; height: 12px; margin: 0 5px; }
}

/* ============================================================
   第六轮修正
   1) 4K / 大分辨率适配：圆环不再死卡在 430px 上限，改为「把可用高度吃满」
      （此前 3840×2160 下圆环只有 430px 宽，四周就空了）
   2) 圆点：去掉深色托盘，改用「颜色」区分（当前项用品牌橙）
   ============================================================ */

.hero-ring {
  /* 可用高度：视口减去导航 66px + 留白 + 公司优势 108px；超大屏封顶 1400px 防呆 */
  --avail: min(calc(100dvh - 78px - 108px - 22px), 1400px);
  /* 面宽：由可用高度反算（六棱柱轴向 = 1.732×面高，舞台取 1.95×面高确保装得下） */
  --ring-max-w: calc((var(--avail) / 1.95 - 96px) / 0.75);
  /* 优先吃满高度，其次受宽度约束（40vw），两者取小 */
  --ring-w: min(var(--ring-max-w), 40vw);
  --ring-cap: 96px;
  --stage-h: calc(var(--ring-h) * 1.95);
}

/* 舞台 / 左右小图：底部让出 60px 给圆点，小图与圆环保持上下对齐 */
.ring-stage { height: calc(var(--stage-h) - 60px); }
.hero-thumb { height: calc((var(--stage-h) - var(--col-gap) * 2 - 60px) / 3); }

/* ---------- 圆点：纯配色方案，无托盘 ---------- */
.ring-dots {
  margin-top: 22px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.ring-dots i {
  width: 12px;
  height: 12px;
  margin: 0 7px;
  background: rgba(255, 255, 255, .30);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: none;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.ring-dots i:hover {
  background: rgba(255, 255, 255, .85);
  border-color: #fff;
  transform: scale(1.15);
}
/* 当前项：品牌橙 —— 在蓝色渐变底上对比最强 */
.ring-dots i.on {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .30);
}

/* ---------- 超大屏微调 ---------- */
@media (min-width: 2200px) {
  .hero-ring { --ring-cap: 112px; }
  .ring-dots i { width: 14px; height: 14px; margin: 0 8px; }
  .trust-bar .trust-item .num { font-size: 2.4rem; }
  .trust-bar .trust-item .label { font-size: .95rem; }
}

/* ============================================================
   第七轮修正
   1) 左右两列小图不再被中间圆环压住/盖住
   2) 圆点：未选中项也改成橙色描边（原来白边在浅色图上看不见）
   ============================================================ */

/* ---------- 1) 两边图：拉开间距 + 提升层级 + 限制宽度 ---------- */
.ring-wrap { gap: clamp(16px, 2.4vw, 64px); }
.ring-col {
  position: relative;
  z-index: 3;              /* 左右两列压在中间层之上 */
  min-width: 0;
}
.ring-mid {
  position: relative;
  z-index: 1;              /* 圆环 3D 投影再大也不会盖住两边的图 */
}
.hero-thumb {
  max-width: 100%;         /* 列宽不够时自动收窄，不往中间挤 */
}

/* ---------- 2) 圆点：统一橙色描边 ---------- */
.ring-dots i {
  background: transparent;
  border: 1.5px solid var(--orange);
  box-shadow: none;
}
.ring-dots i:hover {
  background: rgba(255, 107, 0, .38);
  border-color: var(--orange);
  transform: scale(1.18);
}
.ring-dots i.on {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .30);
}

/* ============================================================
   第八轮修正
   1) 透视值随圆环尺寸缩放 —— 修复大屏下「近端放大 1.9 倍」导致中间图与边图交叉
   2) 圆点改为常显：实心橙描边 + 半填充，不再依赖它背后是什么图
   ============================================================ */

/* ---------- 1) 透视随尺寸缩放 ---------- */
/* 原来固定 1600px，而 --ring-d 会随屏放大（4K 下约 750px），
   近端被放大近 1.9 倍 → 横向溢出压住边图。
   改成 4.5 倍面高，放大倍率稳定在 ~1.25 倍，且任何分辨率都一致。 */
.ring-stage { perspective: calc(var(--ring-h) * 4.5); }

/* 边图列再让出一点余量，并把圆环的横向预算收紧 */
.ring-wrap { gap: clamp(18px, 2.6vw, 72px); }
.ring-col { padding: 0 2px; }

/* ---------- 2) 圆点：常显 ---------- */
.ring-dots { margin-top: 24px; }
.ring-dots i {
  width: 13px;
  height: 13px;
  margin: 0 7px;
  background: rgba(255, 107, 0, .45);   /* 半填充：在任何底色上都看得见 */
  border: 2px solid var(--orange);      /* 实心橙描边 */
  box-shadow: none;
}
.ring-dots i:hover {
  background: rgba(255, 107, 0, .8);
  border-color: var(--orange);
  transform: scale(1.18);
}
.ring-dots i.on {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .32);
}

/* 圆点区多留一点空间，确保完全落在图片下方 */
.ring-stage { height: calc(var(--stage-h) - 76px); }
.hero-thumb { height: calc((var(--stage-h) - var(--col-gap) * 2 - 76px) / 3); }

@media (min-width: 2200px) {
  .ring-dots i { width: 15px; height: 15px; margin: 0 8px; }
}

/* ============================================================
   第九轮修正：轮播图尺寸调整（纯 CSS，不触碰 home.js 里的图片配置）
   1) 中间图缩到原来的 1/3，居中，大标题/小标题落在小图下方
   2) 左右两边的图缩到原来的 1/2，在列内垂直居中
   ============================================================ */

/* ---------- 1) 中间图：1/3 尺寸 + 标题居下 ---------- */
.ring-face {
  justify-content: center;      /* 图片+标题整体在卡片里垂直居中 */
  padding: 14px 12px;
}
.ring-face .face-img {
  width: 33.3333%;              /* ← 原来的 1/3 */
  margin: 0 auto;               /* 居中 */
  aspect-ratio: 4 / 3;          /* 图片区保持 4:3 */
}
.ring-face .face-title {
  margin: 16px 0 6px;           /* 图片下方留白后接大标题 */
  text-align: center;
}
.ring-face .face-sub {
  max-width: 88%;
  margin: 0 auto;
  text-align: center;
}

/* ---------- 2) 两边图：1/2 尺寸，列内垂直居中 ---------- */
.ring-col {
  justify-content: center;      /* 三张图整体居中，不再撑满列高 */
  gap: var(--col-gap);
}
.hero-thumb {
  /* 原公式 /3 → 现 /6，即高度减半 */
  height: calc((var(--stage-h) - var(--col-gap) * 2 - 76px) / 6);
  width: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
}

/* ============================================================
   第十轮修正：两边的 6 张图（纯 CSS，不触碰 home.js）
   1) 色块/图块尺寸恢复原样（不再减半）
   2) 图片缩到原来的一半 → 色块里让出空间
   3) 图片下方加标题，标题文字取自 JS 已设好的 title 属性（= 那句 SEO 文案）
   ============================================================ */

.hero-thumb {
  /* 恢复原尺寸：/6 改回 /3 */
  height: calc((var(--stage-h) - var(--col-gap) * 2 - 76px) / 3);
  width: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;

  /* 竖排：图片在上、标题在下，整体居中 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .14);   /* 底色块保留 */
  border-radius: 10px;
  overflow: hidden;
}

/* 图片缩到原来的一半，居中，不裁切 */
.hero-thumb img {
  display: block;
  width: auto;
  max-width: 50%;          /* ← 一半 */
  max-height: 58%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* 图片下方的标题：取自 JS 已设的 title 属性 */
.hero-thumb::after {
  content: attr(title);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(11px, .72vw, 17px);
  line-height: 1.45;
  color: #fff;
  text-align: center;
  opacity: .93;
}

.hero-thumb:hover::after { opacity: 1; }

@media (max-width: 991px) {
  .hero-thumb { padding: 8px; gap: 6px; }
  .hero-thumb img { max-width: 54%; max-height: 54%; }
}

/* ============================================================
   第十一轮修正：白底图片在深色首屏上的处理
   思路：色块保留「块」的观感（浅色玻璃块 + 内描边 + 投影），
        图片本身做成「浮起的白卡」（白底 + 内边距 + 圆角 + 阴影），
        这样白底图片不再突兀，而是像有意浮在色块上。
   ============================================================ */

.hero-thumb {
  background: rgba(255, 255, 255, .10);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    0 10px 26px rgba(0, 18, 45, .30);
  border-radius: 12px;
  transition: background .25s, box-shadow .25s, transform .25s;
}

.hero-thumb img {
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  box-shadow:
    0 8px 22px rgba(0, 18, 45, .40),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}

.hero-thumb:hover {
  background: rgba(255, 255, 255, .17);
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .35),
    0 16px 34px rgba(0, 18, 45, .38);
}
.hero-thumb:hover img {
  box-shadow:
    0 12px 30px rgba(0, 18, 45, .48),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* 图片下方的标题：深色底上补一点文字阴影，白字更稳 */
.hero-thumb::after {
  text-shadow: 0 1px 3px rgba(0, 18, 45, .55);
}

/* ============================================================
   第十二轮修正：中间图不再被上下截断
   原因：.face-img 是 4:3 的框，里面的 img 用了 object-fit: cover，
        遇到「高而窄」的图就会上下裁掉。
   改法：img 改 contain（完整显示不裁切）；框内底色改白，
        这样非 4:3 的图留白处与图片自身的白底融为一体，看不出留白。
   ============================================================ */

.ring-face .face-img {
  width: 34%;
  aspect-ratio: 4 / 3;          /* 占位框保持 4:3，布局不跳动 */
  height: auto;
  margin: 0 auto;
  background: #ffffff;          /* 白底：contain 的留白看不出来 */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 18, 45, .18), inset 0 0 0 1px rgba(0, 49, 95, .08);
}

.ring-face .face-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;          /* ← 关键：完整显示，不裁切 */
  object-position: center center;
}

/* 超大屏时中间图占比略放大一点，避免显得太小 */
@media (min-width: 2200px) {
  .ring-face .face-img { width: 38%; }
}

/* ============================================================
   第十三轮修正
   1) 两边 6 张图底色也改成白色（与中间一致），白色块 + 阴影；
      白底上的标题文字同步改成深色
   2) logo 双图切换：首屏透明导航用白色 logo，滚过首屏用原色 logo
   ============================================================ */

/* ---------- 1) 两边 6 张图：白色块 + 阴影 ---------- */
.hero-thumb {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 18, 45, .32);
  border-radius: 12px;
}
.hero-thumb:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 18, 45, .45);
}
/* 白块里不再需要「白卡」，图片直接放上去 */
.hero-thumb img {
  background: transparent;
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
}
.hero-thumb:hover img { box-shadow: none; }

/* 白底上的标题：深色字 + 去掉文字阴影 */
.hero-thumb::after {
  color: #0b2f5f;
  text-shadow: none;
  font-weight: 600;
}
.hero-thumb:hover::after { color: #0056b3; }

/* ---------- 2) logo 双图切换 ---------- */
/* 默认（内页、以及首页滚过首屏后）：显示原色 logo */
.nav-logo .logo-w { display: none; }
.nav-logo .logo-c { display: block; }

/* 首页首屏 + 导航仍透明时：显示白色 logo */
html.home-hero:not(.nav-solid) .site-header .nav-logo .logo-w { display: block; }
html.home-hero:not(.nav-solid) .site-header .nav-logo .logo-c { display: none; }

/* 两个 logo 都是成品图，取消之前用于反白的滤镜 */
html.home-hero .site-header .nav-logo img,
html.nav-solid .site-header .nav-logo img { filter: none !important; }
