/*
Theme Name: 雅礼医桥 V2 MedBridge China
Theme URI: https://www.yahleemedical.com
Author: 雅礼医桥
Author URI: https://www.yahleemedical.com
Description: 雅礼医桥（MedBridge China）双语官网主题 V2。入境医疗陪护 + 配套旅游衔接，全站中英双语切换，价格以美元计并可在后台自由修改。所有文案、服务、医院、案例、报价、FAQ 均为后台可编辑内容，不写死在代码里。
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yaliyiqiao
Tags: responsive-layout, custom-menu, custom-logo, translation-ready, bilingual
*/

/* ==========================================================================
   品牌变量
   ========================================================================== */
:root {
  --navy-900: #002538;
  --navy-800: #003049;
  --navy-700: #05445e;
  --teal-500: #00bfa5;
  --teal-400: #1de9b6;
  --teal-100: #e0f7fa;
  --gray-50: #f6f9fa;
  --gray-100: #eef3f5;
  --gray-300: #d5e0e4;
  --gray-600: #5a6b75;
  --gray-900: #1a2a33;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 45px rgba(0, 37, 56, 0.12);
  --shadow-sm: 0 6px 18px rgba(0, 37, 56, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: Georgia, "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }

body.admin-bar header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header { top: 46px; } }

/* ==========================================================================
   导航
   ========================================================================== */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,37,56,0.06);
}
nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand-logo-img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.brand-text { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-sub { font-size: 0.72rem; color: var(--gray-600); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links li { list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: 0.93rem; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--teal-500); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--navy-900); color: var(--white);
  padding: 10px 22px; border-radius: 999px; font-size: 0.9rem;
  text-decoration: none; transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-700); color: var(--white); }

/* 语言切换 */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; background: var(--gray-100); border-radius: 999px; padding: 3px; }
.lang-switch a {
  font-size: 0.78rem; padding: 5px 12px; border-radius: 999px;
  text-decoration: none; color: var(--gray-600); transition: all .2s; letter-spacing: 0.04em;
}
.lang-switch a.is-active { background: var(--navy-900); color: var(--white); font-weight: 600; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

@media (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.88rem; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; order: 2; }
  .brand { order: 1; }
  .nav-open nav { flex-wrap: wrap; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 16px; order: 3; width: 100%;
    padding: 18px 0 6px; margin-top: 14px;
    border-top: 1px solid rgba(0,37,56,0.08);
  }
  .nav-open .nav-cta,
  .nav-open .lang-switch { display: inline-flex; }
  .nav-open .nav-cta { order: 4; width: -moz-fit-content; width: fit-content; margin: 12px 0 4px; }
  .nav-open .lang-switch { order: 5; margin-bottom: 10px; }
  .nav-open .nav-wrap { display: flex; flex-direction: column; width: 100%; }
}
.nav-wrap { display: contents; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(29,233,182,0.14), transparent 35%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 140px 24px 90px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 45 H5 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .6;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,191,165,0.15); color: var(--teal-400);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 22px; border: 1px solid rgba(0,191,165,0.25);
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.14; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.03em; }
.hero h1 span { display: block; font-size: 0.42em; color: var(--teal-400); font-weight: 400; margin-top: 12px; letter-spacing: 0.02em; }
.hero-sub { font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--teal-500); color: var(--navy-900); font-weight: 700;
  padding: 14px 32px; border-radius: 999px; text-decoration: none;
  transition: transform .2s, box-shadow .2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,191,165,0.28); color: var(--navy-900); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45); color: var(--white);
  padding: 14px 32px; border-radius: 999px; text-decoration: none;
  transition: background .2s; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-dark { background: var(--navy-900); color: var(--white); padding: 14px 32px; border-radius: 999px; text-decoration: none; display: inline-block; transition: background .2s; }
.btn-dark:hover { background: var(--navy-700); color: var(--white); }

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 32px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-card .label {
  display: inline-block; background: rgba(0,191,165,0.18); color: var(--teal-400);
  padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; margin-bottom: 16px;
}
.hero-card h2 { font-size: 2rem; margin-bottom: 8px; font-weight: 600; }
.hero-card .pinyin { color: var(--teal-400); font-size: 1rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.hero-card .pronounce { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 20px; }
.hero-card .full-name { background: rgba(255,255,255,0.1); padding: 12px 16px; border-radius: 12px; font-size: 0.92rem; line-height: 1.6; }
.hero-card .full-name strong { color: var(--teal-400); font-weight: 600; }
.hero-card .tagline {
  margin-top: 18px; font-family: Georgia, "Songti SC", serif; font-style: italic;
  color: rgba(255,255,255,0.8); font-size: 1rem;
}
.hero-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); display: grid; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.hero-meta a { color: var(--teal-400); text-decoration: none; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
}

/* ==========================================================================
   通用区块
   ========================================================================== */
section { padding: 96px 24px; }
section.tight { padding: 64px 24px; }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--navy-900); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 1.02rem; }
.section-head .kicker { display: block; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 12px; font-weight: 600; }
.alt-bg { background: var(--white); }
.dark-bg { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--white); }
.dark-bg .section-head h2, .dark-bg .section-head p { color: var(--white); }
.dark-bg .section-head p { opacity: .75; }

