/* 基础样式重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* ===== 动效 token ===== */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --dur-fast: 0.18s;
  --dur: 0.24s;
  /* ===== 主色 — 深墨青绿 ===== */
  --primary-color: #108078;
  --primary-deep: #0A5F58;
  --primary-hover: #17A094;
  --primary-light: #E1F1ED;
  --primary-soft: #4FA39B;
  --primary-disabled: #A5D0C9;

  /* ===== 点缀色 — 青绿 ===== */
  --accent-color: #0E6E63;
  --accent-deep: #0A4A42;
  --accent-tint: #DFF0EC;
  --price-color: var(--accent-color);

  /* ===== 背景 ===== */
  --bg-color: #F6F5F1;
  --surface: #FFFFFF;
  --surface-alt: #FBFAF7;
  --border-color: #E8E5DE;

  /* ===== 文字 ===== */
  --text-color: #20292B;
  --text-secondary: #5F6B6E;
  --text-tertiary: #9AA1A0;

  /* ===== 语义色 ===== */
  --success-color: #12A38B;
  --success-tint: #DFF3EE;
  --success-border: #B5DFD5;
  --warning-color: #0E6E63;
  --warning-tint: #DFF3EE;
  --warning-border: #B5DFD5;
  --danger-color: #C0533F;
  --danger-tint: #F6E9E6;
  --danger-border: #E3B7AE;

  /* ===== 质感 ===== */
  --card-shadow: 0 2px 8px rgba(16,41,40,0.06);
  --card-hover-shadow: 0 8px 24px rgba(16,41,40,0.10);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

/* ========== 顶部导航 ========== */
.header {
  background: #fff;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 var(--border-color), 0 2px 12px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo-slogan {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--dur) var(--ease-out);
  font-weight: 500;
}

.nav-link.active, .nav-link:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.username {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-color);
  padding: 4px 10px;
  border-radius: 20px;
}

.btn-logout {
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.btn-logout:hover { background: var(--danger-tint); color: var(--danger-color); border-color: var(--danger-color); }

.btn-login {
  padding: 6px 16px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--dur) var(--ease-out);
}
.btn-login:hover { background: var(--primary-hover); }

/* ========== 主内容区 ========== */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}

.page { display: none; }
.page.active { display: block; }

.page-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

