:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef6ff;
  --text: #14213d;
  --muted: #54627a;
  --primary: #0f766e;
  --primary-dark: #0b5b55;
  --accent: #f59e0b;
  --border: #dfe7f2;
  --shadow: 0 20px 45px rgba(20, 33, 61, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#header { flex-shrink: 0; }
main { flex: 1; }
#footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border);
}
nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 16px; position: relative; }
.brand { font-weight: 800; font-size: 1.1rem; color: var(--primary-dark); white-space: nowrap; }
.nav-menu { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 1; }
.nav-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nav-links a, .chip { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
/* 汉堡按钮：桌面端隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.btn, .btn-secondary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: none; cursor: pointer; font-weight: 700;
}
.btn { background: var(--primary); color: white; }
.btn:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--accent); color: #131313; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.hero { position: relative; overflow: hidden; padding: 90px 0 44px; background: #0f1d2c; }
/* 首页 Hero 背景风景图（由 js/main.js 的 HERO_CONFIG.backgroundImage 设置，后续可在管理后台替换） */
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
/* 压暗渐变，保证前景文本可读 */
.hero-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10, 20, 34, 0.55) 0%, rgba(10, 20, 34, 0.28) 55%, rgba(10, 20, 34, 0.6) 100%); }
.hero-intro, .hero-showcase, .hero-filmstrip { position: relative; z-index: 1; }
.hero-intro { max-width: 780px; margin: 0 auto 30px; text-align: center; }
.hero .hero-intro h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero .hero-intro p { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3); }
.hero-badge { display: inline-block; background: rgba(255, 255, 255, 0.95); color: var(--primary); border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; font-weight: 700; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 14px; line-height: 1.1; }
p { margin: 0 0 14px; color: var(--muted); }
.hero-actions { justify-content: center; margin-top: 20px; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.hero-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }
.hero-showcase { display: flex; justify-content: center; }
.hero-video-card, .card, .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.hero-video-card { padding: 18px; width: min(780px, 100%); }
.video-frame { border-radius: 20px; overflow: hidden; background: #000; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-caption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; text-align: center; }
/* 视频下方全宽横排照片跑马灯，边缘渐隐 */
.hero-filmstrip { margin-top: 30px; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.media-track { display: flex; gap: 14px; width: max-content; animation: scrollGallery 48s linear infinite; }
.media-track img { width: 220px; height: 140px; object-fit: cover; border-radius: 14px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); }
.guide-card { display: flex; flex-direction: row; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); border-color: var(--accent); }
.guide-card img { width: 280px; min-height: 100%; object-fit: cover; flex-shrink: 0; border-radius: 18px 0 0 18px; }
.guide-card-body { flex: 1; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.guide-card-body h3 { margin: 0 0 6px; font-size: 1.25rem; }
.guide-card-body p { margin: 8px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
/* 三列网格内的卡片：垂直布局、缩小尺寸 */
.grid-3 .guide-card { flex-direction: column; border-radius: 18px; }
.grid-3 .guide-card img { width: 100%; aspect-ratio: 1 / 1; min-height: 0; object-fit: cover; border-radius: 14px 14px 0 0; }
.grid-3 .guide-card-body { padding: 12px 14px 14px; }
.grid-3 .guide-card-body h3 { font-size: 1rem; margin: 0 0 4px; }
.grid-3 .guide-card-body p { font-size: 0.82rem; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid-3 .guide-info { gap: 3px; font-size: 0.8rem; margin: 5px 0 0; }
.grid-3 .guide-tag { padding: 2px 8px; font-size: 0.72rem; }
.show-more-wrap { text-align: center; margin-top: 32px; }
.show-more-btn { padding: 12px 32px; border: 2px solid var(--accent); background: transparent; color: var(--accent); border-radius: 999px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.show-more-btn:hover { background: var(--accent); color: var(--surface); }
.guide-card.hidden { display: none; }

/* —— 导游筛选栏 —— */
.guide-filter-bar {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.04);
}
.guide-filter-bar .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.guide-filter-bar > .grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.guide-filter-bar label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.guide-filter-bar select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 28px 8px 12px;
  font: inherit;
  font-size: 0.88rem;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2354627a' d='M3 4.5L6 7.5L9 4.5z'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.guide-filter-bar select:hover { border-color: var(--primary); }
.guide-filter-bar select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
}
@media (max-width: 768px) {
  .guide-filter-bar .grid { grid-template-columns: 1fr; }
}
/* 卡片信息行：姓名/城市/语种/标签 逐行展示 */
.guide-info { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 8px 0 0; font-size: 0.88rem; }
.guide-info-row { display: flex; align-items: center; gap: 6px; color: var(--text); line-height: 1.5; }
.guide-info-label { color: var(--muted); font-weight: 600; white-space: nowrap; }
.guide-info-tags { flex-wrap: wrap; gap: 6px; }
.guide-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--primary); font-size: 0.78rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.guide-tag-cert { background: #fef3c7; color: #92400e; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-btn { border: 1px solid var(--border); background: var(--surface); width: 42px; height: 42px; border-radius: 999px; cursor: pointer; font-size: 1rem; }
.review-card { display: grid; grid-template-columns: minmax(260px, 320px) 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.review-photo { width: 100%; height: 260px; object-fit: cover; border-radius: 20px; }
.review-label { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--primary); font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; }
.review-location { color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.review-quote { font-size: 1.05rem; color: var(--text); }
@keyframes scrollGallery {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-1 { grid-template-columns: 1fr; }
.card { padding: 20px; }
.badge { display: inline-block; border-radius: 999px; background: var(--surface-2); color: var(--primary); padding: 6px 10px; font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--primary-dark); }
ul { padding-left: 18px; }
footer { border-top: 1px solid var(--border); background: var(--surface); padding: 28px 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font: inherit; background: var(--surface); }
textarea { min-height: 110px; resize: vertical; }
.table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 18px; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: var(--surface-2); }
.muted { color: var(--muted); }
.center { text-align: center; }
.lang-picker { position: relative; }
.lang-picker-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); padding: 8px 12px; cursor: pointer; font-weight: 700; color: var(--text); }
.lang-picker-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.lang-picker-current { color: var(--primary); }
.lang-picker-menu { position: absolute; top: calc(100% + 8px); right: 0; display: none; flex-direction: column; min-width: 160px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; z-index: 30; }
.lang-picker.open .lang-picker-menu { display: flex; }
.lang-option { border: none; background: transparent; text-align: left; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--text); }
.lang-option.active { background: var(--surface-2); color: var(--primary); }
.auth-state { display: flex; align-items: center; }
.auth-user { display: flex; align-items: center; gap: 8px; }
.auth-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.btn-text { background: none; border: none; color: var(--muted); font-weight: 600; cursor: pointer; padding: 4px 8px; font-size: 0.85rem; }
.btn-text:hover { color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
@media (max-width: 900px) {
  .hero { padding-top: 90px; }
  .hero-filmstrip { margin-top: 22px; }
  .media-track img { width: 180px; height: 116px; }
  .review-card { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .guide-card { flex-direction: column; }
  .guide-card img { width: 100%; height: 200px; border-radius: 18px 18px 0 0; }
}

/* 平板/移动端：折叠导航为汉堡菜单 */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    z-index: 25;
  }
  nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { padding: 10px 12px; border-radius: 10px; }
  .nav-links a:hover { background: var(--surface-2); }
  .nav-actions { justify-content: space-between; flex-wrap: wrap; }
  .lang-picker-menu { position: static; box-shadow: none; border: 1px solid var(--border); margin-top: 6px; width: 100%; }
}

