/* ============================================================
   泌缘生物官网 样式表
   品牌色系：主色科技蓝 #0A3D91 / 主蓝 #1E6FEB / 亮蓝 #38B6FF / 淡蓝底 #F0F7FF / 正文 #333
   移动端优先（375px 起），无外部依赖
   ============================================================ */

:root {
  --primary: #0A3D91;
  --secondary: #1E6FEB;
  --accent: #38B6FF;
  --bg: #F0F7FF;
  --card: #ffffff;
  --text: #333333;
  --muted: #5F6B7A;
  --line: #DCE9FB;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(10, 61, 145, 0.10);
  --grad: linear-gradient(135deg, #0A3D91 0%, #1E6FEB 55%, #38B6FF 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); }
ul, ol { list-style-position: inside; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-name { font-size: 18px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 2px; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: none; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; }

.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; }
.site-nav > ul {
  position: absolute; left: 0; right: 0; top: 64px;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 20px 16px;
}
.site-nav > ul > li > a {
  display: block; padding: 12px 4px; font-size: 16px;
  color: var(--text); border-bottom: 1px solid #EAF3FE;
}
.site-nav > ul > li:last-child > a { border-bottom: none; }
.site-nav > ul > li > a.active { color: var(--accent); font-weight: 700; }

.drop-title { display: block; padding: 12px 4px; font-weight: 700; color: var(--primary); }
.drop-list { list-style: none; padding: 0 0 6px 14px; }
.drop-list a { display: block; padding: 7px 4px; font-size: 15px; color: var(--text); }
.drop-list a:hover { color: var(--accent); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 52px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 { font-size: 26px; color: var(--primary); position: relative; padding-bottom: 14px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 48px; height: 3px; border-radius: 3px; background: var(--grad);
}
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }

h1 { font-size: 28px; line-height: 1.35; color: var(--primary); }
h2 { font-size: 22px; color: var(--primary); }
h3 { font-size: 18px; color: var(--secondary); }

.lead { font-size: 17px; color: var(--text); }

/* ---------------- Hero ---------------- */
.hero {
  background: var(--grad);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.hero::after {
  content: ""; position: absolute; left: -80px; bottom: -140px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 20px; background: rgba(255, 255, 255, 0.10);
}
.hero h1 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.hero .hero-sub { font-size: 17px; opacity: 0.94; max-width: 640px; margin-bottom: 28px; }
.hero .hero-meta { font-size: 14px; opacity: 0.85; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(10,61,145,.28); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
  border: 1px solid #EAF3FE;
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* ---------------- 产品卡片 ---------------- */
.p-card { display: flex; flex-direction: column; overflow: hidden; }
.p-visual {
  height: 150px; border-radius: 12px; margin-bottom: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center;
}
.p-visual .p-name { font-size: 26px; font-weight: 700; letter-spacing: 4px; }
.p-visual .p-slogan { font-size: 13px; opacity: 0.92; margin-top: 6px; letter-spacing: 1px; }
.v-jianmou { background: linear-gradient(135deg, #2563EB, #38B6FF); }
.v-tongbi  { background: linear-gradient(135deg, #0A3D91, #2563EB); }
.v-jianfei { background: linear-gradient(135deg, #1E6FEB, #38B6FF); }
.v-jiannao { background: linear-gradient(135deg, #0B2E6B, #2563EB); }
.p-card h3 { margin-bottom: 8px; font-size: 20px; }
.p-card .p-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex-grow: 1; }
.p-card .p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag {
  font-size: 12px; color: var(--secondary); background: var(--bg);
  border-radius: 999px; padding: 3px 10px;
}
.p-link { font-weight: 700; font-size: 14px; }

/* ---------------- 技术路线 ---------------- */
.tech-steps { display: grid; gap: 14px; }
.tech-step {
  background: var(--card); border: 1px solid #EAF3FE; border-radius: 14px;
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.tech-step .step-no {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  background: var(--grad); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.tech-step h4 { color: var(--primary); font-size: 16px; margin-bottom: 4px; }
.tech-step p { color: var(--muted); font-size: 14px; }

.adv-grid { display: grid; gap: 20px; }
.adv-card { text-align: center; padding: 28px 20px; }
.adv-card .adv-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--bg); color: var(--accent); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.adv-card h3 { margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 14px; text-align: left; }

/* ---------------- 时间轴 ---------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--secondary), var(--accent));
}
.tl-item { position: relative; margin-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--secondary);
}
.tl-year { font-size: 15px; font-weight: 700; color: var(--accent); }
.tl-item h4 { color: var(--primary); margin: 2px 0 6px; font-size: 17px; }
.tl-item p { color: var(--muted); font-size: 14px; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid #EAF3FE; border-radius: 14px;
  padding: 18px 20px;
}
.faq-item .faq-q {
  color: var(--primary); font-size: 16px; font-weight: 700;
  margin-bottom: 8px; line-height: 1.5;
}
.faq-item .faq-a { color: #444; font-size: 15px; }

.faq-anchor { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.faq-anchor a {
  background: #fff; border: 1px solid var(--line); color: var(--secondary);
  border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600;
}
.faq-anchor a:hover { background: var(--bg); color: var(--accent); }

/* ---------------- 产品信息表 ---------------- */
.info-list { display: grid; gap: 0; }
.info-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 10px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--accent); font-weight: 700; font-size: 14px; }
.info-row dd { color: #444; font-size: 15px; margin: 0; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 6px; color: #bbb; }

/* ---------------- 页头横幅（内页） ---------------- */
.page-head {
  background: var(--grad); color: #fff; padding: 46px 0 40px;
}
.page-head h1 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.page-head p { opacity: 0.92; font-size: 15px; max-width: 720px; }

/* ---------------- 免责声明 & 页脚 ---------------- */
.site-footer { background: #0B2E6B; color: #B9CCEA; font-size: 13px; }
.footer-top { padding: 40px 0 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; gap: 24px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 12px; letter-spacing: 1px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: #B9CCEA; }
.footer-grid a:hover { color: #fff; }
.disclaimer {
  margin-top: 22px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,0.06); color: #D6E4F8;
  font-size: 13px; line-height: 1.8;
}
.footer-bottom { padding: 20px 0; text-align: center; color: #8FA8CC; font-size: 12px; line-height: 2; }

/* ---------------- 联系页 ---------------- */
.contact-card { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .c-ico {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: var(--bg); color: var(--accent); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: 14px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(30,111,235,.12);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-ok {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: var(--bg); color: var(--primary); font-size: 14px;
  border: 1px solid var(--line);
}
.form-ok.show { display: block; }

/* ---------------- 回到顶部 ---------------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 18px; line-height: 1;
  box-shadow: 0 8px 20px rgba(10,61,145,.35);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; }

/* ---------------- 平板（≥640px） ---------------- */
@media (min-width: 640px) {
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-steps { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
  h1 { font-size: 32px; }
}

/* ---------------- 桌面（≥900px） ---------------- */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav > ul {
    position: static; background: none; border: none;
    padding: 0; display: flex; align-items: center; gap: 4px;
  }
  .site-nav > ul > li > a {
    border: none; padding: 10px 14px; font-size: 15px;
    border-radius: 999px;
  }
  .site-nav > ul > li > a:hover { background: var(--bg); }
  .site-nav > ul > li > a.active { color: var(--accent); }
  .drop-title { display: none; }
  .drop-wrap { position: relative; }
  .drop-trigger {
    display: block; padding: 10px 14px; font-size: 15px; color: var(--text);
    border-radius: 999px; cursor: pointer;
  }
  .drop-trigger:hover { background: var(--bg); color: var(--accent); }
  .drop-list {
    display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 10px; z-index: 120;
  }
  .drop-wrap:hover .drop-list { display: block; }
  .drop-list a { display: block; padding: 10px 14px; border-radius: 10px; }
  .drop-list a:hover { background: var(--bg); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 84px 0 72px; }
  .info-row { grid-template-columns: 140px 1fr; }
  .tech-steps { grid-template-columns: repeat(4, 1fr); }
  .page-head { padding: 56px 0 48px; }
  .page-head h1 { font-size: 32px; }
}

/* ---------------- 大屏（≥1200px） ---------------- */
@media (min-width: 1200px) {
  .container { padding: 0 24px; }
  .section { padding: 76px 0; }
}
