/* =========================================================
   慈溪市鸣鹤兴华电器有限公司 · 官网首页
   设计宽度 2000px ｜ 适配 2K(2560) / 4K(3840) 及以下全部分辨率
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input { font: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ---------- Design Tokens ---------- */
:root {
  /* 品牌色 */
  --brand:       #1E4E9E;
  --brand-dark:  #143774;
  --navy:        #0C2144;
  --navy-2:      #12305E;
  --accent:      #E4622A;
  --accent-soft: #FDF0E9;

  /* 中性色 */
  --ink:    #152238;
  --muted:  #5C6B84;
  --line:   #E4EAF3;
  --soft:   #F4F7FB;
  --white:  #FFFFFF;

  /* 排版 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
               "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;

  /* 布局 —— 2000px 设计宽度 */
  --container: 2000px;
  --pad: clamp(20px, 2.6vw, 64px);
  --gap: clamp(16px, 1.4vw, 32px);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(12, 33, 68, .06);
  --shadow-md: 0 10px 34px rgba(12, 33, 68, .10);
  --shadow-lg: 0 22px 60px rgba(12, 33, 68, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 根字号缩放（2K / 4K 逐级放大） ---------- */
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; overflow-x: hidden; overflow-x: clip; }
@media (min-width: 1600px) { html { font-size: 17px; } }
@media (min-width: 1920px) { html { font-size: 18.5px; } }
@media (min-width: 2560px) { html { font-size: 21px; } }   /* 2K QHD */
@media (min-width: 3400px) { html { font-size: 24px; } }   /* 4K UHD */

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- 无障碍 ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* =========================================================
   顶部信息条
   ========================================================= */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .8125rem; }
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); min-height: 42px; flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-item a:hover { color: #fff; }
.topbar-item svg { width: 14px; height: 14px; flex: none; opacity: .7; }
.topbar .divider { width: 1px; height: 14px; background: rgba(255,255,255,.22); }

/* =========================================================
   页头导航
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); min-height: 84px;
}
@media (min-width: 1920px) { .header-inner { min-height: 96px; } }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: clamp(150px, 11vw, 230px); height: auto; }

.nav-wrap { display: flex; align-items: center; gap: clamp(20px, 2vw, 44px); }

.main-nav > ul { display: flex; align-items: center; gap: clamp(4px, .6vw, 12px); }
.main-nav a {
  display: block; padding: 12px 18px; border-radius: 10px;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--brand); background: var(--soft); }
.main-nav li.has-sub { position: relative; }
.main-nav li.has-sub > a::after {
  content: ""; display: inline-block; margin-left: 8px;
  border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(2px);
}
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.main-nav li.has-sub:hover > .sub-menu,
.main-nav li.has-sub:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .sub-menu a { padding: 10px 16px; font-size: .9375rem; }
.main-nav .sub-menu a:hover { background: var(--soft); }

/* 语言切换入口（贴导航最右端） */
.header-cta { flex: none; margin-left: auto; display: flex; align-items: center; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); font-size: .9375rem; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-switch svg { width: 16px; height: 16px; flex: none; opacity: .7; transition: opacity .2s; }
.lang-switch:hover { color: var(--brand); border-color: var(--brand); background: var(--soft); }
.lang-switch:hover svg { opacity: 1; }
@media (min-width: 1920px) { .lang-switch { padding: 11px 22px; } }

/* 汉堡按钮（≤1200px） */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: .25s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after  { transform: rotate(-45deg); top: 0; }

/* =========================================================
   按钮体系
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 10px; border: 1.5px solid transparent;
  font-size: 1rem; font-weight: 600; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(30,78,158,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,78,158,.34); }
.btn-ghost { border-color: rgba(21,34,56,.24); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 1.0625rem; border-radius: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: var(--navy);
  background: #EAF1F9;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../images/b1.jpg");
  background-size: cover; background-position: center right;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(255,255,255,.99) 0%,
    rgba(255,255,255,.97) 36%,
    rgba(245,249,253,.90) 56%,
    rgba(242,247,252,.42) 72%,
    rgba(240,246,252,0) 88%);
}
.hero .container {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  min-height: clamp(520px, 34vw, 780px);
  padding-block: clamp(56px, 5vw, 110px);
}
.hero-content { max-width: 60%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .875rem; font-weight: 700; letter-spacing: .06em;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero-kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.hero h1 {
  font-size: clamp(2rem, 1rem + 2.4vw, 4.05rem);
  line-height: 1.22; font-weight: 800; letter-spacing: .01em;
  margin-bottom: 26px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lede {
  font-size: clamp(1rem, .82rem + .45vw, 1.3rem);
  color: var(--muted); max-width: 40em; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-trust {
  display: flex; gap: clamp(24px, 2.4vw, 56px); flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(12,33,68,.12);
}
.trust-item .num {
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2.4rem);
  font-weight: 800; color: var(--brand); line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.trust-item .num small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.trust-item .lbl { font-size: .875rem; color: var(--muted); margin-top: 4px; }

/* =========================================================
   区块通用
   ========================================================= */
.section { padding-block: clamp(56px, 4.6vw, 110px); }
.section-soft { background: var(--soft); }
.section-head { max-width: 52em; margin-bottom: clamp(36px, 3vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-size: .875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section-head h2 {
  font-size: clamp(1.7rem, 1.1rem + 1.4vw, 2.9rem);
  line-height: 1.28; font-weight: 800; letter-spacing: .01em;
  margin-bottom: 18px; text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: clamp(1rem, .9rem + .3vw, 1.18rem); }

/* =========================================================
   四大产品体系
   ========================================================= */
.cat-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 1.8vw, 40px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--brand), #4A83E0);
  opacity: 0; transition: opacity .28s;
}
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 60px; height: 60px; border-radius: 16px; flex: none;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 20px rgba(30,78,158,.26);
}
.cat-icon svg { width: 28px; height: 28px; color: #fff; }
.cat-card h3 {
  font-size: clamp(1.15rem, 1rem + .4vw, 1.5rem);
  font-weight: 700; margin-bottom: 12px;
}
.cat-card p { color: var(--muted); font-size: .9375rem; line-height: 1.8; flex: 1; }
.cat-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  color: var(--brand); font-weight: 600; font-size: .9375rem;
}
.cat-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.cat-card:hover .cat-more svg { transform: translateX(5px); }