/* 卡片网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-top: 4px solid var(--teal-500);
}
.card h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: 0.95rem; }

/* 服务项 */
.service-item { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--gray-50); transition: transform .2s, box-shadow .2s; }
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: grid; place-items: center; color: var(--teal-400); font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.service-icon svg, .service-icon img { display: block; }
.service-icon img { border-radius: 8px; }
.service-item h3 { color: var(--navy-900); margin-bottom: 6px; font-size: 1.12rem; }
.service-item p { color: var(--gray-600); font-size: 0.93rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-list span { background: var(--teal-100); color: var(--navy-700); font-size: 0.78rem; padding: 4px 10px; border-radius: 6px; }

/* 优势 / 差异化 */
.why-box { background: var(--white); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.why-box .num { font-size: 2.2rem; font-weight: 700; color: var(--teal-500); display: block; margin-bottom: 10px; line-height: 1; }
.why-icon { display: flex; justify-content: center; align-items: center; color: var(--teal-500); margin-bottom: 14px; }
.why-icon svg { display: block; }
.why-icon img { width: 44px; height: 44px; object-fit: contain; }
.why-box h3 { font-size: 1.08rem; color: var(--navy-900); margin-bottom: 8px; }
.why-box p { color: var(--gray-600); font-size: 0.9rem; }

/* 流程时间线 */
.steps { display: flex; justify-content: space-between; gap: 18px; position: relative; flex-wrap: wrap; }
.steps::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: rgba(0,191,165,0.35); z-index: 0; }
.step { position: relative; z-index: 1; flex: 1; min-width: 110px; text-align: center; }
.step .dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem; line-height: 1;
  margin: 0 auto 14px; box-shadow: 0 8px 24px rgba(0,191,165,0.25);
  overflow: hidden;
}
.step .dot svg { display: block; width: 26px; height: 26px; }
.step .dot img { display: block; width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.step .dot .icon-fallback { display: block; color: var(--navy-900); font-weight: 700; font-size: 1.05rem; }
.step h3 { font-size: 0.98rem; margin-bottom: 4px; }
.step p { opacity: .75; font-size: 0.82rem; }
@media (max-width: 760px) { .steps { flex-direction: column; gap: 26px; } .steps::before { display: none; } }

/* ==========================================================================
   价格表（报价页）
   ========================================================================== */
.price-table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.price-table th, table.price-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; }
table.price-table thead th { background: var(--navy-900); color: var(--white); font-weight: 600; font-size: 0.9rem; }
table.price-table thead th:first-child { text-align: left; border-radius: var(--radius) 0 0 0; }
table.price-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
table.price-table tbody th { text-align: left; font-weight: 600; color: var(--navy-900); background: var(--gray-50); white-space: nowrap; }
table.price-table tbody tr:hover td { background: var(--teal-100); }
.price-cell { font-weight: 700; color: var(--navy-700); font-size: 1.05rem; }
.price-cell .cur { font-size: 0.8em; color: var(--gray-600); font-weight: 500; }
.price-empty { color: var(--gray-300); font-weight: 400; }
.price-note { margin-top: 20px; padding: 20px 24px; background: var(--gray-50); border-left: 4px solid var(--teal-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--gray-600); font-size: 0.92rem; }

/* 套餐卡片 */
.plan-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-card.featured { border: 2px solid var(--teal-500); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal-500); color: var(--navy-900); font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.plan-card h3 { font-size: 1.25rem; color: var(--navy-900); margin-bottom: 4px; }
.plan-card .plan-dur { color: var(--teal-500); font-size: 0.88rem; font-weight: 600; margin-bottom: 16px; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.plan-price .cur { font-size: 0.55em; color: var(--gray-600); font-weight: 500; }
.plan-price-note { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 18px; }
.plan-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan-includes li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--gray-600); align-items: flex-start; }
.plan-includes li::before { content: "✓"; color: var(--teal-500); font-weight: 700; flex-shrink: 0; }

/* 价格阶梯（城市） */
.city-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--gray-300); font-size: 0.93rem; }
.city-row:last-child { border-bottom: none; }
.city-row .cname { color: var(--navy-900); font-weight: 600; }
.city-row .cprice { color: var(--navy-700); font-weight: 700; }

/* ==========================================================================
   医院卡片
   ========================================================================== */
.hospital-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.hospital-card:hover { transform: translateY(-4px); }
.hospital-thumb { height: 190px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); display: grid; place-items: center; overflow: hidden; }
.hospital-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hospital-thumb .ph { color: rgba(255,255,255,0.5); font-size: 0.9rem; text-align: center; padding: 20px; }
.hospital-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.hospital-tag { display: inline-block; background: var(--teal-100); color: var(--navy-700); font-size: 0.75rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }
.hospital-body h3 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 6px; }
.hospital-body .hosp-city { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 12px; }
.hospital-body p { color: var(--gray-600); font-size: 0.9rem; flex: 1; }
.hospital-dept { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-100); font-size: 0.85rem; color: var(--navy-700); }

