/*
Theme Name: YilianCare
Theme URI: https://yiliancare.com/
Author: Yilian Health
Author URI: https://yiliancare.com/
Description: Zero-plugin WordPress theme converted from the YilianCare static template. Bilingual (EN / 中文) Shanghai hospital pathway coordination landing theme with Customizer contact settings, native navigation menus and a built-in inquiry form handler (wp_mail, no plugins).
Version: 1.2.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yiliancare
Tags: one-column, custom-logo, custom-menu, translation-ready, blog, portfolio
*/

/* ============================================================
   Yilian Health / 医链健康 — Redesign (ported from template)
   ============================================================ */
/* ============================================================
   Yilian Health / 医链健康 — Redesign
   ============================================================ */

:root {
  --blue: #007dbf;
  --blue-dark: #005f92;
  --blue-soft: #e6f3fa;
  --green: #00bf83;
  --green-soft: #e0f7ef;
  --ink: #0d344c;
  --ink-2: #163346;
  --muted: #5d7080;
  --muted-2: #7a8c99;
  --line: #e3ecf1;
  --line-2: #d3e0e7;
  --soft: #f5f8fa;
  --soft-2: #eef4f7;
  --paper: #fff;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(13, 52, 76, 0.04);
  --shadow: 0 12px 32px -16px rgba(13, 52, 76, 0.15);
  --shadow-lg: 0 24px 48px -20px rgba(13, 52, 76, 0.18);
  --container: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }

h1 {
  letter-spacing: -0.025em;
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
h2 {
  letter-spacing: -0.02em;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
h3 {
  letter-spacing: -0.01em;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
p { color: var(--muted); }

html[lang='zh-CN'] h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.01em; }
html[lang='zh-CN'] h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: 0; }

/* Container */
.hero,
.quick-trust,
.section,
.case-band,
.assessment,
.footer-inner,
.footer-bottom {
  width: min(var(--container), calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  width: 100%;
  padding: 0 max(32px, calc((100% - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand span span { color: var(--blue); font-weight: 500; }
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  border-bottom: 4px solid var(--green);
  border-radius: 6px 6px 6px 0;
  background: var(--blue);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
nav a:hover {
  color: var(--blue);
  background: var(--soft);
}
nav a.active { color: var(--blue); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.cta:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  flex-shrink: 0;
}
.lang a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.lang a[aria-current='page'] {
  background: var(--blue);
  color: #fff;
}

.menu {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
}

/* ============================================================
   Hero — 双栏 + 圆角大图
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  padding: 80px 0 96px;
  background: #fff;
}
.hero img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 580px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
}
.hero-overlay { display: none; }

.hero-content {
  grid-column: 1;
  grid-row: 1;
  max-width: 560px;
  padding: 0;
  margin: 0;
}
.hero-content > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}
.hero .eyebrow,
.case-band .eyebrow { color: #9fe7c0; }
.hero .eyebrow::before,
.case-band .eyebrow::before { background: var(--green); }

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.button.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--blue);
  padding: 14px 4px;
}
.button.ghost:hover { color: var(--blue-dark); }

/* ============================================================
   Quick trust — 3 格
   ============================================================ */
.quick-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.quick-trust article {
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}
.quick-trust article:last-child { border-right: 0; }
.quick-trust strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.quick-trust span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
   Section
   ============================================================ */
.section { padding: 96px 0; }
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head h2 + p {
  margin-top: 18px;
}
.section-head p:last-child {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}

/* ============================================================
   Fit-section — 浅灰卡片
   ============================================================ */
.fit-section { border-top: 0; }
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fit-grid article {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  transition: border-color .15s, background .15s;
}
.fit-grid article:hover {
  border-color: var(--blue);
  background: var(--soft-2);
}
.fit-grid h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}
.fit-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   Services — 4 张编号卡
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  transition: border-color .15s, background .15s;
}
.service-grid article:hover {
  border-color: var(--blue);
  background: var(--soft-2);
}
.service-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.service-grid h3 { margin-bottom: 12px; }

.mini-list {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
}
.mini-list li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.mini-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}
.tiny {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.55;
}

/* ============================================================
   Treatments
   ============================================================ */
.treatments {
  border-top: 0;
  border-bottom: 0;
}
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.treatment-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s;
}
.treatment-grid article:hover { border-color: var(--blue); }
.treatment-grid b {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* ============================================================
   Hospitals
   ============================================================ */
.hospital-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.hospital-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.hospital-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.hospital-card img { object-fit: cover; }
.hospital-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 32px;
}
.hospital-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.hospital-card h3 { margin-bottom: 6px; font-size: 21px; }
.hospital-card .location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}
.hospital-card .location :is(svg,.yc-svg-icon) {
  width: 15px;
  height: 15px;
  color: var(--blue);
  flex-shrink: 0;
}
.hospital-card .desc {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.hospital-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hospital-card .tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.hospital-card .explore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: color .15s, transform .15s;
}
.hospital-card .explore::after {
  content: "›";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .15s;
}
.hospital-card .explore:hover {
  color: var(--blue-dark);
  transform: translateX(1px);
}
.hospital-card .explore:hover::after {
  transform: translate(2px, -1px);
}

/* ============================================================
   Doctors
   ============================================================ */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.doctor-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s;
}
.doctor-grid article:hover { border-color: var(--blue); }
.doctor-grid img { aspect-ratio: 3 / 4; height: auto; }
.doctor-grid div { padding: 20px; }
.doctor-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   Process — 编号步骤
   ============================================================ */
