/* ============================================
   家校社协同心理关爱平台官网 - 主样式表
   配色参考：国风暖调（幂桃粉 #EABFC3 + 琥珀黄 #EAC077）
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  /* 主色 — 幂桃粉系 */
  --primary: #C88A9A;
  --primary-light: #EABFC3;
  --primary-dark: #A86B7D;
  --primary-bg: #FDF2F4;

  /* 辅助色 — 琥珀黄系 */
  --accent-gold: #EAC077;
  --accent-gold-light: #F2CB8E;
  --accent-warm: #D4A574;

  /* 中性色 */
  --white: #FFFFFF;
  --bg: #FFFBF8;
  --bg-alt: #FEF5F0;
  --text: #3D3028;
  --text-secondary: #7A6B62;
  --text-light: #A89A92;
  --border: #F0DDD6;
  --shadow: rgba(200, 138, 154, 0.10);
  --shadow-hover: rgba(200, 138, 154, 0.20);

  /* 暗色区（CTA / Footer）— 暖棕调 */
  --dark-bg: #3D2E24;
  --dark-card: #4A382C;
  --dark-text: #F5EDE6;
  --dark-text-muted: #C4ADA0;

  /* 尺寸 */
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container-max: 1200px;

  /* 动画 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease-out);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用动画类 ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.fade-in.visible { opacity: 1; }

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* 延迟类 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   HEADER - 顶部导航（所有页面共用）
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  /* 默认透明：直接融入 Banner 渐变，不另起色条 */
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px var(--shadow);
}
/* 透明态下的文字颜色（叠在幂桃粉/琥珀黄渐变上，用暖棕提高可读性） */
.site-header:not(.scrolled) .logo { color: #5A3D3C; }
.site-header:not(.scrolled) .main-nav a { color: #6B4F4A; }
.site-header:not(.scrolled) .main-nav a:hover,
.site-header:not(.scrolled) .main-nav a.active { color: #C88A9A; background: rgba(255,255,255,0.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #C88A9A, #EAC077);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
}
.logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  vertical-align: middle;
  object-fit: contain;
}
.logo:hover { color: var(--primary); }

/* 导航菜单 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-bg);
  font-weight: 600;
}

/* Header 按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(200, 138, 154, 0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 138, 154, 0.40);
  color: white;
}

/* 导航"扫码进入小程序"按钮 — hover 弹出二维码 */
.header-actions { position: relative; }
.btn-qr-wrap {
  position: relative;
  display: inline-flex;
}
.btn-qr-popup {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 160px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-out);
  z-index: 1000;
  pointer-events: none;
}
.btn-qr-popup::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-left: 1px solid rgba(0,0,0,0.06);
}
.btn-qr-popup img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.btn-qr-wrap:hover .btn-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.lang-toggle {
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease-out);
}
.lang-toggle.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  color: var(--primary);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO BANNER - 首屏横幅
   ============================================ */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  /* 幂桃粉 + 琥珀黄 叠加渐变（国风暖调） */
  background:
    radial-gradient(circle at 15% 20%, rgba(234, 191, 195, 0.55) 0%, transparent 48%),
    radial-gradient(circle at 82% 78%, rgba(234, 192, 119, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 72% 15%, rgba(200, 138, 154, 0.28) 0%, transparent 42%),
    linear-gradient(135deg, #FDF2F4 0%, #FEF6EE 38%, #FDF2F4 100%);
}

/* 漂浮柔光球（幂桃粉 / 琥珀黄，装饰用） */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  animation: orbFloat 16s ease-in-out infinite;
}
.hero-orb-1 { width: 420px; height: 420px; background: rgba(234,191,195,0.55); top: -120px; left: -80px; }
.hero-orb-2 { width: 380px; height: 380px; background: rgba(234,192,119,0.45); bottom: -120px; right: -60px; animation-delay: -6s; }
.hero-orb-3 { width: 260px; height: 260px; background: rgba(200,138,154,0.35); top: 45%; left: 55%; animation-delay: -11s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(26px, -22px) scale(1.06); }
}

