/* ============================================================
   首页公共样式（home.css）—— 2026-06-16 从三语首页内联 <style> 抽出
   结构 / 布局 / 配色 / 间距 / 响应式（以英文版为基准）。
   各语言的排版差异（字体/行高/字距/RTL）见各首页内联 <style> 覆盖块。
   ============================================================ */

/* ===== 本页独有样式 ===== */

/* Hero — 整幅图全宽铺底，左侧深蓝径向 + 线性渐变 mask 自然包住文字
   不再"左纯色 + 右图"硬拼接，所有蓝色都是覆盖在图上的渐变 */
/* Hero —— 整幅图铺底 + 两屏受众轮播（境外患者 / 在华外籍人士）
   渐变 mask 较旧版减轻，让背景图透出来，整体更通透、不压抑 */
.hero { position: relative; height: 600px; overflow: hidden; padding: 0; background: #061a3d; }
.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 55% 8%; display: block; transform: scale(1.04); }
/* 渐变 mask（减轻版）：左侧仅适度压暗保证白字可读，右侧大幅透出背景图 */
.hero-bg-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(2,26,70,0.80) 0%, rgba(2,26,70,0.58) 30%, rgba(2,26,70,0.26) 55%, rgba(2,26,70,0.05) 80%, transparent 100%),
    linear-gradient(to top, rgba(0,12,38,0.58) 0%, rgba(0,12,38,0.26) 30%, transparent 62%);
}
/* 右上冷光：医疗器械级蓝光质感（减弱） */
.hero-bg-wrap::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 85% 8%, rgba(140,190,255,0.18) 0%, transparent 50%);
}

