/* 納塔莉 Natahlee — 全站單一樣式（2026-10-05 第二次改版：A 多彩產業色）
   純白底、冷灰區塊；標題 Noto Sans TC 粗黑體；logo 靛紫為品牌色；每個產業／地區／主題一組專屬色，
   用 data-cat 設定 --cat（主色）、--cat-ink（文字色）、--cat-tint（淺底）。
   不做深色模式（業主：避開暗色底）。照片位置先用品牌圖案佔位（.ph）。 */

:root {
  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --bg-3: #eceef2;
  --ink: #14161b;
  --ink-2: #3d424d;
  --muted: #646a77;
  --rule: #e4e6eb;
  --rule-2: #cfd3da;
  --brand: #110334;
  --brand-ink: #ffffff;
  --accent: #4e29ae;
  --accent-ink: #ffffff;
  --accent-tint: #efebfc;
  --cat: var(--accent);
  --cat-ink: #2d1873;
  --cat-tint: #efebfc;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --wrap: 74rem;
  --measure: 41rem;
  --r: 14px;
  --r-sm: 8px;
  color-scheme: light;
}

/* 產業、地區、主題色（主色／文字色／淺底），文字色對淺底皆達 AA */
[data-cat="restaurant"]   { --cat: #e4572e; --cat-ink: #92290f; --cat-tint: #fde8e2; }
[data-cat="construction"] { --cat: #e08a12; --cat-ink: #774405; --cat-tint: #fdf0d9; }
[data-cat="clinic"]       { --cat: #1d9e75; --cat-ink: #0a5a43; --cat-tint: #dcf3ea; }
[data-cat="retail"]       { --cat: #d4537e; --cat-ink: #8a2a4c; --cat-tint: #fbe6ee; }
[data-cat="pet"]          { --cat: #5f9a1f; --cat-ink: #36640f; --cat-tint: #eaf3de; }
[data-cat="laundry"]      { --cat: #2f7fd0; --cat-ink: #13548f; --cat-tint: #e3eefb; }
[data-cat="taichung"], [data-cat="taoyuan"], [data-cat="hsinchu"] { --cat: #7357d6; --cat-ink: #3a2a8a; --cat-tint: #eeeafd; }
[data-cat="ai"]           { --cat: #4e29ae; --cat-ink: #2d1873; --cat-tint: #efebfc; }
[data-cat="pro"]          { --cat: #4b5a70; --cat-ink: #26303f; --cat-tint: #e9edf2; }
[data-cat="stories"]      { --cat: #0d8a9c; --cat-ink: #075663; --cat-tint: #ddf3f6; }
[data-cat="service"]      { --cat: #110334; --cat-ink: #110334; --cat-tint: #efebfc; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--sans); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

/* ---------- 照片佔位：品牌圖案（logo 浮水印＋點紋，顏色跟著分類色） ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background-color: var(--cat-tint);
  background-image: radial-gradient(color-mix(in srgb, var(--cat) 22%, transparent) 1.4px, transparent 1.6px);
  background-size: 14px 14px; }
.ph::after { content: ""; position: absolute; inset: 0; background: url("/assets/images/natahlee/logo-dark.png") center / 22% auto no-repeat; opacity: .10; }
.ph-label { display: none; position: absolute; left: .7rem; bottom: .6rem; right: .7rem; z-index: 1; font-size: .72rem; line-height: 1.45; color: var(--cat-ink); background: rgba(255, 255, 255, .88); border-radius: 6px; padding: .3rem .5rem; }
html.is-preview .ph-label { display: block; }
.r-169 { aspect-ratio: 16 / 9; } .r-32 { aspect-ratio: 3 / 2; } .r-43 { aspect-ratio: 4 / 3; } .r-11 { aspect-ratio: 1 / 1; } .r-cover { aspect-ratio: 1200 / 630; }
.media { border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 分類標籤 ---------- */
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: var(--cat-ink); background: var(--cat-tint); border-radius: 999px; padding: .18rem .7rem; text-decoration: none; line-height: 1.6; }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--cat); }
a.pill:hover { background: var(--cat); color: #fff; }
a.pill:hover::before { background: #fff; }
.kicker { margin: 0 0 .6rem; }

/* ---------- 導覽 ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(6px); }
.head-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--brand); text-decoration: none; }
.brand-mark img { width: 34px; height: 34px; }
.brand-zh { font-family: var(--sans); font-weight: 900; font-size: 1.35rem; letter-spacing: .12em; line-height: 1; }
.brand-en { font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; padding: .45rem .75rem; border-radius: 999px; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-tint); color: var(--cat-ink, var(--accent)); color: #2d1873; }
.nav a.cta { background: var(--brand); color: #fff; margin-left: .4rem; padding: .5rem 1.1rem; }
.nav a.cta:hover { background: var(--accent); }
@media (max-width: 860px) {
  .site-head { position: static; }
  .head-bar { flex-wrap: wrap; gap: .4rem; }
  .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; scrollbar-width: none; margin: 0 -.75rem; }
  .nav a { white-space: nowrap; }
}

/* ---------- 共用 ---------- */
.section-label { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; }
.section-label h2, .section-label p { margin: 0; font-family: var(--sans); font-weight: 900; font-size: 1.45rem; letter-spacing: .01em; line-height: 1.3; }
.section-label a { font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.section-label a:hover { text-decoration: underline; }
.crumbs { margin: 1.3rem 0 0; font-size: .82rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: .45rem; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28rem; }
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700; letter-spacing: .03em; }
.btn:hover { background: var(--accent); color: #fff; }
.btn.ghost { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff; }
.btns { display: flex; gap: .7rem; flex-wrap: wrap; }

/* 卡片（文章、報導、延伸閱讀共用） */
.card { display: flex; flex-direction: column; gap: .55rem; color: inherit; text-decoration: none; }
.card .ph, .card .media { margin-bottom: .35rem; transition: transform .2s; }
.card:hover .ph, .card:hover .media { transform: translateY(-3px); }
.card h3 { margin: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.card:hover h3 { color: var(--accent); }
.card p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .pill { align-self: flex-start; }
.grid-3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.6rem; }
.grid-4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem 1.4rem; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 首頁 ---------- */
.home-intro { padding: 2.2rem 0 1.2rem; }
.home-intro h1 { margin: 0 0 .4rem; font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.3; letter-spacing: .01em; color: var(--brand); }
.home-intro p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 46rem; }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 0 2rem; list-style: none; margin: 0; }
.front { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2.4rem; padding-bottom: 3rem; }
.lead-story .card h2 { margin: 0; font-weight: 900; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.38; color: var(--ink); }
.lead-story .card:hover h2 { color: var(--accent); }
.lead-story .card p { -webkit-line-clamp: 4; font-size: 1rem; color: var(--ink-2); }
.rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.rail-list .card { flex-direction: row; gap: .9rem; align-items: flex-start; }
.rail-list .ph, .rail-list .media { flex: 0 0 34%; margin: 0; border-radius: var(--r-sm); }
.rail-list h3 { font-size: .98rem; }
.desks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding: 0 0 3rem; }
.desk { border-radius: var(--r); background: var(--bg); border: 1px solid var(--rule); overflow: hidden; }
.desk-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--cat-tint); }
.desk-head h2 { margin: 0; font-size: 1.05rem; font-weight: 900; color: var(--cat-ink); }
.desk-head a { color: var(--cat-ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
.desk ul { list-style: none; margin: 0; padding: .4rem 1rem .8rem; }
.desk li { padding: .55rem 0; border-bottom: 1px solid var(--rule); font-size: .94rem; line-height: 1.6; }
.desk li:last-child { border-bottom: 0; }
.desk li a { color: var(--ink-2); text-decoration: none; }
.desk li a:hover { color: var(--cat-ink); text-decoration: underline; }
.band { padding: 3rem 0; }
.band.alt { background: var(--bg-2); }
.band.tint { background: var(--accent-tint); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.svc-col { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 1.3rem 1.4rem; }
.svc-col h3 { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 900; color: var(--brand); }
.svc-col .lead { margin: 0 0 .7rem; color: var(--muted); font-size: .9rem; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--rule); }
.svc-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.svc-list a:hover { color: var(--accent); }
.svc-list .from { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.closing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.closing p.big { font-family: var(--sans); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; margin: 0 0 1.2rem; line-height: 1.45; color: var(--brand); }
@media (max-width: 900px) {
  .front { grid-template-columns: 1fr; gap: 2rem; }
  .desks { grid-template-columns: 1fr 1fr; }
  .svc-cols, .closing { grid-template-columns: 1fr; }
}
@media (max-width: 580px) { .desks { grid-template-columns: 1fr; } }

/* ---------- 文章頁 ---------- */
.art-head { padding-top: .2rem; padding-bottom: 1.6rem; }
.art-head > * { max-width: 52rem; }
.art-head .kicker { margin-top: 1.6rem; }
.art-head h1 { text-wrap: balance; margin: 0 0 1rem; font-weight: 900; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.35; color: var(--ink); }
.art-head .dek { margin: 0 0 1.2rem; font-size: 1.1rem; color: var(--ink-2); line-height: 1.8; }
.byline { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .85rem; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 700; }
.disclosure { margin: 1rem 0 0; font-size: .86rem; color: var(--cat-ink); background: var(--cat-tint); border-radius: var(--r-sm); padding: .6rem .9rem; }
.art-cover { margin: 0 auto 2.4rem; max-width: var(--wrap); padding: 0 1.25rem; }
.art-cover img, .art-cover .ph { width: 100%; border-radius: var(--r); }
.art-cover img { aspect-ratio: 1200 / 630; object-fit: cover; }
.art-grid { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 17.5rem); justify-content: space-between; gap: 3rem; }
.art-aside { position: sticky; top: 5rem; align-self: start; font-size: .9rem; }
.aside-box { background: var(--bg-2); border-radius: var(--r); padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.aside-box img { border-radius: var(--r-sm); }
.aside-title { margin: 0 0 .6rem; font-family: var(--sans); font-weight: 900; font-size: .98rem; color: var(--ink); }
.toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; padding: .42rem 0; border-top: 1px solid var(--rule); line-height: 1.5; display: flex; gap: .55rem; }
.toc li:first-child { border-top: 0; }
.toc li::before { content: counter(toc); flex: 0 0 1.35rem; height: 1.35rem; border-radius: 50%; background: #fff; color: var(--cat-ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: .05rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.aside-price { background: var(--accent-tint); }
.aside-price .amount { display: block; font-family: var(--sans); font-size: 1.6rem; font-weight: 900; color: var(--brand); line-height: 1.2; margin: .2rem 0 .3rem; }
.aside-price p { margin: 0 0 .9rem; color: var(--muted); font-size: .84rem; }
.aside-price .btn { width: 100%; text-align: center; }
@media (max-width: 980px) {
  .art-grid { grid-template-columns: 1fr; gap: 1rem; }
  .art-aside { position: static; order: -1; }
  .aside-box.toc-box { display: none; }
}

/* 內文排版 */
.prose { font-size: 1.06rem; line-height: 1.95; color: var(--ink); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { text-wrap: balance; font-weight: 900; font-size: 1.5rem; line-height: 1.45; margin: 2.3em 0 .8em; padding-left: .8rem; border-left: 5px solid var(--cat); scroll-margin-top: 5rem; }
.prose h3 { font-weight: 700; font-size: 1.18rem; line-height: 1.5; margin: 1.8em 0 .6em; }
.prose h4 { font-size: 1.02rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { position: relative; padding-left: 1.6em; }
.prose ul.checklist li::before { content: ""; position: absolute; left: .15em; top: .62em; width: .62em; height: .62em; border-radius: 50%; background: var(--cat); box-shadow: 0 0 0 3px var(--cat-tint); }
.prose strong { font-weight: 700; background: linear-gradient(transparent 64%, var(--cat-tint) 64%); }
.prose blockquote { margin: 1.6em 0; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--bg-2); font-size: 1.1rem; color: var(--ink-2); }
.prose code { font-size: .88em; background: var(--bg-2); padding: .1em .35em; border-radius: 4px; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--r-sm); }
.prose figcaption { font-size: .84rem; color: var(--muted); margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.8em; font-size: .94rem; line-height: 1.65; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .65rem .7rem; border-bottom: 1px solid var(--rule); }
.prose thead th { font-size: .8rem; color: var(--muted); border-bottom: 2px solid var(--rule-2); white-space: nowrap; }
.prose .box { background: var(--cat-tint); border-radius: var(--r); padding: 1.1rem 1.3rem; margin: 1.6em 0; font-size: .97rem; line-height: 1.85; }
.prose .box > :last-child { margin-bottom: 0; }
.prose .box strong { background: none; }
.prose .source { font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--rule-2); padding-top: .8rem; margin-top: 2.4em; }
.prose .part { margin: 2.6em 0 -1.7em; font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--cat-ink); }
.prose svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.prose figure.on-dark { background: #1b1f2a; color: #e9ecf2; padding: 1.1rem 1.1rem .9rem; border-radius: var(--r); }
.prose figure.on-dark figcaption { color: rgba(233, 236, 242, .75); }
.prose pre.diagram { white-space: pre; overflow-x: auto; margin: 1.6em 0; padding: 1rem 1.2rem; background: var(--bg-2); border-radius: var(--r-sm); font-family: ui-monospace, "Sarasa Mono TC", "MingLiU", "Noto Sans Mono CJK TC", monospace; font-size: .84rem; line-height: 1.6; color: var(--ink-2); }
.prose .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 1.6em 0; }
.prose .gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); }
.prose .gallery figcaption { grid-column: 1 / -1; }
@media (max-width: 580px) { .prose .gallery { grid-template-columns: 1fr 1fr; } }

/* 服務價格表與條件卡（建置注入） */
.prose .nt-price { margin: 1.2em 0 2em; }
.prose .nt-price table { display: table; margin: 0; }
.prose .nt-price td.p { white-space: nowrap; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.prose .nt-price td:first-child { min-width: 7rem; }
.prose .nt-price .note { font-size: .84rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.7; }
.prose .nt-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.3rem; }
.prose .nt-fit > div { background: var(--bg-2); border-radius: var(--r); padding: 1rem 1.15rem; }
.prose .nt-fit h3 { margin: 0 0 .5rem; font-size: 1rem; }
.prose .nt-fit p, .prose .nt-fit ul { margin: 0; font-size: .93rem; line-height: 1.75; }
.prose .nt-fit ul { padding-left: 1.2em; }
@media (max-width: 640px) { .prose .nt-fit { grid-template-columns: 1fr; } .prose .nt-price td.p { white-space: normal; } .prose .nt-price table { display: block; overflow-x: auto; } }

/* 延伸閱讀 */
.related { padding: 2.6rem 1.25rem 0; margin-top: 3.2rem; border-top: 1px solid var(--rule); }

/* ---------- 分類與一般頁 ---------- */
.page-hero { background: var(--cat-tint); padding: .2rem 0 2rem; margin-bottom: 2.2rem; }
.page-head { padding-bottom: 0; }
.page-head h1 { text-wrap: balance; margin: 1.2rem 0 .6rem; font-weight: 900; font-size: clamp(1.8rem, 4.4vw, 2.7rem); line-height: 1.3; color: var(--cat-ink); }
.page-head .lead { margin: 0; max-width: 46rem; color: var(--ink-2); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.page-body { max-width: 52rem; }
.index-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 1.6rem; }
.index-grid time { font-size: .78rem; color: var(--muted); }
@media (max-width: 960px) { .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .index-grid { grid-template-columns: 1fr; } }
.price-group { margin: 0 0 2.8rem; }
.price-group > h2 { font-weight: 900; font-size: 1.45rem; margin: 0 0 .3rem; color: var(--brand); }
.price-group > .lead { margin: 0 0 1rem; color: var(--muted); }
.price-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); }
.price-table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.65; min-width: 40rem; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--rule); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table thead th { font-size: .78rem; color: var(--muted); background: var(--bg-2); white-space: nowrap; }
.price-table td.svc a { font-weight: 800; color: var(--brand); text-decoration: none; }
.price-table td.svc a:hover { color: var(--accent); }
.price-table td.p { white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand); }

/* ---------- 服務總覽 ---------- */
.svc-group { margin: 0 0 2.8rem; }
.svc-lead { margin: -.6rem 0 1.2rem; color: var(--muted); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.2rem; }
.svc-grid a { display: flex; flex-direction: column; height: 100%; padding: 0 0 1.2rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); color: var(--ink); text-decoration: none; overflow: hidden; }
.svc-grid a:hover { border-color: var(--accent); }
.svc-grid .ph { border-radius: 0; margin-bottom: 1rem; }
.svc-grid h3, .svc-grid p, .svc-grid .from { margin-left: 1.2rem; margin-right: 1.2rem; }
.svc-grid h3 { margin-top: 0; margin-bottom: .4rem; font-size: 1.1rem; font-weight: 800; line-height: 1.45; }
.svc-grid a:hover h3 { color: var(--accent); }
.svc-grid p { margin-top: 0; margin-bottom: .9rem; font-size: .9rem; color: var(--ink-2); line-height: 1.7; flex: 1; }
.svc-grid .from { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: st; }
.steps li { counter-increment: st; background: var(--bg-2); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.steps h3 { margin: 0 0 .3rem; font-size: 1rem; }
.steps p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 頁尾 ---------- */
.site-foot { margin-top: 4.5rem; background: var(--bg-2); color: var(--ink-2); border-top: 1px solid var(--rule); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 2rem 1.6rem; padding: 2.8rem 0 2.2rem; }
.foot-grid h2 { margin: 0 0 .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: .88rem; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { margin: .8rem 0 1.1rem; font-size: .88rem; color: var(--muted); max-width: 20rem; line-height: 1.75; }
.foot-brand .btn { font-size: .86rem; padding: .55rem 1.2rem; }
.foot-contact { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .3rem; }
.foot-contact a { font-size: .84rem; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--rule); padding: 1rem 0 2rem; font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; }
.foot-bottom .copy { margin: 0; }
.foot-bottom .legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* 返回頂部：捲動超過一段距離才出現（沒有 JS 時一直顯示） */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(17, 3, 52, .25); transition: opacity .2s, transform .2s, background .2s; }
.to-top:hover { background: var(--accent); transform: translateY(-2px); }
html.js .to-top:not(.show) { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (max-width: 560px) { .to-top { right: 1rem; bottom: 1rem; width: 42px; height: 42px; } }

@media print {
  .site-head nav, .art-aside, .related, .site-foot, .to-top { display: none; }
}