/* Hero 标题高亮：幂桃粉 → 琥珀黄 流光 */
.hero-title .highlight {
  background: linear-gradient(100deg, #C88A9A 0%, #EAC077 28%, #EABFC3 50%, #EAC077 72%, #C88A9A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s linear infinite;
}
@keyframes titleShimmer {
  to { background-position: 200% center; }
}

/* ---------- Banner 右侧：手机 + 二维码 ---------- */
.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(155deg, #2b2b3a 0%, #1c1c28 100%);
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 30px 70px rgba(180, 100, 90, 0.22),
    0 10px 30px rgba(200, 160, 100, 0.14),
    inset 0 0 0 2px rgba(255,255,255,0.06);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #1c1c28;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.phone-app-bar { display: none; }
.phone-dot { display: none; }
.phone-app-title { display: none; }
.phone-qr-wrap {
  flex: 1;
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.phone-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-qr-tip { display: none; }

/* 关键词标签 */
.hero-tags {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.65);
  border: 1px solid #F0DDD6;
  border-radius: 100px;
  font-size: 13px;
  color: #8A6B66;
  font-weight: 500;
}

/* Banner 内容 */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0;
}

.hero-text {
  max-width: 560px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(200, 138, 154, 0.10);
  border: 1px solid rgba(200, 138, 154, 0.20);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(200, 138, 154, 0.18);
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-number {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: #1A1A1A;
}
.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Banner 右侧卡片 */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.03),
    0 12px 40px rgba(200, 138, 154, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 340px;
  width: 100%;
  transition: transform 0.4s var(--ease-out);
}
.hero-card:hover {
  transform: translateY(-6px) rotateY(-2deg);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #C88A9A, #EAC077, #EABFC3);
}
.qr-placeholder {
  width: 180px; height: 180px;
  margin: 20px auto 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  border: 2px dashed var(--border);
}
.hero-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.hero-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 波浪分隔线 */
.wave-divider {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================
   SECTION 通用样式
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   项目背景 - 三卡
   ============================================ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background:
    radial-gradient(circle at 88% 8%, var(--card-accent-light, var(--primary-light)) 0%, transparent 42%),
    linear-gradient(160deg, var(--card-bg, #FAE2DC) 0%, #FFFFFF 78%);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  box-shadow: 0 6px 22px var(--shadow);
  border: 1px solid rgba(200, 138, 154, 0.10);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
/* 大号数字水印（右侧，弱透明，设计感） */
.feature-card::before {
  content: '';
  position: absolute;
  top: 6px; right: 18px;
  font-size: 92px;
  font-weight: 800;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1;
  color: var(--card-accent, #C88A9A);
  opacity: 0.10;
  pointer-events: none;
}
.feature-card:nth-child(1)::before { content: '01'; }
.feature-card:nth-child(2)::before { content: '02'; }
.feature-card:nth-child(3)::before { content: '03'; }
/* 常驻顶部色条 */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, var(--primary)), var(--card-accent-light, var(--primary-light)));
  opacity: 1;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 44px var(--shadow-hover);
}
.feature-card:hover::before { opacity: 0.18; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
}
.feature-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--card-accent, #C88A9A), var(--card-accent-light, #EABFC3));
  transition: width 0.35s var(--ease-out);
}
.feature-card:hover h3::after { width: 64px; }
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.feature-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--card-accent, #C88A9A);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-out);
}
.feature-card:hover .feature-more { transform: translateX(4px); }

/* 各卡片独立配色 */
.feature-card:nth-child(1) { --card-accent: #C88A9A; --card-accent-light: #EABFC3; --card-bg: #FAE2DC; }
.feature-card:nth-child(2) { --card-accent: #B5A060; --card-accent-light: #EAC077; --card-bg: #DFECD5; }
.feature-card:nth-child(3) { --card-accent: #7A9BB8; --card-accent-light: #B8CEE0; --card-bg: #DCE3F3; }

/* ============================================
   核心服务 - 四卡
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background:
    radial-gradient(circle at 88% 8%, var(--svc-light, #EABFC3) 0%, transparent 42%),
    linear-gradient(160deg, var(--svc-bg, #FAE2DC) 0%, #FFFFFF 78%);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  box-shadow: 0 6px 22px var(--shadow);
  border: 1px solid rgba(200, 138, 154, 0.10);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
}
/* 大号数字水印 */
.service-card::before {
  content: '';
  position: absolute;
  top: 6px; right: 16px;
  font-size: 80px;
  font-weight: 800;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1;
  color: var(--svc-accent, #C88A9A);
  opacity: 0.10;
  pointer-events: none;
}
.service-card:nth-child(1)::before { content: '测'; }
.service-card:nth-child(2)::before { content: '学'; }
.service-card:nth-child(3)::before { content: '询'; }
.service-card:nth-child(4)::before { content: '诊'; }
/* 常驻顶部色条 */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--svc-accent, #C88A9A), var(--svc-light, #EABFC3));
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 44px var(--shadow-hover);
}
.service-card:hover::before { opacity: 0.18; }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 14px;
  position: relative;
  z-index: 1;
}
.service-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--svc-accent, #C88A9A), var(--svc-light, #EABFC3));
  transition: width 0.35s var(--ease-out);
}
.service-card:hover h3::after { width: 56px; }

.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* 四卡独立配色（海天霞 / 艾背绿 / 鱼肚白 / 玉软花柔） */
.service-card:nth-child(1) { --svc-accent: #C88A9A; --svc-light: #EABFC3; --svc-bg: #FAE2DC; }
.service-card:nth-child(2) { --svc-accent: #B5A060; --svc-light: #EAC077; --svc-bg: #DFECD5; }
.service-card:nth-child(3) { --svc-accent: #7A9BB8; --svc-light: #B8CEE0; --svc-bg: #DCE3F3; }
.service-card:nth-child(4) { --svc-accent: #C49AA5; --svc-light: #F5D5D9; --svc-bg: #FDF2F0; }

/* ============================================
   科普频道 - 文章预览
   ============================================ */
.articles-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid rgba(200, 138, 154, 0.06);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--shadow-hover);
}
.article-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--article-grad-a, var(--primary-bg)), var(--article-grad-b, #FFE8F0));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.article-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.05) 100%);
}
.article-body {
  padding: 24px;
}
.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-light);
}

