
/* ===== Apple 超簡白 + 柔和投影 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang HK", "Noto Sans TC", sans-serif;
  color: #1d1d1f;
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* 標題 */
h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

p { margin-bottom: 16px; max-width: 68ch; }

/* 導語 */
.lead {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 28px;
}

/* 目錄 */
.toc {
  background: #f9f9fb;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px 0 40px;
}
.toc h2 { font-size: 1rem; margin: 0 0 12px; border: none; padding: 0; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: #0071e3; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* 卡片 */
.card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 28px;
  margin: 20px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* 收費表 */
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }
.price-table th { background: #f9f9fb; font-weight: 600; font-size: 0.9rem; color: #666; }
.price-table td:last-child { text-align: right; font-weight: 600; color: #1d1d1f; }
.price-table caption { text-align: left; font-weight: 700; font-size: 1rem; margin-bottom: 8px; caption-side: top; }
.price-note { font-size: 0.85rem; color: #888; margin-top: 4px; }

/* 比較表 */
.compare-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.92rem; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; text-align: center; }
.compare-table th { background: #f9f9fb; font-weight: 600; }
.compare-table td:first-child { text-align: left; font-weight: 500; }

/* CTA 按鈕 */
.cta-section { text-align: center; margin: 40px 0; }
.btn-phone {
  display: inline-block;
  background: #0071e3;
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  min-height: 56px;
  line-height: 24px;
  margin: 6px;
  transition: background 0.2s;
}
.btn-phone:hover { background: #005bb5; }
.btn-wa {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  min-height: 56px;
  line-height: 24px;
  margin: 6px;
  transition: background 0.2s;
}
.btn-wa:hover { background: #1da851; }

/* 紅旗提示 */
.alert-box {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.alert-box strong { color: #c53030; }

/* HowTo 步驟 */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 20px 20px 64px;
  margin: 12px 0;
  background: #f9f9fb;
  border-radius: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: #0071e3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* FAQ */
details {
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  margin: 10px 0;
  overflow: hidden;
}
details summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
details summary::before { content: "＋"; color: #0071e3; font-weight: 700; }
details[open] summary::before { content: "－"; }
details summary::-webkit-details-marker { display: none; }
details > div { padding: 0 20px 16px; color: #444; }

/* 評語卡 */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.review-card {
  background: #f9f9fb;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #f0f0f0;
}
.review-stars { color: #f5a623; font-size: 1rem; margin-bottom: 8px; }
.review-quote { font-style: italic; color: #333; margin-bottom: 10px; font-size: 0.95rem; }
.review-author { font-size: 0.85rem; color: #888; }

/* 地圖 */
.map-wrap { border-radius: 16px; overflow: hidden; margin: 16px 0; }

/* References 折疊 */
.references { font-size: 12px; color: #999; margin-top: 48px; }
.references summary { font-size: 12px; color: #999; cursor: pointer; }
.references ol { padding-left: 18px; margin-top: 8px; }
.references li { margin-bottom: 4px; }
.references a { color: #888; }

/* 頁尾內鏈 */
.footer-links { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.footer-links a { color: #0071e3; text-decoration: none; margin: 0 12px; font-size: 0.9rem; }

/* RWD */
@media (max-width: 600px) {
  .page-wrap { padding: 24px 16px 40px; }
  h1 { font-size: 1.35rem; }
  .btn-phone, .btn-wa { display: block; margin: 8px 0; }
  .reviews { grid-template-columns: 1fr; }
}