.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}
.process li {
  min-height: 260px;
  padding-top: 24px;
  counter-increment: item;
  background: #f3f7f9;
  border-top: 2px solid #cfdee5;
  padding: 27px 21px 24px;
  position: relative;
}

.process li:hover {
  background: #eaf4fa;
  border-color: #007dbf;
}


.process li::before {
  content: counter(item, decimal-leading-zero);
  display: block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.process li>:is(svg,.yc-svg-icon) {
    color: #007dbf;
    position: absolute;
    top: 25px;
    right: 20px;
}

.process b {
  display: block;
  margin: 12px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
.process span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}
.process li em {
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

/* ============================================================
   Case band — 深色圆角块
   ============================================================ */
.case-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
}
.case-band img { height: 100%; object-fit: cover; }
.case-band div {
  align-self: center;
  max-width: 600px;
  padding: 64px;
}
.case-band h2 { color: #fff; }
.case-band p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing { border-top: 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s;
}
.price-card:hover { border-color: var(--line-2); }
.price-card:nth-child(2) {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.price-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.price {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}
.price-card p { color: var(--muted); font-size: 14px; }
.pricing .tiny { margin-top: 24px; }

/* ============================================================
   About / Privacy
   ============================================================ */
.about-section { border-top: 0; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.about-grid b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.about-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.privacy-section { border-top: 0; }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.privacy-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.privacy-grid b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.privacy-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-grid details {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}
details p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ============================================================
   Assessment
   ============================================================ */
.assessment {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  width: 100%;
  max-width: none;
  margin: 96px 0 0;
  padding: 64px max(32px, calc((100% - var(--container)) / 2));
  border-radius: 0;
  background: var(--soft);
}

.assess-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.assess-points li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.assess-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.contact-block {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-block b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.contact-block p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.contact-block a { color: var(--blue); font-weight: 600; }

form {
  display: grid;
  gap: 20px;
  padding: 36px;
  border: 1px solid rgba(11, 116, 181, .08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(12, 42, 60, .08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.field-label { color: var(--ink); }

input[type='text'],
input[type='email'],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #cfe0ea;
  border-radius: 10px;
  color: var(--ink);
  background-color: #fff;
  font-weight: 400;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230b3954' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
  cursor: pointer;
}
.native-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #cfe0ea;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.custom-select-button:hover {
  border-color: #a9c7d8;
  background-color: #fbfdfe;
}
.custom-select.open .custom-select-button,
.custom-select-button:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 141, 207, .12);
}

/* .custom-select.is-invalid .custom-select-button {
  border-color: #d45d5d;
} */

.custom-select-chevron {
  width: 18px;
  height: 18px;
  margin-left: 16px;
  color: var(--ink);
  flex: 0 0 auto;
  transition: transform .18s ease;
}
.custom-select.open .custom-select-chevron {
  transform: rotate(180deg);
}
.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: none;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #cfe0ea;
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 42px rgba(12, 42, 60, .16);
  backdrop-filter: blur(14px);
}
.custom-select.open .custom-select-menu {
  display: grid;
  gap: 4px;
}
.custom-select-option {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.custom-select-option:hover,
.custom-select-option[aria-selected='true'] {
  color: #fff;
  background: var(--hc-blue, #0875ca);
}
input[type='text']:hover,
input[type='email']:hover,
select:hover,
textarea:hover {
  border-color: #a9c7d8;
  background-color: #fbfdfe;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 141, 207, .12);
}
textarea {
  resize: vertical;
  min-height: 150px;
}

.checkline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.checkline input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1.5px solid #9fb8c8;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.checkline input:hover {
  border-color: var(--blue);
}
.checkline input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 141, 207, .12);
}
.checkline input:checked {
  border-color: var(--blue);
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12.5l4 4L19 6.5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.form-note {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
}
form .button {
  justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  /* background: var(--soft); */
}
.footer-inner {
  display: grid;
  /* brand + four link/info columns (the offices block spans the second row). */
  grid-template-columns: 1.05fr 1.1fr 1fr 1fr 1fr;
  column-gap: 40px;
  row-gap: 36px;
  padding: 64px 0 48px;
}
.footer-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
}
.footer-brand b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.footer-brand b span { color: var(--blue); font-weight: 500; }
.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.8;
}
.footer-col b {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.footer-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.footer-col p + p {
  margin-top: 0;
}
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--blue); }
.footer-offices {
  grid-column: 2 / -1;
  padding-top: 0;
  min-width: 0;
}
.footer-offices b {
  margin-bottom: 16px;
}
.footer-offices p {
  margin: 0;
}
.footer-offices p + p {
  margin-top: 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { color: var(--muted-2); font-size: 13px; }
.footer-bottom a {
  color: var(--muted-2);
  font-weight: 500;
}
.footer-bottom a:hover { color: var(--blue); }
.footer-beian {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .menu { display: inline-flex; }

  .menu {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 40px;
    padding: 0;
    font-size: 0;
  }

  .menu::before,
  .menu::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, box-shadow .18s ease, top .18s ease;
  }

  .menu::before {
    top: 13px;
    box-shadow: 0 7px 0 currentColor;
  }

  .menu::after {
    top: 27px;
  }

  .menu[aria-expanded='true']::before {
    top: 19px;
    transform: rotate(45deg);
    box-shadow: 0 0 0 transparent;
  }

  .menu[aria-expanded='true']::after {
    top: 19px;
    transform: rotate(-45deg);
  }

  nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 60;
  }
  nav.open { display: flex; }
  nav a { padding: 12px 14px; }
  .cta { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 64px;
  }
  .hero img {
    grid-column: 1;
    grid-row: auto;
    height: 420px;
  }
  .hero-content {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }

  .quick-trust,
  .service-grid,
  .treatment-grid,
  .hospital-grid,
  .doctor-grid,
  .process ol,
  .case-band,
  .pricing-grid,
  .about-grid,
  .privacy-grid,
  .faq-grid,
  .assessment {
    grid-template-columns: 1fr 1fr;
  }
  .assessment {
    padding: 48px max(28px, calc((100% - var(--container)) / 2));
    gap: 40px;
  }
  .case-band img { height: 320px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-offices {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 0 max(16px, calc((100% - var(--container)) / 2));
    gap: 8px;
    min-height: 68px;
  }
  nav { top: 68px; }
  .brand { font-size: 19px; }
  .brand small { display: none; }
  .mark { width: 32px; height: 34px; font-size: 22px; }
  .lang a { padding: 5px 10px; font-size: 12px; }
  .menu { padding: 0; font-size: 0; }

  .hero { padding: 32px 0 48px; gap: 28px; }
  .hero img { height: 320px; border-radius: var(--radius); }
  .hero-content > p:not(.eyebrow) { font-size: 16px; }

  .quick-trust,
  .service-grid,
  .treatment-grid,
  .hospital-grid,
  .doctor-grid,
  .process ol,
  .case-band,
  .pricing-grid,
  .about-grid,
  .privacy-grid,
  .faq-grid,
  .assessment {
    grid-template-columns: 1fr;
  }

  .quick-trust article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quick-trust article:last-child { border-bottom: 0; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }

  .assessment {
    padding: 32px max(20px, calc((100% - var(--container)) / 2));
  }
  .case-band div { padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-points { gap: 8px; }
}

/* ============================================================
   FAQ — 左图 + 右手风琴
   ============================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* 左侧图片 */
.faq-image {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 620px;
  background: var(--soft);
}
.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧内容 */
.faq-content .eyebrow {
  margin-bottom: 16px;
}
.faq-content h2 {
  margin-bottom: 40px;
  max-width: 520px;
}

/* 手风琴列表 */
.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .15s;
}
.faq-list summary:hover {
  color: var(--blue);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::marker {
  display: none;
  content: '';
}

/* chevron */
.faq-list summary::after {
  content: '';
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform .2s ease, margin-top .2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* 答案 */
.faq-list details p {
  margin: 0 0 26px;
  padding-right: 48px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* 中文版微调 */
html[lang='zh-CN'] .faq-list summary {
  font-size: 16px;
}
html[lang='zh-CN'] .faq-list details p {
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 1040px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-image {
    position: static;
    height: 420px;
  }
  .faq-content h2 {
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .faq-image {
    height: 280px;
  }
  .faq-list summary {
    padding: 20px 0;
    font-size: 16px;
  }
  .faq-list details p {
    padding-right: 0;
    font-size: 14px;
  }
}


/* ============================================================
   补充：患者故事 / 退款政策 / 隐私页
   ============================================================ */

/* ---------- 患者故事 ---------- */
.stories { border-top: 0; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.story-card:hover {
  border-color: var(--blue);
  background: var(--soft-2);
  box-shadow: var(--shadow-sm);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}
.story-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.story-from {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.story-summary {
  margin: 0 0 24px;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--green);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.story-detail {
  display: grid;
  gap: 14px;
  margin: 0;
}
.story-detail > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: start;
}
.story-detail dt {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-top: 2px;
}
.story-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.story-consent {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--line-2);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}

.stories .tiny {
  margin-top: 28px;
  max-width: 720px;
}

@media (max-width: 1040px) {
  .stories-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stories-grid { grid-template-columns: 1fr; }
  .story-card { padding: 24px; }
  .story-detail > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 退款政策 ---------- */
.refund-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.refund-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.refund-head h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.refund-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.refund-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.refund-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.refund-table thead th {
  padding: 14px 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.refund-table tbody th {
  width: 240px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  background: var(--soft);
}
.refund-table tbody td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
  vertical-align: top;
}
.refund-table tbody tr:last-child th,
.refund-table tbody tr:last-child td { border-bottom: 0; }

.refund-notes {
  display: grid;
  gap: 14px;
  margin-top: 50px;
}

.refund-notes p {
  padding: 5px 0 20px;
  border-bottom: 1px solid var(--line);
}

.refund-notes p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.refund-notes b { color: var(--ink); font-weight: 600; }
.refund-notes a { color: var(--blue); font-weight: 500; }

@media (max-width: 640px) {
  .refund-table thead { display: none; }
  .refund-table,
  .refund-table tbody,
  .refund-table tr,
  .refund-table th,
  .refund-table td { display: block; width: 100%; }
  .refund-table tbody th {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .refund-table tbody td {
    padding-top: 12px;
  }
  .refund-table tbody tr {
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }
}

/* ---------- 紧急联系块 ---------- */
.emergency-block {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid #f4d9c0;
  border-radius: var(--radius);
  background: #fff8f1;
}
.emergency-block b {
  display: block;
  margin-bottom: 8px;
  color: #8a4b1a;
  font-size: 15px;
  font-weight: 700;
}
.emergency-block p {
  color: #8a4b1a;
  font-size: 13px;
  line-height: 1.7;
}
.emergency-block a {
  color: #8a4b1a;
  font-weight: 700;
  text-decoration: underline;
}

/* ============================================================
   隐私政策页面
   ============================================================ */
.legal {
  padding: 64px 0 96px;
  background: #fff;
}
.legal-wrap {
  width: min(820px, calc(100% - 64px));
  margin: 0 auto;
}

.legal h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.legal-meta {
  margin-bottom: 32px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}

.legal-lead {
  margin-bottom: 40px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.legal-toc {
  display: block;
  margin-bottom: 56px;
  margin-left: 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  flex-shrink: 1;
}
.legal-toc b {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-toc li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.legal-toc a {
  display: block;
  padding: 0;
  color: var(--ink-2);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}
.legal-toc a:hover { color: var(--blue); }

.legal-section {
  margin-bottom: 44px;
  scroll-margin-top: 100px;
}
.legal-section h2 {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.legal-section p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-section li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-section li b,
.legal-section p b { color: var(--ink); font-weight: 600; }
.legal-section a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.legal-section a:hover { text-decoration-color: var(--blue); }

.legal-callout {
  padding: 16px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--blue-soft);
  color: var(--ink-2) !important;
  font-size: 14px !important;
}

.legal-footer-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .legal { padding: 40px 0 64px; }
  .legal-wrap { width: calc(100% - 40px); }
  .legal-lead { font-size: 16px; }
  .legal-toc { padding: 20px; }
  .legal-section h2 { font-size: 19px; }
}

/* ============================================================
   页头 Logo 图片替换
   ============================================================ */
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

/* 移动端稍微收一点 */
@media (max-width: 640px) {
  .brand-logo { height: 32px; }
}

/* ============================================================
   Hero 重设计 + 四格快捷入口
   （追加在文件末尾，覆盖旧 Hero 规则）
   ============================================================ */

/* ---------- Hero 布局 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  /* align-items: center; */
  padding: 64px 0 56px;
  background: #fff;
}

.hero .hero-content {
  grid-column: 1;
  grid-row: 1;
  max-width: 560px;
}

/* ---------- Eyebrow ---------- */
.hero .eyebrow {
  color: var(--blue);
  margin-bottom: 24px;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- H1 三行 ---------- */
.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero h1 .hero-accent {
  color: var(--blue);
}

/* ---------- 副标题 ---------- */
.hero-content > p.hero-sub {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 按钮组 ---------- */
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 0 0 24px;
}

.hero .button.primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}
.hero .button.primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.hero .button.primary :is(svg,.yc-svg-icon) {
  transition: transform 0.2s ease;
}
.hero .button.primary:hover :is(svg,.yc-svg-icon) {
  transform: translateX(3px);
}

.hero .button.ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  background: transparent;
  border: none;
}
.hero .button.ghost:hover {
  color: var(--blue-dark);
}

/* ---------- 底部信任小字 ---------- */
.hero-content > p.hero-reassure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-reassure :is(svg,.yc-svg-icon) {
  flex-shrink: 0;
  color: var(--green);
}

/* ---------- 右侧图片 + 浮层卡片 ---------- */
.hero .hero-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 560px;
  background: var(--soft);
}
.hero .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.hero-overlay-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(13, 52, 76, 0.14);
}
.hero-overlay-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.hero-overlay-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero-overlay-text strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.hero-overlay-text span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* ---------- 四格快捷入口 ---------- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--container), calc(100% - 64px));
  margin: 40px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.15s;
}
.quick-link:last-child { border-right: 0; }
.quick-link:hover { background: var(--soft); }