.article-card:nth-child(1) { --article-grad-a: #F0E6FF; --article-grad-b: #FFE8F0; }
.article-card:nth-child(2) { --article-grad-a: #E8F4FD; --article-grad-b: #EDE7F6; }
.article-card:nth-child(3) { --article-grad-a: #FFF5EB; --article-grad-b: #F0E6FF; }

/* ============================================
   专家团队
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid rgba(200, 138, 154, 0.06);
  transition: all 0.35s var(--ease-out);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px var(--shadow-hover);
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-bg), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary-light);
  border: 3px solid white;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.4s var(--ease-out);
}
.team-card:hover .team-avatar {
  transform: scale(1.08);
}
.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.team-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   联系我们 - 双卡
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid rgba(200, 138, 154, 0.06);
  transition: all 0.35s var(--ease-out);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-hover);
}
.contact-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text);
}
.contact-detail .label {
  color: var(--text-light);
  white-space: nowrap;
}

/* ============================================
   CTA 暗色行动召唤区
   ============================================ */
.cta-section {
  background: var(--dark-bg);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 138, 154, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.cta-text {
  max-width: 520px;
}
.cta-section .section-title {
  color: white;
  margin-bottom: 12px;
}
.cta-section .section-desc {
  color: var(--dark-text-muted);
}
.cta-qr {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--dark-card);
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-qr-img {
  width: 140px; height: 140px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
}
.cta-qr-info h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-qr-info p {
  color: var(--dark-text-muted);
  font-size: 13px;
}

/* ============================================
   FOOTER - 底部（所有页面共用）
   ============================================ */
.site-footer {
  background: var(--dark-bg);
  padding: 60px 0 0;
  color: var(--dark-text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* footer 二维码列 */
.footer-qr-col { text-align: center; }
.footer-qr {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  overflow: hidden;
}
.footer-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.footer-qr-tip {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}
.footer-brand .logo-icon {
  background: linear-gradient(135deg, #EABFC3, #F2CB8E);
}
.footer-brand p {
  font-size: 14px;
  color: var(--dark-text-muted);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--dark-text-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--dark-text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--dark-text-muted);
  font-size: 13px;
}
.footer-links a:hover { color: white; }
.footer-copy { display: flex; flex-direction: column; gap: 4px; }
.footer-beian { font-size: 13px; }
.footer-beian a {
  color: var(--dark-text-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
.footer-beian a:hover { color: white; text-decoration: underline; }

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 80px 0;
  }
  .hero-text { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card { margin: 0 auto; }
  .phone-mockup { transform: scale(0.86); transform-origin: top center; }

  .feature-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-preview { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }

  .hero-title { font-size: 34px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-item { text-align: center; }

  .service-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
}

/* 移动端导航展开 */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  background: white;
  padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  gap: 4px;
}
.main-nav.open a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------
   特效补充
   ------------------------------------------ */

/* 光标跟随光晕 */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 138, 154, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: transform;
}

/* 数字滚动动画 */
.count-up {
  display: inline-block;
}

/* 渐变文字动画 */
.gradient-text {
  background: linear-gradient(135deg, #C88A9A, #EAC077, #EABFC3);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 卡片悬浮光泽 */
.shine-effect {
  position: relative;
  overflow: hidden;
}
.shine-effect::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(
    to bottom right,
    transparent 40%,
    rgba(255,255,255,0.3) 50%,
    transparent 60%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s;
}
.shine-effect:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* 打字机光标 */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--primary);
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C88A9A, #EAC077);
  z-index: 1001;
  transform-origin: left;
  transform: scaleX(0);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(200, 138, 154, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 138, 154, 0.50);
}

/* ============================================
   心理科普列表页
   ============================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 76px) 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(234, 191, 195, 0.55) 0%, transparent 48%),
    radial-gradient(circle at 84% 80%, rgba(234, 192, 119, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 70% 12%, rgba(200, 138, 154, 0.26) 0%, transparent 42%),
    linear-gradient(135deg, #FDF2F4 0%, #FEF6EE 38%, #FDF2F4 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero .section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(200, 138, 154, .25);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.page-hero-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.page-hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* 筛选栏 */
.science-list { padding: 64px 0 96px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.filter-chip {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-family: inherit;
}
.filter-chip:hover { border-color: var(--primary-light); color: var(--primary); }
.filter-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(200, 138, 154, 0.30);
}

/* 文章网格 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-list-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow);
  border: 1px solid rgba(200, 138, 154, 0.07);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
}
.article-list-card .top-bar {
  height: 4px;
  background: linear-gradient(90deg, #C88A9A, #EAC077, #EABFC3);
}
.article-list-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px var(--shadow-hover);
}
.article-list-thumb {
  position: relative;
  height: 208px;
  overflow: hidden;
}
.article-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.article-list-card:hover .article-list-thumb img { transform: scale(1.07); }
.article-index {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}
.article-cat {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(61, 46, 36, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.article-list-body { padding: 22px 22px 24px; }
.article-list-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  min-height: 51px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.article-more::after {
  content: '\203A';
  font-size: 16px;
  transition: transform 0.3s var(--ease-out);
}
.article-list-card:hover .article-more::after { transform: translateX(4px); }

/* 列表页响应式（覆盖通用规则） */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .article-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .page-hero { padding: calc(var(--nav-height) + 48px) 0 60px; }
}

/* ============================================
   文章详情页 — 简洁阅读风 v3
   ============================================ */
.article-detail-hero {
  padding: calc(var(--nav-height) + 40px) 0 0;
  background: #FAF7F8;
}
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #9a8fa0; margin-bottom: 18px;
}
.article-breadcrumb a { color: #9a8fa0; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb .sep { opacity: .4; }
.article-breadcrumb .cur { color: var(--primary); font-weight: 500; }

/* 标题区 */
.article-detail-head {
  max-width: 680px; margin: 0 auto; text-align: left;
  padding: 0 20px;
}
.article-detail-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.article-detail-tags .tag {
  font-size: 12px; font-weight: 500;
  padding: 3px 12px; border-radius: 999px;
  background: #F5EEF2; color: #A86B7D;
}
.article-detail-tags .tag.alt { background: #EEF0FB; color: #6B7BB8; }
.article-detail-title {
  font-size: 24px; font-weight: 700; line-height: 1.5;
  color: #3d3545; margin-bottom: 14px; letter-spacing: .3px;
}
.article-detail-meta {
  display: flex; gap: 18px; font-size: 13px; color: #b0a6b8; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(200,138,154,.10);
}

/* 正文 — 紧跟标题，同宽 */
.article-detail-body {
  max-width: 680px; margin: 12px auto 0; padding: 0 20px 24px;
}
/* 导语 + 正文段落 — 同一字体（黑体），统一颜色 */
.article-detail-body p {
  font-size: 16px; line-height: 1.95; color: #54505c;
  margin-bottom: 20px; text-align: justify;
  font-weight: 400;
}
/* 导语：仅用左侧细线轻区分，不换字体不换色 */
.article-detail-body p.lead {
  padding-left: 14px;
  border-left: 2px solid var(--primary-light);
  color: #54505c;
}
/* 小节标题 — 与正文同字体，仅加深加大，不用彩色 */
.article-detail-body h2 {
  font-size: 17px; font-weight: 600; color: #3d3545;
  margin: 28px 0 12px; letter-spacing: .3px;
  border: none; padding: 0;
}
/* 结尾注 */
.article-detail-body p.article-end {
  font-size: 13px; color: #b0a6b8; margin-top: 28px;
  text-align: center;
}

/* 上一篇 / 下一篇 */
.article-nav {
  max-width: 680px; margin: 48px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.article-nav-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,138,154,.08);
  box-shadow: 0 4px 16px rgba(180,120,140,.06);
  text-decoration: none; transition: all .25s;
}
.article-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(180,120,140,.14);
}
.article-nav-card.disabled { opacity: .45; pointer-events: none; }
.article-nav-card.next { flex-direction: row-reverse; text-align: right; }
.article-nav-card .nav-thumb {
  width: 64px; height: 64px; flex: 0 0 64px;
  border-radius: 10px; overflow: hidden;
}
.article-nav-card .nav-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-nav-card .nav-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.article-nav-card .nav-label { font-size: 11px; color: #b0a6b8; letter-spacing: 1px; }
.article-nav-card .nav-title {
  font-size: 13.5px; font-weight: 500; color: #4a4055; line-height: 1.38;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-nav-card.next .nav-title { direction: ltr; }

@media (max-width: 768px) {
  .article-detail-head { padding: 0 16px; }
  .article-detail-title { font-size: 20px; }
  .article-detail-body { padding: 0 16px 16px; }
  .article-detail-body p { font-size: 15.5px; }
  .article-nav { grid-template-columns: 1fr; padding: 0 16px; }
  .article-nav-card.next { flex-direction: row; text-align: left; }
}

/* ============================================
   项目介绍页 about.html
   ============================================ */
.about-section { padding: 88px 0; }
.about-section-alt { background: var(--bg-alt); }

/* 区块标题居中 */
.section-head { max-width: 760px; margin: 0 auto 54px; }
.section-head.center { text-align: center; }
.section-head .section-title { margin-bottom: 14px; }

/* 引言：文字 + 插画 两栏 */
.about-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-lead {
  font-size: 17px; line-height: 1.95; color: var(--text);
  font-weight: 500; margin: 18px 0 26px;
}
.env-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.env-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 18px; background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); box-shadow: 0 4px 14px var(--shadow);
}
.env-item h4 {
  flex: 0 0 auto; min-width: 44px;
  font-size: 15px; font-weight: 700; color: var(--primary-dark);
}
.env-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.about-conclude {
  font-size: 15px; color: var(--text); line-height: 1.85;
  padding-left: 14px; border-left: 3px solid var(--primary-light);
}

/* CSS 插画：家 / 校 / 社 三角协同 */
.about-illustration {
  position: relative; height: 380px;
  background:
    radial-gradient(circle at 28% 24%, rgba(234,191,195,.55) 0%, transparent 55%),
    radial-gradient(circle at 76% 72%, rgba(234,192,119,.5) 0%, transparent 55%),
    linear-gradient(160deg, #FDF2F4 0%, #FEF6EE 100%);
  border-radius: var(--radius-xl);
}
.ill-circle {
  position: absolute; width: 110px; height: 110px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: #fff;
  box-shadow: 0 12px 30px rgba(200,138,154,.28);
  z-index: 1;
}
.ill-home    { top: 40px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #C88A9A, #EABFC3); }
.ill-school  { bottom: 58px; left: 70px; background: linear-gradient(135deg, #B5A060, #EAC077); }
.ill-society { bottom: 58px; right: 70px; background: linear-gradient(135deg, #7A9BB8, #B8CEE0); }
.ill-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 15px; font-weight: 700; color: var(--primary-dark);
  background: #fff; padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(200,138,154,.18); z-index: 2;
}

/* 三方框架卡片（家 / 校 / 社 字标水印） */
.triad-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.triad-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, var(--tri-light, #EABFC3) 0%, transparent 42%),
    linear-gradient(160deg, var(--tri-bg, #FAE2DC) 0%, #FFFFFF 78%);
  border-radius: var(--radius-lg);
  padding: 40px 30px 34px;
  box-shadow: 0 6px 22px var(--shadow);
  border: 1px solid rgba(200,138,154,.10);
  transition: all .35s var(--ease-out);
}
.triad-card::before {
  content: ''; position: absolute; top: 10px; right: 18px;
  font-size: 92px; font-weight: 800; font-family: "Georgia", serif;
  color: var(--tri-accent, #C88A9A); opacity: .10; pointer-events: none;
}
.triad-card:nth-child(1)::before { content: '家'; --tri-accent: #C88A9A; --tri-light: #EABFC3; --tri-bg: #FAE2DC; }
.triad-card:nth-child(2)::before { content: '校'; --tri-accent: #B5A060; --tri-light: #EAC077; --tri-bg: #DFECD5; }
.triad-card:nth-child(3)::before { content: '社'; --tri-accent: #7A9BB8; --tri-light: #B8CEE0; --tri-bg: #DCE3F3; }
.triad-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--tri-accent, #C88A9A), var(--tri-light, #EABFC3));
}
.triad-card:hover { transform: translateY(-8px); box-shadow: 0 16px 44px var(--shadow-hover); }
.triad-card:hover::before { opacity: .18; }
.triad-card h3 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 14px; position: relative; z-index: 1; }
.triad-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; position: relative; z-index: 1; }

/* 国培示范大标题（暗色区） */
.guopei-hero {
  padding: 92px 0;
  background: linear-gradient(135deg, #3D2E24 0%, #4A382C 100%);
  text-align: center;
}
.guopei-title {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: #fff;
  line-height: 1.3; margin-bottom: 22px; letter-spacing: .01em;
}
.guopei-lead {
  max-width: 760px; margin: 0 auto;
  font-size: 16px; color: #E8D9CC; line-height: 1.95;
}

/* 三大模块 */
.modules { display: flex; flex-direction: column; gap: 32px; }
.module-block {
  display: grid; grid-template-columns: 110px 1fr; gap: 30px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px 38px; border: 1px solid var(--border);
  box-shadow: 0 6px 22px var(--shadow);
  position: relative; overflow: hidden;
}
.module-block::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}
.module-no {
  font-size: 60px; font-weight: 800; font-family: "Georgia", serif;
  color: var(--primary); opacity: .85; line-height: 1; text-align: center;
}
.module-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 18px; line-height: 1.4; }
.module-title span { font-size: 15px; font-weight: 500; color: var(--primary-dark); margin-left: 8px; }
.module-item { margin-bottom: 14px; }
.module-item h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.module-item p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.85; }
.module-foot {
  margin-top: 18px; font-size: 14.5px; color: var(--text); line-height: 1.85;
  padding-left: 14px; border-left: 3px solid var(--primary-light);
}

/* 五环节闭环 */
.cycle-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cycle-step {
  background: #fff; border-radius: var(--radius-md); padding: 26px 18px;
  border: 1px solid var(--border); box-shadow: 0 4px 16px var(--shadow);
  text-align: center; position: relative;
}
.cycle-step:not(:last-child)::after {
  content: '\203A'; position: absolute; right: -15px; top: 50%;
  transform: translateY(-50%); font-size: 24px; font-weight: 700; color: var(--primary-light);
}
.cycle-no {
  display: inline-block; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #C88A9A, #EABFC3);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.cycle-step h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cycle-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
/* 五环节各自配色 */
.cycle-step:nth-child(1) .cycle-no { background: linear-gradient(135deg, #C88A9A, #EABFC3); } /* 预防 玫瑰 */
.cycle-step:nth-child(2) .cycle-no { background: linear-gradient(135deg, #B5A060, #EAC077); } /* 筛查 琥珀 */
.cycle-step:nth-child(3) .cycle-no { background: linear-gradient(135deg, #7A9BB8, #B8CEE0); } /* 诊断 蓝 */
.cycle-step:nth-child(4) .cycle-no { background: linear-gradient(135deg, #7FA07F, #C2D8C4); } /* 治疗 青 */
.cycle-step:nth-child(5) .cycle-no { background: linear-gradient(135deg, #9B7BB0, #D8C2E0); } /* 管理 紫 */

/* ============================================
   核心服务页 — 四卡 / 四步走路径 / 小程序引导
   ============================================ */
/* ---------- 四大核心服务卡 ---------- */
.core-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.core-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 86% 6%, var(--core-light, #EABFC3) 0%, transparent 44%),
    linear-gradient(160deg, var(--core-bg, #FAE2DC) 0%, #FFFFFF 80%);
  border-radius: var(--radius-lg);
  padding: 38px 26px 32px;
  box-shadow: 0 6px 22px var(--shadow);
  border: 1px solid rgba(200,138,154,.10);
  transition: all .35s var(--ease-out);
}
.core-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--core-accent, #C88A9A), var(--core-light, #EABFC3));
}
.core-card:hover { transform: translateY(-8px); box-shadow: 0 16px 44px var(--shadow-hover); }
.core-watermark {
  position: absolute; top: 6px; right: 16px;
  font-size: 84px; font-weight: 800; font-family: "Georgia", serif;
  color: var(--core-accent, #C88A9A); opacity: .10; pointer-events: none;
  line-height: 1;
}
.core-card:hover .core-watermark { opacity: .18; }
.core-label {
  display: inline-block; position: relative; z-index: 1;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--core-accent, #C88A9A);
  background: rgba(255,255,255,.7);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.core-card-title {
  position: relative; z-index: 1;
  font-size: 21px; font-weight: 800; color: var(--text); margin-bottom: 12px;
}
.core-card-desc {
  position: relative; z-index: 1;
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
}
/* 四个卡的主题色 */
.core-card:nth-child(1) { --core-accent: #C88A9A; --core-light: #EABFC3; --core-bg: #FAE2DC; } /* 测 玫瑰 */
.core-card:nth-child(2) { --core-accent: #B5A060; --core-light: #EAC077; --core-bg: #F2EAD7; } /* 学 琥珀 */
.core-card:nth-child(3) { --core-accent: #7A9BB8; --core-light: #B8CEE0; --core-bg: #DCE3F3; } /* 询 蓝 */
.core-card:nth-child(4) { --core-accent: #7FA07F; --core-light: #C2D8C4; --core-bg: #E2EEE3; } /* 诊 青 */

/* ---------- 四步走路径 ---------- */
.core-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.core-step {
  background: #fff; border-radius: var(--radius-md); padding: 28px 18px;
  border: 1px solid var(--border); box-shadow: 0 4px 16px var(--shadow);
  text-align: center; position: relative;
}
.core-step:not(:last-child)::after {
  content: '\2192'; position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%); font-size: 22px; font-weight: 700; color: var(--primary-light);
}
.core-step-no {
  display: inline-block; font-size: 18px; font-weight: 800; color: #fff;
  width: 42px; height: 42px; line-height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  margin-bottom: 14px;
}
.core-step h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.core-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- 小程序引导 CTA（暗色暖调） ---------- */
.core-cta {
  padding: 84px 0;
  background: linear-gradient(135deg, #3D2E24 0%, #4A382C 100%);
}
.core-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.core-cta-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.core-cta-lead { font-size: 15px; color: #E8D9CC; line-height: 1.9; max-width: 540px; }
.core-cta-qr {
  flex: 0 0 auto; text-align: center;
  background: #fff; border-radius: var(--radius-md); padding: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.core-cta-qr img { width: 160px; height: 160px; border-radius: 8px; display: block; }
.core-cta-qr p { font-size: 12px; color: var(--text-secondary); margin-top: 10px; }

@media (max-width: 980px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-illustration { height: 320px; }
  .triad-cards { grid-template-columns: 1fr; }
  .module-block { grid-template-columns: 1fr; gap: 14px; }
  .module-no { font-size: 46px; text-align: left; }
  .cycle-steps { grid-template-columns: repeat(2, 1fr); }
  .cycle-step:not(:last-child)::after { display: none; }
  .core-cards { grid-template-columns: repeat(2, 1fr); }
  .core-path { grid-template-columns: repeat(2, 1fr); }
  .core-step:not(:last-child)::after { display: none; }
  .core-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .cycle-steps { grid-template-columns: 1fr; }
  .core-cards { grid-template-columns: 1fr; }
  .core-path { grid-template-columns: 1fr; }
}

/* ============================================
   联系我们页 — 联系方式 + 预约表单
   ============================================ */

/* ---------- 地图区块 ---------- */
.map-section { padding: 72px 0 0; }
.map-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px var(--shadow);
  background: #FCF8F6;
}
.leaflet-map { width: 100%; height: 420px; }
.map-img { width: 100%; height: 420px; object-fit: cover; display: block; }
.map-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  font-size: 14px; color: var(--text-secondary);
  background: linear-gradient(160deg, #FDF2F4 0%, #FEF6EE 100%);
}
.map-fallback code {
  background: rgba(200,138,154,.12); color: var(--primary-dark);
  padding: 1px 6px; border-radius: 5px; font-size: 13px;
}

.contact-section { padding: 80px 0 96px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

/* ---------- 左：联系方式 ---------- */
.contact-info {
  background: linear-gradient(160deg, #FDF2F4 0%, #FEF6EE 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.contact-info-title {
  font-size: 24px; font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.contact-info-lead {
  font-size: 14px; color: var(--text-secondary);
  margin-bottom: 28px; line-height: 1.8;
}
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-dot {
  flex: 0 0 auto;
  width: 12px; height: 12px; border-radius: 50%;
  margin-top: 7px;
}
.contact-dot-rose  { background: var(--primary); }
.contact-dot-gold  { background: var(--accent-gold); }
.contact-dot-blue  { background: #9FB8D6; }
.contact-label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--text-light);
  letter-spacing: 1px; margin-bottom: 3px;
}
.contact-value { font-size: 15px; color: var(--text); line-height: 1.7; }
.contact-value a { color: var(--primary); text-decoration: none; }
.contact-value a:hover { color: var(--primary-dark); }

/* ---------- 右：表单 ---------- */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 6px 24px var(--shadow);
}
.contact-form-title {
  font-size: 24px; font-weight: 700; color: var(--text);
  margin-bottom: 26px;
}
.contact-form .field { margin-bottom: 20px; }
.contact-form .field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px;
}
.field-label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 9px;
}
.req { color: var(--primary); font-weight: 700; }

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: #FCF8F6;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form textarea { resize: vertical; line-height: 1.7; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 138, 154, 0.12);
  background: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #B9ACA4; }

/* 分段单选（预约类型） */
.segmented {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.seg-option { position: relative; flex: 1 1 0; min-width: 96px; cursor: pointer; }
.seg-option input { position: absolute; opacity: 0; pointer-events: none; }
.seg-option span {
  display: block; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  padding: 11px 8px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #FCF8F6;
  transition: all var(--transition);
}
.seg-option input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: 0 4px 12px var(--shadow-hover);
}
.seg-option:hover span { border-color: var(--primary-light); }

/* 提交按钮 */
.contact-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  font-size: 16px; font-weight: 700;
}
.contact-submit:disabled { opacity: .6; cursor: not-allowed; }

/* 状态提示 */
.form-status {
  margin-top: 14px; font-size: 14px; line-height: 1.7;
  min-height: 20px; color: var(--text-secondary);
}
.form-status-success { color: #4E9A6B; font-weight: 600; }
.form-status-error   { color: #C0584F; font-weight: 600; }
.form-status-loading { color: var(--primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .contact-info, .contact-form-wrap { padding: 32px 22px; }
  .contact-form .field-row { grid-template-columns: 1fr; gap: 20px; }
  .map-img { height: 300px; }
}

/* ============================================
   表单提交成功提示（toast 通知，1 秒自动关闭）
   ============================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%) translateY(18px);
  max-width: 86vw;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  color: #fff;
  background: rgba(40, 30, 38, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-success { background: linear-gradient(135deg, #C88A9A, #E0A7B5); }
.toast-error  { background: #b5503f; }

/* ============================================
   核心服务页 2.0 — 增强头图 / 闭环流程条 / 五环节错落大卡
   ============================================ */

/* ---------- 增强头图 ---------- */
.core-hero {
  position: relative; overflow: hidden;
  padding: 112px 0 92px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, #FFFFFF 0%, transparent 55%),
    linear-gradient(160deg, #FDF2F4 0%, #FEF6EE 55%, #F3EAF6 100%);
}
.core-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.core-hero-deco::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  left: -170px; top: -210px;
  background: radial-gradient(circle, rgba(234,191,195,.38), transparent 70%);
}
.core-hero-deco::after {
  content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  right: -150px; bottom: -190px;
  background: radial-gradient(circle, rgba(234,192,119,.30), transparent 70%);
}
.core-hero-deco span {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  left: 50%; top: 40px; transform: translateX(-50%);
  border: 1.5px dashed rgba(200,138,154,.28);
}
.core-hero-inner { position: relative; z-index: 1; }
.core-hero-tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px; font-weight: 600;
  color: var(--primary-dark);
  background: rgba(255,255,255,.72); border: 1px solid rgba(200,138,154,.25);
  padding: 6px 18px; border-radius: 999px; margin-bottom: 22px;
}
.core-hero-title {
  font-size: clamp(30px, 5vw, 52px); font-weight: 800; color: var(--text);
  line-height: 1.22; margin-bottom: 18px;
}
.core-hero-sub { font-size: 17px; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.7; }
.core-hero-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.core-hero-pills span {
  font-size: 14px; font-weight: 700; color: #fff; padding: 8px 20px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.core-hero-pills span:nth-child(1) { background: linear-gradient(135deg, #C88A9A, #A86B7D); }
.core-hero-pills span:nth-child(2) { background: linear-gradient(135deg, #C9A24E, #B5852F); }
.core-hero-pills span:nth-child(3) { background: linear-gradient(135deg, #7A9BB8, #5C7E9E); }
.core-hero-pills span:nth-child(4) { background: linear-gradient(135deg, #7FA07F, #5E8060); }
.core-hero-pills span:nth-child(5) { background: linear-gradient(135deg, #9B7BB0, #7A5A90); }

/* ---------- 闭环流程条 ---------- */
.core-loop-section { padding: 72px 0 8px; }
.loop-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-top: 6px;
}
.loop-node {
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform var(--transition), box-shadow var(--transition);
}
.loop-node:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.loop-arrow { font-size: 22px; font-weight: 700; color: var(--text-light); }
.loop-arrow.loop-back { color: var(--primary); font-size: 26px; }

/* ---------- 五环节错落大卡 ---------- */
.core-phases { padding: 56px 0 84px; }
.phase-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  background: linear-gradient(160deg, var(--bg-soft) 0%, #FFFFFF 76%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 42px; margin-bottom: 28px;
  box-shadow: 0 8px 28px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.phase-row::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.phase-row:nth-child(even) .phase-media { order: 2; }
.phase-row:nth-child(even) .phase-body { order: 1; }
.phase-row:hover { transform: translateY(-6px); box-shadow: 0 18px 46px var(--shadow-hover); }

.phase-media { position: relative; }
.phase-media img {
  width: 100%; height: 340px; object-fit: cover; display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform var(--transition);
}
.phase-row:hover .phase-media img { transform: scale(1.03); }
.phase-index {
  position: absolute; top: -14px; left: -14px; z-index: 2;
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.phase-body { position: relative; }
.phase-watermark {
  position: absolute; right: 4px; bottom: -34px;
  font-size: 122px; font-weight: 800; font-family: "Georgia", serif;
  color: var(--accent); opacity: .07; pointer-events: none; line-height: 1; z-index: 0;
}
.phase-tag {
  position: relative; z-index: 1;
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); background: rgba(255,255,255,.75);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.phase-title { position: relative; z-index: 1; font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.phase-desc { position: relative; z-index: 1; font-size: 15px; color: var(--text-secondary); line-height: 1.9; }

@media (max-width: 980px) {
  .phase-row { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .phase-row:nth-child(even) .phase-media { order: 0; }
  .phase-row:nth-child(even) .phase-body { order: 0; }
  .phase-media img { height: 260px; }
  .loop-node { width: 72px; height: 72px; font-size: 15px; }
  .loop-strip { gap: 12px; }
}
@media (max-width: 560px) {
  .core-hero { padding: 84px 0 60px; }
  .core-hero-deco span { display: none; }
  .loop-strip { flex-direction: column; gap: 10px; }
  .loop-arrow { display: none; }
  .loop-arrow.loop-back { display: block; }
  .phase-title { font-size: 22px; }
  .phase-watermark { font-size: 90px; bottom: -22px; }
}