/* 小屏优化 */
@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  nav { padding: 12px 0; }
  .hero { padding-top: 76px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 12px 14px; }
  .nav-actions { gap: 8px; }
  .lang-picker-toggle { padding: 8px 10px; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .review-card { padding: 16px; }
  .review-photo { height: 200px; }
  .video-caption { font-size: 0.85rem; }
  .media-track img { width: 150px; height: 96px; }
  .table { font-size: 0.82rem; }
  .table th, .table td { padding: 8px; }
  .card { padding: 16px; }
}

/* ==================== 旅游规划页（plan.html） ==================== */

/* 页面背景：点状地图纹理 + 柔和渐变 */
body[data-page="plan"] {
  background:
    radial-gradient(rgba(15, 118, 110, 0.06) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(180deg, #eef6ff 0%, #f5f7fb 260px);
}

/* —— 页头 —— */
.plan-hero { max-width: 760px; margin: 12px auto 40px; }
.plan-hero .badge { background: #fff3dd; color: #b45309; }
.plan-hero h1 {
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.015em;
}
.plan-hero p { max-width: 640px; margin: 0 auto; font-size: 1.02rem; }

/* —— 表单卡片 —— */
.plan-card {
  position: relative;
  overflow: hidden;
  max-width: 840px;
  margin: 0 auto;
  padding: 44px 48px 36px;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* —— 步骤区块：行程路线站点 —— */
.plan-section { position: relative; padding: 0 0 38px 64px; }
.plan-section::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 10px;
  border-left: 2px dashed #c8d6e8;
}
.plan-section:last-of-type::before { display: none; }
.plan-section:last-of-type { padding-bottom: 6px; }

.plan-step-num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #c8d6e8;
  background: var(--surface);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
/* 步骤填写完成后路标点亮 */
.plan-done .plan-step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.plan-section-head { display: flex; align-items: flex-start; gap: 16px; }
.plan-section-head h2 { margin: 3px 0 4px; font-size: 1.15rem; letter-spacing: -0.01em; }
.plan-section-head p { margin: 0; font-size: 0.92rem; }

/* 子步骤（景点，位于第 1 站内，琥珀色区分） */
.plan-section-sub { margin-top: 34px; }
.plan-section-sub .plan-step-num {
  position: static;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  border-color: #f0d9ab;
  background: #fffaf0;
  color: #b45309;
  box-shadow: none;
}
.plan-section-sub.plan-done .plan-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #131313;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

/* —— 多选 chips —— */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28);
}
.chip.chip-remove:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* —— 景点分组 —— */
.attr-group { margin-bottom: 16px; }
.attr-group-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.plan-attr-empty {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.plan-input-row { display: flex; gap: 10px; margin-top: 14px; }
.plan-input-row input { flex: 1; width: auto; }

/* —— 单选 pill 卡片 —— */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  margin-bottom: 0;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active {
  background: var(--surface-2);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.pill.active::after { content: '✓'; font-weight: 800; color: var(--primary); }

/* —— 步进器 —— */
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.stepper-btn {
  width: 46px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s ease;
}
.stepper-btn:hover { background: var(--surface-2); }
.stepper input {
  width: 56px;
  padding: 11px 0;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  background: var(--surface);
  appearance: textfield;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* —— 日期 / 联系表单布局 —— */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--primary); }

/* —— 提交区 —— */
.plan-actions { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.plan-error {
  background: #fdf1f1;
  border: 1px solid #f2c4c4;
  color: #b42318;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.93rem;
}
.plan-submit {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.05rem;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.3);
}

/* —— 成功视图 —— */
.plan-success { padding: 44px 28px; }
.plan-success::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.18);
}

/* —— 可达性 / 降级 —— */
.chip:focus-visible,
.pill:has(input:focus-visible),
.stepper-btn:focus-visible,
.plan-submit:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (max-width: 640px) {
  .plan-card { padding: 28px 20px; border-radius: 20px; }
  .plan-section { padding: 0 0 32px 50px; }
  .plan-section::before { left: 16px; }
  .plan-step-num { width: 34px; height: 34px; font-size: 0.9rem; }
  .split-2 { grid-template-columns: 1fr; }
  .plan-hero { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .chip, .pill, .stepper-btn, .plan-submit, .plan-step-num { transition: none; }
}