.quick-link-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.quick-link-icon :is(svg,.yc-svg-icon) {
  width: 22px;
  height: 22px;
}

.quick-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.quick-link-text strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.quick-link-text small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.quick-link-arrow {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.quick-link:hover .quick-link-arrow {
  transform: translate(3px, -3px);
}

/* ---------- 响应式：1040px ---------- */
@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 40px;
  }
  .hero .hero-content {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }
  .hero .hero-visual {
    grid-column: 1;
    grid-row: auto;
    height: 420px;
  }
  .quick-links {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }
  .quick-link:nth-child(2) { border-right: 0; }
  .quick-link:nth-child(1),
  .quick-link:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- 响应式：640px ---------- */
@media (max-width: 640px) {
  .hero {
    padding: 32px 0 32px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.12;
    margin-bottom: 20px;
  }
  .hero-content > p.hero-sub {
    font-size: 16px;
    margin-bottom: 26px;
  }
  .hero .actions {
    gap: 20px;
    margin-bottom: 20px;
  }
  .hero .button.primary {
    padding: 14px 20px;
    font-size: 14px;
  }
  .hero .button.ghost {
    padding: 14px 0;
    font-size: 14px;
  }
  .hero-content > p.hero-reassure {
    font-size: 13px;
  }

  .hero .hero-visual {
    height: 320px;
    border-radius: var(--radius);
  }
  .hero-overlay-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 10px;
  }
  .hero-overlay-icon {
    width: 38px;
    height: 38px;
  }
  .hero-overlay-icon :is(svg,.yc-svg-icon) { width: 18px; height: 18px; }
  .hero-overlay-text strong { font-size: 14px; }
  .hero-overlay-text span { font-size: 12px; }

  .quick-links {
    grid-template-columns: 1fr;
    margin-top: 24px;
    width: calc(100% - 40px);
  }
  .quick-link {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }
  .quick-link:last-child { border-bottom: 0; }
}

