/* ============ 青驰生物官网 全站样式（品牌蓝） ============ */
:root {
  --accent: #1a4b9c;
  --accent-dark: #123c7d;
  --accent-light: #e8f2fd;
  --accent-bright: #2fa8e1;
  --deep: #0d2b5e;
  --ink: #1c2b33;
  --ink-2: #4a5b64;
  --ink-3: #8697a1;
  --bg: #f2f8fd;
  --card: #ffffff;
  --line: #e6ebee;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(28, 43, 51, 0.07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.logo img { height: 48px; width: auto; display: block; }
.footer-logo-img {
  height: 40px; width: auto; display: block;
  background: #fff; border-radius: 8px; padding: 6px 10px;
  box-sizing: content-box;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #2fa8e1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
}
.logo small { font-size: 11px; color: var(--ink-3); font-weight: 400; display: block; line-height: 1.1; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--ink-2);
  transition: 0.2s;
}
.nav-links a:hover { background: var(--accent-light); color: var(--accent-dark); }
.nav-links a.active { color: var(--accent-dark); font-weight: 600; }
.nav-cta {
  background: var(--accent); color: #fff !important; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(47, 168, 225, 0.14), transparent),
    radial-gradient(700px 320px at 5% 110%, rgba(26, 75, 156, 0.12), transparent),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 88px 0 72px;
}
/* 实拍主视觉版 Hero */
.hero.has-bg {
  background: linear-gradient(180deg, rgba(9,32,66,.80), rgba(18,60,125,.88)), url(assets/hero-lab.jpg) center/cover no-repeat;
  color: #fff; padding: 104px 0 84px;
}
.hero.has-bg h1 { color: #fff; }
.hero.has-bg h1 em { color: #8fd4ff; }
.hero.has-bg p.lead { color: rgba(255,255,255,.92); }
.hero.has-bg .hero-tag { background: rgba(255,255,255,.16); color: #cfe6ff; }
.hero.has-bg .stat { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); }
.hero.has-bg .stat b { color: #8fd4ff; }
.hero.has-bg .stat span { color: rgba(255,255,255,.85); }
.hero.has-bg .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.hero.has-bg .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--accent-light); color: var(--accent-dark);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: 0.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { margin: 18px 0 32px; font-size: 18px; color: var(--ink-2); max-width: 640px; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 10px;
  font-size: 16px; font-weight: 600; transition: 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink-2); background: #fff; margin-left: 12px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- 区块 ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker {
  color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head h2 { font-size: 32px; margin: 8px 0 12px; font-weight: 800; }
.section-head p { color: var(--ink-2); max-width: 620px; margin: 0 auto; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.stat {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 20px; text-align: center;
}
.stat b { font-size: 36px; color: var(--accent); font-weight: 800; display: block; }
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 28px; transition: 0.25s; border: 1px solid transparent;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-light); }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--accent-light); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card ul { margin: 12px 0 0 2px; list-style: none; }
.card ul li {
  font-size: 14px; color: var(--ink-2); padding: 3px 0 3px 20px; position: relative;
}
.card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.card .tag {
  display: inline-block; font-size: 12px; color: var(--accent-dark);
  background: var(--accent-light); border-radius: 6px; padding: 2px 10px;
  margin: 12px 8px 0 0; font-weight: 600;
}

/* ---------- 深色 CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #0d2b5e, #1a4b9c 60%, #2fa8e1);
  border-radius: 20px; color: #fff; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; font-weight: 800; }
.cta-band p { opacity: 0.85; margin-top: 6px; }
.cta-band .btn { background: #fff; color: var(--accent-dark); }
.cta-band .btn:hover { transform: translateY(-1px); }

/* ---------- 页脚 ---------- */
footer { background: #0d2b5e; color: #b9cde5; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid a, .footer-grid p { font-size: 13.5px; color: #a9c0d8; display: block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 22px;
  text-align: center; font-size: 12.5px; color: #7f9cbc;
}

