/* ============================================================
   合肥助怀公司 - 辅助生殖主题样式表 (新主题色)
   行业: 三代试管助孕 / 辅助生殖医疗
   路径: /template/{$view_name}/css/style.css
   新主题色: 柔和医疗风格
   主色调: 柔粉色 (#FF9EB5) - 象征温柔与生命
   副色调: 希望绿 (#4ECDC4) - 象征健康与成长
   强调色: 阳光黄 (#FFD166) - 象征希望与温暖
   深背景: 深蓝灰 (#1A365D) - 专业稳重
   浅背景: 柔白色 (#FFF9F9) - 温暖洁净
   ============================================================ */

/* ---------- CSS变量主题系统 ---------- */
:root {
  --ivf-primary: #FF9EB5;      /* 柔粉色 - 主色 */
  --ivf-secondary: #4ECDC4;    /* 希望绿 - 副色 */
  --ivf-accent: #FFD166;       /* 阳光黄 - 强调色 */
  --ivf-light: #FFE5E5;        /* 浅粉色 - 背景辅助 */
  --ivf-dark: #1A365D;         /* 深蓝灰 - 深色背景 */
  --ivf-bg: #FFF9F9;           /* 柔白色 - 主背景 */
  --ivf-card-bg: #FFFFFF;      /* 纯白色 - 卡片背景 */
  --ivf-text: #2D3748;         /* 深灰色 - 主文字 */
  --ivf-muted: #718096;        /* 中灰色 - 次要文字 */
  --ivf-border: rgba(255, 158, 181, 0.18);  /* 粉色透明边框 */
  --ivf-gradient: linear-gradient(135deg, #FF9EB5 0%, #FFD166 50%, #4ECDC4 100%);  /* 主渐变 */
  --ivf-gradient-soft: linear-gradient(135deg, rgba(255, 158, 181, 0.1) 0%, rgba(255, 209, 102, 0.1) 50%, rgba(78, 205, 196, 0.1) 100%);  /* 柔和渐变 */
  --ivf-gradient-dark: linear-gradient(135deg, #1A365D 0%, #2D4B7A 100%);  /* 深色渐变 */
  --ivf-gradient-green: linear-gradient(135deg, #4ECDC4 0%, #6AE0D8 100%);  /* 绿色渐变 */
  --ivf-gradient-pink: linear-gradient(135deg, #FF9EB5 0%, #FFC1D2 100%);  /* 粉色渐变 */
  --ivf-shadow-sm: 0 2px 12px rgba(26, 54, 93, 0.06);
  --ivf-shadow-md: 0 8px 30px rgba(26, 54, 93, 0.10);
  --ivf-shadow-lg: 0 20px 40px rgba(26, 54, 93, 0.12);
  --ivf-radius: 20px;          /* 稍微圆润 */
  --ivf-radius-sm: 14px;
  --ivf-pill: 50px;
  --ivf-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ivf-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --ivf-border-radius: 20px;
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 16px; line-height: 1.8; color: var(--ivf-text);
  background: var(--ivf-bg); -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 158, 181, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---------- 工具类 ---------- */
.ivf-gtext { background: var(--ivf-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ivf-gbg { background: var(--ivf-gradient); }
.ivf-gtext-green { background: var(--ivf-gradient-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ivf-gtext-pink { background: var(--ivf-gradient-pink); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ivf-gbg-soft { background: var(--ivf-gradient-soft); }

/* ---------- 按钮系统 ---------- */
.ivf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--ivf-pill); padding: 14px 36px; font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: var(--ivf-bounce);
  position: relative; overflow: hidden;
}
.ivf-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.ivf-btn:hover::before { left: 100%; }
.ivf-btn-primary { 
  background: var(--ivf-gradient-pink); 
  color: #fff; 
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(255, 158, 181, 0.3);
}
.ivf-btn-primary:hover { 
  transform: translateY(-3px) scale(1.05); 
  box-shadow: 0 8px 30px rgba(255, 158, 181, 0.4);
  color: #fff; 
}
.ivf-btn-outline { 
  background: transparent; 
  color: var(--ivf-primary); 
  border: 2px solid var(--ivf-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.ivf-btn-outline::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: var(--ivf-gradient-pink); transition: width 0.4s ease;
  z-index: -1;
}
.ivf-btn-outline:hover { 
  color: #fff; 
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 158, 181, 0.2);
}
.ivf-btn-outline:hover::before { width: 100%; }
.ivf-btn-green { 
  background: var(--ivf-gradient-green); 
  color: #fff; 
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}
.ivf-btn-green:hover { 
  transform: translateY(-3px) scale(1.05); 
  box-shadow: 0 8px 30px rgba(78, 205, 196, 0.4);
  color: #fff; 
}
.ivf-btn-white { 
  background: #fff; 
  color: var(--ivf-primary);
  border: 2px solid #fff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}
.ivf-btn-white:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
  background: var(--ivf-gradient-pink);
  color: #fff;
  border-color: transparent;
}
.ivf-btn-sm { padding: 10px 24px; font-size: 14px; }

/* ---------- 导航栏 ---------- */
.ivf-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: 80px; transition: var(--ivf-transition); background: transparent;
  padding: 0 5%;
}
.ivf-navbar.scrolled {
  background: rgba(255, 249, 249, 0.96); backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(255, 158, 181, 0.08); height: 70px;
  border-bottom: 1px solid rgba(255, 158, 181, 0.1);
}
.ivf-navbar.scrolled .ivf-nav-link { color: var(--ivf-text); }
.ivf-navbar.scrolled .ivf-nav-link:hover { 
  color: var(--ivf-primary); 
  background: rgba(255, 158, 181, 0.08);
  transform: translateY(-2px);
}
.ivf-navbar.scrolled .ivf-brand-text { 
  background: var(--ivf-gradient-pink); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.ivf-navbar.scrolled .ivf-toggler { 
  color: var(--ivf-primary); 
  border-color: rgba(255, 158, 181, 0.2);
  background: rgba(255, 158, 181, 0.05);
}

.ivf-brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; }
.ivf-brand-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ivf-gradient);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
  box-shadow: 0 4px 15px rgba(255, 158, 181, 0.3);
}
.ivf-brand-text { 
  color: #fff; 
  transition: color 0.3s;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.ivf-navbar.scrolled .ivf-brand-text { text-shadow: none; }

.ivf-nav-links { display: flex; align-items: center; gap: 6px; }
.ivf-nav-link {
  padding: 10px 20px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.9); border-radius: 12px; transition: var(--ivf-bounce);
  position: relative;
}
.ivf-nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; 
  width: 0; height: 2px; background: var(--ivf-gradient-green);
  transform: translateX(-50%); transition: width 0.3s;
}
.ivf-nav-link:hover, .ivf-nav-link.active { 
  color: #fff; 
  background: rgba(255,255,255,0.15);
}
.ivf-nav-link.active::after { width: 20px; }
.ivf-nav-link:hover::after { width: 20px; }

.ivf-toggler {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; border: 1px solid rgba(255,255,255,0.25); 
  border-radius: 12px; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px); transition: var(--ivf-transition);
}
.ivf-toggler:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

/* 移动端全屏导航 */
.ivf-mnav {
  position: fixed; inset: 0; 
  background: linear-gradient(135deg, rgba(255, 158, 181, 0.98), rgba(78, 205, 196, 0.95));
  backdrop-filter: blur(20px); z-index: 1040;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.ivf-mnav.on { opacity: 1; visibility: visible; }
.ivf-mnav a { 
  color: #fff; font-size: 24px; font-weight: 600; 
  padding: 12px 32px; border-radius: 16px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.ivf-mnav a::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: rgba(255,255,255,0.2); transition: left 0.4s;
}
.ivf-mnav a:hover::before { left: 100%; }
.ivf-mnav a:hover { 
  transform: translateX(10px); 
  background: rgba(255,255,255,0.1);
  box-shadow: 0 5px 20px rgba(255,255,255,0.2);
}
.ivf-mnav-close { 
  position: absolute; top: 24px; right: 24px; 
  color: #fff; font-size: 32px; background: none; border: none;
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ivf-transition);
}
.ivf-mnav-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

/* ---------- Hero主视觉 ---------- */
.ivf-hero {
  min-height: 100vh; background: var(--ivf-gradient-dark); position: relative;
  display: flex; align-items: center; padding-top: 100px; overflow: hidden;
}
#ivf-canvas { 
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.15;
  background: radial-gradient(circle at 20% 50%, rgba(255, 158, 181, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
}
.ivf-hero-inner { position: relative; z-index: 2; }
.ivf-hero h1 { 
  font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; 
  margin-bottom: 24px; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.ivf-hero h1 span { 
  background: linear-gradient(45deg, #FF9EB5, #FFD166, #4ECDC4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ivf-hero-desc { 
  font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.9; 
  max-width: 600px; margin-bottom: 36px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.ivf-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.ivf-hero-img {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.ivf-hero-img:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}
.ivf-hero-img::before {
  content: ''; position: absolute; inset: -4px; 
  background: var(--ivf-gradient); border-radius: 28px; 
  z-index: -1; opacity: 0.4; filter: blur(10px);
}
.ivf-hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.ivf-hero-img:hover::after { opacity: 1; }

/* Hero底部信任指标 */
.ivf-hstats { 
  display: flex; gap: 56px; padding-top: 40px; 
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.ivf-hstats::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100px; height: 2px;
  background: var(--ivf-gradient-green); animation: slideLine 6s infinite linear;
}
@keyframes slideLine {
  0% { left: 0; }
  50% { left: calc(100% - 100px); }
  100% { left: 0; }
}
.ivf-hstat-num { 
  font-size: 36px; font-weight: 700; 
  background: linear-gradient(45deg, #FF9EB5, #FFD166);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.ivf-hstat-label { 
  font-size: 14px; color: rgba(255,255,255,0.65); 
  margin-top: 6px; letter-spacing: 1px;
  font-weight: 500;
}

/* ---------- 板块标题 ---------- */
.ivf-title { text-align: center; margin-bottom: 64px; position: relative; }
.ivf-title h2 { 
  font-size: 36px; font-weight: 700; margin-bottom: 16px; 
  letter-spacing: -0.01em; position: relative; display: inline-block;
}
.ivf-title h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%; 
  transform: translateX(-50%); width: 60px; height: 3px;
  background: var(--ivf-gradient-green); border-radius: 2px;
}
.ivf-title p { 
  font-size: 17px; color: var(--ivf-muted); max-width: 600px; 
  margin: 20px auto 0; line-height: 1.7;
}
.ivf-title-w h2, .ivf-title-w p { color: #fff; }
.ivf-title-w p { opacity: 0.8; }
.ivf-title-w h2::after { background: #fff; }

/* ---------- 卡片系统(剪纸层级) ---------- */
.ivf-card {
  background: var(--ivf-card-bg); border-radius: var(--ivf-radius); padding: 36px;
  box-shadow: var(--ivf-shadow-sm); border: 1px solid var(--ivf-border);
  transition: var(--ivf-bounce); position: relative; overflow: hidden; height: 100%;
  background: linear-gradient(145deg, #ffffff, #fff5f7);
}
.ivf-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--ivf-gradient); opacity: 1; transition: all 0.3s;
  transform: scaleX(0); transform-origin: left;
}
.ivf-card:hover { 
  transform: translateY(-10px) rotate(0.8deg); 
  box-shadow: var(--ivf-shadow-lg);
  background: #ffffff;
}
.ivf-card:hover::before { transform: scaleX(1); }
.ivf-card:nth-child(even):hover { transform: translateY(-10px) rotate(-0.8deg); }
.ivf-card:nth-child(3n+1)::before { background: var(--ivf-gradient-pink); }
.ivf-card:nth-child(3n+2)::before { background: var(--ivf-gradient-green); }
.ivf-card:nth-child(3n+3)::before { background: linear-gradient(135deg, #FFD166, #FF9EB5); }

.ivf-card-icon {
  width: 70px; height: 70px; border-radius: 20px;
  background: var(--ivf-gradient-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.ivf-card-icon::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ivf-gradient); opacity: 0.1;
  border-radius: 20px;
}
.ivf-card-icon i { 
  font-size: 30px; 
  background: var(--ivf-gradient); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.ivf-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.ivf-card p { font-size: 16px; color: var(--ivf-muted); line-height: 1.7; }

/* ---------- 页面标题栏 ---------- */
.ivf-pageheader {
  padding: 80px 0; background: var(--ivf-gradient); color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.ivf-pageheader::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  animation: float 20s infinite linear;
}
.ivf-pageheader::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  background: rgba(78, 205, 196, 0.1); border-radius: 50%;
  animation: float 25s infinite linear reverse;
}
@keyframes float {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.ivf-pageheader h1 { font-size: 40px; font-weight: 700; position: relative; z-index: 1; }
.ivf-pageheader p { 
  font-size: 18px; opacity: 0.9; position: relative; margin-bottom: 0; 
  z-index: 1; max-width: 600px; margin: 0 auto;
}

/* ---------- 关于区域 ---------- */
.ivf-about-sec { 
  background: var(--ivf-gradient-dark); color: #fff; padding: 100px 0;
  position: relative; overflow: hidden;
}
.ivf-about-sec::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 158, 181, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
}
.ivf-check { 
  display: flex; align-items: flex-start; gap: 12px; 
  margin-bottom: 16px; color: rgba(255,255,255,0.9); font-size: 16px;
  position: relative; padding-left: 10px;
}
.ivf-check::before {
  content: '✓'; position: absolute; left: 0; top: 2px;
  color: var(--ivf-primary); font-weight: bold;
}
.ivf-check i { 
  color: var(--ivf-primary); font-size: 18px; 
  flex-shrink: 0; margin-top: 2px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ---------- 数据统计 ---------- */
.ivf-stat-item { 
  text-align: center; padding: 40px 20px; 
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--ivf-radius); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--ivf-bounce);
}
.ivf-stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 158, 181, 0.3);
}
.ivf-stat-icon { 
  font-size: 48px; margin-bottom: 20px; display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ivf-stat-icon i { 
  background: var(--ivf-gradient); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
}
.ivf-stat-num { 
  font-size: 48px; font-weight: 700; 
  background: linear-gradient(45deg, #FF9EB5, #FFD166);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px; line-height: 1;
}
.ivf-stat-label { 
  font-size: 18px; font-weight: 600; 
  color: #fff; margin-bottom: 8px;
}
.ivf-stat-desc { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ---------- 资讯区域 ---------- */
.ivf-news-sec { 
  background: var(--ivf-gradient-dark); padding: 80px 0; color: #fff;
  position: relative; overflow: hidden;
}
.ivf-news-sec::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 158, 181, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
}
.ivf-news-card {
  display: flex; gap: 20px; 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 20px; margin-bottom: 16px; 
  transition: var(--ivf-bounce); position: relative; overflow: hidden;
}
.ivf-news-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--ivf-gradient-green); opacity: 0; transition: opacity 0.3s;
}
.ivf-news-card:hover { 
  background: rgba(255,255,255,0.08); 
  transform: translateX(8px) translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.ivf-news-card:hover::before { opacity: 1; }
.ivf-news-card img { 
  width: 180px; height: 120px; object-fit: cover; border-radius: 12px; 
  flex-shrink: 0; transition: transform 0.3s;
}
.ivf-news-card:hover img { transform: scale(1.05); }
.ivf-news-card h4 { 
  font-size: 17px; font-weight: 600; margin-bottom: 8px; 
  color: #fff; line-height: 1.4;
}
.ivf-news-card p { 
  font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; 
  margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; overflow: hidden;
}
.ivf-news-meta { 
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 12px;
}
.ivf-news-meta i { color: var(--ivf-primary); }

.ivf-sbtitle { 
  font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 20px; 
  padding-left: 16px; border-left: 4px solid var(--ivf-primary);
  position: relative;
}
.ivf-sbtitle::before {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 30px; height: 2px; background: var(--ivf-primary);
}
.ivf-sbitem { 
  display: flex; gap: 16px; padding: 12px 0; 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  transition: var(--ivf-bounce); align-items: center;
}
.ivf-sbitem:hover { 
  padding-left: 12px; 
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
}
.ivf-sbitem img { 
  width: 60px; height: 60px; object-fit: cover; 
  border-radius: 10px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.1);
  transition: transform 0.3s;
}
.ivf-sbitem:hover img { transform: rotate(5deg); }
.ivf-sbitem h5 { 
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.9); 
  line-height: 1.4; margin-bottom: 4px;
}
.ivf-sbitem span { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- 50城市目录 ---------- */
.ivf-city { 
  padding: 80px 0; 
  background: linear-gradient(135deg, #FFF9F9 0%, #F0F9FF 100%);
  position: relative; overflow: hidden;
}
.ivf-city::before {
  content: ''; position: absolute; inset: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(255, 158, 181, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 90%, rgba(78, 205, 196, 0.05) 0%, transparent 20%);
}
.ivf-citytag {
  display: block; padding: 12px 8px; text-align: center; 
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 158, 181, 0.2); border-radius: var(--ivf-radius);
  color: var(--ivf-text); font-size: 15px; font-weight: 500; 
  transition: var(--ivf-bounce); text-decoration: none;
  position: relative; overflow: hidden;
}
.ivf-citytag::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ivf-gradient); opacity: 0; transition: opacity 0.3s;
  z-index: -1;
}
.ivf-citytag:hover { 
  color: #fff; transform: translateY(-5px) scale(1.05); 
  box-shadow: 0 8px 25px rgba(255, 158, 181, 0.3); 
  border-color: transparent;
}
.ivf-citytag:hover::before { opacity: 1; }
.ivf-citytag span {
  position: relative; z-index: 1;
}

/* ---------- FAQ手风琴 ---------- */
.ivf-faq { 
  background: linear-gradient(135deg, #1A365D 0%, #2D4B7A 100%); 
  padding: 100px 0; position: relative; overflow: hidden;
}
.ivf-faq::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 158, 181, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
}
.ivf-faq .accordion-item { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; 
  margin-bottom: 12px; overflow: hidden; 
  backdrop-filter: blur(10px);
}
.ivf-faq .accordion-button { 
  background: transparent; color: #fff; font-weight: 600; 
  padding: 20px 24px; box-shadow: none; font-size: 16px;
  position: relative;
}
.ivf-faq .accordion-button::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--ivf-gradient-green); opacity: 0; transition: opacity 0.3s;
}
.ivf-faq .accordion-button:not(.collapsed) { 
  background: rgba(255, 158, 181, 0.1); color: #fff; 
}
.ivf-faq .accordion-button:not(.collapsed)::before { opacity: 1; }
.ivf-faq .accordion-button::after { 
  filter: invert(1); transition: transform 0.3s; 
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.ivf-faq .accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.ivf-faq .accordion-body { 
  color: rgba(255,255,255,0.8); padding: 0 24px 20px; 
  line-height: 1.8; font-size: 15px;
}

/* ---------- CTA区域 ---------- */
.ivf-cta { 
  background: linear-gradient(135deg, #FFF9F9 0%, #F0F9FF 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.ivf-cta::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 158, 181, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
}
.ivf-cta h2 { 
  font-size: 40px; font-weight: 700; margin-bottom: 20px;
  background: linear-gradient(45deg, #FF9EB5, #4ECDC4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ivf-cta p { 
  font-size: 18px; color: var(--ivf-muted); max-width: 600px; 
  margin: 0 auto 40px; line-height: 1.7;
}
.ivf-trust { 
  display: flex; justify-content: center; gap: 40px; margin-top: 40px; 
  flex-wrap: wrap; position: relative; z-index: 1;
}
.ivf-trust span { 
  display: flex; align-items: center; gap: 8px; font-size: 15px; 
  color: var(--ivf-muted); padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8); border-radius: 20px;
  backdrop-filter: blur(10px); border: 1px solid rgba(255, 158, 181, 0.2);
  transition: var(--ivf-transition);
}
.ivf-trust span:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 158, 181, 0.2);
  border-color: var(--ivf-primary);
}
.ivf-trust i { font-size: 18px; color: var(--ivf-primary); }

/* ---------- 轮播图 ---------- */
.ivf-carousel { 
  padding: 80px 0; 
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative; overflow: hidden;
}
.ivf-carousel::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 158, 181, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
}
.ivf-carousel .carousel-item img { 
  border-radius: 24px; max-height: 500px; object-fit: cover; width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.ivf-carousel .carousel-caption { 
  background: linear-gradient(transparent, rgba(26, 54, 93, 0.8)); 
  border-radius: 0 0 24px 24px; padding: 40px 20px 20px; 
  left: 0; right: 0; bottom: 0;
}
.ivf-carousel .carousel-indicators button { 
  width: 12px; height: 12px; border-radius: 50%; 
  background: rgba(255,255,255,0.5); border: none; margin: 0 6px;
  transition: all 0.3s;
}
.ivf-carousel .carousel-indicators button.active { 
  background: var(--ivf-primary); 
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 158, 181, 0.5);
}

/* ---------- 页脚 ---------- */
.ivf-footer { 
  background: linear-gradient(135deg, #1A365D 0%, #0F1E3A 100%); 
  color: #fff; padding: 100px 0 0; position: relative; overflow: hidden;
}
.ivf-footer::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 10%, rgba(255, 158, 181, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
}
.ivf-footer h4 { 
  font-size: 18px; font-weight: 600; margin-bottom: 24px; 
  color: #fff; position: relative; display: inline-block;
}
.ivf-footer h4::after {
  content: ''; position: absolute; bottom: -8px; left: 0;
  width: 40px; height: 2px; background: var(--ivf-primary);
}
.ivf-footer a { 
  display: block; color: rgba(255,255,255,0.7); padding: 8px 0; 
  font-size: 15px; transition: all 0.3s; position: relative;
  padding-left: 0; transition: all 0.3s;
}
.ivf-footer a::before {
  content: '›'; position: absolute; left: 0; opacity: 0;
  transition: all 0.3s;
}
.ivf-footer a:hover { 
  color: var(--ivf-primary); padding-left: 16px;
  transform: translateX(5px);
}
.ivf-footer a:hover::before { opacity: 1; }
.ivf-footer p { 
  color: rgba(255,255,255,0.7); font-size: 15px; 
  line-height: 1.8; margin-bottom: 20px;
}
.ivf-footerbt {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding: 28px 0;
  text-align: center; font-size: 14px; color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
}
.ivf-friend { display: flex; flex-wrap: wrap; gap: 12px; }
.ivf-friend a { 
  display: inline-block; padding: 6px 16px; 
  background: rgba(255,255,255,0.08); border-radius: 8px; 
  font-size: 14px; color: rgba(255,255,255,0.7);
  transition: all 0.3s; border: 1px solid transparent;
}
.ivf-friend a:hover { 
  background: rgba(255,255,255,0.12); 
  color: #fff; border-color: var(--ivf-primary);
  transform: translateY(-2px);
}

/* ---------- 返回顶部 ---------- */
.ivf-backtop {
  position: fixed; bottom: 32px; right: 32px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ivf-gradient-pink); color: #fff; 
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 6px 20px rgba(255, 158, 181, 0.4); 
  opacity: 0; visibility: hidden;
  transform: translateY(20px) scale(0.8); transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 1020; border: 2px solid rgba(255,255,255,0.2);
}
.ivf-backtop.on { 
  opacity: 1; visibility: visible; 
  transform: translateY(0) scale(1);
}
.ivf-backtop:hover { 
  color: #fff; transform: translateY(-6px) scale(1.1); 
  box-shadow: 0 10px 25px rgba(255, 158, 181, 0.6);
  background: var(--ivf-gradient);
}

/* ---------- 入场动画系统 ---------- */
[data-animate] { 
  opacity: 0; transform: translateY(40px); 
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); 
}
[data-animate="on"] { opacity: 1; transform: translateY(0); }
[data-stagger] > [data-animate]:nth-child(1) { transition-delay: 0.00s; }
[data-stagger] > [data-animate]:nth-child(2) { transition-delay: 0.10s; }
[data-stagger] > [data-animate]:nth-child(3) { transition-delay: 0.20s; }
[data-stagger] > [data-animate]:nth-child(4) { transition-delay: 0.30s; }
[data-stagger] > [data-animate]:nth-child(5) { transition-delay: 0.40s; }
[data-stagger] > [data-animate]:nth-child(6) { transition-delay: 0.50s; }
[data-stagger] > [data-animate]:nth-child(7) { transition-delay: 0.60s; }
[data-stagger] > [data-animate]:nth-child(8) { transition-delay: 0.70s; }
[data-stagger] > [data-animate]:nth-child(9) { transition-delay: 0.80s; }
[data-stagger] > [data-animate]:nth-child(10) { transition-delay: 0.90s; }

[data-animate-left] { 
  opacity: 0; transform: translateX(-40px); 
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); 
}
[data-animate-left="on"] { opacity: 1; transform: translateX(0); }
[data-animate-right] { 
  opacity: 0; transform: translateX(40px); 
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); 
}
[data-animate-right="on"] { opacity: 1; transform: translateX(0); }
[data-animate-scale] { 
  opacity: 0; transform: scale(0.9); 
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); 
}
[data-animate-scale="on"] { opacity: 1; transform: scale(1); }
[data-animate-rotate] { 
  opacity: 0; transform: rotate(-5deg) scale(0.9); 
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); 
}
[data-animate-rotate="on"] { opacity: 1; transform: rotate(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-animate], [data-animate-left], [data-animate-right], [data-animate-scale], [data-animate-rotate] { 
    opacity: 1; transform: none; transition: none; 
  }
}

