:root {
    --bg: #ffffff;
    --bg-soft: #f5f8f8;
    --bg-deep: #0d2730;
    --ink: #12262e;
    --ink-soft: #566b74;
    --line: #e6ecee;
    --brand: #0f8b78;
    --brand-dark: #0a6657;
    --brand-soft: #d8efe9;
    --brand-tint: #eef7f4;
    --accent: #ef7d57;
    --accent-soft: #fce6dc;
    --gold: #c8962f;
    --gold-soft: #f3ebd6;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 30px;
    --shadow-sm: 0 1px 2px rgba(16,40,48,.06), 0 1px 3px rgba(16,40,48,.05);
    --shadow: 0 14px 34px -12px rgba(16,40,48,.16);
    --shadow-lg: 0 34px 64px -24px rgba(13,39,48,.30);
    --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv02","cv03","cv04","cv11";
}

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

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

h1, h2, h3 { line-height: 1.18; color: var(--ink); letter-spacing: -0.02em; font-weight: 800; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.82);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(230,236,238,0.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; font-size: 0.92rem; font-weight: 800; letter-spacing: 0.5px;
    box-shadow: 0 4px 12px -2px rgba(15,139,120,.5);
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.97rem; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--brand-dark); }
.nav-cta {
    background: var(--brand); color: #fff !important;
    padding: 10px 20px; border-radius: 999px; font-weight: 600 !important;
    box-shadow: 0 6px 16px -4px rgba(15,139,120,.5); transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(15,139,120,.6); }

.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; padding-left: 6px; border-left: 1px solid var(--line); }
.lang-switch a { color: var(--ink-soft); font-weight: 600; }
.lang-switch a.on { color: var(--brand-dark); }
.lang-switch .sep { color: var(--line); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 10px 24px -8px rgba(15,139,120,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(15,139,120,.65); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--brand-dark); }
.btn-sm { padding: 11px 20px; font-size: 0.94rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--brand-tint) 0%, #fbfdfc 55%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; top: -180px; right: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(15,139,120,.16), transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -200px; left: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(239,125,87,.12), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 86px 0 78px; }
.hero-copy { max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-dark); background: #fff; padding: 7px 15px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--brand-soft); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 3.05rem; margin: 0 0 20px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-illus { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 50px rgba(13,39,48,.16)); }
.float-chip { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px; font-size: 0.9rem; font-weight: 600; border: 1px solid var(--line); }
.float-chip .fc-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-chip small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; }
.float-chip.fc-1 { top: 20px; left: -10px; }
.float-chip.fc-2 { bottom: 36px; right: -6px; }
.float-chip.fc-3 { bottom: -10px; left: 30px; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.stat { padding: 4px 0; }
.stat .num { font-size: 1.9rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.02em; }
.stat .lbl { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 2.1rem; margin: 0 0 14px; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.bg-soft { background: var(--bg-soft); }
.kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }

/* ---------- Step / feature cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), var(--brand-tint)); color: var(--brand-dark); font-weight: 800; font-size: 1.2rem; margin-bottom: 20px; }
.feat-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--brand-tint); margin-bottom: 20px; color: var(--brand-dark); }
.feat-ico svg { width: 26px; height: 26px; }
.feat-ico.accent { background: var(--accent-soft); color: #c5552e; }
.feat-ico.gold { background: var(--gold-soft); color: #9a6f1c; }
.step-card h3 { font-size: 1.22rem; margin: 0 0 10px; }
.step-card p { color: var(--ink-soft); margin: 0 0 18px; font-size: 0.99rem; flex-grow: 1; }
.step-card a.step-link { font-weight: 600; font-size: 0.95rem; }
.step-link { color: var(--brand-dark); font-weight: 600; }

/* ---------- Focus pills ---------- */
.focus-row { display: flex; gap: 14px; flex-wrap: wrap; }
.focus-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.focus-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.focus-pill .dot.gold { background: var(--gold); }

/* ---------- Hospital cards ---------- */
.hospital-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.hospital-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.hospital-card-link { display: flex; flex-direction: column; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hospital-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft); color: inherit; }
.hospital-card-link ul { flex-grow: 1; }
.tagrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; flex-wrap: wrap; }
.badge { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.badge.dental { background: #e7f0fb; color: #1d5fa6; }
.badge.tcm { background: var(--gold-soft); color: #9a6f1c; }
.badge.city { background: var(--bg-soft); color: var(--ink-soft); }
.hospital-card h3 { font-size: 1.32rem; margin: 0 0 8px; }
.flagship { font-weight: 600; color: var(--brand-dark); margin: 0 0 18px; }
.hospital-card ul { margin: 0; padding-left: 0; list-style: none; }
.hospital-card li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-soft); font-size: 0.97rem; }
.hospital-card li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); border-radius: 1px; }
.card-more { display: inline-block; margin-top: 16px; color: var(--brand-dark); font-weight: 600; font-size: 0.95rem; }

