/* ============================================================
   yjsshiqi.com 北检生物检测中心 — 深空临床蓝 × 冷白实验室
   ============================================================ */

:root {
  /* palette */
  --paper: #F5F7F9;
  --card: #FFFFFF;
  --mist: #EDF2F5;
  --soft: #E3EDF2;
  --ink: #10202E;
  --ink-soft: #4E5F6D;
  --ink-faint: #8B9AA6;
  --navy: #0B2440;
  --navy-deep: #071A30;
  --sci: #0E8598;
  --sci-deep: #0A6374;
  --sci-dim: #77B4BF;
  --sci-mist: #E1F0F3;
  --line: #DDE5EA;
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold: #C9A25A;

  /* type */
  --text-xs: .78rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-md: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  --text-h3: clamp(1.25rem, 1.1rem + .6vw, 1.55rem);
  --text-h2: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  --text-hero: clamp(2.2rem, 1.2rem + 4.8vw, 4.2rem);

  /* space & motion */
  --space-section: clamp(4rem, 3rem + 5vw, 9rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 10px 34px rgba(11, 36, 64, 0.08);
  --shadow-float: 0 22px 60px rgba(7, 26, 48, 0.22);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: min(1240px, calc(100% - 3rem)); margin-inline: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   topbar + header
   ============================================================ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-xs);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { transition: color var(--duration-fast) ease; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.4rem; }
.topbar-links a { display: inline-flex; align-items: center; gap: .35em; }
.topbar-links .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sci-dim); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--duration-normal) ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(11, 36, 64, 0.09); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.brand-name { line-height: 1.3; }
.brand-name .cn { font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.brand-name .en { font-size: .62rem; letter-spacing: .14em; color: var(--ink-faint); text-transform: uppercase; }

.main-nav { display: flex; gap: 0; margin-left: auto; }
.main-nav > li > a {
  display: block;
  padding: 0 1.15rem;
  font-size: .95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--duration-fast) ease;
}
.main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 1.15rem; right: 1.15rem; bottom: -26px;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--sci);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.main-nav > li > a:hover, .main-nav > li.on > a { color: var(--navy); font-weight: 600; }
.main-nav > li > a:hover::after, .main-nav > li.on > a::after { transform: scaleX(1); }

/* dropdown */
.main-nav .sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 12px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-float);
  padding: .7rem;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.main-nav li { position: relative; }
.main-nav li:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub a {
  display: block;
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--ink-soft);
  transition: all var(--duration-fast) ease;
}
.main-nav .sub a:hover { background: var(--sci-mist); color: var(--sci-deep); padding-left: 1.15rem; }