/* ---------- 实拍图库 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; height: 200px; object-fit: cover; }
.shot span { display: block; font-size: 13px; color: var(--ink-2); padding: 12px 16px; }
.shot.tall img { height: 300px; }

/* ---------- 合规提示条 ---------- */
.compliance-note {
  background: #fdf8ec; border: 1px dashed #d8b45c; border-radius: 10px;
  padding: 14px 20px; font-size: 13px; color: #8a6d1f; line-height: 1.7;
}

/* ---------- 内页 banner ---------- */
.page-banner {
  background: linear-gradient(120deg, #0d2b5e, #1a4b9c 65%, #2fa8e1);
  color: #fff; padding: 64px 0; text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 800; }
.page-banner p { opacity: 0.85; margin-top: 10px; }

/* ---------- 时间轴 / 流程 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 24px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 30px; font-weight: 800; color: var(--accent-light);
  -webkit-text-stroke: 1.5px var(--accent); display: block; margin-bottom: 10px;
}
.step h4 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-light); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.info-item b { display: block; font-size: 15px; }
.info-item span { font-size: 14px; color: var(--ink-2); }
.form-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px;
}
.form-card h3 { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { font-size: 13.5px; color: var(--ink-2); display: block; margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 14.5px; font-family: inherit; outline: none; transition: 0.2s; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* ---------- 占位提示 ---------- */
.placeholder-note {
  background: #fff8e6; border: 1px dashed #e5c26a; border-radius: 10px;
  padding: 12px 18px; font-size: 13px; color: #8a6d1f; margin-bottom: 40px;
}
.placeholder-note b { color: #6d5414; }

/* ---------- 表单反垃圾隐藏域 ---------- */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; }

/* ---------- 微信二维码块 ---------- */
.qr-box {
  display: flex; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-top: 28px;
}
.qr-ph {
  width: 108px; height: 108px; flex-shrink: 0; border-radius: 10px;
  border: 1.5px dashed #cbd5da; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.5;
}
.qr-box img { width: 108px; height: 108px; border-radius: 10px; object-fit: cover; }
.qr-box b { display: block; font-size: 15px; margin-bottom: 4px; }
.qr-box span { font-size: 13px; color: var(--ink-2); }

/* ---------- 双二维码区（青驰） ---------- */
.qr-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 28px;
}
.qr-duo figure {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-align: center; margin: 0;
}
.qr-duo img {
  width: 100%; max-width: 190px; aspect-ratio: 1 / 1;
  border-radius: 10px; object-fit: contain; background: #fff;
  border: 1px solid var(--line);
}
.qr-duo figcaption {
  margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6;
}
.qr-duo figcaption b {
  display: block; font-size: 16px; color: var(--ink); margin-top: 2px;
  letter-spacing: 0.5px;
}
.qr-tip {
  margin-top: 14px; font-size: 13px; color: var(--ink-3); line-height: 1.7;
}
@media (max-width: 640px) { .qr-duo { grid-template-columns: 1fr; } }

/* ---------- 表单提交弹层 ---------- */
.lead-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 34, 31, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lead-modal[hidden] { display: none; }
.lead-modal-box {
  background: #fff; border-radius: 18px; padding: 34px 32px;
  max-width: 520px; width: 100%; max-height: 88vh; overflow-y: auto;
  text-align: center; box-shadow: 0 20px 60px rgba(16, 34, 31, 0.28);
}
.lead-modal-icon { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.lead-modal-box h3 { font-size: 20px; margin-bottom: 10px; }
.lead-modal-msg { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.lead-modal-preview {
  text-align: left; white-space: pre-wrap; word-break: break-word;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-size: 13px; color: var(--ink-2);
  font-family: inherit; margin-bottom: 22px; max-height: 190px; overflow-y: auto;
}
.lead-modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lead-modal-actions .btn { padding: 11px 22px; font-size: 14.5px; }
.lead-modal-actions .btn-ghost { margin-left: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid, .grid-4, .steps, .stats, .shots { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line); align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid, .grid-2, .grid-4, .steps, .stats, .shots { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
}

/* 备案号链接 */
.copyright a { color: #7f9cbc; text-decoration: none; }
.copyright a:hover { color: #b9cde5; text-decoration: underline; }