/* ========== Hero 区域 ========== */
.hero {
  background: linear-gradient(128deg, #07322D 0%, var(--primary-deep) 42%, var(--primary-color) 78%, #14958A 100%);
  color: #fff;
  padding: 56px 48px 64px;
  margin: 0 0 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
}

/* ===== R48 大首屏（深色沉浸 + 浮动预约卡；接续上方 .hero 基础块）===== */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-left { min-width: 0; }
.hero .hero-title {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  margin: 14px 0 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero .hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  opacity: 0.92;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}
.hero .hero-split {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #C9F5EC;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-bubble {
  position: relative;
  display: inline-block;
  background: #FFE9A8;
  color: #5B4A12;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 14px 14px 14px 4px;
  margin-bottom: 16px;
  transform: rotate(-1.2deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.hero-bubble-tail {
  position: absolute;
  left: 18px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #FFE9A8;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero .hero-cta-row { justify-content: flex-start; margin-top: 6px; }
.hero .hero-trust { text-align: left; margin-top: 20px; font-size: 13.5px; }
.hero-deco { position: absolute; pointer-events: none; z-index: 1; }
.hero-deco-ring {
  width: 560px; height: 560px;
  right: -160px; top: -180px;
  border: 44px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.hero-deco-ring::after {
  content: '';
  position: absolute;
  inset: 70px;
  border: 20px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}
.hero-deco-dots {
  left: -70px; bottom: -80px;
  width: 260px; height: 200px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
}
.hero-deco-glow {
  left: 32%; bottom: -240px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 62%);
  border-radius: 50%;
}
/* 右侧浮动预约卡（白卡悬浮） */
.hero-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px 26px 26px;
  text-align: center;
  color: var(--text-color, #1a2e2b);
  box-shadow: 0 24px 60px rgba(3, 32, 29, 0.35);
  overflow: hidden;
}
.hero-card-glow {
  position: absolute;
  top: -70px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 140px;
  background: radial-gradient(ellipse, var(--primary-light, #E1F1ED) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-icon {
  position: relative;
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-color, #108078), var(--primary-deep, #0A5F58));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(16, 128, 120, 0.32);
}
.hero-card-title { position: relative; font-size: 20px; font-weight: 800; letter-spacing: 0.5px; }
.hero-card-sub { position: relative; font-size: 12.5px; color: var(--text-secondary, #5a6b68); margin: 6px 0 18px; }
.hero-card-btn {
  position: relative;
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 13px 0;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--primary-color, #108078), var(--primary-deep, #0A5F58));
  box-shadow: 0 10px 24px rgba(16, 128, 120, 0.35);
  transition: transform var(--dur-fast, 0.18s) var(--ease-out, ease), box-shadow var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.hero-card-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 128, 120, 0.42); }
.hero-card-phone {
  position: relative;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color, rgba(0, 0, 0, 0.1));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-card-phone-label { font-size: 11.5px; color: var(--text-tertiary, #9aa1a0); letter-spacing: 2px; }
.hero-card-phone-num { font-size: 21px; font-weight: 800; color: var(--primary-color, #108078); letter-spacing: 0.5px; font-variant-numeric: tabular-nums; }
.hero-card-trust { position: relative; margin-top: 12px; font-size: 11.5px; color: var(--text-secondary, #5a6b68); }

@media (max-width: 960px) {
  .hero { padding: 40px 20px 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-card { max-width: 460px; margin: 0 auto; }
  .hero-deco-ring { width: 380px; height: 380px; right: -140px; top: -140px; }
}

.btn-hero {
  background: #fff;
  color: var(--primary-color);
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ========== 特性卡片 ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.feature-card {
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--dur) var(--ease-out);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--card-hover-shadow); }

.feature-icon-wrap {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 600;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== 热门服务区 ========== */
.quick-access { margin-top: 8px; }
.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 24px;
  border-radius: 999px; /* 与小程序端胶囊按钮统一 */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.btn-outline:hover { background: var(--primary-light); }

/* ========== 服务分类标签 ========== */
.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--dur) var(--ease-out);
}

.tab.active, .tab:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ========== 服务网格 ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: all var(--dur) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--card-hover-shadow); }

.service-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
}

.service-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.city-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 6px;
}

.service-price {
  font-size: 20px;
  color: var(--price-color);
  font-weight: 700;
}
.service-price span { font-size: 12px; color: var(--text-secondary); font-weight: normal; }
.price-note { font-size: 11px; color: var(--text-secondary); font-weight: normal; margin-left: 4px; }

/* ========== 订单列表 ========== */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.order-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-1px); }

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-id {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: 'SF Mono', Menlo, monospace;
  background: var(--bg-color);
  padding: 2px 8px;
  border-radius: 4px;
}

.order-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending    { background: var(--warning-tint); color: var(--warning-color); }
.status-deposited  { background: var(--primary-light); color: var(--primary-deep); }
.status-assigned   { background: var(--success-tint); color: var(--success-color); }
.status-enroute    { background: var(--warning-tint); color: var(--warning-color); }
.status-servicing  { background: var(--primary-light); color: var(--primary-deep); }
.status-completed  { background: var(--success-tint); color: var(--success-color); }
.status-cancelled  { background: var(--danger-tint); color: var(--danger-color); }

.order-details { font-size: 14px; }
.order-service-name { font-weight: 600; color: var(--text-color); margin-bottom: 4px; }
.order-address { color: var(--text-secondary); font-size: 13px; margin-bottom: 8px; }
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.order-amount { font-weight: 700; color: var(--price-color); font-size: 16px; }
.order-time   { color: var(--text-secondary); font-size: 12px; }

/* ========== 优惠券列表 ========== */
.coupon-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.coupon-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.coupon-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
}

.coupon-value {
  font-size: 28px;
  color: var(--price-color);
  font-weight: 800;
}
.coupon-value span { font-size: 14px; font-weight: 500; }
.coupon-desc { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }
.coupon-expire { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.coupon-status { font-size: 12px; color: var(--success-color); margin-top: 6px; font-weight: 600; }

/* ========== 按钮 ========== */
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 999px; /* 与小程序端胶囊主按钮统一 */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out);
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:disabled { background: var(--primary-disabled); cursor: not-allowed; }
.btn-danger {
  background: var(--danger-color);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out);
}
.btn-danger:hover { background: var(--danger-color); }
.btn-small { padding: 6px 14px; font-size: 13px; border-radius: 999px; }
.btn-block { width: 100%; padding: 12px; font-size: 15px; }

/* ========== 弹窗 ========== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active { display: flex; }

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  animation: modalIn 0.28s var(--ease-out);
}
.modal-lg { max-width: 600px; }
.modal-sm { max-width: 380px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--dur) var(--ease-out);
}
.close:hover { background: var(--bg-color); color: var(--text-color); }

/* ========== 详情行 ========== */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-secondary); flex-shrink: 0; margin-right: 16px; }
.detail-value { text-align: right; flex: 1; }
.detail-value.amount { font-size: 18px; font-weight: 700; color: var(--price-color); }
.detail-value code {
  background: var(--bg-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'SF Mono', Menlo, monospace;
}
.detail-divider { margin: 16px 0; border: none; border-top: 1px solid var(--border-color); }

/* ========== 表单 ========== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-color);
  font-weight: 500;
}
.required { color: var(--danger-color); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color var(--dur) var(--ease-out);
  font-family: inherit;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(19,133,126,0.10);
}

.booking-service-info {
  background: var(--primary-light);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.booking-submit-area { margin-top: 20px; }
.booking-estimate {
  background: var(--warning-tint);
  border: 1px solid var(--warning-border);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  font-size: 14px;
}
.booking-estimate strong { color: var(--price-color); font-size: 18px; }

/* ========== 星级评分 ========== */
.star-rating { display: flex; gap: 4px; }
.star-rating .star {
  font-size: 30px;
  color: var(--border-color);
  cursor: pointer;
  line-height: 1;
  transition: color var(--dur-fast) var(--ease-out);
}
.star-rating .star.active { color: var(--warning-color); }

/* ========== 空状态 ========== */
.empty-tip {
  text-align: center;
  color: var(--text-secondary);
  padding: 48px 20px;
  font-size: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

/* ========== 响应式（断点已收敛：桌面 ≥961 / 平板 721-960 / 手机 ≤720 / 小屏 ≤480）========== */
@media (max-width: 720px) {
  .header {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }
  .logo { font-size: 17px; }
  .logo-slogan { display: none; }
  .nav {
    order: 3;
    width: 100%;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    gap: 0;
  }
  .nav-link { font-size: 13px; padding: 6px 10px; }
  .user-info { order: 2; gap: 6px; }
  .username { display: none; }
  .main { padding: 16px; }
  .hero { padding: 32px 20px; }
  .hero h1 { font-size: 24px; }
  .features { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
  .feature-card { padding: 16px 12px; }
  .feature-card h3 { font-size: 13px; }
  .feature-card p { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .coupon-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .coupon-list { grid-template-columns: 1fr; }
  .modal-content { padding: 20px; }
}

/* ========== WebSocket 状态指示器 ========== */
.ws-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  background: var(--danger-tint);
  color: var(--danger-color);
}
.ws-connected {
  background: var(--success-tint);
  color: var(--success-color);
}
.ws-connecting {
  background: var(--primary-light);
  color: var(--primary-deep);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========== 会员中心 ========== */
.member-card {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-color) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--card-hover-shadow);
}
.member-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.member-info { flex: 1; }
.member-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.25);
}
.member-points { text-align: center; }
.points-value { font-size: 28px; font-weight: 700; }
.points-label { font-size: 12px; opacity: 0.8; }
.member-progress { margin-top: 16px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.progress-next { font-size: 11px; opacity: 0.7; margin-top: 6px; }
.member-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-item { text-align: center; }
.stat-value { font-size: 18px; font-weight: 700; }
.stat-label { font-size: 11px; opacity: 0.8; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.benefit-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.benefit-icon { font-size: 24px; margin-bottom: 8px; }
.benefit-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.benefit-desc { font-size: 12px; color: var(--text-secondary); }
.levels-list { display: flex; flex-direction: column; gap: 12px; }
.level-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--card-shadow);
}
.level-item.current { border: 2px solid var(--primary-color); }
.level-icon { font-size: 28px; }
.level-info { flex: 1; }
.level-name { font-weight: 600; }
.level-require { font-size: 12px; color: var(--text-secondary); }
.level-item.achieved { opacity: 0.6; }

/* ========== 首页运营位轮播 ========== */
.banner-carousel {
  position: relative;
  height: 180px;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-soft));
  box-shadow: 0 8px 24px rgba(19,133,126,0.18);
}
.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 32px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.32), rgba(0,0,0,0.05)); }
.banner-text { position: relative; z-index: 1; }
.banner-title { font-size: 26px; font-weight: 700; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.banner-sub { font-size: 15px; opacity: 0.92; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }

/* ========== 会员成长任务 ========== */
.tasks-list { display: flex; flex-direction: column; gap: 12px; }
.task-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #fff; border-radius: var(--radius-sm, 12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.task-item.claimed { opacity: 0.65; }
.task-title { font-weight: 600; font-size: 15px; color: var(--text-primary, #333); }
.task-desc { font-size: 12px; color: var(--text-secondary, #888); margin-top: 4px; }
.btn-task {
  flex-shrink: 0; padding: 7px 16px; border: none; border-radius: 20px;
  background: var(--primary-color, var(--primary-color)); color: #fff; font-size: 13px;
  cursor: pointer; transition: filter 0.2s;
}
.btn-task:hover { filter: brightness(1.08); }
.task-done { color: var(--success-color); font-size: 13px; font-weight: 600; }

/* ========== 会员积分流水 ========== */
.points-log {
  background: #fff; border-radius: var(--radius-sm, 12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden;
}
.points-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border-color); font-size: 14px;
}
.points-row:last-child { border-bottom: none; }
.points-reason { color: var(--text-primary, #333); flex: 1; }
.points-change { font-weight: 700; width: 70px; text-align: right; }
.points-change.plus { color: var(--success-color); }
.points-change.minus { color: var(--danger-color); }
.points-time { color: var(--text-secondary, #999); font-size: 12px; width: 96px; text-align: right; }

@media (max-width: 480px) {
  .member-header { flex-wrap: wrap; }
  .member-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== 轻提示 toast（替代阻塞式 alert）========== */
.toast {
  position: fixed;
  top: 84px;
  right: 24px;
  z-index: 2000;
  max-width: 340px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  word-break: break-word;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { background: var(--success-color); }
.toast-error   { background: var(--danger-color); }
.toast-info    { background: var(--primary-color); }

@media (max-width: 720px) {
  .toast { left: 16px; right: 16px; max-width: none; top: 76px; }
}

/* ========== 同步状态指示（真实轮询，替换原「同步中…」虚假文案）========== */
.ws-idle         { background: var(--border-color); color: var(--text-tertiary); }
.ws-disconnected { background: var(--danger-tint); color: var(--danger-color); }

/* ========== 表单补充 ========== */
.field-hint {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 4px;
  cursor: pointer;
}
.checkbox-line input { width: auto; }

/* ========== 地址簿 ========== */
.address-picker {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.address-picker select { flex: 1; }
.address-picker .btn-outline { white-space: nowrap; padding: 8px 14px; }

.address-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; max-height: 260px; overflow-y: auto; }
.address-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
}
.address-main { flex: 1; min-width: 0; }
.address-label { font-weight: 600; font-size: 14px; margin-right: 8px; }
.badge-default {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: var(--primary-color);
  padding: 1px 8px;
  border-radius: 10px;
}
.address-detail { font-size: 13px; color: var(--text-color); margin-top: 4px; word-break: break-all; }
.address-phone { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.address-ops { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; }
.btn-link {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
}
.btn-link.danger { color: var(--danger-color); }
.btn-link:hover { text-decoration: underline; }

/* ========== 服务凭证 ========== */
.proof-summary {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.6;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.proof-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  aspect-ratio: 1 / 1;
}
.proof-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-type {
  position: absolute;
  left: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-top-right-radius: 6px;
}

/* 凭证放大预览 */
.image-preview {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  cursor: zoom-out;
}

/* ========== 订单详情操作区 ========== */
.detail-actions {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ========== 客服工单 ========== */
.ticket-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ticket-toolbar .category-tabs { margin-bottom: 0; }
.ticket-list { display: flex; flex-direction: column; gap: 12px; }
.ticket-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.ticket-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-1px); }
.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ticket-cat { font-weight: 600; font-size: 14px; }
.ticket-status {
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.ticket-open       { background: var(--warning-tint); color: var(--warning-color); }
.ticket-processing { background: var(--primary-light); color: var(--primary-deep); }
.ticket-resolved   { background: var(--success-tint); color: var(--success-color); }
.ticket-closed     { background: var(--border-color); color: var(--text-tertiary); }
.overdue-tag {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: var(--danger-color);
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
}
.ticket-content { font-size: 13px; color: var(--text-color); line-height: 1.6; margin-bottom: 8px; }
.ticket-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}
.ticket-order { font-size: 12px; color: var(--text-secondary); margin-top: 6px; font-family: 'SF Mono', Menlo, monospace; }

/* 工单回复 */
.reply-list { display: flex; flex-direction: column; gap: 10px; }
.reply-item {
  background: var(--bg-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.reply-item.reply-admin { background: var(--primary-light); }
.reply-meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.reply-content { font-size: 14px; color: var(--text-color); line-height: 1.6; word-break: break-word; }


/* ========== 登录弹窗（验证码 / 密码 / 忘记密码） ========== */
.login-sub {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 14px;
}

.login-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-color);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 16px;
}
.login-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.login-tab.active {
  background: #fff;
  color: var(--primary-color);
  font-weight: 600;
}

.login-error {
  background: var(--danger-tint);
  border: 1px solid var(--danger-border);
  color: var(--danger-color);
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.code-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-row input { flex: 1; min-width: 0; }
.code-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  padding: 10px 12px;
}
.code-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
}
.login-links a {
  color: var(--primary-color);
  text-decoration: none;
}
.login-links a:hover { text-decoration: underline; }


/* ========== 跨端统一微动效（与小程序一致） ========== */
/* 页面切换：淡入上移 */
.page.active { animation: pageFade 0.3s ease both; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 弹窗遮罩淡入（与小程序 modalIn 协调） */
.modal.active { animation: fadeIn 0.2s ease both; }

/* 按钮反馈：按压微缩 */
.btn-primary:active,
.btn-outline:active,
.btn-danger:active,
.btn-hero:active,
.btn-task:active,
.btn-link:active { transform: scale(0.97); }
.btn-primary:active { filter: brightness(0.96); }

/* 加载等待：遮罩 + 旋转环（风格与小程序一致） */
.loading-mask {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16, 41, 40, 0.32);
  display: flex; align-items: center; justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.2s ease both;
}
.loading-spinner {
  width: 44px; height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ==================================================================
   统一动效层 · 深度版（2026-09-25）
   规范：时长 fast .15s / base .25s / slow .35s；缓动 out-expo / spring；
   与小程序两端（user/master app.wxss）保持同名 keyframes 同参。
   ================================================================== */
:root {
  --motion-fast: 0.15s;
  --motion-base: 0.25s;
  --motion-slow: 0.35s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* —— 页面切换：淡入上移（重触发：.page.active 由 JS 切换 class）—— */
.page.active { animation: pageFade var(--motion-slow) var(--ease-out) both; }

/* —— 卡片入场 stagger：网格/列表容器内的直接子元素依次上浮 —— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-grid > *,
.features > *,
.coupon-list > *,
.order-list > *,
.ticket-list > * {
  animation: fadeUp 0.45s var(--ease-out) both;
}
.service-grid > *:nth-child(1), .features > *:nth-child(1),
.coupon-list > *:nth-child(1), .order-list > *:nth-child(1),
.ticket-list > *:nth-child(1) { animation-delay: 0.02s; }
.service-grid > *:nth-child(2), .features > *:nth-child(2),
.coupon-list > *:nth-child(2), .order-list > *:nth-child(2),
.ticket-list > *:nth-child(2) { animation-delay: 0.07s; }
.service-grid > *:nth-child(3), .features > *:nth-child(3),
.coupon-list > *:nth-child(3), .order-list > *:nth-child(3),
.ticket-list > *:nth-child(3) { animation-delay: 0.12s; }
.service-grid > *:nth-child(4), .features > *:nth-child(4),
.coupon-list > *:nth-child(4), .order-list > *:nth-child(4),
.ticket-list > *:nth-child(4) { animation-delay: 0.17s; }
.service-grid > *:nth-child(n+5), .features > *:nth-child(n+5),
.coupon-list > *:nth-child(n+5), .order-list > *:nth-child(n+5),
.ticket-list > *:nth-child(n+5) { animation-delay: 0.22s; }

/* —— 卡片悬浮抬升（仅支持 hover 的设备）—— */
@media (hover: hover) {
  .service-grid > *,
  .features > *,
  .coupon-list > * {
    transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
  }
  .service-grid > *:hover,
  .features > *:hover,
  .coupon-list > *:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16, 41, 40, 0.12);
  }
}

/* —— 弹层：遮罩淡入 + 内容 spring 弹入（覆盖旧 modalIn 时长）—— */
.modal.active { animation: fadeIn var(--motion-fast) var(--ease-out) both; }
.modal-content { animation: modalIn var(--motion-base) var(--ease-spring) both; }

/* —— Toast：spring 滑入（微调既有 transition 的缓动）—— */
.toast.show {
  animation: toastPop 0.32s var(--ease-spring) both;
}
@keyframes toastPop {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* —— 骨架屏：shimmer 微光 —— */
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #eef2f1 25%, #f7faf9 37%, #eef2f1 63%);
  background-size: 200% 100%;
  animation: shimmer 1.3s var(--ease-inout) infinite;
  border-radius: 8px;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.skeleton-grid .skeleton { height: 120px; border-radius: 14px; }
.skeleton-list { display: flex; flex-direction: column; gap: 10px; }
.skeleton-list .skeleton { height: 76px; border-radius: 12px; }
.skeleton-detail { display: flex; flex-direction: column; gap: 12px; }
.skeleton-detail .skeleton { height: 22px; }
.skeleton-detail .skeleton:nth-child(1) { width: 40%; height: 28px; }
.skeleton-detail .skeleton:nth-child(n+5) { width: 62%; }

/* —— 顶部导航指示：背景过渡统一 —— */
.nav-link { transition: color var(--motion-base) var(--ease-out), background var(--motion-base) var(--ease-out); }

/* —— 尊重系统「减弱动效」设置 —— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    /* R54-P3：平滑滚动一并关闭——reduced-motion 用户不应被程序化 scrollTo 滚动 */
    scroll-behavior: auto !important;
  }
}

/* ==================================================================
   竞品借鉴 · 首页信息架构（2026-09-26）
   借鉴：啄木鸟/万师傅/鲁班到家 的 服务宫格+保障叙事+数据墙+评价墙
   主题：保留新中式金棕（--primary-color 系）
   ================================================================== */

/* ① 服务分类图标宫格（竞品：8 宫格 icon 入口） */
.site-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 26px;
}
.site-cat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 16px 14px;
  background: var(--surface, #fff);
  border: 1px solid var(--border-color, rgba(0,0,0,0.06));
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s var(--ease-out, cubic-bezier(0.22,1,0.36,1)), box-shadow 0.25s var(--ease-out, cubic-bezier(0.22,1,0.36,1)), border-color 0.25s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}
.site-cat-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-disabled, #A5D0C9);
  box-shadow: 0 14px 30px rgba(10, 60, 55, 0.12);
}
.site-cat-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-light, #E1F1ED), #F2FAF8);
  border: 1px solid rgba(16, 128, 120, 0.12);
}
.site-cat-title { font-size: 15px; font-weight: 700; color: var(--text-color, #1a2e2b); }
.site-cat-desc { font-size: 12px; color: var(--text-secondary, #5a6b68); line-height: 1.5; }
.site-cat-foot {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: 2px;
  font-size: 11.5px; color: var(--text-tertiary, #9aa1a0);
}
.site-cat-arrow { color: var(--primary-color, #108078); font-weight: 700; font-size: 14px; }
@media (max-width: 960px) { .site-cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .site-cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ② 四大保障（竞品：「服务/价格/人员/售后 正规」叙事区） */
.guarantee-section { margin: 10px 0 26px; }
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, var(--surface-color, #fff) 0%, rgba(14, 110, 99, 0.05) 100%);
  border: 1px solid var(--border-color, rgba(0,0,0,0.06));
  border-radius: 14px;
}
.guarantee-icon {
  font-size: 26px;
  line-height: 1;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 110, 99, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}
.guarantee-text h3 { margin: 0 0 4px; font-size: 15px; color: var(--text-primary, #333); }
.guarantee-text p { margin: 0; font-size: 13px; color: var(--text-secondary, #777); }
@media (max-width: 720px) { .guarantee-grid { grid-template-columns: 1fr; } }

/* ③ 数据墙（竞品：「数说XX」数据带） */
.data-wall { margin: 30px 0; }
.data-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 26px 18px;
  background: linear-gradient(135deg, #0C2E29 0%, #CFE9E2 100%);
  border-radius: 16px;
}
.data-wall-item { text-align: center; }
.data-wall-num {
  font-size: 26px;
  font-weight: 800;
  color: #8FD0C4;
  letter-spacing: 0.5px;
}
.data-wall-label { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 720px) { .data-wall-grid { grid-template-columns: repeat(2, 1fr); } }

/* ④ 评价墙（竞品：城市+标签+评语 卡片墙） */
.review-wall { margin: 30px 0 10px; }
.review-wall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.review-wall-card {
  padding: 18px;
  background: var(--surface-color, #fff);
  border: 1px solid var(--border-color, rgba(0,0,0,0.06));
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-wall-head { display: flex; align-items: center; gap: 10px; }
.review-wall-avatar {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 110, 99, 0.14);
  color: #0C6A5F;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.review-wall-meta { flex: 1; min-width: 0; }
.review-wall-name { font-size: 14px; font-weight: 600; color: var(--text-primary, #333); }
.review-wall-city { font-size: 12px; color: var(--text-secondary, #999); margin-top: 2px; }
.review-wall-stars { color: #12A38B; font-size: 13px; letter-spacing: 1px; }
.review-wall-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.review-wall-tag {
  font-size: 11px;
  padding: 3px 9px;
  background: rgba(14, 110, 99, 0.09);
  color: #0C6A5F;
  border-radius: 999px;
}
.review-wall-content {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary, #666);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 720px) { .review-wall-grid { grid-template-columns: 1fr; } }

/* ==================================================================
   竞品参照 · 四大正规大卡 + 多场景解决方案（2026-09-26 第二轮）
   参照：啄木鸟「服务/价格/人员/售后 正规」四列卡 + 家庭/企业服务双卡
   ================================================================== */

/* ① 四大正规大卡 */
.regular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.regular-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, #0C2E29 0%, #123B34 55%, #CFE9E2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.regular-card::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(143, 208, 196, 0.08);
}
.regular-card-1 { background: linear-gradient(160deg, #0C2E29 0%, #0F322C 60%, #1C473E 100%); }
.regular-card-2 { background: linear-gradient(160deg, #241f14 0%, #3a2e18 55%, #173F38 100%); }
.regular-card-3 { background: linear-gradient(160deg, #2e2718 0%, #153D36 60%, #1A443C 100%); }
.regular-head { display: flex; align-items: center; gap: 10px; }
.regular-icon { font-size: 26px; line-height: 1; }
.regular-title { display: flex; flex-direction: column; line-height: 1.15; }
.regular-word { font-size: 22px; font-weight: 800; color: #fff; }
.regular-suffix { font-size: 22px; font-weight: 800; color: #8FD0C4; }
.regular-points {
  margin: 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 88px;
}
.regular-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.regular-points li::before {
  content: '•';
  position: absolute; left: 2px;
  color: #8FD0C4;
}
.regular-action {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 18px;
  background: rgba(143, 208, 196, 0.14);
  border: 1px solid rgba(143, 208, 196, 0.55);
  color: #8FD0C4;
  font-size: 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.regular-action:hover { background: rgba(143, 208, 196, 0.26); transform: translateY(-2px); }
@media (max-width: 960px) { .regular-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .regular-grid { grid-template-columns: 1fr; } .regular-points { min-height: 0; } }

/* ② 多场景解决方案 */
.solutions-section { margin: 10px 0 6px; }
.solutions-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.solution-family {
  border-radius: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(14, 110, 99, 0.14) 0%, transparent 45%),
    linear-gradient(150deg, #12352F 0%, #1A453D 100%);
}
.solution-family-head h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.solution-family-head p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.68); }
.solution-family-panel {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 18px;
}
.solution-family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.solution-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.solution-item:hover { background: rgba(14, 110, 99, 0.08); }
.solution-item-icon { font-size: 22px; line-height: 1; }
.solution-item-title { flex: 1; font-size: 13px; font-weight: 600; color: #11352F; }
.solution-item-arrow { color: #6FA69B; font-size: 16px; }
.solution-all-btn {
  margin-top: 12px;
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 1px dashed rgba(14, 110, 99, 0.5);
  color: #0C6A5F;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.solution-all-btn:hover { background: rgba(14, 110, 99, 0.07); }
.solution-enterprise {
  border-radius: 16px;
  padding: 24px 20px;
  background: linear-gradient(165deg, #1f1a10 0%, #38290f 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.solution-enterprise h3 { margin: 0; font-size: 20px; color: #fff; }
.solution-ent-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.solution-ent-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.solution-ent-points li::before { content: '•'; position: absolute; left: 2px; color: #8FD0C4; }
.solution-ent-btn {
  margin-top: auto;
  padding: 10px;
  background: rgba(143, 208, 196, 0.14);
  border: 1px solid rgba(143, 208, 196, 0.55);
  color: #8FD0C4;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.solution-ent-btn:hover { background: rgba(143, 208, 196, 0.26); }
@media (max-width: 960px) { .solutions-layout { grid-template-columns: 1fr; } .solution-family-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== 会员中心 · 我的权益入口（原顶部导航「我的工单/优惠券」迁移至此） ========== */
.member-benefit-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.member-benefit-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-tint) 130%);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}
.member-benefit-entry:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(14, 110, 99, 0.16);
}
.member-benefit-entry:active { transform: translateY(0) scale(0.98); }
.mbe-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-tint);
  font-size: 22px;
  flex-shrink: 0;
}
.mbe-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mbe-info strong { font-size: 15px; color: var(--text-color); }
.mbe-info small { font-size: 12px; color: var(--text-secondary); }
.mbe-arrow { margin-left: auto; color: var(--text-tertiary); font-size: 20px; transition: transform 0.15s ease; }
.member-benefit-entry:hover .mbe-arrow { transform: translateX(3px); color: var(--accent-color); }
@media (max-width: 480px) { .member-benefit-entries { grid-template-columns: 1fr; gap: 10px; } }

/* ========== 全站页脚（品牌介绍 / 快捷入口 / 备案号） ========== */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--surface-alt) 0%, #F2EFE8 100%);
}
/* 页脚内容容器：仅负责限宽与留白（列布局由内部 .footer-grid 承担，R48 起单子节点） */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 24px;
}
.footer-brand .footer-logo { font-size: 20px; font-weight: 700; color: var(--primary-deep); }
.footer-brand .footer-slogan { margin-top: 6px; font-size: 13px; color: var(--accent-color); letter-spacing: 1px; }
.footer-brand .footer-intro { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--text-secondary); max-width: 380px; }
.footer-link {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-link:hover { color: var(--primary-color); transform: translateX(3px); }
.footer-record-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-record-link:hover { color: var(--primary-color); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ========== 已入驻师傅展示条（服务目录页 · 居中美化版，与小程序同步） ========== */
.masters-strip { margin: 18px 0 22px; }
.strip-hint { font-size: 12px; font-weight: 400; color: var(--text-tertiary); margin-left: 8px; }
.masters-strip .section-subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 8px;
}
.masters-strip-services .section-subtitle { justify-content: space-between; padding: 0 4px; }
.city-picker-wrap { display: inline-flex; align-items: center; }
.city-picker {
  appearance: none; -webkit-appearance: none;
  background: var(--primary-tint, rgba(19,133,126,0.08)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2313857E' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center;
  border: 1px solid var(--primary-color);
  border-radius: 999px;
  padding: 4px 26px 4px 12px;
  font-size: 13px;
  color: var(--primary-color);
  cursor: pointer;
}
.masters-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.master-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 14px;
  margin-top: 14px;
}
/* 服务页展示条：桌面端一行 5 个，移动端 2 列 */
.master-grid-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* 更多师傅页：默认保持自适应，桌面端可显示 5 列 */
.master-grid-full { grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); }
.master-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  gap: 10px;
  padding: 20px 14px 16px;
  border: 1px solid #C8E4DC;
  border-radius: 18px;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--accent-tint) 160%);
  box-shadow: 0 4px 14px rgba(10, 74, 66, 0.07);
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.master-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14, 110, 99, 0.16); }
.mc-head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mc-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-tint); font-size: 28px; overflow: hidden; flex-shrink: 0;
  border: 3px solid #FFFFFF;
  box-shadow: 0 3px 10px rgba(10, 74, 66, 0.14);
}
.mc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mc-info { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.mc-info strong { font-size: 15px; color: var(--text-color); display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; max-width: 100%; }
.mc-name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-online.mc-off { background: rgba(107, 116, 128, 0.16); color: #6b7480; }
.mc-online {
  font-size: 11px; font-weight: 400; color: #1E8E5A;
  background: rgba(30, 142, 90, 0.1); border-radius: 8px; padding: 1px 7px;
}
.mc-info small {
  font-size: 12px; color: var(--accent-deep);
  background: rgba(14, 110, 99, 0.12);
  border-radius: 12px; padding: 2px 12px;
}
.mc-info small em { font-style: normal; color: var(--accent-deep); opacity: 0.75; }
.mc-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 2px; }
.mc-tag {
  font-size: 12px; color: var(--accent-deep);
  background: var(--accent-tint); border-radius: 8px; padding: 3px 10px;
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mc-tag-more { background: rgba(0, 0, 0, 0.05); color: #6b7480; }
.mc-areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mc-areas span { font-size: 12px; color: var(--primary-color); background: var(--primary-tint, rgba(19, 133, 126, 0.08)); border-radius: 8px; padding: 2px 10px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-book {
  width: 100%;
  margin-top: auto;
  align-self: stretch;
  background: var(--primary-color);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 8px 0;
  font-weight: 600;
  text-align: center;
}
.mc-book:hover { background: var(--primary-deep, #0A5F58); color: #FFFFFF; }

/* 更多按钮卡片 */
.master-more-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 20px 14px 16px;
  border: 1.5px dashed var(--primary-color);
  border-radius: 18px;
  background: var(--primary-tint, rgba(19,133,126,0.06));
  color: var(--primary-color);
  text-align: center;
  cursor: pointer;
  min-height: 220px;
  transition: background 0.2s, transform 0.2s;
}
.master-more-card:hover { background: var(--primary-tint, rgba(19,133,126,0.12)); transform: translateY(-2px); }
.mmc-icon { font-size: 28px; font-weight: 700; }
.mmc-label { font-size: 15px; font-weight: 600; }
.mmc-count { font-size: 12px; opacity: 0.8; }

@media (max-width: 720px) {
  .masters-strip-services .section-subtitle { justify-content: center; }
  .master-grid-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .master-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .master-card { padding: 16px 10px 14px; border-radius: 14px; }
  .mc-avatar { width: 48px; height: 48px; font-size: 24px; }
  .mc-info strong { font-size: 14px; }
  .master-more-card { min-height: auto; padding: 16px 10px; }
}

/* ========== 预约弹窗 · 师傅选择 ========== */
.booking-master-list { display: flex; flex-direction: column; gap: 8px; }
.bm-loading, .bm-empty { font-size: 13px; color: var(--text-secondary); }
.bm-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border-color);
  border-radius: 12px; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bm-card:hover { border-color: var(--accent-color); }
.bm-card.selected { border-color: var(--accent-color); background: var(--accent-tint); }
.bm-card input { position: absolute; opacity: 0; pointer-events: none; }
.bm-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-tint); font-size: 19px; overflow: hidden; flex-shrink: 0;
}
.bm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bm-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bm-info strong { font-size: 14px; color: var(--text-color); }
.bm-info small { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-check { margin-left: auto; color: var(--accent-color); font-weight: 700; opacity: 0; transition: opacity 0.15s ease; }
.bm-card.selected .bm-check { opacity: 1; }

/* ============================================================
   增长模块样式（首屏 CTA / 邀请卡 / 分享面板）
   遵循全局青绿主题变量，不引入新色系
   ============================================================ */

/* ---- 首屏 CTA 强化（双按钮 + 信任背书）---- */
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; align-items: center;
  margin-top: 4px;
}
.hero-cta-row .btn-hero { margin: 0; }
.btn-hero-ghost {
  padding: 13px 26px; border-radius: 999px;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.18s var(--ease-out, ease), border-color 0.18s var(--ease-out, ease), transform 0.18s var(--ease-out, ease);
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}
.hero-trust {
  margin: 14px 0 0; font-size: 13px; letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.88); text-align: center;
}

/* ---- 会员中心「邀请有礼」入口高亮 ---- */
.member-benefit-entry.member-benefit-invite {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, var(--accent-tint), #ffffff);
}
.member-benefit-entry.member-benefit-invite .mbe-icon { background: var(--accent-tint); }

/* ---- 邀请卡（邀请码 / 统计 / 主按钮）---- */
.invite-card {
  margin-top: 18px; padding: 18px 16px;
  border: 1px solid var(--border-color); border-radius: 16px;
  background: linear-gradient(135deg, #F2FAF8 0%, #FFFFFF 65%);
  box-shadow: 0 2px 12px rgba(16, 128, 120, 0.06);
}
.invite-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px; flex-wrap: wrap;
}
.invite-card-title { font-size: 15px; font-weight: 700; color: var(--text-color); }
.invite-code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--accent-color); background: var(--accent-tint);
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.invite-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin-bottom: 14px;
}
.invite-stat { text-align: center; min-width: 0; }
.invite-stat-value {
  font-size: 20px; font-weight: 800; color: var(--accent-color);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.invite-stat-label { margin-top: 4px; font-size: 12px; color: var(--text-secondary); }

/* ---- 分享面板 ---- */
.share-panel { max-width: 420px; }
.share-sub {
  margin: 6px 0 16px; font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
}
.share-qr-wrap {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; min-height: 180px;
}
.share-qr {
  width: 180px; height: 180px; border-radius: 12px;
  border: 1px solid var(--border-color); background: #fff;
}
.share-qr-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 180px; height: 180px; border: 1px dashed var(--border-color);
  border-radius: 12px; color: var(--text-secondary); font-size: 13px; gap: 6px;
}
.share-code-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; margin-bottom: 10px;
  background: var(--accent-tint); border-radius: 10px;
}
.share-code-label { font-size: 13px; color: var(--text-secondary); }
.share-code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; font-weight: 800; letter-spacing: 1px; color: var(--accent-color);
}
.share-link-row { margin-bottom: 12px; }
.share-link-input {
  width: 100%; padding: 10px 12px; box-sizing: border-box;
  border: 1px solid var(--border-color); border-radius: 10px;
  font-size: 12px; color: var(--text-secondary); background: #FAFCFB;
}
.share-wx-tip {
  margin-top: 12px; padding: 10px 12px;
  font-size: 12px; line-height: 1.6; color: var(--text-secondary);
  background: #F7F9F8; border-radius: 10px;
}
.share-reward-note {
  margin-top: 10px; text-align: center;
  font-size: 13px; color: var(--accent-color);
}
.share-reward-note b { font-weight: 800; }

/* 移动端适配：分享面板与邀请统计 */
@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn-hero,
  .btn-hero-ghost { width: 100%; }
  .hero-trust { font-size: 12px; }
  .invite-card { padding: 16px 14px; }
  .invite-stat-value { font-size: 18px; }
  .share-panel { max-width: 100%; }
}

/* ===== 常见问题 FAQ（后台可配 /v1/site-content）===== */
.faq-section { margin: 30px 0 10px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.faq-item {
  background: var(--surface, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 14px;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--primary-disabled, #A5D0C9); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color, #1a2e2b);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--primary-light, #E1F1ED);
  color: var(--primary-color, #108078);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-item[open] .faq-q-mark { background: var(--primary-color, #108078); color: #fff; }
.faq-a {
  padding: 0 16px 14px 48px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary, #5a6b68);
}

/* ===== 平台资讯（后台可配 /v1/site-content）===== */
.news-section { margin: 30px 0 10px; }
.news-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.news-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 14px;
  transition: box-shadow var(--dur, 0.24s) var(--ease-out, ease);
}
.news-item:hover { box-shadow: var(--card-hover-shadow, 0 6px 20px rgba(12, 46, 41, 0.08)); }
.news-body { flex: 1; min-width: 0; }
.news-title { font-size: 15px; font-weight: 600; color: var(--text-color, #1a2e2b); margin-bottom: 6px; }
.news-summary {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary, #5a6b68);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.news-date { font-size: 12px; color: var(--text-secondary, #5a6b68); white-space: nowrap; }
.news-link {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color, #108078);
  cursor: pointer;
  white-space: nowrap;
}
.news-link:hover { color: var(--primary-hover, #17A094); }

@media (max-width: 720px) {
  .news-item { flex-direction: column; gap: 8px; }
  .news-meta { flex-direction: row; align-items: center; }
  .faq-q { font-size: 14px; }
}

/* ===== R48 UI 升级（参考 zmn.cn：大首屏/大分类卡/数据墙/流程条/悬浮工具/多列页脚）===== */

/* 数据墙 6 列（原 4 列 grid 已由上面规则定义，这里覆盖为 6 列并加深底色） */
.data-wall-grid {
  grid-template-columns: repeat(6, 1fr);
  background: linear-gradient(120deg, #0C2E29 0%, #123B34 55%, #1A5A50 100%);
  padding: 30px 22px;
}
.data-wall-icon { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.data-wall-num { font-size: 24px; }
.data-wall-label { font-size: 12px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
@media (max-width: 960px) { .data-wall-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .data-wall-grid { grid-template-columns: repeat(2, 1fr); } }

/* 四大正规卡：右上角序号 */
.regular-no {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: -1px;
  user-select: none;
}
.regular-points li::before { content: '✓'; font-weight: 700; }

/* 评价墙汇总头 */
.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 4px 0 14px;
  padding: 14px 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 14px;
}
.review-summary-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.review-summary-num { font-size: 24px; font-weight: 800; color: var(--primary-color, #108078); font-variant-numeric: tabular-nums; }
.review-summary-label { font-size: 12px; color: var(--text-secondary, #5a6b68); letter-spacing: 1px; }
.review-summary-divider { width: 1px; height: 34px; background: var(--border-color, rgba(0, 0, 0, 0.1)); }

/* 资讯分类徽章 */
.news-head-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.news-cat {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.news-cat-news { color: #0E6E63; background: #DFF0EC; }
.news-cat-upgrade { color: #0B5FA5; background: #E3EEF9; }
.news-cat-promo { color: #B4530A; background: #FCEFE2; }
.news-head-row .news-title { margin-bottom: 0; font-size: 15px; }

/* 服务流程条 */
.process-section { margin: 30px 0 10px; }
.section-desc {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-secondary, #5a6b68);
  margin: -4px 0 16px;
  letter-spacing: 0.3px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 22px 14px 18px;
  background: var(--surface, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 16px;
  transition: transform var(--dur, 0.24s) var(--ease-out, ease), box-shadow var(--dur, 0.24s) var(--ease-out, ease);
}
.process-step:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 60, 55, 0.1); }
.process-step-no {
  position: absolute;
  top: 10px; left: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-disabled, #A5D0C9);
  letter-spacing: 0.5px;
}
.process-step-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light, #E1F1ED), #F2FAF8);
  border: 1px solid rgba(16, 128, 120, 0.14);
}
.process-step-title { font-size: 15px; font-weight: 700; color: var(--text-color, #1a2e2b); }
.process-step-desc { font-size: 12px; color: var(--text-secondary, #5a6b68); line-height: 1.55; }
.process-step-line {
  position: absolute;
  top: 46px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px + 14px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary-disabled, #A5D0C9) 0 6px, transparent 6px 12px);
  pointer-events: none;
}
@media (max-width: 720px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step-line { display: none; }
}

/* 右侧悬浮工具 */
.float-tools {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 52px;
  padding: 9px 0 7px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  background: var(--surface, #fff);
  box-shadow: 0 8px 22px rgba(10, 60, 55, 0.12);
  cursor: pointer;
  transition: transform var(--dur-fast, 0.18s) var(--ease-out, ease), box-shadow var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.float-tool:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 60, 55, 0.18); }
.float-tool-icon { font-size: 18px; line-height: 1; }
.float-tool-text { font-size: 10.5px; color: var(--text-secondary, #5a6b68); letter-spacing: 0.5px; }
@media (max-width: 720px) {
  .float-tools { right: 12px; bottom: 84px; }
  .float-tool { width: 46px; }
}

/* 页脚多列（footer.js R48 结构对应） */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 34px 0 22px;
}
.footer-brand .footer-logo { font-size: 19px; font-weight: 800; }
.footer-brand .footer-slogan { font-size: 12px; color: var(--text-secondary, #5a6b68); margin: 4px 0 10px; letter-spacing: 1px; }
.footer-brand .footer-intro { font-size: 12.5px; line-height: 1.8; color: var(--text-secondary, #5a6b68); }
.footer-col-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-col-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col-list a, .footer-col-list span {
  font-size: 12.5px;
  color: var(--text-secondary, #5a6b68);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.footer-col-list a:hover, .footer-col-list span:hover { color: var(--primary-color, #108078); }
.footer-hotline { font-size: 17px; font-weight: 800; color: var(--primary-color, #108078); font-variant-numeric: tabular-nums; }
.footer-hotline-label { font-size: 11.5px; color: var(--text-secondary, #5a6b68); margin-bottom: 2px; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px 0 16px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 页脚底部行：版权 + 备案（两端对齐，窄屏堆叠） */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-bottom-records { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 720px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ==================================================================
   R49 整站样式与动效深化（2026-10-24）
   在既有动效 token（--motion-fast/base/slow + --ease-out/spring/inout）之上扩展：
   ① 全局细节：平滑滚动 / 选中色 / 焦点环 / 细滚动条
   ② 滚动显现：html.motion-ready 门控（JS 不跑时内容照常可见，不留白）
   ③ 首屏 hero 入场序列 + 装饰层缓慢漂移
   ④ 顶栏毛玻璃滚动态 / 回到顶部按钮显隐
   ⑤ 数据墙数字滚动（JS count-up，此处只给 tabular-nums 对齐）
   ⑥ FAQ 答案淡入 / 流程虚线流动 / 轮播文字入场
   ⑦ section-title 装饰条 / 卡片 hover·active 微反馈统一
   ================================================================== */

/* —— ① 全局细节 —— */
html { scroll-behavior: smooth; }
::selection { background: rgba(16, 128, 120, 0.18); color: inherit; }
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 6px;
}
/* 细滚动条（webkit 系 + Firefox 标准属性双写） */
* { scrollbar-width: thin; scrollbar-color: rgba(16, 128, 120, 0.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(16, 128, 120, 0.32);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(16, 128, 120, 0.5); background-clip: content-box; }

/* —— ② 滚动显现（区块进入视口：淡入 + 上移；stagger 子项依次入场）—— */
/* 门控：只有 JS 挂上 motion-ready 后才启用隐藏初态，JS 失效时内容立即可见 */
html.motion-ready [data-reveal],
html.motion-ready .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
html.motion-ready .reveal-stagger > * { transform: translateY(14px); }
html.motion-ready [data-reveal].revealed,
html.motion-ready .reveal-stagger.revealed > * {
  opacity: 1;
  transform: none;
}
/* stagger 延迟：最多覆盖 8 项，超出取末档 */
html.motion-ready .reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.10s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.22s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.28s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.34s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.40s; }
html.motion-ready .reveal-stagger.revealed > *:nth-child(n+8) { transition-delay: 0.46s; }

/* —— ③ 首屏 hero 入场序列（内容由 JS 渲染，插入即播放）—— */
/* 首屏服务宫格：加载时依次上浮（与 hero 入场衔接，item 由 JS 渲染插入即播放） */
.site-cat-grid > * { animation: fadeUp 0.45s var(--ease-out) both; }
.site-cat-grid > *:nth-child(1) { animation-delay: 0.50s; }
.site-cat-grid > *:nth-child(2) { animation-delay: 0.56s; }
.site-cat-grid > *:nth-child(3) { animation-delay: 0.62s; }
.site-cat-grid > *:nth-child(4) { animation-delay: 0.68s; }
.site-cat-grid > *:nth-child(5) { animation-delay: 0.74s; }
.site-cat-grid > *:nth-child(6) { animation-delay: 0.80s; }
.site-cat-grid > *:nth-child(7) { animation-delay: 0.86s; }
.site-cat-grid > *:nth-child(8) { animation-delay: 0.92s; }
.site-cat-grid > *:nth-child(n+9) { animation-delay: 0.98s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-left > * { animation: heroIn 0.6s var(--ease-out) both; }
.hero-left > *:nth-child(1) { animation-delay: 0.06s; }
.hero-left > *:nth-child(2) { animation-delay: 0.13s; }
.hero-left > *:nth-child(3) { animation-delay: 0.20s; }
.hero-left > *:nth-child(4) { animation-delay: 0.27s; }
.hero-left > *:nth-child(5) { animation-delay: 0.34s; }
.hero-left > *:nth-child(6) { animation-delay: 0.41s; }
.hero-left > *:nth-child(7) { animation-delay: 0.48s; }
.hero-card { animation: heroIn 0.7s var(--ease-spring) both; animation-delay: 0.38s; }
/* 装饰层缓慢漂移，营造沉浸感（aria-hidden 纯装饰） */
@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 14px); }
}
@keyframes dotsDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -10px); }
}
.hero-deco-glow { animation: glowDrift 9s ease-in-out infinite; }
.hero-deco-dots { animation: dotsDrift 11s ease-in-out infinite; }

/* —— ④ 顶栏毛玻璃滚动态 + 回到顶部显隐 —— */
.header {
  transition: box-shadow var(--motion-base) var(--ease-out), background var(--motion-base) var(--ease-out);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(10, 60, 55, 0.1);
}
.float-tool#floatTop {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out), box-shadow var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.float-tool#floatTop.show { opacity: 1; transform: none; pointer-events: auto; }
.float-tool#floatTop.show:hover { transform: translateY(-2px); }

/* —— ⑤ 数据墙数字（count-up 由 JS 驱动，此处保证位宽对齐不跳动）—— */
.data-wall-num { font-variant-numeric: tabular-nums; }

/* —— ⑥ FAQ 答案淡入 + 标记旋转 / 流程虚线流动 / 轮播文字入场 —— */
@keyframes faqAnswerIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.faq-item[open] .faq-a { animation: faqAnswerIn 0.3s var(--ease-out) both; }
.faq-q-mark { transition: transform var(--motion-base) var(--ease-spring), background var(--motion-fast) ease, color var(--motion-fast) ease; }
.faq-item[open] .faq-q-mark { transform: rotate(360deg); }
@keyframes dashFlow { to { background-position: 12px 0; } }
.process-step-line { animation: dashFlow 1s linear infinite; }
@keyframes bannerTextIn {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}
.banner-slide.active .banner-text { animation: bannerTextIn 0.5s var(--ease-out) both; }

/* —— ⑦ section-title 装饰条（左侧渐变色块，统一各区块标题视觉）—— */
.section-title { position: relative; padding-left: 13px; }
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-soft));
}

/* —— ⑦′ 卡片微反馈统一（hover 抬升 / active 按压；仅 hover 设备）—— */
@media (hover: hover) {
  .news-item { transition: box-shadow var(--dur, 0.24s) var(--ease-out, ease), transform var(--dur, 0.24s) var(--ease-out, ease); }
  .news-item:hover { transform: translateY(-2px); box-shadow: var(--card-hover-shadow, 0 6px 20px rgba(12, 46, 41, 0.08)); }
  .review-wall-card { transition: transform var(--dur, 0.24s) var(--ease-out, ease), box-shadow var(--dur, 0.24s) var(--ease-out, ease); }
  .review-wall-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 60, 55, 0.1); }
  .regular-card { transition: transform var(--dur, 0.24s) var(--ease-out, ease), box-shadow var(--dur, 0.24s) var(--ease-out, ease); }
  .regular-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10, 46, 41, 0.22); }
  .feature-card:hover .feature-icon-wrap { transform: scale(1.08) rotate(-4deg); }
}
.feature-icon-wrap { transition: transform var(--motion-base) var(--ease-spring); }
.site-cat-item:active { transform: translateY(-2px) scale(0.985); }
.process-step:active { transform: translateY(-1px) scale(0.985); }
.regular-action:active { transform: scale(0.96); }
.solution-item:active { background: rgba(14, 110, 99, 0.14); }

/* R49 收尾：尊重系统「减弱动效」（既有全局 reduce 规则之上，确保 reveal 终态可见） */
@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-reveal],
  html.motion-ready .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ==================================================================
   R50 用户体验与响应式系统优化（2026-10-24）
   维度：信息层级与视觉动线 / 交互反馈与状态 / 响应式自适应 / 视觉一致性 / 无障碍
   ① 统一空态与错误态（图标 + 主文案 + 次文案 + 行动按钮 / 重试）
   ② 断点收敛：桌面 ≥961 / 平板 721-960 / 手机 ≤720 / 小屏 ≤480
   ③ 触控目标 ≥44px（仅触屏与窄屏，桌面保持紧凑）
   ④ 矮屏与横屏适配（hero 压缩 / modal dvh / 背景锁滚）
   ⑤ 无障碍微样（skip-link / 焦点环 / 页面导语 / 间距节奏）
   原则：不引入新色系，不动既有桌面布局数值，避免过度设计
   ================================================================== */

/* —— ① 统一空态（列表/网格无数据时替代裸文字）—— */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 52px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  text-align: center;
}
.empty-state-icon { font-size: 40px; line-height: 1; margin-bottom: 6px; }
.empty-state-title { font-size: 15px; font-weight: 600; color: var(--text-color); }
.empty-state-desc { font-size: 13px; color: var(--text-secondary); max-width: 420px; }
.empty-state-cta { margin-top: 12px; }
/* 详情弹窗内的紧凑空态 */
.empty-state-compact { padding: 24px 16px; }
.empty-state-compact .empty-state-icon { font-size: 30px; }

/* —— ①′ 统一错误态（加载失败：友好文案 + 重试，不暴露技术细节）—— */
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 44px 24px;
  background: var(--surface);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius);
  text-align: center;
}
.error-state-icon { font-size: 34px; line-height: 1; margin-bottom: 4px; }
.error-state-title { font-size: 15px; font-weight: 600; color: var(--danger-color); }
.error-state-desc { font-size: 13px; color: var(--text-secondary); }
.error-state-retry { margin-top: 12px; }

/* —— ② 触控目标（≥44px：iOS HIG / Material 无障碍底线）—— */
/* 分类筛选 tab：窄屏加高，保证拇指可点 */
@media (max-width: 720px) {
  .category-tabs { gap: 8px; }
  .tab { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; }
  /* 弹窗关闭按钮：32px → 44px */
  .close { width: 44px; height: 44px; top: 10px; right: 10px; font-size: 26px; }
  /* 顶部导航项：加高到 40px（两行布局的第二行） */
  .nav-link { min-height: 40px; display: inline-flex; align-items: center; }
  /* 页脚文字链：扩大纵向点击区 */
  .footer-link { padding: 5px 0; }
}
/* 星级评分：触屏设备整体放大点击区（桌面尺寸不变） */
@media (hover: none), (max-width: 720px) {
  .star-rating { gap: 2px; margin-left: -6px; }
  .star-rating .star {
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px;
  }
}

/* —— ④ 矮屏与横屏（手机横屏 / 分屏小窗）—— */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { padding: 22px 18px 26px; }
  .hero-inner { gap: 20px; }
  .hero .hero-title { font-size: clamp(22px, 3vw, 30px); margin: 8px 0 6px; }
  .hero .hero-split { margin-bottom: 12px; }
  .hero-bubble { margin-bottom: 10px; padding: 7px 14px; font-size: 14px; }
  .hero-card { padding: 20px 18px 18px; }
  .hero-card-icon { width: 44px; height: 44px; font-size: 22px; margin-bottom: 8px; }
  .modal { padding: 12px; align-items: flex-start; }
  .modal-content { max-height: 94dvh; }
  .empty-state { padding: 28px 18px; }
}
/* dvh 优先（地址栏收起不收缩）；不支持 dvh 的浏览器保持 vh */
body { min-height: 100dvh; }
.modal-content { max-height: min(85vh, 85dvh); }

/* 弹窗打开期间锁背景滚动（移动端避免双滚场） */
body.modal-open { overflow: hidden; }

/* —— ⑤ 无障碍与信息层级微样 —— */
/* 跳转主内容链接（键盘/读屏用户第一站） */
.skip-link {
  position: fixed;
  left: 16px; top: -56px;
  z-index: 1200;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(10, 60, 55, 0.28);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 12px; }
/* 页面导语（目录页标题下一行说明，降低认知负荷） */
.page-lead {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: -10px 0 18px;
  letter-spacing: 0.2px;
}
/* 焦点管理：JS 切页后聚焦页面标题（tabindex=-1，不显示焦点环） */
.page-title:focus { outline: none; }
.page-title:focus-visible { outline: none; }

/* —— ⑤′ 视觉动线：区块间距节奏统一（hero 之后各内容区块同节奏）—— */
.guarantee-section,
.solutions-section,
.process-section,
.data-wall,
.review-wall,
.faq-section,
.news-section { margin: 36px 0; }
.guarantee-section:first-child,
.solutions-section:first-child { margin-top: 0; }

/* —— ⑤″ 数字对齐：金额/积分/统计统一 tabular-nums，避免滚动跳动 —— */
.order-amount, .coupon-value, .points-value, .invite-stat-value,
.review-summary-num, .member-points .points-value { font-variant-numeric: tabular-nums; }

/* —— ⑤③′ button 化导航（index.html：a → button，样式对齐）—— */
button.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: inherit;
}

/* ==================================================================
   R51 页脚内容显示优化（2026-10-24）
   在 R48 多列结构基础上打磨「内容显示」：
   ① 品牌列：简介 + 信任徽章 chips（承诺一眼可扫，不再埋进长段文字）
   ② 联系我们列：热线卡片（品牌色浅底描边）+ tel: 一键拨打 + 电话图标
   ③ 备案行：emoji → 内联 SVG 图标（globe/shield），与文字基线对齐
   ④ 触控/焦点：tel 链接 ≥44px 可点区域，hover/focus-visible 有反馈
   断点沿用 R50 三档（PC 4 列 / ≤720 两列 + 品牌通栏）
   ================================================================== */

/* —— ① 品牌列信任徽章 —— */
.footer-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}
.footer-badges li {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--primary-deep);
  background: rgba(16, 128, 120, 0.08);
  border: 1px solid rgba(16, 128, 120, 0.2);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* —— ② 联系我们：热线卡片 —— */
.footer-contact-card {
  background: rgba(16, 128, 120, 0.06);
  border: 1px solid rgba(16, 128, 120, 0.16);
  border-radius: 12px;
  padding: 14px 14px 12px;
}
.footer-hotline-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 10px;
  padding: 2px;
  margin: -2px;
  transition: transform var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.footer-hotline-link:hover { transform: translateX(2px); }
.footer-hotline-link:active { transform: translateX(0); }
.footer-contact-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 128, 120, 0.28);
}
.footer-contact-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.footer-hotline-link .footer-hotline {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: color var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.footer-hotline-link:hover .footer-hotline { color: var(--primary-deep); }
.footer-contact-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.footer-contact-note:first-of-type { margin-top: 10px; }

/* —— ③ 备案行：SVG 图标与文字对齐 —— */
.footer-record-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.footer-record-item svg { color: var(--text-tertiary); flex: none; }
.footer-copyright { white-space: nowrap; }

/* —— ④ 移动端（≤720，两列布局）微调 —— */
@media (max-width: 720px) {
  .footer-badges { gap: 6px; }
  .footer-badges li { font-size: 11px; padding: 2px 9px; }
  /* 联系卡通栏：窄两列下热线号码一行展示，且联系信息在移动端收尾更醒目 */
  .footer-col-contact { grid-column: 1 / -1; }
  .footer-contact-card { padding: 12px 14px 10px; }
  .footer-record-item { white-space: normal; }
  .footer-copyright { white-space: normal; }
}

/* ==================================================================
   R52 服务目录扩展 —— 卡片简介（2026-10-25）
   结构：服务名 → 分类标签 → 一句话简介（service.desc）→ 起价 → CTA
   简介两行截断 + 两行保底高度：长文案不撑爆卡片，网格内按钮横向对齐
   ================================================================== */
.service-intro {
  margin: -2px 0 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 39px; /* 2 行保底（13px × 1.5 × 2） */
}

/* R54-B：订单时间线「分配师傅」弱化行（指派事件，非状态流转） */
.tl-assign {
  color: #999;
  font-size: 12px;
  padding-left: 12px;
}
