/* ==========================================================================
   创材新材 NEXAMAT — 企业官网样式
   本地化：字体 / 图片均为本地文件
   ========================================================================== */

/* ---------- 字体（本地 woff2） ---------- */
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 设计变量 ---------- */
:root {
  --primary: #0A4D8C;
  --primary-deep: #073A6B;
  --primary-soft: #E3EEF8;
  --accent: #0FA5A0;
  --accent-deep: #0B817D;
  --accent-soft: #E0F4F2;
  --ink: #16222F;
  --muted: #5C6B7A;
  --line: #E2E8F0;
  --bg: #F4F6F9;
  --white: #FFFFFF;
  --dark: #0B1C2B;
  --dark-2: #10293D;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
  --shadow-sm: 0 1px 3px rgba(11, 28, 43, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 28, 43, 0.12);
  --radius: 14px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transform: translateY(-300%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 4px 0;
}
.brand-mark { width: 38px; height: 38px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand-text small {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--primary);
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }
.nav-link.active { color: var(--primary); font-weight: 700; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta {
  flex-shrink: 0;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s;
}
.header-cta:hover { background: var(--primary-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--bg); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.section-sub { margin-top: 12px; color: var(--muted); }

.kicker {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-foot { margin-top: 40px; text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: all 0.25s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-ghost-dark { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost-dark:hover { background: var(--primary-soft); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
}
.text-link::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A4D8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.text-link:hover::after { transform: translateX(4px); }
button.text-link { font-family: inherit; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 20, 33, 0.88) 0%, rgba(7, 20, 33, 0.62) 45%, rgba(7, 20, 33, 0.18) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 80px;
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-kicker {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #7FC4F2;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.02em;
}
.hero-sub {
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.hero .btn-primary { background: #fff; color: var(--primary); }
.hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 数据条 ---------- */
.stat-band { background: var(--dark); padding: 52px 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.stat-num i { font-style: normal; font-size: 22px; color: var(--accent); margin-left: 3px; }
.stat-label { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }

/* ---------- 卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #C9D8EA; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18px; font-weight: 700; }
.card-body p { font-size: 14px; color: var(--muted); flex: 1; }
.card-body .text-link { margin-top: 6px; }

/* ---------- 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(11, 28, 43, 0.86);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.badge-num { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.badge-sub { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.split-body h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.split-body p { color: var(--muted); margin-bottom: 14px; }
.split-body .check-list { margin: 18px 0 26px; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 应用领域宫格 ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.app-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
}
.app-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.app-tile:hover img { transform: scale(1.06); }
.app-tile-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 20, 33, 0.9) 0%, rgba(7, 20, 33, 0.1) 55%, rgba(7, 20, 33, 0.05) 100%);
}
.app-tile-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-tile-text strong { font-size: 19px; font-weight: 700; }
.app-tile-text small { font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 新闻（首页预览） ---------- */
.news-preview { display: flex; flex-direction: column; }
.news-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s, padding-left 0.25s;
}
.news-row:first-child { border-top: 1px solid var(--line); }
.news-row:hover { background: var(--bg); padding-left: 18px; }
.news-row time {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.news-row-body h3 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.news-row-body p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- CTA 条 ---------- */
.cta-band {
  background:
    linear-gradient(100deg, rgba(10, 77, 140, 0.95) 0%, rgba(11, 129, 125, 0.9) 100%),
    url("../assets/hero-main.jpg") center / cover no-repeat;
  padding: 76px 0;
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.35; }
.cta-inner p { margin-top: 10px; color: rgba(255, 255, 255, 0.85); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 栏目页 Hero ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 20, 33, 0.86) 0%, rgba(7, 20, 33, 0.55) 55%, rgba(7, 20, 33, 0.25) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  color: #fff;
}
.page-hero-content h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: 0.02em; }
.page-hero-sub { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, 0.82); }

/* ---------- 关于页 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.value-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-item p { font-size: 14px; color: var(--muted); }

/* ---------- 时间轴 ---------- */
.timeline {
  max-width: 880px;
  margin: 0 auto;
}
.tl-item {
  display: grid;
  grid-template-columns: 104px 52px 1fr;
  align-items: start;
}
.tl-time {
  text-align: right;
  padding: 4px 20px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.tl-axis {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: stretch;
}
.tl-axis::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary-soft) 100%);
}
.tl-item:first-child .tl-axis::before { top: 14px; }
.tl-item:last-child .tl-axis::before { bottom: auto; height: calc(100% - 14px); }
.tl-dot {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin-top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-body { padding: 0 0 40px 8px; }
.tl-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tl-body p { font-size: 14px; color: var(--muted); max-width: 560px; }

/* ---------- 资质徽章 ---------- */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 700;
}
.badge-item::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- 产品页 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.25s;
}
.filter-btn:hover { color: var(--primary); border-color: var(--primary); }
.filter-btn.active { color: #fff; background: var(--primary); border-color: var(--primary); }

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card.hidden-card { display: none; }
.product-media { min-height: 320px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.product-info h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.product-info > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.spec-list div { border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.spec-list dt { font-size: 14px; color: var(--muted); }
.spec-list dd { font-size: 15px; font-weight: 700; margin-top: 2px; }

.contact-note {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
}
.contact-note h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.contact-note p { color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.contact-note .cta-actions { justify-content: center; }

/* ---------- 应用页 ---------- */
.app-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.app-case:last-child { margin-bottom: 0; }
.app-case-reverse .app-case-media { order: 2; }
.app-case-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.app-case-body h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.app-case-body > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

/* ---------- 新闻页 ---------- */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-thumb img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.news-main { padding: 28px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.news-main time {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.news-main h3 { font-size: 19px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.news-main p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.contact-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card a { color: var(--primary); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: #7FC4F2; }
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.9; max-width: 340px; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col li { margin-bottom: 11px; font-size: 14px; }
.footer-col a:hover { color: #7FC4F2; }
.footer-contact li { line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-deep); }

/* ---------- 新闻弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 33, 0.6);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 44px 48px;
  box-shadow: 0 30px 80px rgba(7, 20, 33, 0.4);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.modal-close:hover { color: var(--primary); border-color: var(--primary); transform: rotate(90deg); }
.modal-meta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.modal-panel h3 { font-size: 22px; font-weight: 700; line-height: 1.5; margin-bottom: 18px; }
.modal-content p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span, .card-media img, .app-tile img { animation: none !important; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-tile { aspect-ratio: 4 / 3; }
  .split, .split-reverse { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 0; }
  .app-case, .app-case-reverse { grid-template-columns: 1fr; gap: 28px; }
  .app-case-reverse .app-case-media { order: 0; }
  .product-card { grid-template-columns: 1fr; }
  .product-media { min-height: 260px; }
  .news-item { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .section { padding: 64px 0; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 14px; font-size: 16px; }
  .nav-link.active::after { left: 14px; right: auto; width: 26px; }
  .text-link { min-height: 44px; }
  .hero { min-height: 540px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stat-num { font-size: 36px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .news-row { grid-template-columns: 96px 1fr; gap: 14px; }
  .news-row .text-link { grid-column: 2; }
  .tl-item { grid-template-columns: 76px 36px 1fr; }
  .tl-time { padding-right: 12px; font-size: 14px; }
  .modal-panel { padding: 34px 26px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .app-tile { aspect-ratio: 3 / 4; }
  .app-tile-text { left: 14px; right: 14px; bottom: 12px; }
  .app-tile-text strong { font-size: 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .news-item { grid-template-columns: 1fr; }
  .news-thumb img { min-height: 180px; }
  .news-main { padding: 22px; }
  .spec-list { grid-template-columns: 1fr; }
  .product-info { padding: 28px 24px; }
  .hero-actions .btn { width: 100%; }
  .page-hero { min-height: 260px; }
  .tl-item { grid-template-columns: 60px 30px 1fr; }
  .tl-time { font-size: 14px; padding-right: 8px; }
  .stat-num { font-size: 32px; }
  .back-top { right: 16px; bottom: 16px; }
}