.head-cta { flex-shrink: 0; }
.head-cta a {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  background: var(--navy);
  color: #fff;
  padding: .62rem 1.25rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.head-cta a:hover { background: var(--sci-deep); transform: translateY(-1px); }

.menu-toggle { display: none; }

/* 移动抽屉:桌面端必须隐藏(布局样式在 ≤768 媒体查询内) */
.m-nav { display: none; }

/* ============================================================
   hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(14, 133, 152, 0.12), transparent 60%),
    radial-gradient(760px 460px at -8% 112%, rgba(14, 133, 152, 0.09), transparent 55%),
    linear-gradient(170deg, #FFFFFF 0%, var(--paper) 46%, var(--soft) 100%);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 36, 64, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 36, 64, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 600px at 72% 18%, #000 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(900px 600px at 72% 18%, #000 18%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: var(--text-xs);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sci);
  margin-bottom: 1.6rem;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--sci); }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: .01em;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.hero h1 em {
  font-style: normal;
  color: var(--ink-faint);
  display: block;
  font-size: .42em;
  font-weight: 600;
  letter-spacing: .32em;
  margin-bottom: 1.1rem;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: var(--text-md);
  max-width: 34em;
  margin-bottom: 2.2rem;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.hero-chips span {
  font-size: var(--text-xs);
  letter-spacing: .08em;
  padding: .38rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
}
.hero-chips span.gd { border-color: rgba(201, 162, 90, 0.6); color: #8F6E2E; background: rgba(201, 162, 90, 0.1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform var(--duration-fast) ease, background var(--duration-fast) ease, box-shadow var(--duration-normal) ease;
}
.btn-primary { background: var(--sci); color: #fff; box-shadow: 0 12px 30px rgba(14, 133, 152, 0.28); }
.btn-primary:hover { background: #10A0B5; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.9); }
.btn-ghost:hover { border-color: var(--sci-dim); color: #fff; transform: translateY(-2px); }
.hero .btn-ghost { border-color: var(--line); color: var(--navy); background: rgba(255, 255, 255, 0.72); }
.hero .btn-ghost:hover { border-color: var(--sci); color: var(--sci-deep); }
.btn .arr { transition: transform var(--duration-normal) var(--ease-out-expo); }
.btn:hover .arr { transform: translateX(4px); }

/* hero collage */
.hero-visual { position: relative; min-height: 480px; }
.hv-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hv-card img { width: 100%; height: 100%; object-fit: cover; }
.hv-main { top: 0; left: 6%; width: 74%; aspect-ratio: 4 / 3.1; }
.hv-media, .hv-media video, .hv-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hv-media video { opacity: 0; transition: opacity 1.1s ease; }
.hv-media video.on { opacity: 1; }
.hv-poster { display: none; }
.hv-sub { bottom: 4%; right: 0; width: 46%; aspect-ratio: 4 / 3; }
.hv-badge {
  position: absolute;
  left: 0; bottom: 12%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .95rem 1.3rem;
  display: flex;
  gap: 1.6rem;
  box-shadow: var(--shadow-card);
}
.hv-badge .num { font-size: 1.7rem; font-weight: 800; color: var(--sci-deep); line-height: 1.1; }
.hv-badge .lb { font-size: var(--text-xs); color: var(--ink-faint); }
.hv-badge > div { display: flex; flex-direction: column; justify-content: center; }

/* hero stat band */
.stat-band {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}
.stat-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-band .st {
  padding: 1.7rem 1rem 1.9rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-band .st:last-child { border-right: none; }
.stat-band .n { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; color: var(--navy); line-height: 1.2; }
.stat-band .n b { color: var(--sci); font-weight: 800; }
.stat-band .l { font-size: var(--text-xs); letter-spacing: .12em; color: var(--ink-faint); margin-top: .3rem; }

/* ============================================================
   section head
   ============================================================ */
.section { padding: var(--space-section) 0; }
.section.alt { background: var(--card); }
.sec-head { margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: var(--text-xs);
  letter-spacing: .26em;
  color: var(--sci);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .9rem;
}
.sec-kicker::before { content: ""; width: 30px; height: 2px; background: var(--sci); }
.sec-head h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}
.sec-head .sub { color: var(--ink-soft); margin-top: .8rem; max-width: 46em; font-size: var(--text-md); }
.sec-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ============================================================
   about — 三支柱
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.about-lead {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-lead::after {
  content: "AEE";
  position: absolute;
  right: -0.4rem; bottom: -2.6rem;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -.04em;
  pointer-events: none;
}
.about-lead .tag {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: .2em;
  color: var(--sci-dim);
  margin-bottom: 1.1rem;
}
.about-lead h2 { color: #fff; font-size: var(--text-h3); margin-bottom: 1rem; font-weight: 700; }
.about-lead p { font-size: .95rem; }
.about-lead .more {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--sci-dim);
  font-size: var(--text-sm);
  font-weight: 600;
}
.about-lead .more:hover { color: #fff; }

.pillars { display: grid; gap: 1rem; }
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.3rem;
  align-items: start;
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) ease, border-color var(--duration-normal) ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--sci-dim); }
.pillar .glyph {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--sci-mist), #fff);
  border: 1px solid var(--soft);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sci-deep);
}
.pillar h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: .35rem; }
.pillar h3 small { color: var(--ink-faint); font-weight: 500; font-size: .78em; margin-left: .4em; }
.pillar p { font-size: .9rem; color: var(--ink-soft); }

/* ============================================================
   services — bento
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}
.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) ease, border-color var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--sci-dim); }
.svc .no {
  position: absolute;
  top: .6rem; right: 1.1rem;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--mist);
  line-height: 1;
  transition: color var(--duration-normal) ease;
}
.svc:hover .no { color: var(--sci-mist); }
.svc .cat { font-size: var(--text-xs); letter-spacing: .18em; color: var(--sci); font-weight: 700; margin-bottom: .5rem; }
.svc h3 { font-size: 1.22rem; color: var(--navy); margin-bottom: .7rem; position: relative; }
.svc p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.2rem; flex: 1; }
.svc-links { display: flex; flex-wrap: wrap; gap: .5rem; position: relative; }
.svc-links a {
  font-size: var(--text-xs);
  padding: .34rem .85rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  transition: all var(--duration-fast) ease;
}
.svc-links a:hover { background: var(--navy); color: #fff; }
.svc-hero { grid-column: span 7; background: linear-gradient(160deg, #fff 55%, var(--sci-mist)); }
.svc-hero p { max-width: 44em; }
.svc:nth-child(2) { grid-column: span 5; }
.svc:nth-child(3) { grid-column: span 4; }
.svc:nth-child(4) { grid-column: span 4; }
.svc:nth-child(5) { grid-column: span 4; }
.svc:nth-child(6) { grid-column: span 5; }
.svc:nth-child(7) { grid-column: span 7; background: var(--navy); border-color: var(--navy); }
.svc:nth-child(7) h3, .svc:nth-child(7) a { color: #fff; }
.svc:nth-child(7) p { color: rgba(255, 255, 255, 0.72); }
.svc:nth-child(7) .no { color: rgba(255, 255, 255, 0.08); }
.svc:nth-child(7) .cat { color: var(--sci-dim); }
.svc:nth-child(7) .svc-links a { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.svc:nth-child(7) .svc-links a:hover { background: var(--sci); color: #fff; }
.svc:nth-child(7):hover .no { color: rgba(255, 255, 255, 0.16); }

/* ============================================================
   platforms — 深色数字带
   ============================================================ */
