:root {
  --primary: #704090;
  --primary-dark: #5a2d7a;
  --primary-light: #f5f0fa;
  --accent: #e06010;
  --ink: #2a1540;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #efe9f5;
  --bg: #ffffff;
  --bg-alt: #faf8fc;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15,23,42,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans Arabic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
svg { width: 20px; height: 20px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo img { height: 42px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; display: block; }
.footer-logo-img { height: 48px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; display: block; margin-bottom: 12px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), #9060b8); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 21px; height: 21px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 17px; letter-spacing: 1px; }
.logo-text em { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 1.2px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; color: var(--ink-2); }
.site-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; font-size: 20px; }

/* 语言选择：单一国旗按钮 + 下拉菜单（桌面/手机统一） */
.lang-picker { position: relative; }
.lang-picker-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .16s; line-height: 1; }
.lang-picker-btn:hover { border-color: var(--primary); }
.lang-flag { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 16px; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-flag svg { display: block; width: 100%; height: 100%; }
.lang-caret { width: 6px; height: 6px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: .16s; }
.lang-picker.open .lang-caret { transform: translateY(1px) rotate(225deg); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 90; width: 158px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 38px rgba(74, 36, 106, .18); }
.lang-picker.open .lang-dropdown { display: block; }
.lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; font-size: 12.5px; color: var(--ink-2); background: #fff; border-radius: 8px; text-align: left; transition: .14s; }
.lang-option:hover { background: #f5eefb; color: var(--primary); }
.lang-option.active { background: var(--primary); color: #fff; font-weight: 600; }
.lang-option .lang-flag { width: 24px; height: 17px; }
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .lang-option { text-align: right; flex-direction: row-reverse; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 10px; font-size: 13px; font-weight: 600; padding: 10px 18px; transition: .18s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(112,64,144,.22); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 13px 24px; font-size: 14px; }
.btn-block { width: 100%; }

/* Hero - 借鉴医疗旅游落地页：大图背景 + 毛玻璃搜索 + 悬浮数据卡 */
.hero { position: relative; padding: 88px 0 118px; overflow: hidden; background: linear-gradient(120deg, #2a1540 0%, #4a2a70 45%, #704090 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(42,21,64,.96) 0%, rgba(74,42,112,.82) 48%, rgba(112,64,144,.6) 100%); }
.hero-bg-shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .28; }
.hero-bg-shape.s1 { width: 520px; height: 520px; background: #9060b8; top: -180px; right: -80px; }
.hero-bg-shape.s2 { width: 380px; height: 380px; background: #e06010; bottom: -180px; left: 8%; opacity: .16; }
.hero-bg-shape.s3 { width: 260px; height: 260px; background: #00a0e0; top: 30%; right: 22%; opacity: .13; }
.hero-medical { position: absolute; width: 420px; height: 420px; right: 6%; top: 8%; color: rgba(255,255,255,.13); }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 720px; }
.badge { display: inline-block; font-size: 11px; letter-spacing: 1px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 30px; padding: 6px 15px; margin-bottom: 22px; backdrop-filter: blur(6px); }
h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.22; letter-spacing: -.5px; color: #fff; font-weight: 700; }
h1 span { color: #e9b8ff; }
.hero-sub { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.82); max-width: 620px; line-height: 1.9; }
.hero-search { display: flex; align-items: end; gap: 10px; margin-top: 34px; padding: 14px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 16px; backdrop-filter: blur(14px); flex-wrap: wrap; }
.search-field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }
.search-label { font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,.75); font-weight: 600; }
.search-field select { width: 100%; padding: 11px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; background: #fff; color: var(--ink); font-size: 13px; outline: none; }
.search-btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 20px; white-space: nowrap; }
.search-btn svg { width: 16px; height: 16px; }
.btn-accent { background: #e06010; color: #fff; box-shadow: 0 4px 14px rgba(224,96,16,.3); }
.btn-accent:hover { background: #c45008; transform: translateY(-1px); }
.search-chat { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; white-space: nowrap; }
.search-chat svg { width: 16px; height: 16px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.stat-card { background: #fff; border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.stat-card strong { font-size: 34px; line-height: 1; color: var(--primary); font-weight: 700; }
.stat-card strong span { font-size: 20px; }
.stat-card > span { font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: .5px; }
.stat-cta { background: linear-gradient(135deg, #e06010, #c45008); color: #fff; border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.16); transition: .2s; }
.stat-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.stat-cta strong { font-size: 15px; line-height: 1.4; }
.stat-cta span { font-size: 12px; margin-top: 12px; opacity: .95; font-weight: 600; }

/* Sections */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 34px; }
.section-head.center { text-align: center; }
.eyebrow { display: block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.section-head h2, .pricing-grid h2, .inquiry-copy h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }

.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dept-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .2s; }
.dept-card:hover { border-color: #e3d0f5; box-shadow: var(--shadow); transform: translateY(-3px); }
.dept-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 19px; margin-bottom: 14px; }
.dept-card h3 { font-size: 16px; margin-bottom: 7px; }
.dept-card p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.dept-card .tag { display: inline-block; font-size: 10px; color: var(--primary); background: var(--primary-light); border-radius: 5px; padding: 3px 8px; margin-top: 12px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 15px; margin-bottom: 7px; }
.step p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.step:not(:last-child)::after { content: '→'; position: absolute; inset-inline-end: -14px; top: 32px; color: #94a3b8; font-size: 16px; z-index: 2; }

.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doctor-card { background: #fff; border: 1px solid #e6d8f3; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(112,64,144,.06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.doctor-card:hover { transform: translateY(-5px); border-color: #c9a8e8; box-shadow: 0 16px 38px rgba(112,64,144,.16); }
.doctor-photo { height: 130px; display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 600; letter-spacing: 1px; position: relative; overflow: hidden; }
.doctor-photo::before { content: ''; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.12); top: -60px; right: -30px; }
.doctor-photo span { position: relative; z-index: 1; }
.doctor-body { padding: 18px; position: relative; }
.doctor-body h3 { font-size: 16px; }
.doctor-title { display: inline-block; font-size: 10px; font-weight: 600; color: var(--primary); background: var(--primary-light); border: 1px solid #e3d0f5; border-radius: 20px; padding: 2px 10px; margin-top: 6px; }
.doctor-body .spec { font-size: 11px; color: var(--muted); margin-top: 8px; }
.doctor-body p { font-size: 11px; color: var(--muted); margin-top: 9px; line-height: 1.7; }

/* Hospitals — 参考站精致卡片风格 */
.hospital-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hospital-card { background: #fff; border: 1px solid #e6d8f3; border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; box-shadow: 0 4px 18px rgba(112,64,144,.06); }
.hospital-card:hover { transform: translateY(-6px); border-color: #c9a8e8; box-shadow: 0 18px 42px rgba(112,64,144,.18); }
.hospital-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #efe9f5; }
.hospital-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hospital-card:hover .hospital-photo img { transform: scale(1.07); }
.hospital-photo::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(30,12,48,.72)); pointer-events: none; }
.hospital-photo-note { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 9px; letter-spacing: .3px; color: #fff; background: rgba(30,12,48,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.hospital-city { position: absolute; left: 13px; bottom: 11px; z-index: 2; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .5px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hospital-city-en { position: absolute; right: 13px; bottom: 12px; z-index: 2; font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255,255,255,.9); }
.hospital-body { padding: 16px 16px 18px; }
.hospital-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hospital-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.hospital-icon svg { width: 16px; height: 16px; }
.hospital-tag { font-size: 9px; color: var(--primary); background: var(--primary-light); border-radius: 20px; padding: 3px 8px; white-space: nowrap; }
.hospital-card h3 { font-size: 13px; line-height: 1.5; font-weight: 700; min-height: 39px; }
.hospital-en { font-size: 9px; color: #9b8aa8; margin-top: 3px; line-height: 1.4; min-height: 26px; }
.hospital-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.hospital-meta span { font-size: 9px; color: var(--ink-2); background: #f5f0fa; border-radius: 5px; padding: 3px 7px; }
.hospital-card p { font-size: 10px; color: var(--muted); margin-top: 10px; line-height: 1.65; }
.hospital-credit { margin-top: 8px; padding-top: 7px; border-top: 1px dashed #e6d8f3; font-size: 8px; color: #9b8aa8; line-height: 1.5; }
.hospital-credit a { color: var(--primary); text-decoration: none; }
.hospital-credit a:hover { text-decoration: underline; }
.hospital-note { margin-top: 22px; font-size: 11px; color: var(--muted); line-height: 1.85; padding: 14px 16px; background: #f5f0fa; border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; }

/* TCM & Wellness */
.tcm { background: radial-gradient(1200px 500px at 10% 10%,#efe3f8 0%,transparent 60%), linear-gradient(160deg,#faf6ff,#f3ecfa); }
.tcm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.tcm-intro h2 { font-size: clamp(24px,3vw,34px); line-height: 1.35; margin-top: 8px; }
.tcm-intro > p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 14px; }
.tcm-figure { position: relative; margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(112,64,144,.16); border: 1px solid #e3d0f5; }
.tcm-figure img { display: block; width: 100%; height: 240px; object-fit: cover; }
.tcm-figure-tag { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10px; line-height: 1.6; color: #fff; padding: 10px 14px; background: linear-gradient(transparent,rgba(42,21,64,.82)); }
.tcm-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tcm-card { padding: 22px; background: linear-gradient(160deg,#fff,#fcfaff); border: 1px solid #e6d8f3; border-top: 3px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); transition: .2s; }
.tcm-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(112,64,144,.12); }
.tcm-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-light); display: grid; place-items: center; font-size: 21px; margin-bottom: 12px; }
.tcm-card h3 { font-size: 15px; }
.tcm-card p { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.75; }

.pricing-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 54px; align-items: start; }
.price-intro { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.9; }
.price-points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.price-points li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); }
.price-points svg { width: 18px; height: 18px; color: #16a34a; flex: 0 0 18px; margin-top: 2px; }
.price-card { background: #fff; border: 1px solid #e3d0f5; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.price-card-head { display: flex; align-items: center; gap: 8px; color: var(--primary); margin-bottom: 12px; }
.price-card p { font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.currency-note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--muted); }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; text-align: start; font-size: 14px; font-weight: 600; }
.faq-q .plus { color: var(--primary); font-size: 18px; flex: 0 0 auto; }
.faq-a { display: none; padding: 0 20px 17px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .plus { transform: rotate(45deg); }

.inquiry { background: linear-gradient(135deg, #f5f0fa, #faf8fc); }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.inquiry-copy p { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.9; }
.wa-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px; }
.wa-cta svg { width: 26px; height: 26px; color: #25d366; }
.wa-cta div { display: flex; flex-direction: column; line-height: 1.5; }
.wa-cta strong { font-size: 13px; }
.wa-cta span { font-size: 11px; color: var(--muted); }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 13px; color: var(--ink); background: #fff; outline: none; transition: .16s; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-note { font-size: 10px; color: var(--muted); line-height: 1.7; text-align: center; }

.site-footer { background: #2a1540; color: #cbd5e1; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-logo .logo-text strong { color: #fff; }
.footer-logo .logo-text em { color: #64748b; }
.footer-grid p { font-size: 12px; line-height: 1.9; color: #94a3b8; margin-top: 10px; }
.footer-grid strong { font-size: 13px; color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 18px 0; display: flex; justify-content: space-between; font-size: 11px; color: #64748b; }
.floating-wa { position: fixed; inset-inline-end: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.35); z-index: 60; transition: .2s; }
.floating-wa:hover { transform: scale(1.06); }
.floating-wa svg { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: #2a1540; color: #fff; font-size: 13px; padding: 11px 20px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 紫色点缀增强 · 降低大面积纯白 */
.site-header { background: rgba(250,247,253,.96); }
.section-alt { background: linear-gradient(180deg,#f3ecfa,#faf6ff); }
.dept-card, .step, .doctor-card, .faq-item, .inquiry-form { border-color: #e6d8f3; background: linear-gradient(180deg,#fff,#fcfaff); }
.dept-card::before, .step::before, .doctor-card::before { content: ''; display: block; height: 3px; margin: -22px -22px 18px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg,var(--primary),#b78ad6); }
.step::before { margin: -22px -20px 18px; }
.doctor-card::before { margin: 0 0 0; border-radius: 0; }
.faq-item.open { border-color: #c9a8e8; box-shadow: 0 6px 20px rgba(112,64,144,.08); }
.price-card { background: linear-gradient(160deg,#fff,#faf6ff); }
.inquiry { background: linear-gradient(135deg,#efe5f8,#faf6ff 60%,#fff); }
.site-footer { background: linear-gradient(135deg,#2a1540,#4a2a70 60%,#704090); }
.footer-bottom { border-top-color: rgba(255,255,255,.12); }

/* ===== 商务合作 ===== */
.partner-section { background: linear-gradient(160deg,#faf6ff,#f1e9f9); }
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 720px; margin: 0 auto; }
.partner-card { position: relative; background: #fff; border: 1px solid #e6d8f3; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: .22s; overflow: hidden; }
.partner-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg,var(--primary),#b78ad6); }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(112,64,144,.14); border-color: #c9a8e8; }
.partner-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.partner-icon svg { width: 22px; height: 22px; }
.partner-card h3 { font-size: 16px; margin-bottom: 9px; }
.partner-card p { font-size: 12px; color: var(--muted); line-height: 1.85; }
.partner-card .partner-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.partner-card .partner-tags span { font-size: 10px; color: var(--primary); background: var(--primary-light); border-radius: 5px; padding: 3px 8px; }
.partner-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 24px 28px; border-radius: var(--radius); background: linear-gradient(120deg,#2a1540,#5a2d7a); color: #fff; }
.partner-cta strong { display: block; font-size: 17px; }
.partner-cta span { display: block; font-size: 11px; color: rgba(255,255,255,.72); margin-top: 6px; }
.partner-cta .btn { background: #fff; color: var(--primary); flex: 0 0 auto; }
.partner-cta .btn:hover { background: #f5f0fa; }

/* ===== 首页动态效果 ===== */
@keyframes hzFloat { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(4deg); } }
@keyframes hzPulse { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: .8; transform: scale(1.08); } }
@keyframes hzSpin { to { transform: rotate(360deg); } }
.hero-bg-shape.s1 { animation: hzFloat 9s ease-in-out infinite; }
.hero-bg-shape.s2 { animation: hzPulse 6s ease-in-out infinite; }
.hero-bg-shape.s3 { animation: hzFloat 11s ease-in-out infinite reverse; }
.hero-medical { animation: hzSpin 90s linear infinite; transform-origin: 50% 50%; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.stat-card strong.counted { font-variant-numeric: tabular-nums; }

/* 背景音乐开关 */
.music-toggle { position: fixed; inset-inline-start: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: linear-gradient(135deg,#704090,#5a2d7a); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(112,64,144,.32); cursor: pointer; z-index: 61; transition: .2s; }
.music-toggle:hover { transform: scale(1.07); }
.music-icon { font-size: 20px; line-height: 1; }
.music-toggle.playing .music-icon { animation: hzSpin 2.4s linear infinite; }

/* RTL */
html[dir="rtl"] .site-nav, html[dir="rtl"] .header-actions { flex-direction: row; }
html[dir="rtl"] .bubble.in { align-self: flex-end; border-radius: 12px 12px 3px 12px; }
html[dir="rtl"] .bubble.out { align-self: flex-start; border-radius: 12px 12px 12px 3px; }
html[dir="rtl"] .step:not(:last-child)::after { content: '←'; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .menu-toggle { display: block; }
  .hero-grid, .pricing-grid, .inquiry-grid { grid-template-columns: 1fr; gap: 36px; }
  .dept-grid, .doctor-grid, .hospital-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .tcm-grid { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1160px); }
  /* 手机端首屏：高度刚好一屏，内容舒展铺满，下滑自然是下一模块 */
  .hero { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); display: flex; align-items: center; padding: 24px 0 30px; }
  .hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .header-inner { height: 60px; }
  .logo img { height: 34px; max-width: 132px; }
  .badge { margin-bottom: 16px; padding: 6px 13px; font-size: 11px; }
  h1 { font-size: clamp(28px, 7.4vw, 38px); line-height: 1.3; }
  .hero-sub { margin-top: 14px; font-size: 13px; line-height: 1.85; }
  .hero-search { margin-top: 22px; padding: 13px; gap: 9px; border-radius: 15px; }
  .search-field { flex: 1 1 44%; }
  .search-field select { padding: 11px 12px; font-size: 13px; }
  .search-btn, .search-chat { padding: 12px 14px; font-size: 13px; flex: 1 1 44%; }
  /* 三张数据卡一行三列，高度饱满 */
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 22px; }
  .stat-card { padding: 18px 5px; min-height: 88px; border-radius: 12px; }
  .stat-card strong { font-size: clamp(24px, 7vw, 30px); }
  .stat-card strong span { font-size: 14px; }
  .stat-card > span { font-size: 10px; margin-top: 7px; letter-spacing: 0; }
  .stat-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; }
  .stat-cta strong { font-size: 14px; }
  .stat-cta span { font-size: 11px; margin-top: 0; }
  .hero-medical { width: 240px; height: 240px; right: -12%; top: 4%; }
  .dept-grid, .doctor-grid, .hospital-grid, .process-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hospital-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tcm-cards { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  /* 地图与合作页手机端 */
  .partner-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
  .partner-cta .btn { width: 100%; }
  .music-toggle { left: 14px; bottom: 16px; width: 42px; height: 42px; }
  .floating-wa { inset-inline-end: 14px; bottom: 16px; width: 48px; height: 48px; }
}