/* 轮播 viewport + 横向滑轨，每屏一个受众版本 */
.hero-viewport { position: relative; height: 100%; z-index: 2; overflow: hidden; }
.hero-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
/* 屏2 配图：人物在中部，焦点右移让左侧墙面留给文字 */
.hero-slide:nth-child(2) .hero-bg { object-position: 64% 32%; }
.hero-slide .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-text { max-width: 680px; color: white; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,0.10); color: white; border: 1px solid rgba(255,255,255,0.32); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(4px); letter-spacing: 0.3px; }
.hero h1 { font-family: 'Source Serif 4', Georgia, 'PingFang SC', serif; font-size: 54px; line-height: 1.07; font-weight: 600; color: white; margin-bottom: 22px; letter-spacing: -1px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero .lead { font-size: 18px; color: rgba(255,255,255,0.92); margin-bottom: 34px; max-width: 560px; line-height: 1.6; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
/* Hero 主 CTA：强化为大尺寸 + 白底 + 双层光晕 + arrow 推进 hover */
.hero-cta .btn-primary {
  background: white; color: var(--brand-deep);
  padding: 18px 34px; font-size: 17px; font-weight: 700;
  border-radius: 8px; letter-spacing: 0.2px;
  box-shadow:
    0 14px 32px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.55),
    0 0 0 6px rgba(255,255,255,0.10);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.hero-cta .btn-primary [data-lucide] { width: 20px; height: 20px; transition: transform 0.2s ease; }
.hero-cta .btn-primary:hover {
  background: white; transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.7),
    0 0 0 8px rgba(255,255,255,0.15);
}
.hero-cta .btn-primary:hover [data-lucide] { transform: translateX(4px); }
.hero-link { color: rgba(255,255,255,0.88); font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; padding: 14px 8px; }
.hero-link:hover { color: white; text-decoration: underline; }
.hero-link [data-lucide] { width: 16px; height: 16px; }
/* 轮播指示点：当前屏拉长高亮，可点击切换 */
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; padding: 0; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.hero-dot:hover { background: rgba(255,255,255,0.75); }
.hero-dot.active { background: #fff; width: 26px; border-radius: 5px; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 36px 32px 28px; box-shadow: var(--shadow-card); transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-deep); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.service-icon { width: 52px; height: 52px; background: var(--brand-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--brand-deep); margin-bottom: 20px; }
.service-icon [data-lucide] { width: 26px; height: 26px; stroke-width: 1.8; }
.service-card h3 { font-family: 'Source Serif 4', Georgia, 'PingFang SC', serif; font-size: 22px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.service-feature-list { list-style: none; padding: 0; margin: 0 0 18px; }
.service-feature-list li { color: var(--text); font-size: 13.5px; padding: 6px 0; display: flex; align-items: flex-start; gap: 10px; }
.service-feature-list li [data-lucide] { width: 16px; height: 16px; color: var(--brand-deep); flex-shrink: 0; margin-top: 2px; }
.service-meta { color: var(--text-muted); font-size: 13px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.service-meta [data-lucide] { width: 16px; height: 16px; color: #1B7B3F; flex-shrink: 0; }
.mdt-note { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 14px; }
.mdt-note strong { color: var(--text); }

/* Two Ways to Consult —— 缩小版服务说明（原 Our Services 两张大卡压成一行两项） */
.services-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.svc-item { display: flex; align-items: flex-start; gap: 16px; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.svc-item .svc-ico { width: 46px; height: 46px; flex-shrink: 0; background: var(--brand-light); color: var(--brand-deep); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.svc-item .svc-ico [data-lucide] { width: 24px; height: 24px; stroke-width: 1.8; }
.svc-item h3 { font-family: 'Source Serif 4', Georgia, 'PingFang SC', serif; font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.svc-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }
.svc-meta { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }

/* Steps to Consult —— 重点区，6 步卡片化 + 浅蓝底，整体更有分量 */
.how-bg { background: linear-gradient(180deg, #EEF4FC 0%, #E3ECF7 100%); }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.step { background: white; border-radius: 14px; padding: 30px 18px 24px; text-align: center; box-shadow: var(--shadow-card); border-top: 3px solid var(--brand-deep); transition: transform 0.2s, box-shadow 0.2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.step-num { width: 50px; height: 50px; background: var(--brand-deep); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 16px; font-family: 'Source Serif 4', Georgia, serif; font-size: 21px; }
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item:hover { border-color: var(--brand-deep); box-shadow: var(--shadow-card); }
.faq-item h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 10px; color: var(--brand-deep); line-height: 1.4; }
.faq-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* AI 引导卡：FAQ / What to Expect 末尾使用，强化"问答场景去 AI 客服"的关联 */
.ai-promo { max-width: 720px; margin: 44px auto 0; background: linear-gradient(135deg, var(--brand-deep) 0%, #1B5FA8 100%); color: white; border-radius: 14px; padding: 24px 28px; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 28px rgba(0,64,152,0.20); }
.ai-promo-avatar { width: 56px; height: 56px; background: radial-gradient(circle at 30% 25%, #FFFFFF 0%, #EAF0FA 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.20)); }
.ai-promo-text { flex: 1; }
.ai-promo-text strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.ai-promo-text p { font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.5; margin: 0; }
.ai-promo-btn { background: white; color: var(--brand-deep); border: none; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; transition: transform 0.15s, box-shadow 0.15s; }
.ai-promo-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.18); }
.ai-promo-btn [data-lucide] { width: 16px; height: 16px; }

/* What to Expect —— 服务承诺（真实可信内容，非患者故事） */
.expect-bg { background: var(--bg-muted); scroll-margin-top: 80px; } /* #support 锚点：点导航跳转避开吸顶 header */
.expect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.expect-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 26px 22px; box-shadow: var(--shadow-card); }
.expect-card .ico { width: 44px; height: 44px; background: var(--brand-light); color: var(--brand-deep); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.expect-card .ico [data-lucide] { width: 22px; height: 22px; stroke-width: 1.8; }
.expect-card h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.expect-card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }

/* Support & Resources —— 三阶段服务清单（Pre-Arrival / In the Hospital / Departure），照搬 brochure 跨文化关怀内容 */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto; }
.support-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px 26px; box-shadow: var(--shadow-card); }
.support-card .phase-ico { width: 44px; height: 44px; background: var(--brand-light); color: var(--brand-deep); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.support-card .phase-ico [data-lucide] { width: 22px; height: 22px; stroke-width: 1.8; }
.support-card h4 { font-size: 17px; font-weight: 700; color: var(--brand-deep); margin-bottom: 2px; font-family: 'Source Serif 4', Georgia, serif; }
.support-card .phase-when { font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; }
.support-card ul { list-style: none; margin: 0; padding: 0; }
.support-card li { position: relative; padding-inline-start: 22px; color: var(--text); font-size: 13.5px; line-height: 1.5; margin-bottom: 11px; }
.support-card li:last-child { margin-bottom: 0; }
.support-card li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Patient Stories（用户要求保留）—— 去掉 emoji 国旗，改 initials 头像 + 城市文字
   章节末加 sample 备注，待真实授权案例替换 */
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1100px; margin: 0 auto; }
.story { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 32px; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; box-shadow: var(--shadow-card); }
.story-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: 0.5px; }
.story-quote-mark { font-family: 'Source Serif 4', Georgia, serif; font-size: 52px; line-height: 0.5; color: var(--brand); margin-bottom: 4px; display: block; }
.story-text { color: var(--text); font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.story-meta { color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.story-meta .author { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }
.stories-disclaimer { text-align: center; margin-top: 26px; color: var(--text-muted); font-size: 12.5px; font-style: italic; }

/* Heritage（"济人寿世"院训）—— 移到 About 区块，带英文释义 */
.heritage { background: white; padding: 72px 0; border-top: 1px solid var(--border); }
.heritage-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.heritage-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; background-image: url('assets/brand-shi-shou-ren-ji.jpg'); background-size: cover; background-position: center; box-shadow: var(--shadow-card); }
.heritage-text .label { font-size: 12px; font-weight: 600; color: var(--brand-deep); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.heritage-text h3 { font-family: 'Source Serif 4', Georgia, 'PingFang SC', serif; font-size: 30px; color: var(--brand-deep); margin-bottom: 6px; line-height: 1.2; }
.heritage-text .motto-cn { font-size: 22px; color: var(--text); font-weight: 600; margin-bottom: 14px; letter-spacing: 4px; }
.heritage-text p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }

/* Contact */
.contact-bg { background: var(--brand-deep); color: white; position: relative; overflow: hidden; }
.contact-bg::before { content: ''; position: absolute; top: -100px; right: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); }
.contact-bg .section-title { color: white; position: relative; }
.contact-bg .section-subtitle { color: rgba(255,255,255,0.75); position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 760px; margin: 0 auto; position: relative; }
.contact-card { text-align: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 30px 24px; }
.contact-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14); margin-bottom: 14px; color: white; }
.contact-card .icon [data-lucide] { width: 22px; height: 22px; }
.contact-card h5 { font-weight: 600; margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,0.82); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-card .value { font-size: 18px; font-weight: 600; color: white; margin-bottom: 6px; font-family: 'Source Serif 4', Georgia, serif; }
.contact-card .meta { color: rgba(255,255,255,0.7); font-size: 13px; }
.contact-extra { text-align: center; margin-top: 22px; color: rgba(255,255,255,0.55); font-size: 12.5px; position: relative; }

/* ============================================================
   本页移动端响应式
   ============================================================ */
@media (max-width: 768px) {
  /* Hero — 移动端图片整屏 + 全屏深蓝渐变压暗，文字浮于其上；轮播仍生效 */
  .hero { height: auto; min-height: 560px; }
  .hero-bg { object-position: 55% 25%; transform: none; }
  .hero-bg-wrap::before {
    background:
      linear-gradient(to bottom, rgba(2,26,70,0.68) 0%, rgba(2,26,70,0.80) 60%, rgba(2,26,70,0.90) 100%);
  }
  .hero-bg-wrap::after { display: none; }
  .hero-viewport { min-height: 560px; }
  .hero-slide .container { padding: 100px 18px 64px; justify-content: flex-start; }
  .hero-text { max-width: 100%; }
  .hero-eyebrow { font-size: 12px; padding: 5px 12px; margin-bottom: 16px; }
  .hero h1 { font-size: 31px; letter-spacing: -0.5px; margin-bottom: 14px; }
  .hero .lead { font-size: 15px; margin-bottom: 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn-primary { justify-content: center; padding: 14px 20px; }
  .hero-link { justify-content: center; padding: 8px; }
  .hero-dots { bottom: 16px; }

  /* Services 单列 */
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 28px 24px 22px; }

  /* Steps 卡片改竖排：序号 + 文字横向排，卡片纵向堆叠 */
  .steps { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .step { text-align: left; display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; row-gap: 4px; align-items: center; padding: 20px 22px; }
  .step-num { margin: 0; grid-column: 1; grid-row: 1 / span 2; }
  .step h4 { grid-column: 2; align-self: end; }
  .step p { grid-column: 2; align-self: start; }

  /* Two Ways to Consult 单列 */
  .services-compact { grid-template-columns: 1fr; gap: 14px; }

  /* FAQ 单列 */
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .faq-item { padding: 18px 20px; }

  /* What to Expect 单列 */
  .expect-grid { grid-template-columns: 1fr; gap: 14px; }
  .expect-card { padding: 22px 20px; }

  /* Support & Resources 单列 */
  .support-grid { grid-template-columns: 1fr; gap: 14px; }
  .support-card { padding: 24px 22px; }

  /* Patient Stories 单列 */
  .stories-grid { grid-template-columns: 1fr; gap: 16px; }
  .story { padding: 26px 22px; grid-template-columns: 56px 1fr; gap: 16px; }
  .story-avatar { width: 56px; height: 56px; font-size: 19px; }

  /* AI 引导卡 竖排 */
  .ai-promo { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 20px; gap: 14px; }
  .ai-promo-avatar { margin: 0 auto; }
  .ai-promo-btn { justify-content: center; width: 100%; padding: 13px 20px; }

  /* Heritage 上下排 */
  .heritage { padding: 48px 0; }
  .heritage-inner { grid-template-columns: 1fr; gap: 24px; }
  .heritage-photo { max-width: 280px; margin: 0 auto; }
  .heritage-text { text-align: center; }
  .heritage-text h3 { font-size: 24px; }
  .heritage-text .motto-cn { font-size: 20px; }

  /* Contact 单列 */
  .contact-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
  .contact-card { padding: 24px 20px; }
}

/* ===== About Us 宣传视频 ===== */
.video-section { padding: 72px 0; scroll-margin-top: 80px; } /* scroll-margin：点导航跳转时避开吸顶 header */
/* 内嵌视频框：16:9、圆角、阴影、可点击 */
.video-frame {
  position: relative; max-width: 1080px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: #0a1430; cursor: pointer;
  box-shadow: 0 20px 50px rgba(8,15,35,0.18);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* hover 轻微压暗，暗示可点击 */
.video-frame::after { content: ''; position: absolute; inset: 0; background: rgba(8,15,35,0); transition: background .2s ease; pointer-events: none; }
.video-frame:hover::after { background: rgba(8,15,35,0.12); }
/* 右下角"点击放大"提示胶囊 */
.video-expand-hint {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(8,15,35,0.62); color: #fff; backdrop-filter: blur(4px);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.video-expand-hint [data-lucide] { width: 16px; height: 16px; }

/* 放大灯箱：复用 .modal-backdrop 深色遮罩 + is-open，内部自定义视频容器 */
.video-lightbox { position: relative; width: 100%; max-width: 1100px; }
.video-lightbox video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; display: block; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.video-lightbox-close { position: absolute; top: -44px; right: 0; background: transparent; border: none; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; display: flex; }
.video-lightbox-close:hover { background: rgba(255,255,255,0.15); }
.video-lightbox-close [data-lucide] { width: 28px; height: 28px; }

@media (max-width: 768px) {
  .video-section { padding: 48px 0; }
  .video-expand-hint { font-size: 12px; padding: 6px 11px; }
  .video-lightbox-close { top: -40px; }
  .video-lightbox-close [data-lucide] { width: 24px; height: 24px; }
}