.platforms { background: linear-gradient(175deg, var(--navy-deep), var(--navy)); color: #fff; }
.platforms .sec-kicker { color: var(--sci-dim); }
.platforms .sec-head h2 { color: #fff; }
.platforms .sec-head .sub { color: rgba(255, 255, 255, 0.65); }
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.plat {
  background: rgba(11, 36, 64, 0.6);
  padding: 1.9rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: background var(--duration-normal) ease;
  min-width: 0;
}
.plat:hover { background: rgba(14, 133, 152, 0.18); }
.plat .idx {
  font-size: var(--text-xs);
  letter-spacing: .2em;
  color: var(--sci-dim);
  font-weight: 700;
}
.plat h3 { font-size: 1.12rem; font-weight: 700; color: #fff; }
.plat p { font-size: .85rem; color: rgba(255, 255, 255, 0.6); flex: 1; }
.plat .go {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: var(--text-sm);
  color: var(--sci-dim);
  font-weight: 600;
  transition: color var(--duration-fast) ease, gap var(--duration-fast) ease;
}
.plat:hover .go { color: #fff; gap: .9em; }

/* ============================================================
   hot tests
   ============================================================ */
.hot-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}
.hot-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sci);
  border-radius: var(--radius-sm);
  padding: 1.8rem;
}
.hot-note h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: .6rem; }
.hot-note p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.hot-note .tel { font-size: 1.45rem; font-weight: 800; color: var(--sci-deep); letter-spacing: .02em; }
.hot-note .tel small { display: block; font-size: var(--text-xs); color: var(--ink-faint); font-weight: 400; letter-spacing: .1em; margin-bottom: .2rem; }
.hot-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.hot-list a {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  font-size: .9rem;
  color: var(--ink-soft);
  transition: all var(--duration-fast) ease;
}
.hot-list a:hover { border-color: var(--sci); color: var(--sci-deep); background: var(--sci-mist); transform: translateY(-2px); }

/* ============================================================
   news
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.news-card figure { aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--mist); }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out-expo); }
.news-card:hover img { transform: scale(1.05); }
.news-card .bd { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card time { font-size: var(--text-xs); color: var(--ink-faint); letter-spacing: .06em; }
.news-card h3 { font-size: .98rem; color: var(--navy); line-height: 1.5; }
.news-card .bd span { margin-top: auto; font-size: var(--text-xs); color: var(--sci); font-weight: 600; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(14, 133, 152, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.6rem, 5vw, 4.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(500px 300px at 85% 100%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(500px 300px at 85% 100%, #000, transparent 70%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.2rem); font-weight: 800; margin-bottom: .6rem; }
.cta p { color: rgba(255, 255, 255, 0.7); font-size: .95rem; }
.cta .btn-primary { box-shadow: 0 12px 30px rgba(14, 133, 152, 0.5); }
.cta-acts { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ============================================================
   footer
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); margin-top: var(--space-section); }
.foot-top { border-bottom: 1px solid var(--line-dark); }
.foot-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0;
  flex-wrap: wrap;
}
.foot-brand img { height: 42px; width: auto; opacity: .96; }
.foot-contact { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.foot-contact .item { display: flex; align-items: center; gap: .6em; font-size: .92rem; }
.foot-contact .item b { color: #fff; font-weight: 700; }
.foot-qr { display: flex; align-items: center; gap: .9rem; }
.foot-qr img { width: 76px; height: 76px; border-radius: 10px; border: 1px solid var(--line-dark); }
.foot-qr .t1 { font-size: .92rem; color: #fff; font-weight: 600; }
.foot-qr .t2 { font-size: var(--text-xs); }

.foot-mid .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.4rem;
  padding: 2.6rem 0;
}
.foot-mid h4 {
  font-size: .95rem;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5em;
}
.foot-mid h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--sci); }
.foot-mid li { margin-bottom: .5rem; }
.foot-mid li a { font-size: .88rem; transition: color var(--duration-fast) ease, padding-left var(--duration-fast) ease; }
.foot-mid li a:hover { color: #fff; padding-left: .4em; }
.foot-addr .city { color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; display: block; }
.foot-addr p { font-size: .85rem; line-height: 1.8; }

.foot-keep { border-top: 1px solid var(--line-dark); }
.foot-keep .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  font-size: var(--text-xs);
  flex-wrap: wrap;
}
.foot-keep a { color: var(--sci-dim); }
.foot-keep a:hover { color: #fff; }

/* ============================================================
   mobile bar
   ============================================================ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(7, 26, 48, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: .55rem 0 .6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: .68rem;
}
.mobile-bar a.mid { background: var(--sci); color: #fff; font-weight: 600; }
.mobile-bar svg { width: 20px; height: 20px; }

/* back to top */
#back_top {
  position: fixed;
  right: 1.4rem; bottom: 5.2rem;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}