/* ==========================================================================
   案例卡片
   ========================================================================== */
.case-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.case-card:hover { transform: translateY(-4px); }
.case-thumb { height: 200px; background: var(--gray-100); display: grid; place-items: center; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb .ph { color: var(--gray-300); font-size: 0.9rem; text-align: center; padding: 20px; }
.case-body { padding: 26px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.case-meta span { background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--gray-600); font-size: 0.75rem; padding: 3px 10px; border-radius: 6px; }
.case-body h3 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 10px; }
.case-body p { color: var(--gray-600); font-size: 0.9rem; }
.case-result { margin-top: 14px; padding: 14px 16px; background: var(--teal-100); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--navy-700); }

/* 空白占位提示（仅前台样例，可在后台替换） */
.placeholder-box { border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--gray-600); background: var(--white); }
.placeholder-box .big { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 8px; font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; color: var(--navy-900); font-size: 1rem; }
.faq-q::after { content: "+"; color: var(--teal-500); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--gray-600); font-size: 0.94rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* ==========================================================================
   联系 / 页脚
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 2rem; color: var(--navy-900); margin-bottom: 14px; }
.contact-info p { color: var(--gray-600); margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--gray-900); }
.contact-list .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-100); display: grid; place-items: center; color: var(--navy-900); flex-shrink: 0; font-weight: 700; font-size: 0.9rem; }
.contact-list .icon svg { display: block; }
.icon-fallback { font-weight: 700; }
.qr { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.qr img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 16px; display: block; }
.qr-placeholder { width: 180px; height: 180px; margin: 0 auto 16px; background: var(--gray-50); border-radius: 12px; border: 1px dashed var(--teal-500); display: grid; place-items: center; color: var(--gray-600); font-size: 0.88rem; text-align: center; padding: 10px; }
.qr .small { color: var(--gray-600); font-size: 0.88rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

footer { background: var(--navy-900); color: rgba(255,255,255,0.65); padding: 48px 24px 36px; font-size: 0.9rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; font-family: inherit; }
footer strong { color: var(--teal-400); }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: var(--teal-400); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { max-width: 1180px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   内页
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white); padding: 150px 24px 70px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(29,233,182,0.16), transparent 38%);
}
.page-hero .inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.02rem; }
.page-hero .kicker { display: block; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 14px; }

.page-wrap { padding: 90px 24px; }
.page-wrap .entry-content h2 { color: var(--navy-900); margin: 34px 0 12px; font-size: 1.45rem; }
.page-wrap .entry-content h3 { color: var(--navy-900); margin: 26px 0 10px; font-size: 1.18rem; }
.page-wrap .entry-content p { margin-bottom: 16px; }
.page-wrap .entry-content ul, .page-wrap .entry-content ol { margin: 0 0 18px 22px; }
.page-wrap .entry-content li { margin-bottom: 8px; }
.page-wrap .entry-content a { color: var(--navy-700); }

/* 数据统计条 */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 16px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.stat .n { font-size: 1.9rem; font-weight: 700; color: var(--teal-500); display: block; line-height: 1.2; }
.stat .l { font-size: 0.85rem; color: var(--gray-600); }
@media (max-width: 760px) { .stat-bar { grid-template-columns: repeat(2, 1fr); } }

/* 提示条 */
.notice-bar { background: var(--teal-100); border-radius: var(--radius-sm); padding: 18px 22px; color: var(--navy-700); font-size: 0.92rem; margin-bottom: 32px; display: flex; gap: 12px; align-items: flex-start; }
.notice-bar .ico { font-size: 1.1rem; flex-shrink: 0; }

.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); word-wrap: normal !important; }

/* 404 */
.notfound { text-align: center; padding: 180px 24px 120px; }
.notfound h1 { font-size: 3rem; color: var(--navy-900); margin-bottom: 12px; }
.notfound p { color: var(--gray-600); margin-bottom: 26px; }

/* ==========================================================================
   图标兜底（V2.1）
   即使后台没选图标、又没填序号，也用 CSS 计数器自动补一个序号，
   保证页面上永远不会出现"空白圆圈 / 空白图标位"。
   ========================================================================== */
.steps { counter-reset: ylyq-step; }
.step { counter-increment: ylyq-step; }
.step .dot:empty::before {
	content: counter( ylyq-step );
	font-weight: 700; font-size: 1.05rem; color: var(--navy-900);
}

.grid-2 { counter-reset: ylyq-svc; }
.service-item { counter-increment: ylyq-svc; }
.service-icon:empty::before {
	content: "0" counter( ylyq-svc );
	font-weight: 700; font-size: 1.1rem; opacity: .9;
}

.grid-4 { counter-reset: ylyq-why; }
.why-box { counter-increment: ylyq-why; }
.why-icon:empty::before,
.why-box .num:empty::before {
	content: "0" counter( ylyq-why );
	font-weight: 700; font-size: 2.2rem; color: var(--teal-500); line-height: 1;
}

/* 内联 SVG 图标的通用可见性保证 */
.service-icon svg, .why-icon svg, .step .dot svg {
	stroke: currentColor; fill: none; stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round;
}