/* ---------- 中文排版微调 ---------- */
html[lang='zh-CN'] .hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
html[lang='zh-CN'] .hero .eyebrow {
  letter-spacing: 0.08em;
}
html[lang='zh-CN'] .hero-content > p.hero-sub {
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  html[lang='zh-CN'] .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  html[lang='zh-CN'] .hero-content > p.hero-sub {
    font-size: 15px;
  }
}

/* 同时给快捷入口留一点下方呼吸空间 */
.quick-links {
  margin-bottom: 0;
}

/* 页头去掉 CTA 后，语言切换单独靠右，和导航之间留出间距 */
.header .lang {
  margin-left: 16px;
}

/* 窄屏下 nav 展开时，语言切换保持原位不移动 */
@media (max-width: 1040px) {
  .header .lang { margin-left: auto; }
}

/* 图标与第一行文字垂直居中（而不是整个文本块） */
.hero-content > p.hero-reassure {
  align-items: flex-start;
}

.hero-reassure :is(svg,.yc-svg-icon) {
  /* 第一行行高 1.5em，图标 18px，
     顶部偏移 = (1.5em - 18px) / 2 */
  margin-top: calc((1.5em - 18px) / 2);
}

/* ============================================================
   Mobile polish
   ============================================================ */
@media (max-width: 768px) {
  .hero,
  .quick-trust,
  .fit-grid,
  .service-grid,
  .treatment-grid,
  .hospital-grid,
  .doctor-grid,
  .process ol,
  .case-band,
  .pricing-grid,
  .about-grid,
  .privacy-grid,
  .faq-layout,
  .faq-grid,
  .stories-grid,
  .assessment {
    grid-template-columns: 1fr;
  }

  .fit-grid,
  .service-grid,
  .treatment-grid,
  .hospital-grid,
  .doctor-grid,
  .pricing-grid,
  .about-grid,
  .privacy-grid,
  .stories-grid {
    gap: 18px;
  }

  .fit-grid article,
  .service-grid article,
  .treatment-grid article,
  .hospital-card-body,
  .doctor-grid div,
  .price-card,
  .about-grid article,
  .privacy-grid article,
  .story-card {
    padding: 24px;
  }

  .fit-grid h3,
  .service-grid h3,
  .doctor-grid h3 {
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .fit-grid p,
  .service-grid p,
  .treatment-grid p,
  .doctor-grid p,
  .hospital-card .desc,
  .story-summary {
    font-size: 15px;
    line-height: 1.65;
  }

  .process li {
    min-height: auto;
  }

  .case-band {
    min-height: auto;
  }

  .faq-image {
    position: relative;
    top: auto;
    height: 320px;
  }
}

@media (max-width: 900px) {
  .fit-grid,
  .service-grid,
  .treatment-grid,
  .doctor-grid,
  .process ol,
  .pricing-grid,
  .about-grid,
  .privacy-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .footer-inner,
  .footer-bottom {
    width: min(var(--container), calc(100% - 40px));
  }

  .header {
    flex-wrap: wrap;
    align-content: center;
    min-height: 74px;
    padding: 12px 16px;
  }

  .brand-logo {
    height: 34px;
  }

  .header .lang {
    margin-left: auto;
  }

  .lang a {
    padding: 5px 9px;
    font-size: 12px;
  }

  .menu {
    min-height: 38px;
    padding: 0;
    border-radius: 8px;
    font-size: 0;
  }

  nav {
    left: 0;
    right: 0;
    top: 74px;
    gap: 0;
    padding: 8px 20px 12px;
    border-width: 1px 0;
    border-radius: 0;
    box-shadow: 0 14px 28px rgba(13, 52, 76, 0.08);
  }

  nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  nav a:last-child {
    border-bottom: 0;
  }

  h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  html[lang='zh-CN'] h2 {
    font-size: 28px;
    line-height: 1.22;
  }

  .section-head {
    max-width: 100%;
  }

  .section-head p:last-child {
    font-size: 16px;
    line-height: 1.65;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .button {
    justify-content: center;
  }

  .form-row,
  .refund-table tbody tr {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 30px;
  }

  .lang {
    margin-left: auto;
  }

  .menu {
    margin-left: auto;
  }
}


/* Homepage rhythm: care support, hospital resources, costs and trust. */
.home-page {
  --section-space: 88px;
  --page-gutter: 32px;
}
.home-page > .section {
  padding-block: var(--section-space);
}
.home-page > .section-band {
  width: 100%;
  padding-inline: max(var(--page-gutter), calc((100% - var(--container)) / 2));
  background: #f2f7fa;
}
.home-page > .section:not(.section-band) + .section:not(.section-band) {
  padding-top: 24px;
}
.home-page .section-band .service-grid article,
.home-page .section-band .hospital-card,
.home-page .section-band .privacy-grid article {
  background: #fff;
  border-color: #e2ebf0;
}
.home-page .section-head { max-width: 820px; }
.home-page .section-head h2 { line-height: 1.22; }
.home-page .service-grid article,
.home-page .price-card,
.home-page .privacy-grid article {
  border-radius: 14px;
}
.home-page .service-grid article { padding: 28px; }
.home-page .section-band .service-grid article:hover {
  border-color: #b3cfdf;
  background: #fff;
}
.home-page > .case-band {
  width: 100%;
  margin-block: 0;
  padding: 64px max(var(--page-gutter), calc((100% - var(--container)) / 2));
  gap: 56px;
  border-radius: 0;
  min-height: 0;
  align-items: center;
}
.home-page > .case-band img {
  height: 100%;
  max-height: 480px;
  min-height: 340px;
  border-radius: 14px;
}
.home-page > .case-band > div { padding: 16px 0; }
.home-page > .case-band p:not(.eyebrow) { color: #d5e2e9; }
.home-page > .assessment {
  padding-block: var(--section-space);
  background: #eef5f9;
}
@media (max-width: 1040px) {
  .home-page { --section-space: 72px; }
  .home-page > .case-band { gap: 32px; }
}
@media (max-width: 760px) {
  .home-page > .case-band { grid-template-columns: 1fr; }
  .home-page > .case-band img { min-height: 0; max-height: 360px; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .home-page { --section-space: 56px; --page-gutter: 20px; }
  .home-page > .case-band { padding-block: 40px; gap: 24px; }
  .home-page > .section:not(.section-band) + .section:not(.section-band) { padding-top: 16px; }
  .home-page .service-grid article { padding: 24px; }
}


/* Separate specialist profiles from case-coordination preparation. */
.specialist-notice { margin: -20px 0 28px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.specialist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.specialist-card { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; }
.specialist-card > img { aspect-ratio: 1 / 1; object-position: center 30%; }
.specialist-body { padding: 24px 24px 18px; }
.specialist-body .specialist-kicker { font-size: 12px; letter-spacing: .12em; color: var(--blue); font-weight: 700; margin-bottom: 16px; }
.specialist-body h3 { font-size: 26px; font-weight: 500; margin-bottom: 12px; }
.specialist-location { font-size: 14px; }
.specialist-body .specialist-focus { color: var(--ink); font-weight: 600; margin: 24px 0 8px; }
.specialist-body > p { line-height: 1.75; }
.specialist-details { margin-top: 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.specialist-details summary { display: flex; justify-content: space-between; align-items: center; color: var(--blue); font-weight: 600; cursor: pointer; min-height: 44px; list-style: none; }
.specialist-details summary::-webkit-details-marker { display: none; }
.specialist-details summary span { font-size: 24px; font-weight: 400; }
.specialist-details[open] summary span { transform: rotate(45deg); }
.specialist-details p { margin: 6px 0 0; padding: 0; font-size: 14px; line-height: 1.65; }
.specialist-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.review-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.review-layout .section-head { margin-bottom: 0; }
.review-layout .button { margin-top: 28px; }
.review-steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.review-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.review-number { color: var(--blue); font-size: 13px; font-weight: 700; padding-top: 4px; }
.review-steps h3 { font-size: 19px; margin-bottom: 10px; }
.review-steps p { font-size: 15px; line-height: 1.75; }
@media (max-width: 900px) {
  .review-layout { grid-template-columns: 1fr; gap: 36px; }
  .specialist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .specialist-body { padding: 24px 24px 18px; }
}
@media (max-width: 640px) {
  .specialist-grid { grid-template-columns: 1fr; }
  .specialist-notice { margin-top: -12px; }
  .specialist-card > img { aspect-ratio: 1 / 1; }
}

.back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 16px rgba(13, 52, 76, .18);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: none; }
}

/* ============================================================
   WordPress integration (zero-plugin theme additions)
   ============================================================ */

/* --- wp_nav_menu (primary) --------------------------------- */
.nav-menu,
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu li { position: relative; }
@media (max-width: 1040px) {
  nav .nav-menu,
  nav .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
}

/* Custom logo (Customizer > Site Identity) */
.brand .custom-logo { width: auto; max-height: 40px; }
.brand .custom-logo-link { display: inline-flex; }
.footer-logo { width: auto; max-height: 44px; }

/* Admin bar offset for the sticky header */
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
@media screen and (min-width: 783px) {
  .admin-bar .header { top: 32px; }
}
@media (max-width: 1040px) {
  .admin-bar nav { top: calc(76px + 32px); }
}
@media (max-width: 782px) {
  .admin-bar nav { top: calc(76px + 46px); }
}
@media (max-width: 640px) {
  .admin-bar nav { top: calc(68px + 46px); }
}

/* --- Form states (native zero-plugin handler) -------------- */
.form-note.is-error { color: #b3261e; }
.form-note.is-hidden { display: none; }

/* --- Page / post content (prose) ---------------------------- */
.page-main,
.archive-main {
  padding: 56px 0 88px;
  width: min(var(--container), calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .page-main, .archive-main { padding: 32px 0 56px; }
}
.entry-content,
.legal-wrap {
  max-width: 860px;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 1.4em 0 .5em; }
.entry-content h2 { font-size: clamp(26px, 2.6vw, 34px); }
.entry-content p { color: var(--muted); margin: 0 0 1.1em; }
.entry-content ul,
.entry-content ol { color: var(--muted); margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--blue); }
.entry-content blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-style: italic;
}
.entry-content img,
.entry-content figure img { height: auto; border-radius: var(--radius); }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption,
.wp-caption-text { color: var(--muted-2); font-size: 13px; text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.entry-content th,
.entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--soft); color: var(--ink); }
.entry-content code,
.entry-content pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.entry-content pre { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content iframe { max-width: 100%; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { margin-left: -60px; margin-right: -60px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
@media (max-width: 900px) { .alignwide { margin-left: 0; margin-right: 0; } }
.wp-block-image img { height: auto; }

/* --- Posts list (index / archive / search) ------------------ */
.posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 640px) { .posts-list { grid-template-columns: 1fr; } }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card .post-thumb { border-radius: var(--radius); overflow: hidden; }
.post-card .post-thumb img { height: 210px; }
.post-card h2 { font-size: 22px; line-height: 1.3; }
.post-card h2 a:hover { color: var(--blue); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted-2);
  font-size: 13px;
}
.post-meta a { color: var(--muted); }
.post-excerpt { color: var(--muted); font-size: 15px; }
.post-card .button.ghost { align-self: flex-start; margin-top: auto; }
.archive-title h1 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 8px; }
.archive-title p { color: var(--muted); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s, color .15s, background .15s;
}
.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* --- 404 ---------------------------------------------------- */
.error404-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 32px;
}
.error404-main h1 { font-size: clamp(60px, 12vw, 120px); color: var(--blue); line-height: 1; }
.error404-main .button { margin-top: 24px; }

/* --- Single post -------------------------------------------- */
.single-head { margin-bottom: 36px; }
.single-head h1 { font-size: clamp(30px, 3.4vw, 46px); margin: 12px 0; }
.single-head .post-meta { margin-bottom: 8px; }
.single-thumb img { height: 420px; border-radius: var(--radius-lg); margin-bottom: 36px; }
@media (max-width: 640px) { .single-thumb img { height: 260px; } }
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-navigation a { color: var(--blue); font-weight: 600; }
.post-navigation .nav-next { margin-left: auto; text-align: right; }

/* --- Comments ----------------------------------------------- */
.comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments-area .comments-title { font-size: 24px; margin-bottom: 20px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .comment-author { color: var(--ink); font-weight: 600; }
.comment-list .comment-metadata { font-size: 13px; color: var(--muted-2); margin: 4px 0 10px; }
.comment-list .comment-content p { color: var(--muted); }
.comment-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font: inherit;
  margin-bottom: 16px;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 125, 191, .12); }
.comment-form .submit { background: var(--blue); border: 1px solid var(--blue); color: #fff; font-weight: 600; }
.comment-form .submit:hover { background: var(--blue-dark); }

/* --- Search form / utility ----------------------------------- */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 24px 0 0;
}
.search-form .search-field {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
}
.search-form .search-field:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 125, 191, .12);
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================================
   多语言选择器（7 语言）适配
   ============================================================ */
