/* 一二輔具 形象網站：純靜態，放 Cloudflare Pages。看的人多半是 40～70 歲的家屬，字大、按鈕大、電話隨時按得到 */
:root {
  --primary: #0f766e; --primary-dark: #0b5953; --primary-soft: #e6f4f1;
  --accent: #f59e0b; --text: #1c2421; --muted: #4b5753; --line: #dbe3e0;
  --bg: #ffffff; --bg-alt: #f4f7f6; --radius: 14px;
}
* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; line-height: 1.75;
  padding-bottom: 76px; /* 手機底下的通話列 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* 頂部 */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand b { font-size: 1.5rem; letter-spacing: .08em; color: var(--primary); }
.brand span { font-size: .85rem; color: var(--muted); }
.menu { display: flex; gap: 4px; }
.menu a { text-decoration: none; color: var(--text); padding: 8px 10px; border-radius: 8px; font-weight: 600; }
.menu a:hover, .menu a[aria-current] { background: var(--primary-soft); color: var(--primary); }
.top .tel { font-weight: 800; text-decoration: none; white-space: nowrap; }
@media (max-width: 820px) {
  .top .tel { display: none; }
  .top .wrap { flex-wrap: wrap; gap: 0; padding-top: 8px; }
  .menu { width: 100%; justify-content: space-between; margin: 4px 0 6px; }
  .menu a { white-space: nowrap; padding: 6px 4px; font-size: .9rem; }
}

/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border-radius: 12px;
  font-size: 1.1rem; font-weight: 800; text-decoration: none; border: 2px solid var(--primary); color: var(--primary); background: #fff; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 首頁大圖 */
.hero { background: linear-gradient(135deg, var(--primary-soft), #fff 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: 2.3rem; }
.hero h1 small { display: block; font-size: 1.1rem; color: var(--primary); letter-spacing: .1em; margin-bottom: 8px; }
.hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tags li { background: #fff; border: 2px solid var(--primary); color: var(--primary); border-radius: 999px; padding: 4px 14px; font-weight: 700; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .hero h1 { font-size: 1.9rem; }
}

/* 卡片 */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-card div { padding: 16px 20px; }

/* 品項 */
.items { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.items li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; }

/* 步驟 */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; font-size: 1.1rem; }

/* 雙欄 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* 常見問題 */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; font-size: 1.05rem; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* 表格 */
table.info { width: 100%; border-collapse: collapse; }
table.info th, table.info td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info th { width: 7em; color: var(--muted); font-weight: 600; }

.notice { background: #fef3c7; border-radius: var(--radius); padding: 16px 20px; }

/* 呼叫行動 */
.cta { background: var(--primary); color: #fff; }
.cta h2 { color: #fff; }
.cta .btn { border-color: #fff; }
.cta .btn.primary { background: #fff; color: var(--primary); }
.cta .btn:not(.primary) { background: transparent; color: #fff; }

/* 頁尾 */
footer { background: #1c2421; color: #cfd8d5; padding: 40px 0 24px; font-size: .95rem; }
footer a { color: #fff; }
footer .grid { gap: 24px; }
footer h3 { color: #fff; font-size: 1.05rem; }
footer .copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid #3a4440; font-size: .85rem; }

/* 手機底下固定的通話列 */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(0,0,0,.06); }
.callbar .btn { flex: 1; min-height: 52px; padding: 0 8px; }
@media (min-width: 821px) { .callbar { display: none; } body { padding-bottom: 0; } }