/* =========================================================
   关于我们
   ========================================================= */
.about-grid {
  display: grid; gap: clamp(32px, 3.4vw, 80px);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 1000px) { .about-grid { grid-template-columns: 1.05fr .95fr; } }
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.0325rem; }
.about-copy strong { color: var(--ink); font-weight: 700; }
.about-facts {
  margin-top: 30px; display: grid; gap: 12px;
}
.fact-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--soft); border-radius: 12px; padding: 16px 20px;
}
.fact-row svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 4px; }
.fact-row p { margin: 0; font-size: .9375rem; color: var(--muted); }
.fact-row b { color: var(--ink); }

.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 1000 / 455;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -14px; bottom: 34px;
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 20px 26px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
.about-badge .n { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.about-badge .t { font-size: .8125rem; color: rgba(255,255,255,.72); line-height: 1.45; }
@media (max-width: 700px) { .about-badge { right: 10px; } }

/* 认证徽章 */
.cert-band { margin-top: clamp(36px, 3vw, 60px); }
.cert-band .cap {
  font-size: .875rem; color: var(--muted); letter-spacing: .08em;
  margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.cert-band .cap::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cert-list { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-chip {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-weight: 700; font-size: .9375rem; letter-spacing: .04em;
  color: var(--navy-2); transition: .22s var(--ease);
}
.cert-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* =========================================================
   数据带（深色）
   ========================================================= */
.stats-band {
  background:
    radial-gradient(1200px 420px at 12% -30%, rgba(74,131,224,.35), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #173B77 100%);
  color: #fff; position: relative; overflow: hidden;
}
.stats-band::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid; gap: clamp(28px, 2.6vw, 56px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(5, 1fr); } }
.stat-item { text-align: left; border-left: 2px solid rgba(255,255,255,.16); padding-left: 22px; }
.stat-item .n {
  font-size: clamp(2rem, 1.3rem + 1.8vw, 3.4rem);
  font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #A9C6F5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item .n small { font-size: .42em; font-weight: 700; }
.stat-item .t { margin-top: 10px; font-size: .9375rem; color: rgba(255,255,255,.7); }
.stat-item .d { font-size: .8125rem; color: rgba(255,255,255,.48); margin-top: 4px; }

/* =========================================================
   热门产品
   ========================================================= */
.product-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb {
  position: relative; background: #fff; aspect-ratio: 1; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-thumb .thumb-link { display: block; height: 100%; }
.product-body h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.product-body h3 a:hover { color: var(--brand); }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(12,33,68,.86); color: #fff; font-size: .75rem;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 {
  font-size: clamp(1.05rem, .95rem + .35vw, 1.35rem); font-weight: 700; letter-spacing: .02em;
}
.product-body p { color: var(--muted); font-size: .875rem; flex: 1; }
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 600; font-size: .875rem; margin-top: 6px;
}
.product-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.product-card:hover .product-link svg { transform: translateX(4px); }
.section-more { text-align: center; margin-top: clamp(36px, 3vw, 60px); }

/* =========================================================
   方案 CTA 带
   ========================================================= */
.cta-band { position: relative; color: #fff; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: url("../images/indexbg1.jpg") center/cover no-repeat;
}
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(9,25,52,.94) 0%, rgba(13,36,73,.88) 45%, rgba(15,42,86,.62) 100%);
}
.cta-band .container {
  position: relative; z-index: 1;
  padding-block: clamp(64px, 5.4vw, 130px);
  max-width: var(--container);
}
.cta-inner { max-width: 42em; }
.cta-inner h2 {
  font-size: clamp(1.7rem, 1.1rem + 1.5vw, 3rem);
  font-weight: 800; line-height: 1.3; margin-bottom: 20px; text-wrap: balance;
}
.cta-inner h2 em { font-style: normal; color: #8FB8F5; }
.cta-inner p { color: rgba(255,255,255,.78); font-size: clamp(1rem, .92rem + .3vw, 1.2rem); margin-bottom: 34px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-points { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.cta-points span { display: inline-flex; align-items: center; gap: 9px; font-size: .9375rem; color: rgba(255,255,255,.82); }
.cta-points svg { width: 17px; height: 17px; color: #7FB0F2; }

/* =========================================================
   厂房与实验室
   ========================================================= */
.gallery-group + .gallery-group { margin-top: clamp(40px, 3.2vw, 72px); }
.gallery-cap {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px;
}
.gallery-cap h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.6rem); font-weight: 700; }
.gallery-cap span { color: var(--muted); font-size: .9375rem; }
.gallery-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
}
@media (min-width: 760px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--soft); aspect-ratio: 4 / 3;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(9,25,52,.78));
  color: #fff; font-size: .8125rem; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover figcaption { opacity: 1; }
@media (min-width: 1300px) {
  .gallery-grid.cf .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* =========================================================
   新闻中心
   ========================================================= */
.news-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1300px) { .news-grid { grid-template-columns: repeat(4, 1fr); } }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-thumb { aspect-ratio: 398 / 267; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--muted); }
.news-meta time { font-variant-numeric: tabular-nums; }
.news-body h3 {
  font-size: clamp(1.02rem, .95rem + .3vw, 1.28rem);
  line-height: 1.5; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card:hover h3 { color: var(--brand); }
.news-body p {
  color: var(--muted); font-size: .9rem; line-height: 1.75; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 62em; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(30,78,158,.4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px;
  font-size: clamp(1rem, .95rem + .25vw, 1.2rem); font-weight: 700;
  position: relative; line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .faq-item summary::before {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 16px; height: 2px; background: var(--brand); border-radius: 2px;
  transform: translateY(-50%); transition: transform .25s var(--ease);
}
.faq-item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(0); }
.faq-item summary:hover { color: var(--brand); }
.faq-answer { padding: 0 26px 26px; color: var(--muted); font-size: .9875rem; line-height: 1.85; }
.faq-answer p + p { margin-top: 12px; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); }
.footer-top {
  display: grid; gap: clamp(32px, 3vw, 72px);
  grid-template-columns: 1fr; padding-block: clamp(48px, 4vw, 96px);
}
@media (min-width: 800px)  { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-col h2, .footer-col h3 {
  color: #fff; font-size: 1.0625rem; font-weight: 700;
  letter-spacing: .04em; margin-bottom: 22px; position: relative; padding-bottom: 14px;
}
.footer-col h2::after, .footer-col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px;
  background: var(--accent);
}
.footer-col p { font-size: .9rem; line-height: 1.9; }
.footer-logo { width: 180px; height: auto; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .9375rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li {
  display: flex; gap: 12px; margin-bottom: 16px; font-size: .9rem; line-height: 1.7;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: #6E9BE8; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); transition: .22s var(--ease);
}
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 24px; font-size: .8125rem; color: rgba(255,255,255,.5);
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* =========================================================
   响应式（≤1200px 平板 / ≤760px 手机）
   ========================================================= */
@media (max-width: 1200px) {
  /* 抽屉为 fixed 定位，毛玻璃 backdrop-filter 会使其成为 containing block，
     把抽屉限制在页头高度内 —— 移动端改为纯白实底 */
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: flex; }
  .nav-wrap {
    position: fixed; inset: 0 0 0 auto; width: min(400px, 86vw);
    background: #fff; z-index: 99; flex-direction: column; align-items: stretch;
    padding: 110px var(--pad) 40px; gap: 8px;
    transform: translateX(100%); transition: transform .32s var(--ease);
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  body.nav-open .nav-wrap { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.0625rem; }
  .main-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: var(--soft);
    display: none; margin: 0 0 6px 12px; padding: 4px;
  }
  .main-nav li.has-sub.open .sub-menu { display: block; }
  .main-nav li.has-sub > a::after {
    position: absolute; right: 16px; top: 50%; margin: 0;
    transform: translateY(-50%) rotate(0);
  }
  .header-cta {
    margin-top: 14px; padding-top: 16px; margin-left: 0;
    border-top: 1px solid var(--line);
  }
  .header-cta .lang-switch, .header-cta .btn { width: 100%; justify-content: center; }
  .nav-mask {
    position: fixed; inset: 0; background: rgba(9,25,52,.5); z-index: 98;
    opacity: 0; visibility: hidden; transition: .3s;
  }
  body.nav-open .nav-mask { opacity: 1; visibility: visible; }
  .hero-content { max-width: 78%; }
}

@media (max-width: 760px) {
  .topbar { font-size: .75rem; }
  .topbar .container {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding-block: 9px; min-height: 0; text-align: center;
  }
  .topbar-group { gap: 14px; justify-content: center; }
  .topbar-item { gap: 6px; }
  .topbar .divider { display: none; }
  .topbar .hide-sm { display: none; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .hero-trust { gap: 20px 28px; }
  .trust-item { min-width: calc(50% - 14px); }
  .about-media .frame { aspect-ratio: 4 / 3; }
  .cert-chip { padding: 9px 16px; font-size: .875rem; }
  .stat-item { padding-left: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .hero-bg::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.94) 45%,
      rgba(248,251,254,.80) 78%,
      rgba(244,249,253,.62) 100%);
  }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* 尊重系统减动效设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}



/* =========================================================
   11. 灯箱大图查看器
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 220;
  display: flex; align-items: center; justify-content: center;
  background: rgba(9, 25, 52, .93);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: min(1500px, 90vw); max-height: 88vh;
}
.lb-stage img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto;
  border-radius: 12px; background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}
.lb-stage figcaption { color: rgba(255,255,255,.88); font-size: .9375rem; text-align: center; }
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1);
  color: #fff; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-count {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85); font-size: .875rem; font-variant-numeric: tabular-nums;
}

/* 可点击放大的图片（图库 / 证书缩略图） */
.zoomable { position: relative; display: block; overflow: hidden; width: 100%;height: 100%;}
.zoomable img { transition: transform .45s var(--ease); }
.zoomable::after {
  content: ""; position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(9,25,52,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20.5 20.5-4-4'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  border: 1px solid rgba(255,255,255,.35);
  opacity: 0; transform: translateY(6px); transition: .25s var(--ease);
}
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; transform: translateY(0); }
.zoomable:hover img { transform: scale(1.04); }