/* ==========================================================================
   佰牧泽 · 企业门户形象站 全站样式
   纯静态站点 · 无外部依赖 · 响应式（桌面 / 平板 / 手机）
   ========================================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --c-navy: #0a2e5c;
  --c-primary: #1450a3;
  --c-primary-dark: #0d3a7a;
  --c-accent: #c8202e;
  --c-accent-dark: #a51523;
  --c-bg: #f5f7fb;
  --c-text: #2b3445;
  --c-muted: #66738a;
  --c-line: #e4e9f2;
  --c-white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(13, 42, 84, 0.08);
  --shadow-md: 0 8px 28px rgba(13, 42, 84, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { color: var(--c-navy); line-height: 1.35; font-weight: 700; }

.container { width: min(1200px, 92%); margin: 0 auto; }

.section { padding: 88px 0; }
.section-alt { background: var(--c-bg); }
.section-tight { padding: 64px 0; }

/* 区块标题 */
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-desc { color: var(--c-muted); font-size: 16.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 6px 18px rgba(200, 32, 46, 0.35); }
.btn-primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); }
.btn-blue { background: var(--c-primary); color: #fff; }
.btn-blue:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.btn-ghost { border: 2px solid var(--c-primary); color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand-logo-img { height: 40px; width: auto; flex-shrink: 0; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--c-navy); letter-spacing: 1px; line-height: 1.25; white-space: nowrap; }
.brand-name-light { color: #ffffff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text .zh { font-size: 20px; font-weight: 800; color: var(--c-navy); letter-spacing: 1px; }
.brand-text .en { font-size: 11px; font-weight: 600; letter-spacing: 2.2px; color: var(--c-muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  border-radius: 8px;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--c-primary); }
.nav-link.active { color: var(--c-primary); font-weight: 700; }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  padding: 7px 18px;
  border: 1.5px solid var(--c-primary);
  border-radius: 999px;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}
.lang-toggle:hover { background: var(--c-primary); color: #fff; }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span { display: block; height: 2.5px; width: 100%; background: var(--c-navy); border-radius: 2px; transition: all 0.25s ease; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(200, 32, 46, 0.22), transparent 60%),
    linear-gradient(135deg, #0a2e5c 0%, #10386e 45%, #1450a3 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 96px 0 110px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(200, 32, 46, 0.35); }
.hero-title { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.28; margin-bottom: 20px; }
.hero-title em { font-style: normal; color: #e88a92; }
.hero-sub { max-width: 560px; color: rgba(255, 255, 255, 0.85); font-size: 17.5px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-figure { position: relative; }
.hero-figure svg { width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35)); }
.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatY 4.5s ease-in-out infinite;
}
.hero-float .fp { width: 10px; height: 10px; border-radius: 50%; background: #2ecc9b; }
.hero-float-1 { top: 8%; left: -4%; }
.hero-float-2 { bottom: 10%; right: -2%; animation-delay: 1.6s; }
.hero-float small { display: block; font-size: 11.5px; color: var(--c-muted); font-weight: 500; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 内页 Banner ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 90% at 90% 10%, rgba(200, 32, 46, 0.18), transparent 60%),
    linear-gradient(120deg, #0a2e5c, #14489a);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(100deg, transparent 45%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000 100%);
}
.page-hero-inner { position: relative; }
.breadcrumb { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-bottom: 12px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
.page-hero-title { color: #fff; font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; margin-bottom: 10px; }
.page-hero-sub { color: rgba(255, 255, 255, 0.82); max-width: 640px; font-size: 16.5px; }

/* ---------- 首页：公司简介 ---------- */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  z-index: -1;
}
.about-preview .section-head { margin-bottom: 24px; text-align: left; }
.about-preview p + p { margin-top: 14px; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.about-point .tick {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(20, 80, 163, 0.1);
  color: var(--c-primary);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  margin-top: 3px;
}
.about-preview .btn { margin-top: 34px; }

/* ---------- 数据亮点 ---------- */
.stats-band {
  background:
    radial-gradient(ellipse 55% 120% at 12% 0%, rgba(200, 32, 46, 0.28), transparent 55%),
    linear-gradient(120deg, #092a54, #0f4188);
  color: #fff;
  padding: 70px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; color: #fff; line-height: 1.2; }
.stat-num .unit { font-size: 0.55em; color: #e88a92; margin-left: 2px; }
.stat-label { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-size: 15px; letter-spacing: 1px; }
.stat { position: relative; padding: 10px 0; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- 卡片（核心业务 / 价值观 / 品类等） ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(20, 80, 163, 0.35); }
.card-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20, 80, 163, 0.12), rgba(200, 32, 46, 0.14));
  color: var(--c-primary);
  margin-bottom: 22px;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--c-muted); font-size: 15.5px; }
.card .card-more { display: inline-block; margin-top: 18px; color: var(--c-primary); font-weight: 600; font-size: 15px; }
.card:hover .card-more { color: var(--c-accent); }

/* ---------- 合作伙伴 ---------- */
.partner-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 22px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.partner-item:hover { color: var(--c-navy); border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.partner-item .zh { display: block; font-size: 16.5px; }
.partner-item .en { display: block; font-size: 12.5px; color: #9aa7ba; letter-spacing: 1.5px; margin-top: 2px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 130% at 88% 50%, rgba(200, 32, 46, 0.4), transparent 60%),
    linear-gradient(120deg, #0a2e5c, #134a9c);
  border-radius: 22px;
  color: #fff;
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); }

/* ---------- 关于页 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .section-head { text-align: left; margin-bottom: 22px; }
.split p + p { margin-top: 13px; color: var(--c-muted); }

.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2.5px;
  background: linear-gradient(180deg, var(--c-primary), rgba(200, 32, 46, 0.7));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 38px 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -26px; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--c-primary);
  box-shadow: 0 0 0 5px rgba(20, 80, 163, 0.12);
}
.tl-item:last-child::before { border-color: var(--c-accent); box-shadow: 0 0 0 5px rgba(200, 32, 46, 0.15); }
.tl-year { font-size: 19px; font-weight: 800; color: var(--c-primary); letter-spacing: 1px; }
.tl-body h3 { font-size: 18px; margin: 4px 0 6px; }
.tl-body p { color: var(--c-muted); font-size: 15.5px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .v-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), #2d78d8);
  color: #fff;
  display: grid; place-items: center;
}
.value-card .v-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--c-muted); }

.certs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cert-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cert-card .cert-name { padding: 16px 20px; font-weight: 700; color: var(--c-navy); text-align: center; font-size: 16px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: all 0.25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.team-card .team-info { padding: 16px 18px; text-align: center; }
.team-card h4 { font-size: 17px; }
.team-card p { font-size: 13.5px; color: var(--c-muted); margin-top: 2px; }

/* ---------- 业务页 ---------- */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mode + .mode { margin-top: 88px; }
.mode-alt .mode-media { order: 2; }
/* 纯文本版式（无配图） */
.mode.mode-text { grid-template-columns: 1fr; gap: 0; max-width: 880px; margin-left: auto; margin-right: auto; }
.mode.mode-text + .mode.mode-text { margin-top: 64px; }
.mode-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.mode-num {
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.mode h3 { font-size: 24px; margin-bottom: 14px; }
.mode p { color: var(--c-muted); }
.mode-list { margin-top: 20px; display: grid; gap: 12px; }
.mode-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text); font-size: 15.5px; }
.mode-list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(46, 204, 155, 0.15);
  color: #1e9e6d;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}

.channel-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  color: var(--c-navy);
  font-size: 16px;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.channel-chip:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-3px); }
.channel-chip .zh { display: block; }
.channel-chip .en { display: block; font-size: 12px; color: #9aa7ba; font-weight: 600; letter-spacing: 1px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: all 0.25s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(20, 80, 163, 0.35); }
.cat-icon {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20, 80, 163, 0.1), rgba(200, 32, 46, 0.12));
  color: var(--c-primary);
}
.cat-icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 18px; margin-bottom: 3px; }
.cat-card p { font-size: 14px; color: var(--c-muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  text-align: center;
  transition: all 0.25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), #2d78d8);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(20, 80, 163, 0.3);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--c-muted); }

/* ---------- 新闻页 ---------- */
.featured-news {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.featured-news:hover { box-shadow: var(--shadow-md); }
.featured-news img { height: 100%; object-fit: cover; min-height: 320px; }
.featured-body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; }
.featured-news.featured-text { grid-template-columns: 1fr; }

.news-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.news-cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(20, 80, 163, 0.1);
  color: var(--c-primary);
}
.news-cat.cat-industry { background: rgba(200, 32, 46, 0.12); color: var(--c-accent-dark); }
.news-date { font-size: 13.5px; color: #9aa7ba; }

.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.news-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  gap: 22px;
  transition: all 0.25s ease;
}
.news-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(20, 80, 163, 0.35); }
.news-item:hover .news-title a { color: var(--c-primary); }
.news-date-badge {
  flex-shrink: 0;
  width: 66px;
  border-radius: 12px;
  background: var(--c-bg);
  text-align: center;
  padding: 10px 0;
  align-self: flex-start;
}
.news-date-badge .d { font-size: 24px; font-weight: 800; color: var(--c-navy); line-height: 1.2; display: block; }
.news-date-badge .m { font-size: 12px; color: var(--c-muted); letter-spacing: 1px; display: block; }
.news-title { font-size: 17.5px; line-height: 1.5; margin-bottom: 8px; }
.news-excerpt { font-size: 14.5px; color: var(--c-muted); }
.news-item .news-more { margin-top: 12px; display: inline-block; font-size: 14px; font-weight: 600; color: var(--c-primary); }
.news-item .news-more:hover { color: var(--c-accent); }