/* ---------- 资讯列表页 ---------- */
.ivf-newsgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ivf-newsitem { 
  background: var(--ivf-card-bg); border-radius: var(--ivf-radius); 
  overflow: hidden; box-shadow: var(--ivf-shadow-sm); 
  border: 1px solid var(--ivf-border); transition: var(--ivf-bounce);
  position: relative; background: linear-gradient(145deg, #ffffff, #fff5f7);
}
.ivf-newsitem::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--ivf-gradient); opacity: 0; transition: opacity 0.3s;
}
.ivf-newsitem:hover { 
  transform: translateY(-8px) rotate(1deg); 
  box-shadow: var(--ivf-shadow-lg);
}
.ivf-newsitem:hover::before { opacity: 1; }
.ivf-newsitem img { 
  width: 100%; height: 220px; object-fit: cover; 
  transition: transform 0.5s;
}
.ivf-newsitem:hover img { transform: scale(1.05); }
.ivf-newsitem-body { padding: 28px; }
.ivf-newsitem h3 { 
  font-size: 18px; font-weight: 600; margin-bottom: 12px; 
  line-height: 1.4; color: var(--ivf-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ivf-newsitem p { 
  font-size: 15px; color: var(--ivf-muted); line-height: 1.7; 
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 16px;
}
.ivf-newsmeta { 
  display: flex; gap: 20px; font-size: 13px; 
  color: var(--ivf-muted); margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--ivf-border);
}
.ivf-newsmeta i { color: var(--ivf-primary); margin-right: 6px; }

.ivf-sidebarbox { 
  background: var(--ivf-card-bg); border-radius: var(--ivf-radius); 
  padding: 28px; box-shadow: var(--ivf-shadow-sm); 
  border: 1px solid var(--ivf-border); margin-bottom: 30px;
  background: linear-gradient(145deg, #ffffff, #fff5f7);
}
.ivf-sidebarbox h4 { 
  font-size: 18px; font-weight: 600; margin-bottom: 20px; 
  padding-left: 16px; border-left: 4px solid var(--ivf-primary);
  position: relative;
}
.ivf-sidebarbox h4::before {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 30px; height: 2px; background: var(--ivf-primary);
}

/* ---------- 资讯详情页 ---------- */
.ivf-article { 
  background: var(--ivf-card-bg); border-radius: var(--ivf-radius); 
  padding: 48px; box-shadow: var(--ivf-shadow-sm); 
  border: 1px solid var(--ivf-border);
  background: linear-gradient(145deg, #ffffff, #fff5f7);
}
.ivf-article h1 { 
  font-size: 32px; font-weight: 700; margin-bottom: 20px; 
  line-height: 1.4; color: var(--ivf-text);
  position: relative; padding-bottom: 20px;
}
.ivf-article h1::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 80px; height: 3px; background: var(--ivf-gradient);
  border-radius: 2px;
}
.ivf-article-meta { 
  display: flex; gap: 24px; font-size: 15px; color: var(--ivf-muted); 
  margin-bottom: 32px; padding-bottom: 24px; 
  border-bottom: 1px solid var(--ivf-border); flex-wrap: wrap;
}
.ivf-article-meta i { color: var(--ivf-primary); margin-right: 8px; }
.ivf-content { font-size: 16px; line-height: 1.9; color: var(--ivf-text); }
.ivf-content p { margin-bottom: 1.8em; }
.ivf-content img { 
  max-width: 100%; border-radius: var(--ivf-radius); 
  margin: 30px 0; box-shadow: var(--ivf-shadow-md);
}
.ivf-content h2, .ivf-content h3 { 
  font-weight: 600; margin-top: 2.5em; margin-bottom: 1.2em;
  position: relative; padding-left: 20px;
}
.ivf-content h2::before, .ivf-content h3::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--ivf-gradient); border-radius: 2px;
}
.ivf-content ul, .ivf-content ol { margin-left: 1.8em; margin-bottom: 1.8em; }
.ivf-content li { margin-bottom: 0.8em; position: relative; }
.ivf-content ul li::before {
  content: '•'; color: var(--ivf-primary); font-weight: bold;
  position: absolute; left: -1em;
}
.ivf-content strong { 
  color: var(--ivf-primary); 
  background: rgba(255, 158, 181, 0.1);
  padding: 2px 6px; border-radius: 4px;
}

