/* ============================================
   EvergreenVita · Shared Styles
   多页网站公共样式表
   ============================================ */

:root {
  --olive: #556B2F;
  --olive-dark: #3D4F20;
  --sprout: #4E8E1A;
  --orange: #F26522;
  --cream: #FAFAF5;
  --cream-dark: #F0F0E8;
  --text-dark: #1A1F0E;
  --text-mid: #3D4A28;
  --text-muted: #3D4A28;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(85,107,47,0.08);
  --shadow-md: 0 10px 36px rgba(85,107,47,0.12);
  --shadow-lg: 0 20px 60px rgba(85,107,47,0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --serif-zh: 'Noto Serif SC', serif;
  --sans: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.85;
  font-size: 18px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── 语言切换 ─── */
.lang-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 8px 60px;
  background: var(--olive-dark);
  gap: 4px;
}
.lang-btn {
  padding: 4px 14px; border-radius: 20px; font-size: 11px;
  letter-spacing: 0.1em; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55); background: transparent;
  transition: all 0.2s; font-family: var(--sans);
}
.lang-btn.active { background: var(--sprout); color: white; border-color: var(--sprout); font-weight: 500; }
.lang-btn:hover:not(.active) { color: white; border-color: rgba(255,255,255,0.5); }
.lang-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

/* 语言内容显示 */
.en-content, .zh-content { display: none; }
body.lang-en .en-content { display: block; }
body.lang-zh .zh-content { display: block; }
body.lang-en .zh-content { display: none !important; }
.en-inline, .zh-inline { display: none; }
body.lang-en .en-inline { display: inline; }
body.lang-zh .zh-inline { display: inline; }

/* ─── 导航栏 ─── */
.site-nav {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 60px;
  background: rgba(250,250,245,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(85,107,47,0.08);
  transition: all 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 6px; }
.nav-logo img { height: 48px; width: auto; mix-blend-mode: multiply; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--olive-dark); }
.nav-logo-tag { font-size: 9px; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 16px; border-radius: 40px; font-size: 13px;
  font-weight: 400; letter-spacing: 0.02em;
  color: var(--text-mid); transition: all 0.2s;
}
.nav-links a:hover { color: var(--olive); background: rgba(85,107,47,0.06); }
.nav-links a.active { color: var(--olive); font-weight: 500; }
.nav-cta {
  background: var(--olive) !important; color: var(--white) !important;
  padding: 9px 22px !important; font-weight: 500 !important;
}
.nav-cta:hover { background: var(--olive-dark) !important; }

.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ─── 页面大 Banner ─── */
.page-hero {
  padding-top: 130px; padding-bottom: 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sprout); font-weight: 500;
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 26px; height: 1px; background: var(--sprout); }
.hero-h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 64px);
  font-weight: 300; line-height: 1.1; color: var(--text-dark); margin-bottom: 20px;
}
.hero-h1 em { font-style: italic; color: var(--olive); }
.hero-desc { font-size: 19px; color: var(--text-mid); line-height: 1.85; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ─── 通用按钮 ─── */
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 13px 30px; border-radius: 40px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(242,101,34,0.25);
  transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(242,101,34,0.35); }
.btn-outline {
  color: var(--olive-dark); font-size: 14px;
  text-decoration: none; padding: 13px 28px;
  border: 1.5px solid var(--olive); border-radius: 40px;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--olive); color: white; }
.btn-ghost {
  color: var(--text-muted); font-size: 14px; text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: gap 0.2s, color 0.2s;
}
.btn-ghost::after { content: '→'; }
.btn-ghost:hover { gap: 12px; color: var(--olive); }

/* ─── 布局容器 ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 60px; }
.section { padding: 90px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-olive { background: var(--olive-dark); color: white; }

/* ─── 章节标题 ─── */
.eyebrow {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sprout); font-weight: 500;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--sprout); }
.eyebrow.center { justify-content: center; }
.sec-title {
  font-family: var(--serif); font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300; line-height: 1.15; color: var(--text-dark); margin-bottom: 10px;
}
.sec-title em { font-style: italic; color: var(--olive); }
.sec-title.center { text-align: center; }
.sec-sub { font-size: 18px; color: var(--text-mid); margin-bottom: 50px; line-height: 1.85; }
.sec-sub.center { text-align: center; }