/* ---------- Info cards (prepare) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.18rem; margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.info-card .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-tint); display: inline-grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.info-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.info-card li { margin-bottom: 9px; }

/* ---------- Notice ---------- */
.notice { background: linear-gradient(135deg, var(--brand-tint), #fff); border: 1px solid var(--brand-soft); border-radius: var(--r); padding: 22px 26px; color: var(--ink-soft); font-size: 0.97rem; }
.notice strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--r-xl); padding: 60px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); }
.cta-band h2 { color: #fff; font-size: 2rem; margin: 0 0 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.12rem; margin: 0 0 28px; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); position: relative; }
.cta-band .btn-primary:hover { background: #f0f0f0; color: var(--brand-dark); }

/* ---------- Page intro ---------- */
.page-intro { position: relative; background: linear-gradient(170deg, var(--brand-tint), var(--bg-soft)); border-bottom: 1px solid var(--line); padding: 64px 0; overflow: hidden; }
.page-intro::before { content: ""; position: absolute; top: -150px; right: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(15,139,120,.12), transparent 65%); }
.page-intro h1 { font-size: 2.5rem; margin: 0 0 16px; position: relative; }
.page-intro p { font-size: 1.15rem; color: var(--ink-soft); margin: 0; max-width: 700px; position: relative; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.06rem; list-style: none; position: relative; padding-right: 52px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 24px 22px; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; font-family: inherit; font-size: 0.98rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
textarea { resize: vertical; min-height: 120px; }
.form-error { background: #fdecec; border: 1px solid #f5c6c6; color: #a12626; padding: 14px 18px; border-radius: 11px; margin-bottom: 22px; font-size: 0.94rem; }
.form-error ul { margin: 6px 0 0; padding-left: 20px; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 16px; }
.flash-ok { background: linear-gradient(135deg, #e3f5ee, #fff); border: 1px solid #b6e4d4; color: #0a6e5b; padding: 14px 18px; border-radius: 11px; margin-bottom: 22px; font-size: 0.96rem; }

/* ---------- Thanks ---------- */
.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 56px 44px; box-shadow: var(--shadow); }
.thanks-check { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); display: inline-grid; place-items: center; margin-bottom: 22px; }
.thanks-check span { color: var(--brand-dark); font-size: 2rem; }

/* ---------- Companion dashboard ---------- */
.count-chip { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.85rem; font-weight: 700; padding: 2px 12px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.empty-box { background: #fff; border: 1px dashed var(--line); border-radius: var(--r); padding: 40px; text-align: center; color: var(--ink-soft); }
.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.lead-card.claimed { border-color: var(--brand-soft); background: linear-gradient(180deg, #fbfefd, #fff); }
.lead-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.lead-id { font-weight: 700; color: var(--ink-soft); font-size: 0.85rem; }
.lead-name { font-weight: 700; font-size: 1.12rem; margin-bottom: 4px; }
.lead-contact { margin-bottom: 10px; }
.lead-contact a { font-weight: 600; }
.lead-meta { color: var(--ink-soft); font-size: 0.84rem; }
.lead-msg { color: var(--ink-soft); font-size: 0.92rem; font-style: italic; margin: 10px 0; flex-grow: 1; }
.lead-locked { background: var(--bg-soft); color: var(--ink-soft); font-size: 0.82rem; padding: 9px 12px; border-radius: 9px; margin: 8px 0 14px; text-align: center; }

/* ---------- Detail layout ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 330px; gap: 36px; align-items: start; }
.detail-main { min-width: 0; }
.detail-aside { position: sticky; top: 92px; }
.aside-card { background: linear-gradient(160deg, var(--brand-tint), #fff); border: 1px solid var(--brand-soft); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.18rem; margin: 0 0 10px; }
.aside-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #c4d2d8; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; padding: 56px 0 32px; gap: 36px; flex-wrap: wrap; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-tagline { color: #8ba3ac; margin: 14px 0 0; max-width: 260px; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { color: #c4d2d8; font-size: 0.96rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 24px 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-legal p { font-size: 0.85rem; color: #7d959e; margin: 0; max-width: 720px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 50px; }
    .hero-visual { min-height: 300px; order: -1; }
    .hero h1 { font-size: 2.4rem; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 860px) {
    .steps, .hospital-grid, .info-grid, .lead-grid { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .main-nav { gap: 14px; }
    .main-nav a:not(.nav-cta):not(.lang-switch a) { display: none; }
    .lang-switch { border-left: none; }
    .lang-switch a { display: inline !important; }
    .cta-band { padding: 40px 26px; }
    .page-intro h1 { font-size: 2rem; }
    section { padding: 56px 0; }
}

/* ---- Added: legal / disclaimer document ---- */
.legal-doc h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal-doc h2:first-child { margin-top: 6px; }
.legal-doc p { color: var(--ink-soft); margin: 0 0 14px; }
.legal-doc ul { color: var(--ink-soft); margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { margin-bottom: 8px; }
