/* ============================================================
   VitalWellness 维泰康养 — 平台主样式
   设计原则：适老化优先（大字号 / 高对比 / 清晰层级 / 少动效）
   ============================================================ */

:root {
  --brand:        #0e7a6a;
  --brand-dark:   #0a5c50;
  --brand-light:  #e6f4f1;
  --brand-lighter:#f4faf9;
  --accent:       #e8734a;
  --accent-light: #fdf0ea;
  --gold:         #c8912f;

  --ink:      #17232b;
  --ink-2:    #3d4f59;
  --ink-3:    #6b7d87;
  --line:     #dfe6e9;
  --line-2:   #eef2f4;
  --bg:       #ffffff;
  --bg-soft:  #f7faf9;
  --bg-gray:  #f2f5f6;

  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 2px 12px rgba(15, 60, 55, .07);
  --shadow-lg: 0 10px 34px rgba(15, 60, 55, .12);
  --maxw:      1200px;
  --nav-h:     72px;
}

/* 关怀模式（大字号） */
html.care-mode { font-size: 20px; }
html.care-mode body { letter-spacing: .2px; }
html.care-mode .btn { padding: 16px 30px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section   { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--gray { background: var(--bg-gray); }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

/* ================= 顶栏 ================= */
.topbar {
  background: var(--brand-dark);
  color: rgba(255,255,255,.86);
  font-size: .85rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.9); }
.topbar-tools { display: flex; align-items: center; gap: 14px; }
.text-size-btn {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: .8rem; padding: 3px 12px; border-radius: 999px;
  cursor: pointer; font-family: inherit;
}
.text-size-btn:hover { background: rgba(255,255,255,.24); }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #17a589 100%);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text b { display: block; font-size: 1.12rem; color: var(--ink); line-height: 1.2; }
.logo-text span { display: block; font-size: .72rem; color: var(--ink-3); letter-spacing: 1.4px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 15px; border-radius: 10px;
  color: var(--ink-2); font-size: .96rem; font-weight: 500;
}
.nav-links a:hover { background: var(--brand-lighter); color: var(--brand-dark); }
.nav-links a.active { color: var(--brand); font-weight: 700; background: var(--brand-light); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px auto; transition: .2s;
}

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-size: .98rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: .18s; text-align: center;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent  { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #cf6039; color: #fff; }
.btn--ghost   { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn--light   { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: rgba(255,255,255,.28); color: #fff; }
.btn--block   { display: flex; width: 100%; }
.btn--lg      { padding: 17px 38px; font-size: 1.06rem; }

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f2faf8 0%, #e6f4f1 45%, #fdf3ee 100%);
  padding: 92px 0 76px;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,165,137,.14), transparent 68%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 2.85rem; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 1.14rem; color: var(--ink-2); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-stats div {
  background: rgba(255,255,255,.82); border: 1px solid rgba(14,122,106,.14);
  border-radius: 12px; padding: 14px 10px; text-align: center;
}
.hero-stats b { display: block; font-size: 1.5rem; color: var(--brand-dark); line-height: 1.2; }
.hero-stats span { font-size: .78rem; color: var(--ink-3); }

.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px; border: 1px solid var(--line-2);
}
.hero-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hero-card .hc-sub { font-size: .84rem; color: var(--ink-3); margin-bottom: 20px; }
.vital-list { list-style: none; margin: 0; padding: 0; }
.vital-list li {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.vital-list li:last-child { border-bottom: 0; }
.vital-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-light);
}
.vital-ico svg { width: 20px; height: 20px; }
.vital-txt { flex: 1; min-width: 0; }
.vital-txt b { display: block; font-size: .95rem; }
.vital-txt span { font-size: .8rem; color: var(--ink-3); }
.vital-val { font-size: 1.05rem; font-weight: 700; flex-shrink: 0; }
.vital-val.ok   { color: var(--brand); }
.vital-val.warn { color: var(--accent); }
.vital-val.bad  { color: #d0453b; }
.hc-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: .84rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .2s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(14,122,106,.35); transform: translateY(-3px); }
.card-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-light); margin-bottom: 18px;
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p  { color: var(--ink-2); font-size: .93rem; margin-bottom: 14px; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li { font-size: .87rem; color: var(--ink-2); padding: 4px 0 4px 20px; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: .76rem; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink-2); padding: 3px 10px; border-radius: 999px;
}

/* ================= 流程步骤 ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -18px; left: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; box-shadow: 0 4px 12px rgba(14,122,106,.3);
}
.step h4 { margin-top: 12px; font-size: 1.02rem; }
.step p  { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ================= 价格 ================= */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.15rem; }
.price-card .pc-desc { font-size: .85rem; color: var(--ink-3); min-height: 42px; }
.price-num { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price-num b { font-size: 2.15rem; color: var(--brand-dark); line-height: 1; }
.price-num span { font-size: .88rem; color: var(--ink-3); }
.price-year { font-size: .84rem; color: var(--ink-3); margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-card ul li { font-size: .88rem; padding: 6px 0 6px 24px; position: relative; color: var(--ink-2); }
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7a6a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/9px no-repeat;
}

/* 表格 */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 660px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
thead th { background: var(--brand-lighter); color: var(--brand-dark); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-soft); }
td.num { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* ================= 合作生态 ================= */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; border-left: 4px solid var(--brand);
}
.partner h4 { font-size: 1.05rem; margin-bottom: 6px; }
.partner .p-role { font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.partner p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.partner .p-win { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .83rem; color: var(--ink-3); }

/* ================= 数据条 ================= */
.factbar { background: var(--brand-dark); color: #fff; padding: 54px 0; }
.factbar .grid { gap: 26px; }
.fact { text-align: center; }
.fact b { display: block; font-size: 2.1rem; line-height: 1.1; margin-bottom: 6px; }
.fact span { font-size: .88rem; opacity: .8; }

/* ================= CTA ================= */
.cta {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #17a589 100%);
  color: #fff; padding: 76px 0; text-align: center;
}
.cta h2 { color: #fff; font-size: 2rem; }
.cta p  { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 640px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ================= 表单 ================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,122,106,.13);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-2); margin-bottom: 20px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }

/* ================= 页脚 ================= */
.footer { background: #0f2027; color: rgba(255,255,255,.68); padding: 64px 0 0; font-size: .9rem; }
.footer .grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: 5px 0; }
.footer ul a { color: rgba(255,255,255,.62); }
.footer ul a:hover { color: #fff; }
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: rgba(255,255,255,.4); }
.f-contact { font-size: .88rem; line-height: 2; }
.f-contact b { color: #fff; }
.footer-bottom {
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; font-size: .82rem; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.45);
}

/* 免责声明 */
.disclaimer {
  background: var(--bg-gray); border-left: 4px solid var(--ink-3);
  padding: 16px 20px; font-size: .84rem; color: var(--ink-2); border-radius: 0 10px 10px 0;
}

/* 页首横幅（内页） */
.pagehead {
  background: linear-gradient(140deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 62px 0 58px;
}
.pagehead h1 { color: #fff; font-size: 2.2rem; margin-bottom: 10px; }
.pagehead p  { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 720px; margin: 0; }
.breadcrumb { font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.78); }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.3rem; }
  .grid--3, .grid--4, .price-grid, .steps, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 24px 20px;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta .btn { display: none; }
  .grid--2, .grid--3, .grid--4, .price-grid, .steps, .partner-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }
  .footer .grid { grid-template-columns: 1fr; }
}
