/* =========================================================
   宇拓新药 - 企业展示网站样式表
   基于宣传页视觉风格：深青/海军蓝主色 + 青色强调
   ========================================================= */

/* ---------- CSS 变量 ---------- */
:root {
  --primary-dark: #0B4F6E;      /* 首页头图/页脚深青色 */
  --primary: #0A7A8A;           /* 主品牌青 */
  --accent: #0DBFB8;            /* 高亮/按钮青色 */
  --accent-hover: #0AA39D;
  --accent-coral: #E85D5D;      /* 痛点/警示色 */
  --light-bg: #F0F7FA;          /* 浅青背景 */
  --lighter-bg: #F8FBFC;
  --text-dark: #1F2937;
  --text-muted: #5D6D7E;
  --white: #FFFFFF;
  --border: #D9E8ED;
  --shadow-sm: 0 2px 8px rgba(11, 79, 110, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 79, 110, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 79, 110, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
  --container: 1200px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--light-bg);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 28px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 720px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}

.text-nowrap {
  white-space: nowrap;
}

.text-center .section-title {
  justify-content: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 191, 184, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 191, 184, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-outline-dark {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link,
.header.scrolled .logo-text {
  color: var(--text-dark);
}

.header.scrolled .nav-link:hover {
  color: var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-icon {
  height: 36px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
}

.logo-text {
  color: var(--white);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
  background: var(--text-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- 首页横幅 ---------- */
.hero {
  position: relative;
  min-height: 720px;
  background:
    linear-gradient(135deg, rgba(11, 61, 86, 0.62) 0%, rgba(11, 79, 110, 0.42) 48%, rgba(10, 104, 120, 0.62) 100%),
    url("../../biotech-backgrounds/hero-dark.png") center / cover no-repeat;
  color: var(--white);
  padding-top: 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  white-space: nowrap;
}

.hero-lead {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-chart {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  padding: 12px;
}

.hero-chart img {
  border-radius: 8px;
}

/* 轮播指示点 */
.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ---------- 卡片通用 ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--light-bg);
  color: var(--primary);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

/* ---------- 痛点 vs 方案 ---------- */
.pain-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.pain-card {
  background: #FFF5F5;
  border: 1px solid #FAD4D4;
}

.pain-card .card-icon {
  background: #FFE5E5;
  color: var(--accent-coral);
}

.pain-card h3 {
  color: var(--accent-coral);
}

.pain-card li::before {
  background: var(--accent-coral);
}

.solution-card {
  background: #F0FAFA;
  border: 1px solid #C9EFED;
}

.solution-card .card-icon {
  background: #E0F7F6;
  color: var(--accent);
}

/* ---------- 合作模式 ---------- */
.cooperation-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.coop-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.coop-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.coop-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.coop-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.coop-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- 优势 ---------- */
.advantage-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  font-weight: 600;
}

.advantage-item h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.advantage-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- 科研赋能（主题：把实验样本变成可发表的成果） ---------- */
.empowerment {
  background:
    linear-gradient(115deg, rgba(8, 49, 70, 0.82) 0%, rgba(10, 104, 120, 0.72) 100%),
    url("../../biotech-backgrounds/theme/feature-dark.png") center / cover no-repeat;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.empowerment h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.empowerment p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.empowerment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.empowerment-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.empowerment-list svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ---------- 数据安全 ---------- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.security-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.security-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- 新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-thumb {
  width: 100%;
  height: 180px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 24px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- 联系我们 ---------- */
/* 联系方式板块：主信息卡 + 微信二维码卡 + 地图占位，三栏并列 */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--primary-dark);
}

/* 主联系方式卡片：头部对接人 + 信息列表 */
.contact-main {
  display: flex;
  flex-direction: column;
}

.contact-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0A6878 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-hero h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.contact-hero p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--lighter-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list strong {
  display: block;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.contact-list li > div {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-list a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 微信二维码卡片 */
.qr-card {
  text-align: center;
}

.qr-card img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.qr-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(11, 61, 86, 0.74) 0%, rgba(10, 104, 120, 0.74) 100%),
    url("../../biotech-backgrounds/divider.png") center / cover no-repeat;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #073B52;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal .icp-slot {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: var(--light-bg);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb-inner a:hover {
  color: var(--primary);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* ---------- 页面标题区 ---------- */
.page-header {
  background:
    linear-gradient(135deg, rgba(11, 61, 86, 0.64) 0%, rgba(10, 104, 120, 0.5) 100%),
    url("../../biotech-backgrounds/hero-dark.png") center / cover no-repeat;
  color: var(--white);
  padding: 120px 0 64px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- 浅色品牌带（hero-light 浅色变体） ---------- */
.bio-light-band {
  position: relative;
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(248, 251, 252, 0.42) 100%),
    url("../../biotech-backgrounds/hero-light.png") center / cover no-repeat;
}

.bio-light-band .container {
  position: relative;
  z-index: 2;
}

.bio-light-band h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.bio-light-band .section-title h2 {
  color: var(--primary-dark);
}

.bio-light-band .lead {
  font-size: 1.1rem;
  color: var(--text-dark);
  max-width: 760px;
  margin: 0 auto 24px;
}

.bio-light-band p {
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 16px;
}

/* ---------- 主题背景带（实验样本→可发表成果 系列） ---------- */
/* 科研转化浅色：公司简介 / 我们能提供什么 / 为什么选择我们 / 合作模式 共用 */
.bg-research {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(248, 251, 252, 0.5) 100%),
    url("../../biotech-backgrounds/theme/research-light.png") center / cover no-repeat;
}

/* 新闻动态浅色：发表 / 资讯 主题 */
.bg-news {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(248, 251, 252, 0.5) 100%),
    url("../../biotech-backgrounds/theme/news-light.png") center / cover no-repeat;
}

/* ---------- 服务详情页补充 ---------- */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.service-detail-card h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 20px;
}

.detail-meta-item dt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-meta-item dd {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

/* ---------- 动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-chart {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-grid,
  .empowerment {
    grid-template-columns: 1fr;
  }

  /* 平板：联系方式两栏（主信息 + 二维码） */
  .contact-layout {
    grid-template-columns: 1.4fr 0.9fr;
  }

  .card-grid-3,
  .card-grid-4,
  .advantage-list,
  .cooperation-list,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    color: var(--text-dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header.scrolled .mobile-menu-btn span,
  .mobile-menu-btn.active span {
    background: var(--text-dark);
  }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4,
  .advantage-list,
  .cooperation-list,
  .news-grid,
  .pain-solution,
  .security-grid,
  .empowerment-list,
  .detail-meta,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-card {
    padding: 24px;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  /* 移动端：套用竖版背景图，保证比例与可读性 */
  .hero,
  .page-header {
    background-image:
      linear-gradient(135deg, rgba(11, 61, 86, 0.62) 0%, rgba(11, 79, 110, 0.42) 48%, rgba(10, 104, 120, 0.62) 100%),
      url("../../biotech-backgrounds/mobile-dark.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .bio-light-band {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(248, 251, 252, 0.42) 100%),
      url("../../biotech-backgrounds/mobile-light.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* 移动端：主题背景带套用竖版图 */
  .bg-research,
  .bg-news {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(248, 251, 252, 0.5) 100%),
      url("../../biotech-backgrounds/theme/research-light-mobile.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .bg-news {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(248, 251, 252, 0.5) 100%),
      url("../../biotech-backgrounds/theme/news-light-mobile.png");
  }

  .empowerment {
    background-image:
      linear-gradient(115deg, rgba(8, 49, 70, 0.82) 0%, rgba(10, 104, 120, 0.72) 100%),
      url("../../biotech-backgrounds/theme/feature-dark-mobile.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .card,
  .coop-item,
  .advantage-item,
  .info-card {
    padding: 24px;
  }
}


/* ==========================================================================
   新闻详情页 · 正文排版（2026-09-01 追加）
   ========================================================================== */
.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-card-link:hover .news-card h3 {
  color: var(--primary, #1a73c7);
}

.news-article {
  max-width: 820px;
  margin: 0 auto;
}
.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 0.9rem;
  color: #6b7280;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.news-article-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(26, 115, 199, 0.1);
  color: #1a73c7;
  font-size: 0.8rem;
}
.news-article-cover {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.news-article-cover img {
  width: 100%;
  display: block;
}
.news-article h2 {
  font-size: 1.35rem;
  margin: 40px 0 16px;
  line-height: 1.5;
}
.news-article h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
}
.news-article p {
  line-height: 1.9;
  margin-bottom: 18px;
  color: #374151;
}
.news-article ul,
.news-article ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: #374151;
}
.news-article li {
  line-height: 1.9;
  margin-bottom: 8px;
}
.news-article-lead {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.9;
  padding: 18px 22px;
  border-left: 3px solid #1a73c7;
  background: rgba(26, 115, 199, 0.04);
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
}
.news-article-cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,115,199,0.06), rgba(26,115,199,0.02));
  text-align: center;
}
.news-article-cta p {
  margin-bottom: 20px;
  color: #374151;
}
.news-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}