@media (max-width: 640px) {
  .lang {
    border-radius: 10px;
  }
  .lang-toggle {
    padding: 7px 9px;
    font-size: 12px;
  }
}

/* ---------- Polylang-friendly language dropdown ---------- */
.lang {
  position: relative;
  display: inline-block;
  padding: 0;
  border-radius: 9px;
  z-index: 20;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.lang-toggle:hover,
.lang.open .lang-toggle,
.lang-toggle:focus-visible {
  background: var(--blue-light);
  outline: none;
}
.lang-chevron {
  width: 15px;
  height: 15px;
  transition: transform .15s ease;
}
.lang.open .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: auto;
  display: none;
  gap: 2px;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 35, 58, .14);
}
.lang.open .lang-menu { display: grid; }
.lang-option {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.lang-option:hover,
.lang-option:focus-visible,
.lang-option.is-current {
  background: var(--blue-light);
  color: var(--blue-dark);
  outline: none;
}

/* ============================================================
   独立内容页（SEO/GEO）—— 页面骨架、面包屑、内容组件
   ============================================================ */

/* 语言下拉与若干组件引用了未定义的 --blue-light，这里补齐 */
:root { --blue-light: #e6f3fa; }

/* ---------- 页面骨架 ---------- */
.page-shell {
  padding: 34px 0 88px;
  background: #fff;
}
.page-wrap {
  width: min(920px, calc(100% - 64px));
  margin: 0 auto;
}
.page-article { display: block; }

.page-hero {
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.page-lead {
  margin: 16px 0 0;
  max-width: 780px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13px;
}
.page-content { max-width: none; }

/* ---------- 面包屑 ---------- */
.yc-breadcrumb { margin-bottom: 24px; }
.yc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.yc-breadcrumb li { display: inline-flex; align-items: center; color: var(--muted-2); }
.yc-breadcrumb li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--line-2);
}
.yc-breadcrumb a { color: var(--muted); }
.yc-breadcrumb a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.yc-breadcrumb span[aria-current] { color: var(--ink-2); font-weight: 500; }

/* ---------- 直答摘要（answer-first） ---------- */
.yc-answer {
  margin: 0 0 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--blue-soft);
}
.yc-answer-label {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.yc-answer p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}
.yc-answer p + p { margin-top: 12px; }
.yc-answer ul,
.yc-answer ol { margin: 12px 0 0; padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ---------- 分节 ---------- */
.yc-section,
.page-content > section { margin-bottom: 48px; scroll-margin-top: 100px; }
.page-content h2,
.yc-section h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.page-content h3,
.yc-section h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.page-content p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.page-content ul,
.page-content ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.page-content li { margin-bottom: 8px; }
.page-content li b { color: var(--ink); font-weight: 600; }
.page-content strong { color: var(--ink); }

/* ---------- 提示块 ---------- */
.yc-note {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--soft);
}
.yc-note.is-info { border-left-color: var(--blue); background: var(--blue-soft); }
.yc-note.is-warn { border-left-color: #d98324; background: #fdf6ec; }
.yc-note.is-ok { border-left-color: var(--green); background: var(--green-soft); }
.yc-note strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.yc-note p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.yc-note p + p { margin-top: 8px; }
.yc-note ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* ---------- 卡片网格 ---------- */
.yc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.yc-cards[data-cols='2'] { grid-template-columns: repeat(2, 1fr); }
.yc-cards[data-cols='4'] { grid-template-columns: repeat(4, 1fr); }
.yc-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.yc-card.is-linked { cursor: pointer; }
.yc-card.is-linked:hover {
  border-color: var(--blue);
  background: var(--soft-2);
  transform: translateY(-2px);
}
.yc-card-kick {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.yc-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.yc-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.yc-card p:last-child { margin-bottom: 0; }
.yc-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.yc-card-cta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.yc-card-cta::after { content: ' →'; }

/* ---------- 编号步骤 / 时间线 ---------- */
.yc-steps {
  display: grid;
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: yc-step;
  border-top: 1px solid var(--line);
}
.yc-steps li {
  position: relative;
  padding: 22px 0 22px 56px;
  border-bottom: 1px solid var(--line);
  counter-increment: yc-step;
}
.yc-steps li::before {
  content: counter(yc-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.yc-step-head { margin-bottom: 6px; }
.yc-steps li .yc-step-head b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; }
.yc-steps li em {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 13px;
  font-style: normal;
}
.yc-steps li p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- 清单 ---------- */
.yc-checklist { margin: 0 0 28px; }
.yc-checklist-title { margin-bottom: 12px; }
.yc-checklist-title b { color: var(--ink); font-size: 15px; font-weight: 700; }
.yc-checklist ul { margin: 0; padding: 0; list-style: none; }
.yc-checklist li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.yc-checklist li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .52em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.yc-checklist li b { color: var(--ink); font-weight: 600; }

/* ---------- 能做 / 不能承诺 ---------- */
.yc-compare { margin: 0 0 32px; }
.yc-compare-col {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.yc-compare-col.is-can { border-top: 3px solid var(--green); }
.yc-compare-col.is-cannot { border-top: 3px solid var(--muted-2); background: var(--soft); }
.yc-compare-title { margin-bottom: 14px; }
.yc-compare-title b { color: var(--ink); font-size: 15px; font-weight: 700; }
.yc-compare-col ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.yc-compare-col li { margin-bottom: 8px; }
.yc-compare-col p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- 数据表 ---------- */
.yc-table-wrap {
  margin: 0 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.yc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}
.yc-table th,
.yc-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.yc-table thead th {
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.yc-table tbody th { color: var(--ink); font-weight: 600; width: 30%; }
.yc-table tbody td { color: var(--muted); }
.yc-table tbody tr:last-child th,
.yc-table tbody tr:last-child td { border-bottom: 0; }
.yc-table-note { margin: 0 0 28px; color: var(--muted-2); font-size: 13px; line-height: 1.65; }
.yc-table + .yc-table-note { margin-top: -6px; }

/* ---------- 关键事实条 ---------- */
.yc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: 0 0 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.yc-facts > div { padding: 18px 20px; background: #fff; }
.yc-facts dt {
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.yc-facts dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; }

/* ---------- FAQ ---------- */
.yc-faq { margin: 0 0 32px; }
.yc-faq-title { margin-bottom: 6px; }
.yc-faq-title b { color: var(--ink); font-size: 15px; font-weight: 700; }
.yc-faq details { border-bottom: 1px solid var(--line); }
.yc-faq details:first-of-type { border-top: 1px solid var(--line); }
.yc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.yc-faq summary::-webkit-details-marker { display: none; }
.yc-faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}
.yc-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.yc-faq summary:hover { color: var(--blue); }
.yc-faq-answer { padding: 0 48px 22px 0; }
.yc-faq-answer p { margin: 0 0 10px; max-width: 700px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.yc-faq-answer p:last-child { margin-bottom: 0; }
.yc-faq-answer ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- 内链卡片 ---------- */
.yc-links-block { margin: 0 0 32px; }
.yc-links-title { margin-bottom: 14px; }
.yc-links-title b { color: var(--ink); font-size: 15px; font-weight: 700; }
.yc-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.yc-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.yc-link-card:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
}
.yc-link-card strong { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.yc-link-card span { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ---------- 区块级"了解更多" ---------- */
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}
.section-more::after {
  content: '→';
  transition: transform .15s ease;
}
.section-more:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.section-more:hover::after { transform: translateX(4px); }

/* ---------- 相关页 ---------- */
.yc-related {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.yc-related-title { margin: 0 0 20px; color: var(--ink); font-size: 18px; font-weight: 600; }

/* ---------- 页内目录 ---------- */
.page-wrap .legal-toc { margin-bottom: 44px; }

/* ---------- 内容区表单 ---------- */
.page-content .review-form,
.assessment .review-form { margin: 0; }
.review-form { display: grid; gap: 18px; }
.review-form .button { justify-self: start; }

/* ---------- 导航下拉 ---------- */
.menu-item-has-children { display: flex; align-items: center; gap: 2px; }
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.submenu-toggle :is(svg,.yc-svg-icon) { width: 14px; height: 14px; transition: transform .15s ease; }
.submenu-toggle[aria-expanded='true'] :is(svg,.yc-svg-icon) { transform: rotate(180deg); }
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.nav-menu .sub-menu.is-open { display: block; }
.nav-menu .sub-menu li { display: block; width: 100%; }
.nav-menu .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-menu .sub-menu a:hover { background: var(--blue-soft); color: var(--blue-dark); }

@media (max-width: 1040px) {
  .menu-item-has-children { display: block; }
  .submenu-toggle { position: absolute; right: 0; top: 10px; }
  .nav-menu .sub-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 14px;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .yc-cards,
  .yc-cards[data-cols='4'] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .yc-compare.compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-shell { padding: 24px 0 64px; }
  .page-wrap { width: calc(100% - 40px); }
  .page-hero h1 { font-size: clamp(26px, 7vw, 32px); }
  .page-lead { font-size: 16px; }
  .yc-cards,
  .yc-cards[data-cols='2'],
  .yc-cards[data-cols='4'] { grid-template-columns: 1fr; }
  .yc-answer { padding: 20px; }
  .yc-answer p { font-size: 16px; }
  .page-content h2,
  .yc-section h2 { font-size: 19px; }
  .yc-steps li { padding-left: 44px; }
  .yc-faq-answer { padding-right: 0; }
  .yc-related { margin-top: 48px; }
}

/* ---------- 中文排版微调 ---------- */
html[lang='zh-CN'] .yc-answer p { font-size: 16px; }
html[lang='zh-CN'] .yc-faq summary { font-size: 15px; }
html[lang='zh-CN'] .page-content p,
html[lang='zh-CN'] .page-content li { font-size: 15px; line-height: 1.8; }