.ivf-tags { 
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; 
  padding-top: 24px; border-top: 1px solid var(--ivf-border);
}
.ivf-tags span { 
  padding: 8px 20px; background: rgba(255, 158, 181, 0.1); 
  border-radius: var(--ivf-pill); font-size: 14px; 
  color: var(--ivf-primary); font-weight: 500;
  border: 1px solid rgba(255, 158, 181, 0.2);
  transition: all 0.3s;
}
.ivf-tags span:hover {
  background: var(--ivf-gradient-pink); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 158, 181, 0.3);
  border-color: transparent;
}

/* ---------- 关于我们页 ---------- */
.ivf-aboutimg { 
  border-radius: var(--ivf-radius); overflow: hidden; 
  box-shadow: var(--ivf-shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s;
}
.ivf-aboutimg:hover { transform: perspective(1000px) rotateY(0); }
.ivf-adv-card { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.1); 
  border-radius: var(--ivf-radius); padding: 32px; 
  text-align: center; transition: var(--ivf-bounce); height: 100%;
  backdrop-filter: blur(10px);
}
.ivf-adv-card:hover { 
  transform: translateY(-10px) rotate(1deg); 
  background: rgba(255,255,255,0.1); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  border-color: rgba(255, 158, 181, 0.3);
}
.ivf-adv-card .ivf-card-icon { margin: 0 auto 20px; }
.ivf-adv-card h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.ivf-adv-card p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* 服务流程 */
.ivf-process { 
  display: flex; justify-content: space-between; position: relative; 
  padding-top: 48px; padding-bottom: 48px;
}
.ivf-process::before { 
  content: ''; position: absolute; top: 80px; left: 8%; right: 8%; 
  height: 3px; background: linear-gradient(90deg, var(--ivf-primary), var(--ivf-secondary), var(--ivf-accent));
  opacity: 0.3; border-radius: 2px;
}
.ivf-step { 
  text-align: center; position: relative; z-index: 1; flex: 1;
  transition: transform 0.3s;
}
.ivf-step:hover { transform: translateY(-10px); }
.ivf-stepnum { 
  width: 70px; height: 70px; border-radius: 50%; 
  background: var(--ivf-gradient); color: #fff; 
  display: flex; align-items: center; justify-content: center; 
  font-size: 24px; font-weight: 700; margin: 0 auto 20px; 
  box-shadow: 0 8px 25px rgba(255, 158, 181, 0.4);
  position: relative; z-index: 2;
  border: 3px solid rgba(255,255,255,0.2);
}
.ivf-stepnum::before {
  content: ''; position: absolute; inset: -6px;
  border: 2px dashed var(--ivf-primary); border-radius: 50%;
  opacity: 0.5; animation: spin 20s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.ivf-step h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.ivf-step p { font-size: 14px; color: var(--ivf-muted); max-width: 180px; margin: 0 auto; }

/* ---------- 联系我们页 ---------- */
.ivf-contact-card { 
  background: var(--ivf-card-bg); border-radius: var(--ivf-radius); 
  padding: 40px 28px; text-align: center; 
  box-shadow: var(--ivf-shadow-sm); border: 1px solid var(--ivf-border);
  transition: var(--ivf-bounce); height: 100%;
  background: linear-gradient(145deg, #ffffff, #fff5f7);
}
.ivf-contact-card:hover { 
  transform: translateY(-8px) rotate(1deg); 
  box-shadow: var(--ivf-shadow-lg);
  background: #ffffff;
}
.ivf-contact-card .ivf-card-icon { 
  margin: 0 auto 20px; 
  width: 80px; height: 80px;
}
.ivf-contact-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.ivf-contact-card p { font-size: 15px; color: var(--ivf-muted); }
.ivf-phone { 
  font-size: 28px; font-weight: 700; 
  background: var(--ivf-gradient); 
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin: 12px 0; display: block;
}

.ivf-formwrap { 
  background: var(--ivf-card-bg); border-radius: var(--ivf-radius); 
  padding: 48px; box-shadow: var(--ivf-shadow-sm); 
  border: 1px solid var(--ivf-border);
  background: linear-gradient(145deg, #ffffff, #fff5f7);
}
.ivf-formgroup { margin-bottom: 24px; position: relative; }
.ivf-formgroup label { 
  display: block; font-size: 15px; font-weight: 500; 
  margin-bottom: 8px; color: var(--ivf-text);
  position: relative; padding-left: 12px;
}
.ivf-formgroup label::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 4px; height: 16px; background: var(--ivf-primary);
  transform: translateY(-50%); border-radius: 2px;
}
.ivf-formctrl {
  width: 100%; padding: 16px 20px; font-size: 16px; 
  border: 2px solid var(--ivf-border); border-radius: 16px; 
  background: #fff; color: var(--ivf-text); transition: var(--ivf-transition); 
  font-family: inherit;
}
.ivf-formctrl:focus { 
  border-color: var(--ivf-primary); 
  box-shadow: 0 0 0 4px rgba(255, 158, 181, 0.15); 
  outline: none;
  transform: translateY(-2px);
}
.ivf-formctrl::placeholder { color: #bbb; }
textarea.ivf-formctrl { resize: vertical; min-height: 140px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; }
.pagination .page-item:first-child .page-link, 
.pagination .page-item:last-child .page-link { border-radius: 12px; }
.pagination .page-link { 
  color: var(--ivf-text); border-color: var(--ivf-border); 
  padding: 12px 20px; font-size: 15px; border-radius: 12px;
  transition: var(--ivf-transition);
  min-width: 44px; text-align: center;
}
.pagination .page-item.active .page-link { 
  background: var(--ivf-gradient-pink); 
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 15px rgba(255, 158, 181, 0.3);
}
.pagination .page-link:hover { 
  background: rgba(255, 158, 181, 0.1); 
  border-color: var(--ivf-primary); color: var(--ivf-primary);
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199.98px) {
  .ivf-hero h1 { font-size: 40px; }
  .ivf-title h2 { font-size: 32px; }
  .ivf-stat-num { font-size: 40px; }
}

@media (max-width: 991.98px) {
  .ivf-navbar { height: 70px; padding: 0 20px; }
  .ivf-nav-links { display: none; }
  .ivf-toggler { display: flex; }
  .ivf-hero h1 { font-size: 36px; }
  .ivf-hero-desc { font-size: 16px; }
  .ivf-hstats { gap: 40px; flex-wrap: wrap; justify-content: center; }
  .ivf-process { flex-direction: column; gap: 48px; }
  .ivf-process::before { 
    display: block; top: 0; left: 50%; bottom: 0; 
    width: 3px; height: 100%; transform: translateX(-50%);
  }
  .ivf-step { flex: none; }
  .ivf-newsgrid { grid-template-columns: 1fr; gap: 24px; }
  .ivf-news-card { flex-direction: column; }
  .ivf-news-card img { width: 100%; height: 200px; }
  .ivf-hero-img { transform: none; }
  .ivf-hero-img:hover { transform: none; }
  .ivf-article { padding: 32px; }
  .ivf-formwrap { padding: 32px; }
  .ivf-card { padding: 28px; }
  .ivf-footer { padding-top: 60px; }
  .ivf-footer [class*="col-"] { margin-bottom: 32px; }
}

@media (max-width: 767.98px) {
  .ivf-hero h1 { font-size: 28px; }
  .ivf-hero-desc { font-size: 15px; }
  .ivf-title h2 { font-size: 28px; }
  .ivf-title { margin-bottom: 40px; }
  .ivf-pageheader { padding: 60px 0; }
  .ivf-pageheader h1 { font-size: 28px; }
  .ivf-pageheader p { font-size: 16px; }
  .ivf-stat-num { font-size: 32px; }
  .ivf-stat-icon { font-size: 40px; }
  .ivf-article { padding: 24px; }
  .ivf-article h1 { font-size: 24px; }
  .ivf-formwrap { padding: 24px; }
  .ivf-card { padding: 24px; }
  .ivf-hero-btns { flex-direction: column; align-items: flex-start; }
  .ivf-hero-btns .ivf-btn { width: 100%; text-align: center; }
  .ivf-footer { padding-top: 48px; }
  .ivf-cta h2 { font-size: 32px; }
  .ivf-cta p { font-size: 16px; }
  .ivf-trust { gap: 20px; }
  .ivf-trust span { padding: 6px 12px; }
  .ivf-process::before { display: none; }
  .ivf-stepnum { width: 60px; height: 60px; font-size: 20px; }
  .ivf-step h4 { font-size: 16px; }
  .ivf-step p { font-size: 13px; }
  .ivf-content img { margin: 20px 0; }
  .ivf-content h2, .ivf-content h3 { font-size: 20px; }
  .ivf-phone { font-size: 24px; }
  .pagination .page-link { padding: 10px 16px; font-size: 14px; min-width: 40px; }
}

@media (max-width: 575.98px) {
  .ivf-hero h1 { font-size: 24px; }
  .ivf-hero-desc { font-size: 14px; }
  .ivf-title h2 { font-size: 24px; }
  .ivf-pageheader h1 { font-size: 24px; }
  .ivf-hstats { flex-direction: column; gap: 24px; align-items: center; }
  .ivf-hstat-num { font-size: 28px; }
  .ivf-hstat-label { font-size: 12px; }
  .ivf-article h1 { font-size: 20px; }
  .ivf-article-meta { flex-direction: column; gap: 8px; }
  .ivf-card { padding: 20px; }
  .ivf-news-card { padding: 16px; }
  .ivf-news-card img { height: 180px; }
  .ivf-footer h4 { font-size: 16px; }
  .ivf-footer a { font-size: 14px; }
  .ivf-footer p { font-size: 14px; }
  .ivf-cta h2 { font-size: 24px; }
  .ivf-cta p { font-size: 15px; }
  .ivf-btn { padding: 12px 24px; font-size: 14px; }
  .ivf-btn-sm { padding: 8px 20px; }
  .ivf-navbar { padding: 0 15px; }
  .ivf-navbar.scrolled { height: 60px; }
  .ivf-brand { font-size: 18px; }
  .ivf-brand-icon { width: 36px; height: 36px; font-size: 18px; }
  .ivf-toggler { width: 40px; height: 40px; font-size: 20px; }
  .ivf-mnav a { font-size: 20px; padding: 10px 24px; }
  .ivf-backtop { width: 44px; height: 44px; font-size: 18px; bottom: 20px; right: 20px; }
}
/* ---------- 打印 ---------- */
@media print {
  .ivf-navbar, .ivf-backtop, .ivf-mnav, #ivf-canvas,
  .ivf-hero-btns, .ivf-toggler, .ivf-mnav-close,
  .ivf-carousel .carousel-indicators,
  .ivf-carousel .carousel-control,
  .ivf-footerbt .social-links,
  .ivf-btn, 
  .pagination,
  form,
  .ivf-trust,
  .ivf-friend,
  .ivf-hstats,
  .ivf-cta .ivf-btn {
    display: none !important; 
  }
  
  .ivf-hero { 
    min-height: auto !important; 
    padding: 40px 0 !important; 
    background: #fff !important; 
    color: #000 !important;
  }
  
  .ivf-hero h1, 
  .ivf-hero-desc { 
    color: #000 !important; 
  }
  
  .ivf-hero h1 { 
    font-size: 24px !important;
    margin-bottom: 15px !important;
  }
  
  .ivf-hero-desc {
    font-size: 14px !important;
    max-width: 100% !important;
  }
  
  .ivf-card, 
  .ivf-article, 
  .ivf-formwrap, 
  .ivf-sidebarbox,
  .ivf-contact-card,
  .ivf-adv-card,
  .ivf-stat-item,
  .ivf-newsitem,
  .ivf-news-card {
    box-shadow: none !important; 
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
  
  .ivf-card h3,
  .ivf-card p,
  .ivf-article h1,
  .ivf-article p,
  .ivf-contact-card h3,
  .ivf-contact-card p,
  .ivf-adv-card h3,
  .ivf-adv-card p,
  .ivf-stat-label,
  .ivf-stat-desc,
  .ivf-newsitem h3,
  .ivf-newsitem p,
  .ivf-news-card h4,
  .ivf-news-card p {
    color: #000 !important;
  }
  
  .ivf-footer { 
    background: #fff !important; 
    color: #000 !important; 
    padding: 20px 0 0 !important;
  }
  
  .ivf-footer a, 
  .ivf-footer h4, 
  .ivf-footer p { 
    color: #000 !important; 
  }
  
  .ivf-pageheader { 
    background: #f0f0f0 !important; 
    color: #000 !important; 
    padding: 30px 0 !important;
  }
  
  .ivf-pageheader h1 {
    font-size: 20px !important;
  }
  
  .ivf-pageheader p {
    font-size: 14px !important;
  }
  
  .ivf-gtext, 
  .ivf-gtext-green, 
  .ivf-gtext-pink { 
    -webkit-text-fill-color: #000 !important; 
    color: #000 !important; 
    background: none !important;
  }
  
  .ivf-stat-num, 
  .ivf-hstat-num, 
  .ivf-phone { 
    -webkit-text-fill-color: #000 !important; 
    color: #000 !important; 
    background: none !important;
  }
  
  a[href]:after { 
    content: " (" attr(href) ")"; 
    font-size: 12px;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .ivf-hero-img, 
  .ivf-aboutimg, 
  .ivf-news-card img, 
  .ivf-sbitem img, 
  .ivf-carousel img,
  .ivf-process::before,
  .ivf-hero-img::before,
  .ivf-hero-img::after { 
    display: none !important; 
  }
  
  [data-animate], 
  [data-animate-left], 
  [data-animate-right], 
  [data-animate-scale], 
  [data-animate-rotate] { 
    opacity: 1 !important; 
    transform: none !important; 
  }
  
  .ivf-cta, 
  .ivf-news-sec, 
  .ivf-about-sec, 
  .ivf-faq, 
  .ivf-city, 
  .ivf-carousel { 
    background: #fff !important; 
    color: #000 !important; 
  }
  
  .ivf-check, 
  .ivf-sbitem h5, 
  .ivf-news-card h4, 
  .ivf-adv-card h3, 
  .ivf-adv-card p { 
    color: #000 !important; 
  }
  
  .ivf-footerbt { 
    border-top: 1px solid #ddd !important; 
    padding: 10px 0 !important;
    margin-top: 20px !important;
  }
  
  .ivf-formctrl { 
    border: 1px solid #999 !important; 
    background: #fff !important;
  }
  
  .ivf-content strong { 
    background: none !important; 
    padding: 0 !important; 
    color: #000 !important;
  }
  
  .ivf-content h2::before, 
  .ivf-content h3::before { 
    display: none; 
  }
  
  .ivf-content h2, 
  .ivf-content h3 { 
    padding-left: 0; 
    color: #000 !important;
  }
  
  .ivf-formgroup label::before { 
    display: none; 
  }
  
  .ivf-tags span { 
    border: 1px solid #999 !important; 
    background: #fff !important;
    color: #000 !important;
  }
  
  .ivf-stepnum::before { 
    display: none; 
  }
  
  .ivf-process { 
    flex-direction: column; 
    gap: 30px; 
  }
  
  .ivf-step { 
    flex: none; 
  }
  
  .ivf-stepnum { 
    border: 2px solid #000 !important; 
    background: #fff !important; 
    color: #000 !important; 
  }
  
  .ivf-card::before, 
  .ivf-newsitem::before, 
  .ivf-hero-img::before, 
  .ivf-hero-img::after, 
  .ivf-btn::before, 
  .ivf-btn-outline::before, 
  .ivf-nav-link::after, 
  .ivf-hstats::before, 
  .ivf-pageheader::before, 
  .ivf-pageheader::after, 
  .ivf-about-sec::before, 
  .ivf-news-sec::before, 
  .ivf-city::before, 
  .ivf-faq::before, 
  .ivf-cta::before, 
  .ivf-carousel::before, 
  .ivf-footer::before, 
  .ivf-mnav a::before, 
  .ivf-news-card::before, 
  .ivf-sbtitle::before, 
  .ivf-title h2::after, 
  .ivf-footer h4::after, 
  .ivf-sidebarbox h4::before, 
  .ivf-article h1::after, 
  .ivf-check::before, 
  .ivf-stat-item:hover, 
  .ivf-stepnum::before { 
    display: none !important; 
  }
  
  .ivf-card, 
  .ivf-newsitem, 
  .ivf-contact-card, 
  .ivf-adv-card, 
  .ivf-stat-item, 
  .ivf-formwrap, 
  .ivf-sidebarbox { 
    background: #fff !important; 
  }
  
  .ivf-card-icon, 
  .ivf-card-icon::before { 
    background: #f0f0f0 !important; 
  }
  
  .ivf-card-icon i { 
    -webkit-text-fill-color: #000 !important; 
  }
  
  .ivf-gtext, 
  .ivf-gtext-green, 
  .ivf-gtext-pink { 
    background: none !important; 
  }
  
  .ivf-accordion-button::after { 
    filter: none !important; 
  }
  
  .ivf-carousel .carousel-caption { 
    background: transparent !important; 
    color: #000 !important; 
  }
  
  .ivf-carousel .carousel-indicators { 
    display: none !important; 
  }
  
  .ivf-friend a { 
    border: 1px solid #999 !important; 
    background: #fff !important; 
    color: #000 !important; 
  }
  
  .pagination { 
    display: none !important; 
  }
  
  .ivf-article-meta { 
    border-bottom: 1px solid #ddd !important; 
  }
  
  .ivf-tags { 
    border-top: 1px solid #ddd !important; 
  }
  
  .ivf-content ul li::before { 
    color: #000 !important; 
  }
  
  .ivf-formgroup label { 
    padding-left: 0; 
  }
  
  .ivf-formctrl:focus { 
    box-shadow: none !important; 
    transform: none !important; 
  }
  
  .ivf-sbitem:hover, 
  .ivf-citytag:hover, 
  .ivf-news-card:hover, 
  .ivf-card:hover, 
  .ivf-contact-card:hover, 
  .ivf-adv-card:hover, 
  .ivf-stat-item:hover, 
  .ivf-btn:hover, 
  .ivf-nav-link:hover, 
  .ivf-trust span:hover, 
  .ivf-friend a:hover, 
  .ivf-tags span:hover, 
  .ivf-backtop:hover, 
  .ivf-toggler:hover, 
  .ivf-mnav-close:hover, 
  .ivf-mnav a:hover, 
  .ivf-step:hover, 
  .ivf-newsitem:hover, 
  .ivf-hero-img:hover, 
  .ivf-aboutimg:hover, 
  .ivf-sbitem:hover img, 
  .ivf-news-card:hover img, 
  .ivf-btn-outline:hover::before, 
  .ivf-btn:hover::before, 
  .ivf-mnav a:hover::before { 
    transform: none !important; 
    box-shadow: none !important; 
    background: transparent !important; 
    color: inherit !important; 
    padding-left: inherit !important; 
    opacity: 1 !important; 
  }
  
  .ivf-btn-outline:hover, 
  .ivf-btn-white:hover { 
    background: transparent !important; 
    color: inherit !important; 
    border-color: inherit !important; 
  }
  
  .ivf-btn-primary, 
  .ivf-btn-green, 
  .ivf-btn-outline, 
  .ivf-btn-white { 
    border: 1px solid #000 !important; 
    background: #fff !important; 
    color: #000 !important; 
    box-shadow: none !important; 
  }
  
  .ivf-btn-primary::before, 
  .ivf-btn-outline::before, 
  .ivf-btn::before, 
  .ivf-mnav a::before { 
    display: none !important; 
  }
  
  .page-break { 
    page-break-before: always; 
  }
  
  .no-print { 
    display: none !important; 
  }
  
  /* 打印页面优化 */
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  table {
    page-break-inside: avoid;
  }
  
  ul, ol, dl {
    page-break-before: avoid;
  }
  
  .ivf-content img {
    max-width: 80% !important;
    height: auto !important;
    margin: 10px auto !important;
  }
  
  /* 打印链接 */
  a:link, a:visited {
    color: #000;
    text-decoration: underline;
  }
  
  /* 打印二维码和不需要的内容 */
  .qr-code,
  .social-share,
  .comments-section,
  .related-posts,
  .ivf-mnav,
  .ivf-backtop {
    display: none !important;
  }
  
  /* 打印页眉页脚 */
  @page {
    margin: 2cm;
    @top-center {
      content: "合肥助怀公司 - 辅助生殖医疗";
      font-size: 10pt;
      color: #666;
    }
    @bottom-center {
      content: "第 " counter(page) " 页";
      font-size: 10pt;
      color: #666;
    }
  }
  
  @page :first {
    @top-center {
      content: normal;
    }
  }
}