.news-pagination { margin-top: 44px; text-align: center; color: var(--c-muted); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: all 0.25s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), #2d78d8);
  color: #fff;
  display: grid; place-items: center;
}
.contact-icon svg { width: 25px; height: 25px; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; color: var(--c-muted); word-break: break-all; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  background: #e9eff8;
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-note {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--c-muted);
  text-align: center;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 20px; margin-bottom: 6px; }
.contact-form .form-tip { color: var(--c-muted); font-size: 14.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; color: var(--c-navy); }
.form-group label .req { color: #e0483c; margin-left: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3.5px rgba(20, 80, 163, 0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: #9aa7ba; margin-top: 14px; text-align: center; }
.contact-form .btn { width: 100%; margin-top: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #09213f; color: rgba(255, 255, 255, 0.78); margin-top: 0; }
.footer-main { padding: 66px 0 46px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: 44px; }
.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 7px 11px;
  line-height: 0;
}
.footer-logo-chip img { height: 30px; width: auto; }
.footer-brand .brand-text .zh { color: #fff; }
.footer-brand .brand-text .en { color: rgba(255, 255, 255, 0.55); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.9; }
.footer-title { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2.5px; border-radius: 2px; background: var(--c-accent); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: #e88a92; padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; font-size: 14.5px; align-items: flex-start; }
.footer-contact .fc-icon { flex-shrink: 0; margin-top: 4px; color: #e88a92; }
.footer-slogan {
  margin-top: 20px;
  padding: 12px 18px;
  border-left: 3px solid var(--c-accent);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  border-radius: 0 8px 8px 0;
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-accent); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code {
  font-size: clamp(90px, 16vw, 150px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page h1 { font-size: 24px; margin: 18px 0 10px; }
.error-page p { color: var(--c-muted); margin-bottom: 30px; }

/* ---------- 双语显隐 ---------- */
body.lang-zh .en { display: none !important; }
body.lang-en .zh { display: none !important; }
html[lang="en"] body { letter-spacing: 0.01em; }

/* ---------- 滚动入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 84px; }
  .hero-figure { max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .values-grid, .team-grid, .contact-cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat + .stat::before { display: none; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    padding: 14px 4%;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
  }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 14px; font-size: 16.5px; }
  .nav-link::after { display: none; }
  .nav-link.active { background: rgba(20, 80, 163, 0.07); }
  .nav-link:hover { background: rgba(20, 80, 163, 0.07); }

  .cards-grid, .cat-grid, .news-list, .certs-grid, .about-preview, .split, .mode, .featured-news, .contact-layout { grid-template-columns: 1fr; }
  .mode + .mode { margin-top: 64px; }
  .mode-alt .mode-media { order: 0; }
  .featured-news img { min-height: 240px; max-height: 320px; }
  .section { padding: 64px 0; }
  .partner-wall { grid-template-columns: repeat(3, 1fr); }
  .about-preview .media-frame { order: -1; max-width: 640px; }
}

@media (max-width: 560px) {
  .brand-text .zh { font-size: 17px; }
  .brand-text .en { font-size: 10px; letter-spacing: 1.5px; }
  .stats-grid, .values-grid, .team-grid, .contact-cards, .steps, .form-row, .partner-wall { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .contact-form { padding: 28px 22px; }
  .featured-body { padding: 28px 24px; }
  .news-item { padding: 22px 20px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .hero-float-1 { left: 0; }
  .hero-float-2 { right: 0; }
}