/* ─── 图片占位符 ─── */
.img-placeholder {
  background: linear-gradient(135deg, #E8EFDA, #D4E0C4);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--olive); font-size: 13px;
  gap: 8px; border: 1px dashed rgba(85,107,47,0.25);
  min-height: 200px;
}
.img-placeholder .ph-icon { font-size: 32px; opacity: 0.6; }
.img-placeholder .ph-label { opacity: 0.6; font-size: 12px; }

/* ─── 卡片网格 ─── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(85,107,47,0.1);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ─── 统计卡片 ─── */
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; text-align: center;
  border: 1px solid rgba(85,107,47,0.1);
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-num { font-family: var(--serif); font-size: 48px; font-weight: 300; color: var(--olive); line-height: 1; }
.stat-num span { font-size: 22px; color: var(--sprout); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; letter-spacing: 0.05em; }
.stat-label-zh { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* ─── 特色图文 ─── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text .eyebrow { margin-bottom: 16px; }
.feature-text h3 {
  font-family: var(--serif); font-size: 30px; font-weight: 400;
  color: var(--text-dark); margin-bottom: 14px; line-height: 1.2;
}
.feature-text p { font-size: 17px; color: var(--text-mid); line-height: 1.9; margin-bottom: 24px; }
.feature-visual { border-radius: var(--radius); overflow: hidden; }

/* ─── 医院卡片 ─── */
.hosp-card {
  background: var(--cream); border-radius: var(--radius-sm);
  border: 1px solid rgba(85,107,47,0.1);
  padding: 24px 20px; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hosp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hosp-icon { font-size: 28px; margin-bottom: 10px; }
.hosp-name { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; line-height: 1.3; }
.hosp-sub { font-size: 14px; color: var(--text-muted); letter-spacing: 0.04em; line-height: 1.5; }

/* ─── 案例卡片 ─── */
.case-card { background: var(--white); border-radius: var(--radius); border: 1px solid rgba(85,107,47,0.1); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-img { height: 200px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-tag { background: var(--olive); color: white; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 14px; display: inline-block; }
.case-body { padding: 26px 24px; }
.case-num { font-family: var(--serif); font-size: 11px; color: rgba(85,107,47,0.35); letter-spacing: 0.1em; margin-bottom: 8px; }
.case-title { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.case-desc { font-size: 16px; color: var(--text-mid); line-height: 1.85; }

/* ─── 团队 / 合规 ─── */
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.pillar {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 22px 20px;
}
.pillar-title { font-family: var(--serif); font-size: 16px; font-weight: 400; color: white; margin-bottom: 6px; }
.pillar-desc { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; }

.compliance-box {
  background: rgba(125,178,58,0.1); border: 1px solid rgba(125,178,58,0.3);
  border-left: 3px solid var(--sprout); border-radius: 8px; padding: 24px; margin-top: 32px;
}
.compliance-title { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sprout); margin-bottom: 14px; }
.c-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 8px; line-height: 1.65; }
.c-item::before { content: '✓'; color: var(--sprout); font-size: 11px; margin-top: 2px; flex-shrink: 0; font-weight: bold; }

/* ─── 流程步骤 ─── */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; margin-top: 60px; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--olive), transparent); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--olive); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 22px; transition: background 0.3s, color 0.3s; }
.process-step:hover .step-circle { background: var(--olive); }
.process-step:hover .step-circle::before { content: ''; }
.step-title { font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--text-dark); margin-bottom: 5px; }
.step-desc { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ─── CTA ─── */
.cta-section { background: linear-gradient(135deg, var(--olive-dark) 0%, #4A5E28 50%, #3D4F20 100%); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(125,178,58,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(242,101,34,0.06) 0%, transparent 50%); }
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); font-weight: 300; color: white; line-height: 1.1; margin-bottom: 32px; }
.cta-title em { font-style: italic; color: var(--sprout); }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.cta-btn-p { background: var(--orange); color: white; padding: 14px 36px; border-radius: 40px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; box-shadow: 0 8px 26px rgba(242,101,34,0.28); transition: transform 0.2s, box-shadow 0.2s; display: inline-block; }
.cta-btn-p:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(242,101,34,0.38); }
.cta-btn-g { color: rgba(255,255,255,0.7); font-size: 13px; text-decoration: none; padding: 14px 24px; border: 1px solid rgba(255,255,255,0.2); border-radius: 40px; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.cta-btn-g:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* ─── 联系卡片 ─── */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.contact-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 28px 20px; text-align: center; transition: background 0.2s; }
.contact-card:hover { background: rgba(255,255,255,0.12); }
.contact-icon { font-size: 28px; margin-bottom: 12px; }
.contact-label { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-value { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* ─── 服务详情卡 ─── */
.service-detail-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(85,107,47,0.1);
  padding: 36px 32px; transition: transform 0.3s, box-shadow 0.3s;
}
.service-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--text-dark); margin-bottom: 12px; }
.service-desc { font-size: 17px; color: var(--text-mid); line-height: 1.9; }
.service-tag { display: inline-block; background: rgba(85,107,47,0.08); color: var(--olive); font-size: 11px; padding: 3px 12px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 0.04em; }

/* ─── 导航路径 ─── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--olive); }
.breadcrumb span { color: var(--text-muted); }

/* ─── 数字强调 ─── */
.big-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 60px; }
.big-stat { background: var(--olive-dark); padding: 32px 24px; text-align: center; }
.big-stat .bs-num { font-family: var(--serif); font-size: 52px; font-weight: 300; color: white; line-height: 1; }
.big-stat .bs-num span { font-size: 24px; color: var(--sprout); }
.big-stat .bs-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 8px; }
.big-stat .bs-label-zh { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* ─── 滚动动画 ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Footer ─── */
footer { background: var(--text-dark); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1) opacity(0.8); }
.footer-brand { font-family: var(--serif); font-size: 18px; font-weight: 300; color: white; }
.footer-sub { font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 0.15em; margin-top: 1px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.3); line-height: 1.85; max-width: 250px; margin-top: 12px; }
.fcol-title { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 16px; font-weight: 500; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--sprout); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.15); }

/* ─── 博客页面 ─── */
.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-card:hover img { transform: scale(1.05); }
.blog-featured-card:hover img { transform: scale(1.03); }
.filter-btn.active {
  background: var(--olive);
  color: white;
  border-color: var(--olive);
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
  border: 1.5px solid rgba(85,107,47,0.2);
  color: var(--text-muted);
  background: transparent;
}

/* ─── 响应式 ─── */
@media (max-width: 1024px) {
  .lang-bar, .site-nav { padding-left: 24px; padding-right: 24px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .card-grid-3, .card-grid-4, .contact-grid, .big-stat-row { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .card-grid-3, .card-grid-2, .card-grid-4, .contact-grid, .big-stat-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-btns { flex-direction: column; }
  .page-hero { padding-top: 110px; padding-bottom: 60px; }
  .stat-card { padding: 24px 20px; }
  .blog-featured-card { grid-template-columns: 1fr !important; }
  .blog-featured-card img { height: 240px !important; }
}