#back_top.show { opacity: 1; visibility: visible; }
#back_top button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
}
#back_top button:hover { background: var(--sci-deep); transform: translateY(-3px); }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav > li > a { padding: 0 .8rem; }
}

@media (max-width: 1024px) {
  .header-inner { gap: 1.2rem; }
  .brand-name { display: none; }
  .main-nav > li > a { padding: 0 .7rem; font-size: .9rem; }
  .head-cta a { padding: .55rem 1rem; font-size: .85rem; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 3.6rem; }
  .hero-visual { min-height: 0; height: 62vw; max-height: 460px; margin-bottom: .5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hot-wrap { grid-template-columns: 1fr; }
  .svc-hero, .svc:nth-child(2), .svc:nth-child(n+3) { grid-column: span 6; }
  .foot-mid .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-links .hide-m { display: none; }
  .topbar .wrap { justify-content: center; }

  .header-inner { height: 62px; gap: 1rem; }
  .brand-name { display: none; }
  .brand img { height: 42px; }
  /* 移动端视频回退 poster,省流量保流畅 */
  .hv-main video { display: none; }
  .hv-main .hv-poster { display: block; }
  .main-nav { display: none; }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-left: auto;
    border-radius: 10px;
    border: 1px solid var(--line);
  }
  .menu-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--navy);
    margin: 2.5px 0;
    border-radius: 2px;
    transition: transform var(--duration-normal) ease, opacity var(--duration-normal) ease;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .m-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 94;
    background: var(--navy-deep);
    color: #fff;
    padding: 5.5rem 2rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .4s var(--ease-out-expo);
  }
  .m-nav.open { transform: none; }
  .m-nav > li { border-bottom: 1px solid var(--line-dark); }
  .m-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem .2rem;
    font-size: 1.05rem;
    font-weight: 600;
  }
  .m-nav > li > a::after { content: "→"; color: var(--sci-dim); font-weight: 400; }
  .m-nav .sub { display: none; padding: 0 .2rem 1rem; }
  .m-nav .sub.show { display: block; }
  .m-nav .sub a { display: block; padding: .5rem 0 .5rem 1rem; font-size: .88rem; color: rgba(255, 255, 255, 0.66); }
  .m-nav .tel-foot { margin-top: 2rem; text-align: center; }
  .m-nav .tel-foot .num { font-size: 1.6rem; font-weight: 800; color: var(--sci-dim); }

  .hero { font-size: .95rem; }
  .hero-sub { margin-bottom: 1.6rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hv-main { left: 0; width: 66%; }
  .hv-badge { padding: .75rem 1rem; gap: 1rem; }

  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-band .st { border-bottom: 1px solid var(--line); }
  .stat-band .st:nth-child(3), .stat-band .st:nth-child(4) { border-bottom: none; }
  .stat-band .st:nth-child(2n) { border-right: none; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc-hero, .svc:nth-child(2), .svc:nth-child(n+3) { grid-column: span 1; }
  .plat-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card figure { aspect-ratio: 16/8; }

  .foot-mid .wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .foot-top .wrap { justify-content: center; text-align: center; }

  .mobile-bar { display: grid; }
  body { padding-bottom: 60px; }
  #back_top { bottom: 5.8rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-main video { display: none; }
  .hv-main .hv-poster { display: block; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* hero 英文装饰行(从 h1 移出,h1 保持原站标语) */
.hero-en {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}
