/* =========================================================
   吳潔行銷｜共用樣式 css/style.css（v2）
   純 CSS，無框架。
   1. 設計變數   2. 基礎設定   3. 版面工具   4. 按鈕
   5. Header／導覽   6. 首頁 Hero   7. 首頁區塊
   8. 子頁共用   9. 各頁專屬   10. Footer／浮動元件
   11. 動畫   12. RWD Media Query
   ========================================================= */

/* ---------- 1. 設計變數 ---------- */
:root {
  --ink: #101010;
  --ink-2: #1B1B1D;
  --warm: #151517;
  --gold: #C2A47E;
  --gold-dark: #C2A47E;
  --gold-light: #D8C3A2;
  --ivory: #1B1B1D;
  --gray: #2C2B2E;
  --brown: #1B1B1D;
  --text: #EDEAE3;
  --muted: #A9A29A;
  --muted-light: #A9A29A;
  --line-dark: rgba(237, 234, 227, .1);
  --bg: #101010;
  --surface: #1B1B1D;
  --cream: #EDEAE3;
  --cta: #C9AD86;
  --cta-grad: linear-gradient(135deg, #E6D7BD 0%, #C9AD86 52%, #A88B66 100%);
  --gold-grad: linear-gradient(135deg, #DCC8A8 0%, #C2A47E 55%, #9C8160 100%);

  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --display: "Cormorant Garamond", "Noto Serif TC", serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, .9);
  --header-h: 80px;
  --container: 1240px;
  --gutter: 28px;
  --ease: cubic-bezier(.22, .68, .2, 1);
}

/* ---------- 2. 基礎設定 ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* 數字一律使用齊線數字，讓價格與數據更整齊 */
*, *::before, *::after { font-variant-numeric: lining-nums; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--text);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .03em;
  color: var(--cream);
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.28rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
em { font-style: normal; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--cream);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. 版面工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; }

.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--ink); color: #A9A29A; }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5.5vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 18px; }
.section-desc { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section--dark .section-desc { color: var(--muted-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 600; font-style: italic;
  letter-spacing: .12em;
  color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow-light, .section--dark .eyebrow { color: var(--gold-light); }

.text-gold { color: var(--gold); }
.gold-em {
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-more { margin-top: 52px; text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.divider-ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 0 auto 18px;
}
.divider-ornament::before, .divider-ornament::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- 4. 按鈕 ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .97rem; font-weight: 500;
  letter-spacing: .06em; line-height: 1.3; text-align: center;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .icon-arrow { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn-sm { min-height: 42px; padding: 8px 20px; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 14px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold-grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(194, 164, 126, .7); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(237, 234, 227, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover { box-shadow: 0 16px 34px -12px rgba(194, 164, 126, .8); }
.btn-gold:hover::after { transform: translateX(120%); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--brown); }

.btn-outline { border-color: rgba(28, 29, 32, .8); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-ghost-light { border-color: rgba(237, 234, 227, .35); color: var(--cream); background: rgba(237, 234, 227, .03); }
.btn-ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }


.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--gold-dark);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease), color .25s;
}
.text-link:hover { background-size: 100% 1px; }
.text-link .icon-arrow { transition: transform .35s var(--ease); }
.text-link:hover .icon-arrow { transform: translateX(4px); }
.section--dark .text-link { color: var(--gold-light); }

/* ---------- 5. Header／導覽 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(16, 16, 16, .88);
  border-bottom: 1px solid rgba(237, 234, 227, .08);
  transition: box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(28, 29, 32, .25); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.logo {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  color: var(--cream); line-height: 1.15;
}
.logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px rgba(216, 195, 162, .55), 0 0 0 3px var(--ivory), 0 0 0 4px rgba(194, 164, 126, .45);
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; letter-spacing: .14em; }
.logo-sub { font-family: var(--display); font-style: italic; font-size: .82rem; letter-spacing: .12em; color: var(--gold-dark); }
.logo-light { color: var(--cream); }
.logo-light .logo-mark { box-shadow: inset 0 0 0 1px rgba(216, 195, 162, .55), 0 0 0 3px var(--ink), 0 0 0 4px rgba(194, 164, 126, .5); }
.logo-light .logo-sub { color: var(--gold-light); }

.site-nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  position: relative; display: block;
  padding: 8px 14px;
  font-size: .95rem; font-weight: 500; letter-spacing: .06em;
  color: var(--text);
}
.nav-list a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, 6px) scale(0); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-dark); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: translate(-50%, 0) scale(1); opacity: 1; }

.nav-drawer-extra { display: none; }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--gray); border-radius: 50%;
  background: var(--ivory); cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.nav-toggle span {
  position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s, background-color .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; width: 12px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle { background: transparent; border-color: rgba(237, 234, 227, .25); }
body.nav-open .nav-toggle span { background: var(--ivory); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(28, 29, 32, .6);
  opacity: 0; transition: opacity .35s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; }
.nav-overlay[hidden] { display: none; }

main { padding-top: var(--header-h); }

/* ---------- 6. 首頁 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(237, 234, 227, .045), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(46, 47, 52, .85), transparent 65%),
    var(--ink);
  color: #A9A29A;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(237, 234, 227, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 234, 227, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}

.hero-kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 7px 18px 7px 8px;
  border: 1px solid rgba(216, 195, 162, .3); border-radius: 999px;
  background: rgba(237, 234, 227, .04);
  font-size: .86rem; letter-spacing: .14em; color: #EDEAE3;
}
.hero-kicker-dot {
  display: inline-grid; place-items: center;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--gold-grad); color: #fff;
  font-family: var(--display); font-style: italic; font-size: .85rem; letter-spacing: .08em;
}

.hero-title { color: var(--cream); font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.25; margin-bottom: 26px; }
.hero-title .line { display: block; }
.hero-lead { max-width: 600px; margin-bottom: 38px; font-size: clamp(1rem, 1.35vw, 1.12rem); color: #A9A29A; }
.hero-actions .btn { min-width: 168px; }

.hero-art { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-arch {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 240px 240px 18px 18px;
  background: var(--brown);
  box-shadow: var(--shadow-lg);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::before {
  content: ""; position: absolute; inset: -16px -16px 16px 16px;
  border: 1px solid rgba(216, 195, 162, .45);
  border-radius: 256px 256px 24px 24px;
  pointer-events: none;
}
.hero-art::after {
  content: ""; position: absolute; right: -40px; top: 40%;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 234, 227, .045), transparent 70%);
  filter: blur(10px); pointer-events: none;
}

.hero-card {
  position: absolute; left: -56px; bottom: 44px; z-index: 2;
  width: 250px; padding: 20px 22px;
  border-radius: 14px; background: var(--ivory); color: var(--text);
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-dark);
}
.hero-card-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BA55C; box-shadow: 0 0 0 3px rgba(59, 165, 92, .18); }
.hero-card ul { list-style: none; display: grid; gap: 6px; font-size: .88rem; line-height: 1.5; }
.hero-card li { display: flex; gap: 8px; align-items: flex-start; }
.hero-card .icon { color: var(--gold); margin-top: 3px; width: 1em; height: 1em; }

.hero-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line-dark);
}
.hero-stat { padding: 30px 24px 34px; border-left: 1px solid var(--line-dark); }
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.hero-stat .num {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.1;
  color: var(--cream);
}
.hero-stat .num small { font-family: var(--serif); font-size: .5em; margin-left: 4px; color: var(--gold-light); }
.hero-stat .label { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted-light); letter-spacing: .06em; }

/* 信任指標列 */
.trust { background: var(--ivory); border-bottom: 1px solid var(--gray); }
.trust-inner { display: flex; align-items: stretch; }
.trust-label {
  flex: 0 0 auto; display: flex; align-items: center;
  padding: 22px 28px 22px 0; margin-right: 8px;
  border-right: 1px solid var(--gray);
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.05rem;
  letter-spacing: .08em; color: var(--gold-dark); white-space: nowrap;
}
.trust-list { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; }
.trust-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 14px;
  font-size: .86rem; font-weight: 500; line-height: 1.5; color: var(--text);
}
.trust-list li + li { border-left: 1px solid var(--gray); }
.trust-list .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: rgba(194, 164, 126, .12); color: var(--gold-dark);
}

/* ---------- 7. 首頁區塊 ---------- */
/* 痛點：左右分欄 */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.split-aside p { color: var(--muted); font-size: 1.04rem; }
.split-aside .btn { margin-top: 12px; }

.pain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; list-style: none; counter-reset: pain; }
.pain-item {
  position: relative; padding: 28px 0 28px 64px;
  border-top: 1px solid var(--gray);
  counter-increment: pain;
}
.pain-item::before {
  content: counter(pain, decimal-leading-zero);
  position: absolute; left: 0; top: 24px;
  font-family: var(--display); font-size: 2.1rem; font-weight: 500; font-style: italic; line-height: 1;
  color: var(--gold);
}
.pain-item h3 { margin-bottom: 6px; }
.pain-item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* 流程時間軸 */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; list-style: none; counter-reset: flow; }
.flow-step { position: relative; padding-top: 76px; counter-increment: flow; }
.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--ivory);
  font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--gold-dark);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.flow-step::after {
  content: ""; position: absolute; left: 72px; right: -16px; top: 28px;
  height: 1px; background: linear-gradient(90deg, var(--gold), rgba(194, 164, 126, .15));
}
.flow-step:nth-child(3n)::after, .flow-step:last-child::after { display: none; }
.flow-step:hover::before { background: var(--gold); color: #fff; }
.flow-step h3 { margin-bottom: 8px; }
.flow-step p { margin: 0; color: var(--muted); font-size: .96rem; }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow--4 .flow-step:nth-child(3n)::after { display: block; }
.flow--4 .flow-step:last-child::after { display: none; }
.flow--stack { grid-template-columns: 1fr !important; gap: 28px; margin-top: 28px; }
.flow--stack .flow-step { padding: 2px 0 0 80px; min-height: 56px; }
.flow--stack .flow-step::after { display: block !important; left: 28px; right: auto; top: 64px; bottom: -24px; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(194, 164, 126, .15)); }
.flow--stack .flow-step:last-child::after { display: none !important; }
.section--ivory .flow-step::before { background: var(--warm); }
.section--ivory .flow-step:hover::before { background: var(--gold); }

/* 卡片基底 */
.card {
  position: relative;
  padding: 34px 30px;
  background: var(--ivory);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(194, 164, 126, .35); }
.card:hover::before { transform: scaleX(1); }
.card p:last-child { margin-bottom: 0; }
.section--ivory .card { background: var(--warm); }
.section--ivory .card:hover { background: var(--ivory); }

.card-num {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--display); font-size: 1.15rem; font-weight: 600; font-style: italic;
  color: var(--gold); letter-spacing: .08em;
}

/* 服務卡片 */
.svc-card { display: flex; flex-direction: column; padding: 36px 32px 32px; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.svc-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--ink); color: var(--gold-light);
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { background: var(--gold-grad); color: #fff; transform: rotate(-6deg); }
.svc-index { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 500; color: rgba(194, 164, 126, .28); }
.svc-en { margin: 0 0 4px; font-family: var(--display); font-style: italic; font-size: 1rem; letter-spacing: .08em; color: var(--gold-dark); }
.svc-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.svc-card .value { color: var(--muted); font-size: .97rem; }
.svc-card .svc-link { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--gray); width: 100%; justify-content: space-between; }

.check-list { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; font-size: .96rem; }
.check-list .icon { color: var(--gold); margin-top: 4px; }
.check-list--2col { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }

.svc-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 32px; padding: 34px 40px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(237, 234, 227, .045), transparent 60%),
    var(--ink);
  color: #A9A29A;
}
.svc-banner h3 { color: var(--cream); margin-bottom: 6px; font-size: 1.35rem; }
.svc-banner p { margin: 0; }

/* 為什麼選擇 */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.why-photo { position: relative; margin: 0; }
.why-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 240px 240px 18px 18px;
}
.why-photo::before {
  content: ""; position: absolute; inset: 16px 16px -16px -16px;
  border: 1px solid rgba(216, 195, 162, .4);
  border-radius: 256px 256px 24px 24px; pointer-events: none;
}
.why-photo figcaption {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  background: rgba(28, 29, 32, .85); border: 1px solid rgba(216, 195, 162, .4);
  font-size: .86rem; letter-spacing: .1em; color: var(--cream);
}
.why-list { list-style: none; display: grid; gap: 0; margin-top: 36px; }
.why-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.why-item:last-child { border-bottom: 1px solid var(--line-dark); }
.why-item .why-num { font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1.2; color: var(--gold-light); }
.why-item h3 { margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--muted-light); }

/* 作品卡片 */
.work-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--gray); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brown); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-media .work-num {
  position: absolute; left: 18px; top: 16px;
  font-family: var(--display); font-style: italic; font-size: 1rem; letter-spacing: .1em;
  color: var(--gold-light);
}
.work-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.work-body p { color: var(--muted); font-size: .96rem; }
.work-body .text-link { margin-top: auto; align-self: flex-start; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 14px; }
.tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  border: 1px solid rgba(194, 164, 126, .35);
  background: rgba(194, 164, 126, .08); color: var(--gold-dark);
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
}


/* FAQ */
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--ivory); border: 1px solid var(--gray); border-radius: 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.section--ivory .faq-item { background: var(--warm); }
.faq-item[open] { border-color: rgba(194, 164, 126, .5); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--cream);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-dark);
  font-family: var(--sans); font-weight: 400; font-size: 1.2rem; line-height: 1;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq-answer { padding: 0 26px 24px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* 結尾 CTA */
.cta-band { padding: clamp(72px, 9vw, 112px) 0; background: var(--warm); }
.cta-inner {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(237, 234, 227, .045), transparent 65%),
    var(--ink);
  color: #A9A29A; text-align: center;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(216, 195, 162, .22); border-radius: calc(var(--radius) + 2px);
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-inner h2 { max-width: 760px; margin-left: auto; margin-right: auto; color: var(--cream); }
.cta-inner p { max-width: 660px; margin: 0 auto 34px; color: #A9A29A; }
.cta-inner .eyebrow { color: var(--gold-light); }
.cta-inner .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.cta-note { margin: 22px auto 0 !important; font-size: .88rem; color: var(--muted-light) !important; }

/* ---------- 8. 子頁共用 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(60px, 7vw, 92px);
  background:
    radial-gradient(ellipse 55% 80% at 95% 0%, rgba(237, 234, 227, .045), transparent 60%),
    var(--ink);
  color: #A9A29A;
}
.page-hero-mark {
  position: absolute; right: -1%; bottom: -18%;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(6rem, 16vw, 15rem); line-height: 1; letter-spacing: -.01em;
  color: rgba(237, 234, 227, .035);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--cream); max-width: 880px; }
.page-hero .lead { max-width: 720px; font-size: 1.08rem; margin-bottom: 34px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.page-hero-media { position: relative; margin: 0; }
.page-hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.page-hero-media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(216, 195, 162, .4); border-radius: var(--radius);
  pointer-events: none;
}

.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 26px; padding: 0; list-style: none;
  font-size: .86rem; letter-spacing: .06em; color: var(--muted-light);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- 9. 各頁專屬 ---------- */
/* 服務總覽 */
.service-row {
  display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--gray); border-radius: var(--radius);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-row + .service-row { margin-top: 32px; }
.service-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-row:nth-child(even) { grid-template-columns: 1.08fr .92fr; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { position: relative; margin: 0; background: var(--brown); overflow: hidden; }
.service-row-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform 1s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.04); }
.service-row-body { padding: clamp(30px, 4.5vw, 56px); }
.service-row-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.service-row-head .svc-icon { width: 52px; height: 52px; border-radius: 14px; }
.service-row-head .svc-icon svg { width: 24px; height: 24px; }
.service-row-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 0; }
.service-row-body > p { color: var(--muted); }
.info-dl { display: grid; gap: 16px; margin: 0 0 30px; }
.info-dl div { padding: 2px 0 2px 18px; border-left: 2px solid var(--gold); }
.info-dl dt { margin-bottom: 2px; font-size: .92rem; font-weight: 700; letter-spacing: .08em; color: var(--cream); }
.info-dl dd { margin: 0; color: var(--muted); font-size: .96rem; }

/* 服務詳細頁 */
.detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.detail-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.detail-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 24px;
  background: var(--ivory); border: 1px solid var(--gray); border-radius: 14px;
  font-weight: 500; line-height: 1.6;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.detail-list li:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.detail-list .icon {
  width: 26px; height: 26px; padding: 5px; margin-top: 0;
  border-radius: 50%; background: var(--ink); color: var(--gold-light);
}

.side-card {
  position: sticky; top: calc(var(--header-h) + 28px);
  padding: 36px 30px; border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(237, 234, 227, .045), transparent 60%),
    var(--ink);
  color: #A9A29A;
}
.side-card .eyebrow { color: var(--gold-light); }
.side-card h3 { color: var(--cream); font-size: 1.25rem; }
.side-card p { font-size: .95rem; }
.side-card .btn { width: 100%; margin-top: 10px; }

.info-card h3 { display: flex; align-items: center; gap: 12px; }
.info-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 4px rgba(194, 164, 126, .15); }
.info-card p { color: var(--muted); }

.metric-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.metric-list li {
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(194, 164, 126, .45); background: var(--ivory);
  font-size: .9rem; font-weight: 500; color: var(--text);
}

.highlight-box {
  display: flex; gap: 24px; align-items: center;
  margin-top: 28px; padding: 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(194, 164, 126, .16), rgba(194, 164, 126, .03));
  border: 1px solid rgba(194, 164, 126, .35);
}
.highlight-box strong { font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--gold-dark); white-space: nowrap; }
.highlight-box p { margin: 0; color: var(--text); font-weight: 500; }

.other-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; }
.other-services a {
  display: flex; flex-direction: column; gap: 14px; height: 100%;
  padding: 24px 22px;
  background: var(--warm); border: 1px solid var(--gray); border-radius: 14px;
  font-weight: 500; line-height: 1.5;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease);
}
.other-services a:hover { border-color: var(--gold); transform: translateY(-4px); background: var(--ivory); }
.other-services .svc-icon { width: 44px; height: 44px; border-radius: 12px; }
.other-services .svc-icon svg { width: 20px; height: 20px; }
.other-services .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--gold-dark); }

/* 作品案例詳細 */
.case-card {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--gray); border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: box-shadow .45s var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-lg); }
.case-card + .case-card { margin-top: 36px; }
.case-card:nth-child(even) .work-media { order: 2; }
.case-card .work-media { aspect-ratio: auto; min-height: 100%; }
.case-card .work-media img { min-height: 420px; }
.case-body { padding: clamp(30px, 4.5vw, 56px); }
.case-num { display: block; margin-bottom: 8px; font-family: var(--display); font-style: italic; font-size: 1.1rem; letter-spacing: .14em; color: var(--gold); }
.case-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.case-body > p { color: var(--muted); }
.case-facts { display: grid; gap: 0; margin: 26px 0 0; }
.case-facts > div { padding: 18px 0; border-top: 1px solid var(--gray); }
.case-facts h3 { margin: 0 0 6px; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-dark); }
.case-facts p { margin: 0; color: var(--text); }
.case-facts .check-list { margin: 4px 0 0; }
.case-result { background: linear-gradient(90deg, rgba(194, 164, 126, .1), transparent); padding: 18px 18px !important; border-radius: 10px; border-top: 0 !important; }
.case-body .btn-row { margin-top: 28px; }

/* 關於 */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 7vw, 104px); align-items: start; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 18px 18px; box-shadow: var(--shadow-lg); }
.about-photo::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; z-index: -1;
  border: 1px solid var(--gold); border-radius: 256px 256px 24px 24px;
}
.about-photo figcaption { margin-top: 22px; text-align: center; font-size: .92rem; letter-spacing: .08em; color: var(--muted); }
.about-text p { font-size: 1.05rem; }
.about-quote {
  position: relative; margin: 36px 0 0; padding: 30px 34px 30px 72px;
  border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--gray);
  font-family: var(--serif); font-size: 1.16rem; line-height: 1.85; color: var(--cream);
}
.about-quote::before {
  content: "\201C"; position: absolute; left: 22px; top: 6px;
  font-family: var(--display); font-size: 4.4rem; line-height: 1; color: var(--gold);
}

.exp-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.exp-list li {
  display: flex; gap: 16px; align-items: center;
  padding: 22px 24px;
  background: var(--warm); border: 1px solid var(--gray); border-radius: 14px;
  font-weight: 500;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.exp-list li:hover { border-color: var(--gold); transform: translateX(4px); }
.exp-list .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ink); color: var(--gold-light); }

.skill-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; max-width: 980px; margin: 0 auto; }
.skill-tags li {
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid rgba(216, 195, 162, .3);
  color: #EDEAE3; font-size: .95rem; letter-spacing: .04em;
  transition: border-color .3s, color .3s, background-color .3s;
}
.skill-tags li:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(194, 164, 126, .08); }

/* 證照 */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--gray); border-radius: var(--radius); background: var(--ivory); overflow: hidden; }
.stat { padding: 32px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--gray); }
.stat strong { display: block; font-family: var(--display); font-weight: 600; font-size: 2.8rem; line-height: 1.1; color: var(--gold-dark); }
.stat strong small { font-family: var(--serif); font-size: .45em; margin-left: 3px; }
.stat span { font-size: .92rem; color: var(--muted); letter-spacing: .06em; }

.cert-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.cert-section + .cert-section { margin-top: clamp(64px, 8vw, 96px); }
.cert-section-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--gray);
}
.cert-section-head h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.cert-section-head .num { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.cert-section-head .en { margin-left: auto; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--muted); letter-spacing: .06em; }

.cert-card { display: flex; flex-direction: column; padding: 30px 28px; }
.cert-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cert-badge {
  display: inline-flex; padding: 4px 12px; border-radius: 999px;
  background: var(--ink); color: var(--gold-light);
  font-size: .74rem; letter-spacing: .14em;
}
.cert-seal {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(194, 164, 126, .5); color: var(--gold);
}
.cert-seal svg { width: 20px; height: 20px; }
.cert-card h3 { font-size: 1.12rem; }
.cert-meta { display: grid; gap: 0; margin: auto 0 0; font-size: .9rem; }
.cert-meta div { display: flex; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--gray); }
.cert-meta dt { flex: 0 0 72px; color: var(--muted); }
.cert-meta dd { margin: 0; font-weight: 500; color: var(--cream); word-break: break-word; }

/* 聯絡 */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.contact-card { display: flex; flex-direction: column; }
.contact-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 22px; border-radius: 16px;
  background: var(--ink); color: var(--gold-light);
}
.contact-icon .icon { width: 26px; height: 26px; }
.contact-value { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); word-break: break-all; }
.contact-card p { color: var(--muted); }
.contact-card .btn-row { margin-top: auto; }
.contact-card--featured {
  border-color: transparent;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(237, 234, 227, .045), transparent 60%),
    var(--ink);
  color: #A9A29A;
}
.contact-card--featured h3, .contact-card--featured .contact-value { color: var(--cream); }
.contact-card--featured p { color: #A9A29A; }
.contact-card--featured .contact-icon { background: var(--gold-grad); color: #fff; }
.contact-card--featured .copy-status { color: var(--gold-light) !important; }
.contact-card--featured .recommend {
  position: absolute; right: 24px; top: 24px;
  padding: 3px 12px; border-radius: 999px;
  background: rgba(216, 195, 162, .15); color: var(--gold-light);
  font-size: .76rem; letter-spacing: .12em;
}
.copy-status { min-height: 1.5em; margin: 10px 0 0; font-size: .88rem; color: var(--gold-dark) !important; }

.guide-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--warm); border: 1px solid var(--gray); border-radius: var(--radius); overflow: hidden; }
.guide-table th, .guide-table td { padding: 20px 24px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--gray); }
.guide-table thead th { background: var(--ink); color: var(--cream); font-weight: 500; font-size: .92rem; letter-spacing: .1em; border-bottom: 0; }
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table tbody tr { transition: background-color .25s; }
.guide-table tbody tr:hover { background: var(--ivory); }
.guide-table td:nth-child(2) { font-family: var(--serif); font-weight: 700; color: var(--cream); }
.guide-table a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-dark); font-weight: 500; white-space: nowrap; }

.prepare-box { padding: 40px 36px; background: var(--ivory); border: 1px solid var(--gray); border-radius: var(--radius); }
.prepare-box > p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }

/* 感謝頁 */
.thanks {
  min-height: calc(100vh - var(--header-h));
  display: grid; place-items: center; padding: 96px 0; text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(237, 234, 227, .045), transparent 70%), var(--warm);
}
.thanks-mark {
  position: relative; display: grid; place-items: center;
  width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light);
}
.thanks-mark::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(194, 164, 126, .45); }
.thanks-mark .icon { width: 38px; height: 38px; }
.thanks p { max-width: 560px; margin-left: auto; margin-right: auto; font-size: 1.08rem; color: var(--muted); }
.thanks .btn-row { margin-top: 34px; }
.thanks .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* 隱私權 */
.prose-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; max-width: 1060px; margin: 0 auto; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); padding: 26px 24px; border: 1px solid var(--gray); border-radius: 14px; background: var(--ivory); }
.toc p { margin: 0 0 10px; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gold-dark); }
.toc ol { list-style: none; display: grid; gap: 4px; font-size: .92rem; }
.toc a { display: block; padding: 4px 0; color: var(--muted); }
.toc a:hover { color: var(--gold-dark); }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--gray); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { display: inline-block; margin-bottom: 28px; padding: 4px 14px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--gray); color: var(--muted); font-size: .88rem; }

/* ---------- 10. Footer／浮動元件 ---------- */
.site-footer { position: relative; background: var(--ink); color: #A9A29A; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; padding: 64px 0 56px; }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand .btn, .side-card .btn { font-size: .88rem; letter-spacing: .02em; padding-left: 18px; padding-right: 18px; }
.footer-company { margin-bottom: 6px; color: var(--gold-light); letter-spacing: .06em; }
.footer-tagline { max-width: 340px; margin-bottom: 26px; }
.footer-title { margin: 0 0 20px; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.15rem; letter-spacing: .08em; color: var(--cream); }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-links .icon { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px 32px;
  padding: 26px 0 32px; border-top: 1px solid var(--line-dark);
  font-size: .84rem; color: #7E7871;
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom-links { display: flex; gap: 22px; flex-shrink: 0; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(216, 195, 162, .5);
  background: var(--ink); color: var(--gold-light);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold); color: #fff; }

.mobile-cta { display: none; }

/* ---------- 11. 動畫 ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 12. RWD Media Query ---------- */
/* 小桌機 */
@media (max-width: 1200px) {
  .nav-list a { padding: 8px 10px; font-size: .92rem; }
  .header-inner { gap: 20px; }
  .trust-label { display: none; }
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .trust-list li:nth-child(4) { border-left: 0; }
  .trust-list li:nth-child(n+4) { border-top: 1px solid var(--gray); }
  .other-services { grid-template-columns: repeat(3, 1fr); }
  .hero-card { left: -24px; }
}

/* 平板：切換漢堡選單 */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }

  .site-nav {
    position: fixed; top: 0; right: 0; z-index: 1;
    flex-direction: column; align-items: stretch;
    width: min(88vw, 400px); height: 100vh; height: 100dvh;
    margin: 0; padding: calc(var(--header-h) + 24px) 32px 36px;
    background:
      radial-gradient(ellipse at 100% 0%, rgba(237, 234, 227, .045), transparent 55%),
      var(--ink);
    overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s;
  }
  body.nav-open .site-nav { transform: none; visibility: visible; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
  .nav-list li { counter-increment: nav; }
  .nav-list a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 17px 2px;
    font-family: var(--serif); font-size: 1.2rem; letter-spacing: .1em;
    color: var(--cream); border-bottom: 1px solid var(--line-dark);
  }
  .nav-list a::before {
    content: counter(nav, decimal-leading-zero);
    font-family: var(--display); font-style: italic; font-size: .95rem; color: var(--gold);
  }
  .nav-list a::after { display: none; }
  .nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-light); }

  .nav-drawer-extra { display: grid; gap: 12px; margin-top: 32px; }
  .nav-drawer-note { margin: 18px 0 0; font-size: .85rem; color: var(--muted-light); text-align: center; }

  .hero-grid, .page-hero--split .container, .about-grid, .detail-grid, .why-grid, .split { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 420px; margin-top: 12px; }
  .hero-card { left: -20px; bottom: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }

  .split-aside { position: static; }
  .page-hero-media { max-width: 640px; }
  .why-photo { max-width: 400px; margin: 0 auto; width: 100%; }
  .about-photo { max-width: 420px; margin: 18px auto 0; }
  .side-card { position: static; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow--4 { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none !important; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--gray); }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-banner { flex-direction: column; align-items: flex-start; }

  .service-row, .service-row:nth-child(even), .case-card { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media, .case-card:nth-child(even) .work-media { order: 0; }
  .service-row-media img, .case-card .work-media img { min-height: 0; aspect-ratio: 16 / 9; }

  .prose-wrap { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 手機 */
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 66px; }
  body { font-size: 15.5px; padding-bottom: 76px; }

  .logo { gap: 10px; }
  .logo-mark { width: 36px; height: 36px; font-size: .95rem; }
  .logo-name { font-size: 1.08rem; }
  .logo-sub { font-size: .74rem; }
  .header-inner { gap: 10px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }

  .hero-kicker { font-size: .78rem; letter-spacing: .06em; padding: 7px 16px; }
  .hero-kicker-dot { display: none; }
  .hero-title { font-size: clamp(1.85rem, 8.2vw, 2.3rem); }
  .btn-lg { font-size: .94rem; letter-spacing: .02em; padding-left: 20px; padding-right: 20px; }
  .hero-actions .btn, .page-hero .btn-row .btn, .cta-inner .btn-row .btn { width: 100%; }
  .hero-card { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
  .hero-art::before { inset: -10px -10px 10px 10px; }
  .hero-stat { padding: 22px 12px 24px; }
  .hero-stat:nth-child(odd) { padding-left: 0; }

  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { padding: 16px 10px; font-size: .82rem; border-left: 0 !important; border-top: 1px solid var(--gray); }
  .trust-list li:nth-child(-n+2) { border-top: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--gray) !important; }

  .grid-2, .grid-3, .grid-4, .flow, .flow--4, .detail-list, .exp-list, .check-list--2col, .other-services, .pain-list { grid-template-columns: 1fr; }
  .pain-item { padding-left: 56px; }

  .card { padding: 28px 24px; }
  .svc-card { padding: 30px 24px 26px; }
  .svc-banner { padding: 28px 24px; }
  .svc-banner .btn { width: 100%; }

  .highlight-box { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-quote { padding: 56px 24px 24px; }
  .about-quote::before { top: 4px; left: 20px; }

  .guide-table thead { display: none; }
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table td { display: block; width: 100%; }
  .guide-table tr { padding: 18px 20px; border-bottom: 1px solid var(--gray); }
  .guide-table tbody tr:last-child { border-bottom: 0; }
  .guide-table td { padding: 3px 0; border: 0; }
  .guide-table td:first-child { color: var(--muted); font-size: .92rem; }

  .cert-section-head { flex-wrap: wrap; gap: 6px 14px; }
  .cert-section-head .en { margin-left: 0; width: 100%; }
  .stat strong { font-size: 2.3rem; }

  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-answer { padding: 0 20px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }

  .back-to-top { right: 14px; bottom: 88px; width: 44px; height: 44px; }

  /* 手機底部固定 CTA */
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(28, 29, 32, .97);
    border-top: 1px solid rgba(216, 195, 162, .25);
  }
  .mobile-cta .btn { min-height: 48px; padding: 8px 12px; font-size: .9rem; letter-spacing: .02em; }
  body.nav-open .mobile-cta { display: none; }
}

@media (max-width: 380px) {
  .logo-sub { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--gray); }
  .mobile-cta .btn { font-size: .84rem; }
}

/* =========================================================
   v3 新增：報價、方案、表單
   ========================================================= */
/* 首頁服務卡片報價 */
.svc-grid .svc-card { padding: 36px 30px 30px; }
.svc-grid .svc-price { margin-top: auto; }
.svc-grid .value { margin-bottom: 22px; }
.svc-price {
  margin: 4px 0 26px; padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(194, 164, 126, .12), rgba(194, 164, 126, .03));
  border: 1px solid rgba(194, 164, 126, .3);
}
.svc-price-label {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-dark);
}
.svc-price p { margin: 0; font-size: .98rem; color: var(--cream); line-height: 1.7; }
.svc-price strong, .hero-price strong, .quote-price strong {
  font-family: var(--display); font-size: 1.45em; font-weight: 600; letter-spacing: .01em; color: var(--gold-dark);
}
.svc-btn { margin-top: auto; align-self: flex-start; }
.service-row-body .svc-price { margin-top: -6px; }

.hero-price {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -12px 0 30px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid rgba(216, 195, 162, .35);
  background: rgba(237, 234, 227, .04); color: #EDEAE3; font-size: .95rem;
}
.hero-price .icon { color: var(--gold-light); }
.hero-price strong { color: var(--gold-light); font-size: 1.35em; }

/* 服務頁：適合對象／可解決問題 */
.fit-grid { align-items: stretch; }
.info-title { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 16px; }
.info-card .eyebrow { margin-bottom: 10px; }
.info-card .info-title::before { display: none; }
.fit-text { font-size: 1.1rem; line-height: 1.9; color: var(--text) !important; }
.problem-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.problem-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--ivory); border: 1px solid var(--gray);
  font-weight: 500; line-height: 1.5;
}
.section--ivory .problem-list li { background: var(--warm); }
.problem-list .icon { color: #B07F72; width: 1.2em; height: 1.2em; }

.notice-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 28px; padding: 24px 28px;
  border-radius: var(--radius); border: 1px solid rgba(176, 127, 114, .35);
  background: linear-gradient(120deg, rgba(176, 127, 114, .08), rgba(176, 127, 114, .02));
}
.notice-box > .icon { width: 28px; height: 28px; color: #B07F72; flex-shrink: 0; margin-top: 2px; }
.notice-box h3 { margin: 0 0 4px; font-size: 1.1rem; }
.notice-box p { margin: 0; color: var(--text); font-weight: 500; }

/* 服務頁：報價卡 */
.quote-card {
  display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden;
  max-width: 1000px; margin: 0 auto;
  border-radius: calc(var(--radius) + 4px); border: 1px solid var(--gray);
  background: var(--ivory); box-shadow: var(--shadow);
}
.quote-main { padding: clamp(32px, 5vw, 56px); }
.quote-side {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(32px, 5vw, 48px);
  background: radial-gradient(ellipse at 100% 0%, rgba(237, 234, 227, .045), transparent 60%), var(--ink);
  color: #A9A29A;
}
.quote-side p { margin: 0; }
.quote-side .text-link { color: var(--gold-light); align-self: flex-start; }
.quote-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-dark); }
.quote-side .quote-label { color: var(--gold-light); margin-bottom: 0; }
.quote-price { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.6; color: var(--cream); }
.quote-price strong { font-size: 1.6em; }
.quote-full { margin: 0; padding-top: 16px; border-top: 1px dashed var(--gray); color: var(--muted); }

/* 報價表 */
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--ivory); border: 1px solid var(--gray); border-radius: var(--radius); overflow: hidden;
}
.price-table th, .price-table td { padding: 20px 26px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--gray); }
.price-table thead th { background: var(--ink); color: var(--cream); font-weight: 500; font-size: .92rem; letter-spacing: .12em; border-bottom: 0; }
.price-table tbody th { font-family: var(--serif); font-weight: 700; color: var(--cream); width: 34%; }
.price-table tbody td:nth-child(2) { font-weight: 500; color: var(--gold-dark); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background-color .25s; }
.price-table tbody tr:hover { background: var(--warm); }
.price-table td a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.price-table td a:hover { color: var(--gold-dark); }
.price-table td:last-child:not(:nth-child(2)) { text-align: right; }

.price-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.price-side { display: grid; gap: 20px; }
.price-panel { padding: 28px 28px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--gray); }
.price-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.price-panel h3 .icon { color: var(--gold); }
.price-panel p { margin: 0 0 6px; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-cloud li { padding: 5px 14px; border-radius: 999px; background: var(--warm); border: 1px solid var(--gray); font-size: .88rem; }

/* 建議方案 */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 38px 32px 32px;
  border-radius: calc(var(--radius) + 2px); background: var(--warm); border: 1px solid var(--gray);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.plan::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-grad); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(194, 164, 126, .4); background: var(--ivory); }
.plan-en { margin: 0 0 4px; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gold-dark); letter-spacing: .08em; }
.plan h3 { font-size: 1.4rem; margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 14px; padding-bottom: 18px; border-bottom: 1px solid var(--gray); }
.plan-price strong { font-family: var(--display); font-size: 2.7rem; font-weight: 600; line-height: 1; color: var(--cream); }
.plan-price span { color: var(--muted); font-size: .98rem; }
.plan-fit { color: var(--muted); font-size: .96rem; }
.plan-label { margin: 6px 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-dark); }
.plan .check-list { margin-bottom: 20px; }
.plan-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin: auto 0 22px; padding: 12px 14px; border-radius: 10px;
  background: rgba(194, 164, 126, .08); font-size: .88rem; line-height: 1.6; color: var(--text);
}
.plan-note .icon { color: var(--gold); margin-top: 2px; }

/* 報價規則／付款方式 */
.rules-grid { align-items: stretch; gap: 28px; }
.rules-card { padding: clamp(32px, 4.5vw, 48px); border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--gray); }
.rules-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 20px; }
.rules-card--dark { background: radial-gradient(ellipse at 100% 0%, rgba(237, 234, 227, .045), transparent 60%), var(--ink); border-color: var(--ink); color: #A9A29A; }
.rules-card--dark h2 { color: var(--cream); }
.rules-card--dark .eyebrow { color: var(--gold-light); }
.rules-card--dark .check-list .icon { color: var(--gold-light); }
.rules-list { gap: 14px; margin: 0; }
.rules-list li { padding-bottom: 14px; border-bottom: 1px dashed var(--gray); }
.rules-card--dark .rules-list li { border-color: var(--line-dark); }
.rules-list li:last-child { padding-bottom: 0; border-bottom: 0; }

.other-services--3 { grid-template-columns: repeat(3, 1fr); }

/* 聯絡表單 */
.contact-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: 32px; align-items: start; }
.form-card { padding: clamp(28px, 4.5vw, 52px); border-radius: calc(var(--radius) + 4px); background: var(--ivory); border: 1px solid var(--gray); box-shadow: var(--shadow); }
.form-head { margin-bottom: 30px; }
.form-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.form-head p:last-child { margin: 0; color: var(--muted); font-size: .92rem; }
.req { color: #B07F72; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .94rem; font-weight: 500; color: var(--cream); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid #333236; border-radius: 12px;
  background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2A47E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #6F6A64; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(194, 164, 126, .16); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B07F72; box-shadow: 0 0 0 4px rgba(176, 127, 114, .12); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #6E9B6B; }
.field-error { min-height: 0; margin: 0; font-size: .86rem; color: #B07F72; }
.field-error:empty { display: none; }
.field--check { gap: 6px; }
.check-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; line-height: 1.7; cursor: pointer; }
.check-label input { flex-shrink: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); cursor: pointer; }
.check-label a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--gray); }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-status { flex: 1 1 260px; margin: 0; font-size: .95rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 16px; border-radius: 10px; background: rgba(176, 127, 114, .08); color: #D9A194; }
.form-status.is-success { padding: 12px 16px; border-radius: 10px; background: rgba(110, 155, 107, .12); color: #3E6B3B; }
.contact-form.is-sent .form-grid { opacity: .55; pointer-events: none; }

.contact-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 28px); }
.prepare-card h3 { font-size: 1.15rem; }
.prepare-card .check-list { margin-bottom: 18px; }

@media (max-width: 1024px) {
  .quote-card, .price-layout, .contact-layout { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-aside { position: static; }
}
@media (max-width: 640px) {
  .svc-grid .svc-card { padding: 30px 24px 26px; }
  .problem-list, .form-grid, .other-services--3 { grid-template-columns: 1fr; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 16px 20px; border-bottom: 1px solid var(--gray); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table th, .price-table td { padding: 2px 0; border: 0 !important; text-align: left !important; }
  .price-table tbody th { width: auto; }
  .hero-price { border-radius: 14px; }
  .form-actions .btn { width: 100%; }
  .notice-box { flex-direction: column; gap: 10px; padding: 22px; }
}

/* v4：服務快速導覽、報價表分組 */
.svc-jump {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(16, 16, 16, .88);
  border-bottom: 1px solid var(--gray);
}
.svc-jump ul {
  display: flex; gap: 8px; list-style: none;
  padding: 14px 0; overflow-x: auto; scrollbar-width: none;
}
.svc-jump ul::-webkit-scrollbar { display: none; }
.svc-jump a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--gray); background: var(--warm);
  font-size: .9rem; font-weight: 500; color: var(--text);
  transition: border-color .25s, color .25s, background-color .25s;
}
.svc-jump a .icon { width: 18px; height: 18px; color: var(--gold); }
.svc-jump a:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--ivory); }
.service-row { scroll-margin-top: calc(var(--header-h) + 90px); }

.price-table .group-row th {
  padding: 14px 26px; background: var(--warm); border-bottom: 1px solid var(--gray);
  font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-dark);
  text-align: left; width: auto;
}
.price-table .group-row:hover { background: var(--warm); }
.group-icon {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 28px; height: 28px; margin-right: 10px; border-radius: 8px;
  background: var(--ink); color: var(--gold-light);
}
.group-icon .icon { width: 15px; height: 15px; }
.price-table tbody tr:not(.group-row) th { padding-left: 64px; }

@media (max-width: 640px) {
  .price-table .group-row { padding: 0; background: var(--warm); }
  .price-table .group-row th { padding: 12px 20px !important; }
  .price-table tbody tr:not(.group-row) th { padding-left: 0; }
  .svc-jump ul { padding: 10px 0; }
}

/* =========================================================
   v5：TikTok 16.9 萬個讚 強調
   ========================================================= */
.btn-tiktok { background: var(--ink-2); color: var(--cream); border-color: rgba(216, 195, 162, .45); }
.btn-tiktok .icon { width: 1.25em; height: 1.25em; color: var(--gold-light); }
.btn-tiktok:hover { background: #000; border-color: var(--gold-light); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.btn-tiktok--gold { background: var(--gold-grad); border-color: transparent; color: #fff; }
.btn-tiktok--gold .icon { color: #fff; }
.btn-tiktok--gold:hover { background: var(--gold-grad); border-color: transparent; box-shadow: 0 16px 34px -12px rgba(194, 164, 126, .8); }

/* 首頁 Hero：TikTok 徽章 */
.hero-tt {
  position: absolute; right: -28px; top: 46px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid rgba(216, 195, 162, .55);
  color: var(--cream); box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.hero-tt:hover { transform: translateY(-3px); border-color: var(--gold-light); }
.hero-tt-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-grad); color: #fff;
}
.hero-tt-icon .icon { width: 22px; height: 22px; }
.hero-tt-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-tt-text strong { font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--gold-light); }
.hero-tt-text small { font-size: .78rem; letter-spacing: .1em; color: #A9A29A; }

.hero-tt-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: .95rem; color: #A9A29A;
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.hero-tt-link > .icon:first-child { width: 1.3em; height: 1.3em; color: var(--gold-light); }
.hero-tt-link strong { font-family: var(--display); font-size: 1.25em; color: var(--gold-light); }
.hero-tt-link:hover { color: var(--cream); border-color: var(--gold-light); }

.hero-stat--tt .num { color: var(--gold-light); }
.hero-stat--tt .num small { color: var(--cream); }
.hero-stat .label .icon { width: 1em; height: 1em; margin-right: 6px; vertical-align: -2px; color: var(--gold-light); }

/* TikTok 強調區塊 */
.tiktok-block {
  position: relative; overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(ellipse 50% 80% at 10% 20%, rgba(237, 234, 227, .045), transparent 60%),
    linear-gradient(135deg, var(--brown), var(--ink) 65%);
  color: #A9A29A;
}
.tiktok-block::after {
  content: "TikTok"; position: absolute; right: -2%; bottom: -12%;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(8rem, 20vw, 18rem); line-height: 1;
  color: rgba(237, 234, 227, .035); pointer-events: none;
}
.tiktok-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.tiktok-block h2 { color: var(--cream); }
.tiktok-block p { max-width: 640px; font-size: 1.06rem; color: #A9A29A; }
.tiktok-points { list-style: none; display: grid; gap: 10px; margin: 6px 0 32px; }
.tiktok-points li { display: flex; gap: 10px; align-items: center; color: #EDEAE3; font-weight: 500; }
.tiktok-points .icon { color: var(--gold-light); }
.tiktok-stat {
  justify-self: end; position: relative;
  display: grid; place-items: center;
  width: clamp(230px, 25vw, 290px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(216, 195, 162, .55); text-align: center; line-height: 1.3;
  background: radial-gradient(circle, rgba(237, 234, 227, .045), transparent 70%);
}
.tiktok-stat::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(216, 195, 162, .28); }
.tiktok-stat-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 8px;
  border-radius: 50%; background: var(--gold-grad); color: #fff;
}
.tiktok-stat-icon .icon { width: 22px; height: 22px; }
.tiktok-stat strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 5vw, 4.2rem); color: var(--gold-light); }
.tiktok-stat strong small { font-family: var(--serif); font-size: .45em; margin-left: 4px; }
.tiktok-stat > div > span:last-child { font-size: .95rem; letter-spacing: .14em; }

.footer-brand .btn-row { gap: 10px; }

@media (max-width: 1024px) {
  .tiktok-inner { grid-template-columns: 1fr; }
  .tiktok-stat { justify-self: start; }
  .hero-tt { right: -10px; top: 30px; }
}
@media (max-width: 640px) {
  .tiktok-block .btn-row .btn { width: 100%; }
  .hero-tt { right: 8px; top: 16px; padding: 8px 14px 8px 8px; }
  .hero-tt-icon { width: 36px; height: 36px; }
  .hero-tt-text strong { font-size: 1.35rem; }
  .hero-tt-link { font-size: .88rem; align-items: flex-start; }
}

/* v5：五張服務卡片、兩個方案置中排列 */
.svc-grid.grid-3 { display: flex; flex-wrap: wrap; justify-content: center; }
.svc-grid.grid-3 > .svc-card { flex: 0 1 calc((100% - 48px) / 3); }
.plan-grid { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 1024px) {
  .svc-grid.grid-3 > .svc-card { flex-basis: calc((100% - 24px) / 2); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-grid.grid-3 > .svc-card { flex-basis: 100%; }
}

/* v6：重要提醒（訂金） */
.deposit-notice {
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 1000px; margin: 32px auto 0; padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(176, 127, 114, .4); border-left: 4px solid #B07F72;
  background: linear-gradient(120deg, rgba(176, 127, 114, .09), rgba(176, 127, 114, .02));
}
.rules-grid { margin-top: 32px; }
.deposit-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #B07F72; color: #fff;
}
.deposit-icon .icon { width: 22px; height: 22px; }
.deposit-notice p { margin: 0; color: var(--text); line-height: 1.85; }
.deposit-notice .deposit-title { margin-bottom: 4px; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: #D9A194; letter-spacing: .06em; }
.deposit-notice--compact { margin: 0; padding: 20px 22px; gap: 14px; }
.deposit-notice--compact .deposit-icon { width: 36px; height: 36px; }
.deposit-notice--compact .deposit-icon .icon { width: 18px; height: 18px; }
.deposit-notice--compact p { font-size: .93rem; }
@media (max-width: 640px) {
  .deposit-notice { flex-direction: column; gap: 12px; padding: 22px; }
}

/* =========================================================
   v7：首頁視覺升級
   ========================================================= */

/* Hero：更有層次的背景＋柔光 */
.hero {
  background:
    radial-gradient(ellipse 45% 60% at 78% 38%, rgba(237, 234, 227, .045), transparent 62%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(46, 47, 52, .9), transparent 65%),
    linear-gradient(180deg, #141414 0%, #111 100%);
}
.hero-title { letter-spacing: .04em; }
.hero-title .gold-em { display: inline-block; padding-bottom: .06em; }

/* Hero 人像：中性炭灰調處理，讓灰底照片融入炭黑風格 */
.hero-art { max-width: 470px; }
.hero-arch {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #3A3C42 0%, #1C1D20 70%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(216, 195, 162, .35);
}
.hero-arch img, .why-photo img {
  object-position: 50% 18%;
  filter: saturate(.92) contrast(1.06);
}
.hero-arch::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 29, 32, .35) 0%, rgba(28, 29, 32, 0) 45%);
  mix-blend-mode: multiply;
}
.hero-arch::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 29, 32, .55) 100%);
}
.hero-art::before { border-color: rgba(216, 195, 162, .55); }

/* 浮動卡片：玻璃質感 */
.hero-card {
  background: rgba(27, 27, 29, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 195, 162, .45);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65);
}
.hero-tt { background: rgba(32, 33, 36, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-tt { animation: floatY 6s ease-in-out infinite; }
  .hero-card { animation: floatY 7s ease-in-out -2s infinite; }
}
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* 數據列：卡片化 */
.hero-stats {
  list-style: none;
  gap: 14px; border-top: 0;
  margin-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(48px, 6vw, 72px);
}
.hero-stat, .hero-stat:first-child {
  padding: 26px 26px 24px;
  border: 1px solid rgba(216, 195, 162, .16); border-radius: 16px;
  background: linear-gradient(160deg, rgba(237, 234, 227, .06), rgba(237, 234, 227, .015));
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.hero-stat:hover { border-color: rgba(216, 195, 162, .5); transform: translateY(-3px); }

/* 認證列：跑馬燈 */
.trust { position: relative; overflow: hidden; background: var(--ivory); }
.trust-inner { align-items: center; }
.trust-marquee {
  flex: 1; min-width: 0; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-list, .trust-marquee .trust-list {
  flex: 0 0 auto; display: flex; flex-wrap: nowrap; gap: 0;
}
.trust-list li, .trust-list li + li {
  flex: 0 0 auto; white-space: nowrap;
  padding: 24px 30px; border: 0 !important;
  font-size: .92rem;
}
.trust-list li + li::before, .trust-marquee.is-running .trust-list li::before {
  content: ""; width: 4px; height: 4px; margin-right: 30px; margin-left: -30px; border-radius: 50%;
  background: var(--gold-light);
}
.trust-marquee.is-running .trust-list { animation: marquee 38s linear infinite; }
.trust-marquee.is-running:hover .trust-list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.trust-marquee:not(.is-running) { overflow-x: auto; scrollbar-width: none; }

/* 痛點：卡片化 */
.pain-list { gap: 18px; }
.pain-item {
  padding: 28px 26px 26px 84px;
  border: 1px solid var(--gray); border-radius: var(--radius);
  background: var(--ivory);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.pain-item::before {
  left: 24px; top: 26px;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); color: var(--gold-light);
  font-size: 1.15rem; font-style: italic;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.pain-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(194, 164, 126, .4); }
.pain-item:hover::before { background: var(--gold-grad); color: #fff; }
.split-aside h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* 流程：卡片底與連線 */
.flow-step {
  padding: 88px 26px 28px;
  border: 1px solid var(--gray); border-radius: var(--radius);
  background: var(--ivory);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.flow-step::before { left: 26px; top: 24px; background: var(--warm); }
.flow-step::after { left: auto; right: -33px; width: 32px; top: 52px; }
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(194, 164, 126, .4); }

/* 服務卡：深色 icon 改成金邊，價格區更乾淨 */
.svc-grid { gap: 24px; }
.svc-card { border-radius: 22px; }
.svc-card .svc-price { background: var(--ivory); }

/* 為什麼選擇：真實照片 */
.why-photo img { aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.why-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 240px 240px 18px 18px;
  background: linear-gradient(180deg, rgba(28, 29, 32, .3), transparent 40%, rgba(28, 29, 32, .6));
}
.why-photo figcaption { z-index: 1; }
.section--dark {
  background:
    radial-gradient(ellipse 40% 50% at 15% 30%, rgba(237, 234, 227, .045), transparent 65%),
    var(--ink);
}

/* FAQ 與 CTA 細節 */
.faq-item { border-radius: 16px; }
.faq-item summary { padding: 24px 28px; }
.cta-inner { box-shadow: 0 40px 80px -40px rgba(28, 29, 32, .55); }

@media (max-width: 1024px) {
  .flow-step::after { display: none; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid rgba(216, 195, 162, .16); }
  .hero-stat:nth-child(3) { padding-left: 26px; border-left: 1px solid rgba(216, 195, 162, .16); }
}
@media (max-width: 640px) {
  .hero-stats { gap: 10px; }
  .hero-stat, .hero-stat:first-child, .hero-stat:nth-child(odd), .hero-stat:nth-child(3) { padding: 18px 16px; }
  .pain-item { padding: 24px 20px 22px 76px; }
  .pain-item::before { left: 18px; top: 22px; width: 40px; height: 40px; }
  .flow-step { padding: 84px 22px 24px; }
  .trust-list li, .trust-list li + li { padding: 18px 24px; font-size: .86rem; }
  .trust-list li:nth-child(even) { border-left: 0 !important; }
}

/* =========================================================
   v8：深炭黑＋白＋橘金 配色
   ========================================================= */
body { background: var(--bg); }
.section--ivory { background: var(--warm); }
.section--ivory .card, .section--ivory .card:hover,
.section--ivory .faq-item, .section--ivory .problem-list li { background: var(--ivory); }
.section--ivory .flow-step::before { background: var(--ivory); }
.cta-band { background: var(--bg); }
.svc-card .svc-price { background: var(--warm); border-color: rgba(194, 164, 126, .28); }
.pain-item, .flow-step { background: var(--ivory); }
.hero, .tiktok-block { color: #A9A29A; }
.tiktok-block {
  background:
    radial-gradient(ellipse 50% 80% at 10% 20%, rgba(237, 234, 227, .045), transparent 60%),
    linear-gradient(135deg, #1B1B1D, var(--ink) 65%);
}.split-aside .eyebrow { color: var(--gold-dark); }

/* =========================================================
   v9：深色主題（深炭黑／深灰／暖白／香檳金／橘色 CTA）
   ========================================================= */
.site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.nav-list a { color: var(--muted); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold); }
.nav-toggle { background: var(--surface); }
.nav-toggle span, body.nav-open .nav-toggle span { background: var(--cream); }

/* 主要 CTA：霧面香檳實心按鈕＋炭黑字 */
.btn-gold, .btn-tiktok--gold, .btn-tiktok--gold:hover {
  background: var(--cta-grad); color: #141414; font-weight: 700;
  box-shadow: 0 10px 26px -12px rgba(201, 173, 134, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold .icon, .btn-tiktok--gold .icon { color: #141414; }
.btn-gold:hover, .btn-tiktok--gold:hover { box-shadow: 0 16px 34px -14px rgba(201, 173, 134, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }

.btn-outline { border-color: rgba(237, 234, 227, .3); color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-dark { background: var(--surface); color: var(--cream); border-color: rgba(237, 234, 227, .16); }
.btn-dark:hover { background: #242427; border-color: var(--gold); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* 深色小方塊加金色細框，避免跟卡片糊在一起 */
.svc-icon, .pain-item::before, .detail-list .icon, .exp-list .icon, .contact-icon,
.cert-badge, .group-icon, .thanks-mark, .back-to-top, .logo-mark {
  background: var(--bg); box-shadow: inset 0 0 0 1px rgba(194, 164, 126, .4);
}
.svc-card:hover .svc-icon, .pain-item:hover::before { box-shadow: none; }

/* 區塊層次 */
.section--ivory { background: var(--warm); }
.section--dark {
  background:
    radial-gradient(ellipse 40% 50% at 15% 30%, rgba(237, 234, 227, .045), transparent 65%),
    #0B0B0B;
}
.trust { background: var(--surface); border-color: var(--gray); }
.hero { border-bottom: 1px solid var(--gray); }
.cta-inner { background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(237, 234, 227, .045), transparent 65%), var(--surface); border: 1px solid var(--gray); }
.site-footer { background: #0B0B0B; border-top: 1px solid var(--gray); }
.svc-banner, .side-card, .quote-side, .rules-card--dark, .contact-card--featured { border: 1px solid var(--gray); }
.price-table thead th, .guide-table thead th { background: #232325; }

/* Hero 浮動卡片：深灰玻璃 */
.hero-card { color: var(--text); border-color: rgba(194, 164, 126, .4); }
.hero-card-title { color: var(--gold); }

/* 表單與狀態色（深底可讀） */
.field input::placeholder, .field textarea::placeholder { color: #6F6A64; }
.form-status.is-error { background: rgba(196, 128, 112, .12); color: #D9A194; }
.form-status.is-success { background: rgba(110, 155, 107, .15); color: #9CCB98; }
.req, .field-error, .problem-list .icon, .notice-box > .icon { color: #CF8E7F; }
.deposit-notice .deposit-title { color: #D9A194; }
.deposit-icon { background: var(--cta); color: #141414; }
.mobile-cta { background: rgba(16, 16, 16, .96); border-top-color: var(--gray); }
:root { color-scheme: dark; }
.field select option { background: #1B1B1D; color: #EDEAE3; }

/* =========================================================
   v10：去除螢光光暈＋質感升級
   ========================================================= */
/* 照片旁的金色模糊光點（螢光感來源）移除 */
.hero-art::after { display: none; }

/* Hero：乾淨的炭黑漸層＋淡淡中性聚光，不再有黃綠色光暈 */
.hero {
  background:
    radial-gradient(ellipse 55% 70% at 72% 35%, rgba(237, 234, 227, .06), transparent 65%),
    linear-gradient(180deg, #161616 0%, #101010 70%);
}
.hero::before { opacity: .55; }
.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.22; letter-spacing: .05em; }
.hero-lead { color: var(--muted); }

/* 人像：保留原色，只加細金框與深陰影 */
.hero-arch img, .why-photo img { filter: none; }
.hero-arch::before { display: none; }
.hero-arch::after { background: linear-gradient(180deg, transparent 62%, rgba(16, 16, 16, .5) 100%); }
.hero-arch { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(194, 164, 126, .3); }
.hero-art::before { border-color: rgba(194, 164, 126, .28); }
.why-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 11, .55)); }

/* 區塊之間的細分隔線，讓整頁有節奏 */
main > section + section { border-top: 1px solid rgba(237, 234, 227, .06); }
.section-head h2, .split-aside h2 { letter-spacing: .05em; }

/* 卡片：細緻漸層表面＋懸停金邊 */
.card, .pain-item, .flow-step, .faq-item {
  background: linear-gradient(180deg, #1D1D1F 0%, #19191B 100%);
  border-color: rgba(237, 234, 227, .07);
}
.card:hover, .pain-item:hover, .flow-step:hover { border-color: rgba(194, 164, 126, .45); }
.svc-card .svc-price { background: rgba(16, 16, 16, .6); border-color: rgba(194, 164, 126, .22); }

/* TikTok 區塊：去掉金色霧光 */
.tiktok-block { background: linear-gradient(135deg, #1A1A1C 0%, #101010 70%); }
.tiktok-stat { background: none; }
/* =========================================================
   v11：霧面香檳色（取代亮黃金）— 淺色金底上改用深色字
   ========================================================= */
.hero-kicker-dot, .hero-tt-icon, .tiktok-stat-icon,
.svc-card:hover .svc-icon, .pain-item:hover::before, .flow-step:hover::before,
.faq-item[open] summary::after, .back-to-top:hover, .contact-card--featured .contact-icon { color: var(--bg); }
::selection { background: var(--gold); color: var(--bg); }
.gold-em { background: linear-gradient(120deg, #E6D6BC 0%, #C2A47E 60%, #A88B66 100%); -webkit-background-clip: text; background-clip: text; }
/* =========================================================
   v12：證照頁數字放大＋香檳漸層
   ========================================================= */
.stat-row {
  background: linear-gradient(180deg, #1D1D1F 0%, #19191B 100%);
  border-color: rgba(237, 234, 227, .07);
}
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: clamp(36px, 4.5vw, 56px) 20px;
}
.stat + .stat { border-color: rgba(237, 234, 227, .07); }
/* 數字本體：原本被 .stat span 規則縮成小字，這裡還原並放大 */
.stat strong {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 6px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.6rem, 6vw, 5rem); line-height: .95; letter-spacing: -.01em;
  background: linear-gradient(180deg, #F1E6D3 0%, #C9AD86 62%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.stat strong span {
  font-size: inherit; letter-spacing: inherit; color: inherit;
}
.stat strong small {
  margin-left: 2px;
  font-family: var(--serif); font-size: .3em; font-weight: 500; letter-spacing: .1em;
  -webkit-text-fill-color: var(--gold); color: var(--gold);
}
.stat > span {
  font-size: .9rem; letter-spacing: .16em; color: var(--muted);
}
.stat > span::before {
  content: ""; display: block; width: 26px; height: 1px; margin: 0 auto 14px;
  background: rgba(194, 164, 126, .55);
}

/* 分類編號 01–04 */
.cert-section-head { align-items: center; gap: 20px; }
.cert-section-head .num {
  font-family: var(--display); font-style: normal; font-weight: 500;
  font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1;
  background: linear-gradient(180deg, #F1E6D3 0%, #C2A47E 70%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* 專業進修：40+ 堂、10 堂 */
#cert-4 .card-num {
  display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 14px;
  font-family: var(--display); font-style: normal; font-weight: 500;
  font-size: clamp(3rem, 4.5vw, 3.8rem); line-height: 1; letter-spacing: 0;
  background: linear-gradient(180deg, #F1E6D3 0%, #C9AD86 62%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
#cert-4 .card-num small {
  font-family: var(--serif); font-size: .32em; letter-spacing: .1em;
  -webkit-text-fill-color: var(--gold); color: var(--gold);
}

@media (max-width: 640px) {
  .stat strong { font-size: 3.2rem; }
  .stat > span { font-size: .84rem; letter-spacing: .08em; text-align: center; }
}
/* =========================================================
   v13：LINE 按鈕（香檳細框，與整站一致）
   ========================================================= */
.btn-line {
  background: rgba(237, 234, 227, .04); color: var(--cream);
  border-color: rgba(194, 164, 126, .55);
}
.btn-line .icon { width: 1.3em; height: 1.3em; color: var(--gold); }
.btn-line:hover { background: rgba(194, 164, 126, .12); border-color: var(--gold); color: var(--cream); }
.contact-card--line h3 { margin-bottom: 8px; }
.contact-card--line p { color: var(--muted); }
/* =========================================================
   v14：詳細版諮詢表單（分段＋膠囊式選項）
   ========================================================= */
.form-section { margin: 0 0 34px; padding: 0; border: 0; min-width: 0; }
.form-section > legend {
  display: flex; align-items: center; gap: 14px; width: 100%;
  margin-bottom: 22px; padding: 0 0 14px;
  border-bottom: 1px solid var(--gray);
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; color: var(--cream);
}
.form-step {
  font-family: var(--display); font-weight: 500; font-size: 1.7rem; line-height: 1; letter-spacing: 0;
  background: linear-gradient(180deg, #F1E6D3 0%, #C2A47E 70%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-legend { padding: 0; margin-bottom: 10px; font-size: .94rem; font-weight: 500; color: var(--cream); }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid #333236; background: var(--bg);
  font-size: .92rem; line-height: 1.4; color: var(--muted);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.choice span::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  border: 1px solid #55524E; border-radius: 4px;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { border-color: rgba(194, 164, 126, .5); color: var(--cream); }
.choice input:checked + span {
  border-color: var(--gold); color: var(--cream);
  background: rgba(194, 164, 126, .1);
}
.choice input:checked + span::before {
  border-color: var(--gold); background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice-group.is-invalid .choice span { border-color: rgba(207, 142, 127, .55); }

.form-consent { margin-top: 4px; }
.field textarea { min-height: 170px; }

@media (max-width: 640px) {
  .form-section > legend { font-size: 1.05rem; }
  .choice span { padding: 8px 14px; font-size: .88rem; }
}
/* =========================================================
   v15：作品／服務圖完整顯示（圖內含標題，不裁切）
   ========================================================= */
.case-card .work-media, .service-row-media {
  display: grid; place-items: center; background: #0F0F10;
}
.case-card .work-media img, .service-row-media img {
  width: 100%; height: 100%; min-height: 0; aspect-ratio: 4 / 3;
  object-fit: contain; transform: none !important;
}
@media (max-width: 1024px) {
  .case-card .work-media img, .service-row-media img { height: auto; aspect-ratio: 4 / 3; }
}
/* v16：真實照片直接顯示，完整不裁切 */
.page-hero-media { display: grid; place-items: center; background: #0F0F10; border-radius: var(--radius); }
.page-hero-media img { aspect-ratio: 4 / 3; object-fit: contain; background: #0F0F10; }
/* =========================================================
   v17：行銷功能元件（健檢測驗／浮動按鈕／挽留視窗／預填提示）
   ========================================================= */
/* 免費行銷健檢 */
.section--quiz { background: var(--warm); }
.quiz {
  max-width: 860px; margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, #1D1D1F 0%, #19191B 100%);
  border: 1px solid rgba(194, 164, 126, .28);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.quiz-progress { height: 3px; border-radius: 3px; background: rgba(237, 234, 227, .08); overflow: hidden; margin-bottom: 22px; }
.quiz-progress span { display: block; height: 100%; background: var(--cta-grad); transition: width .4s var(--ease); }
.quiz-count { margin: 0 0 8px; font-family: var(--display); font-style: italic; font-size: 1.05rem; letter-spacing: .1em; color: var(--gold); }
.quiz-q { margin: 0 0 24px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); outline: none; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 18px 20px; border-radius: 14px; text-align: left; cursor: pointer;
  border: 1px solid #333236; background: var(--bg); color: var(--cream);
  font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--gold); background: rgba(194, 164, 126, .08); transform: translateY(-2px); outline: none; }
.quiz-opt-key {
  flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(194, 164, 126, .5); color: var(--gold);
  font-family: var(--display); font-size: 1.05rem;
}
.quiz-opt:hover .quiz-opt-key { background: var(--gold); color: var(--bg); }
.quiz-back {
  margin-top: 20px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .9rem; color: var(--muted);
}
.quiz-back:hover { color: var(--gold); }

.quiz-result { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.quiz-score {
  position: relative; width: 200px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--gold) var(--deg), rgba(237, 234, 227, .08) 0);
  display: grid; place-items: center;
}
.quiz-score > div {
  width: calc(100% - 18px); aspect-ratio: 1; border-radius: 50%; background: #18181A;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.quiz-score strong {
  font-family: var(--display); font-weight: 500; font-size: 4.2rem; line-height: 1;
  background: linear-gradient(180deg, #F1E6D3 0%, #C2A47E 70%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.quiz-score small { font-family: var(--display); font-size: 1.1rem; color: var(--muted); }
.quiz-score span { margin-top: 8px; font-size: .82rem; letter-spacing: .16em; color: var(--muted); }
.quiz-result h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); outline: none; }
.quiz-result-lead { color: var(--muted); }
.quiz-rec-title { margin: 22px 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .18em; color: var(--gold); }
.quiz-recs { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.quiz-recs li {
  display: flex; gap: 16px; padding: 16px 18px; border-radius: 14px;
  background: var(--bg); border: 1px solid rgba(194, 164, 126, .25);
}
.quiz-rec-num { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.quiz-recs a { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--cream); }
.quiz-recs a:hover { color: var(--gold); }
.quiz-recs p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }

/* 浮動聯絡按鈕（桌機） */
.contact-dock {
  position: fixed; right: 22px; bottom: 84px; z-index: 82;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.contact-dock.is-visible { opacity: 1; visibility: visible; transform: none; }
.dock-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.dock-btn:hover { transform: translateY(-2px); }
.dock-line { background: rgba(27, 27, 29, .92); color: var(--cream); border: 1px solid rgba(194, 164, 126, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dock-line .icon { width: 1.35em; height: 1.35em; color: var(--gold); }
.dock-consult { background: var(--cta-grad); color: #141414; font-weight: 700; }
.dock-consult .icon { color: #141414; }

/* 手機底部固定列：LINE＋免費諮詢＋報價 */
.mobile-cta.has-line { grid-template-columns: .8fr 1.2fr 1fr; }
.mobile-cta .btn-line .icon { width: 1.25em; height: 1.25em; }

/* 離站挽留視窗 */
.offer { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.offer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease); }
.offer-dialog {
  position: relative; width: min(100%, 520px);
  padding: clamp(28px, 5vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, #1F1F21 0%, #19191B 100%);
  border: 1px solid rgba(194, 164, 126, .4);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .95);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.offer.is-open .offer-backdrop { opacity: 1; }
.offer.is-open .offer-dialog { opacity: 1; transform: none; }
.offer-dialog h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
.offer-dialog > p:not(.eyebrow) { color: var(--muted); }
.offer-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gray); background: transparent; color: var(--muted);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.offer-close:hover { color: var(--cream); border-color: var(--gold); }
.offer-points { list-style: none; display: grid; gap: 8px; margin: 4px 0 26px; }
.offer-points li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.offer-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
body.offer-open { overflow: hidden; }

/* 表單預填提示 */
.prefill-note {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 26px; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(194, 164, 126, .45); background: rgba(194, 164, 126, .08);
}
.prefill-note strong { color: var(--gold); font-size: .95rem; }
.prefill-note span { color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  .contact-dock { display: none; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .quiz-result-body { width: 100%; }
  .quiz-score { width: 170px; }
  .quiz-score strong { font-size: 3.5rem; }
  .quiz-result .btn-row .btn { width: 100%; }
  .offer-dialog .btn-row .btn { width: 100%; }
  .mobile-cta .btn { padding-left: 6px; padding-right: 6px; }
}
/* =========================================================
   v18：手機版「＋」聯絡按鈕（取代底部固定列）
   ========================================================= */
.fab { display: none; }

@media (max-width: 640px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none !important; }
  .back-to-top { right: 20px; bottom: 92px; }

  .fab { display: block; position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 300; }
  .fab-backdrop {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .fab-toggle {
    position: relative; z-index: 2;
    width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--cta-grad);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .3s var(--ease);
  }
  .fab-toggle::after { /* 呼吸光圈，提醒可以點 */
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 1px solid rgba(201, 173, 134, .55);
    animation: fabPulse 2.4s var(--ease) infinite;
  }
  .fab-plus, .fab-plus::before {
    position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px;
    border-radius: 2px; background: #141414;
    transition: transform .35s var(--ease);
  }
  .fab-plus::before { content: ""; left: 0; top: 0; margin: 0; transform: rotate(90deg); }
  .fab.is-open .fab-toggle { transform: rotate(135deg); }
  .fab.is-open .fab-toggle::after { animation: none; opacity: 0; }

  .fab-menu {
    position: absolute; right: 2px; bottom: 76px; z-index: 2;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    list-style: none; margin: 0; padding: 0; pointer-events: none;
  }
  .fab-menu li {
    opacity: 0; transform: translateY(14px) scale(.96);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    transition-delay: calc(var(--i) * 35ms);
  }
  .fab-item { display: flex; align-items: center; gap: 12px; }
  .fab-label {
    padding: 8px 14px; border-radius: 999px; white-space: nowrap;
    background: rgba(27, 27, 29, .96); border: 1px solid rgba(237, 234, 227, .12);
    font-size: .92rem; letter-spacing: .04em; color: var(--cream);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9);
  }
  .fab-icon {
    display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
    background: #1B1B1D; color: var(--gold); border: 1px solid rgba(194, 164, 126, .5);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9);
  }
  .fab-icon .icon { width: 22px; height: 22px; }
  .fab-item.is-line .fab-icon { background: var(--cta-grad); color: #141414; border-color: transparent; }
  .fab-item.is-line .fab-label { border-color: rgba(194, 164, 126, .55); }

  .fab.is-open .fab-backdrop { opacity: 1; visibility: visible; }
  .fab.is-open .fab-menu { pointer-events: auto; }
  .fab.is-open .fab-menu li { opacity: 1; transform: none; }
  body.fab-open { overflow: hidden; }
}

@keyframes fabPulse {
  0% { transform: scale(.9); opacity: .9; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-toggle::after { animation: none; } }
/* v19：作品圖可點擊開啟網站 */
.work-media > a { display: block; width: 100%; height: 100%; }
.work-media > a img { cursor: pointer; }

/* =========================================================
   v20：廣告服務頁（服務重點說明、投放方法、追蹤指標）
   ========================================================= */
.detail-list li > span { display: flex; flex-direction: column; gap: 4px; }
.detail-list li strong { font-weight: 700; color: var(--cream); }
.detail-list li small { font-size: .9rem; font-weight: 400; line-height: 1.65; color: var(--muted); }

.method-grid { gap: 20px; }
.method-card { padding: 32px 30px 30px; }
.method-num {
  display: block; margin-bottom: 14px;
  font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: 1;
  background: linear-gradient(180deg, #F1E6D3 0%, #C2A47E 70%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.method-card h3 { margin-bottom: 8px; }
.method-card p { margin: 0; color: var(--muted); }

.metrics-box {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center;
  margin-top: 28px; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--bg); border: 1px solid rgba(194, 164, 126, .3);
}
.metrics-box h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.metrics-box p:not(.eyebrow) { margin: 0; color: var(--muted); }
.metrics-box .metric-list li { background: transparent; border-color: rgba(194, 164, 126, .45); color: var(--cream); }

@media (max-width: 1024px) { .metrics-box { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .method-grid { grid-template-columns: 1fr; } }
/* =========================================================
   v21：獲獎紀錄（首頁卡片、證照頁、頁尾）
   ========================================================= */
.hero-card li.is-award .icon { color: var(--gold); }
.hero-card li.is-award strong { color: var(--gold); font-weight: 700; }
.trust-list li .icon path[d^="m12 3"] { fill: rgba(194, 164, 126, .25); }

.award-card { border-color: rgba(194, 164, 126, .35); }
.award-result {
  margin: 0 0 6px; font-family: var(--serif); font-size: 1rem; letter-spacing: .12em; color: var(--muted);
}
.award-result strong {
  font-size: 1.9rem; letter-spacing: .08em; margin-left: 4px;
  background: linear-gradient(180deg, #F1E6D3 0%, #C2A47E 70%, #A88B66 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.cert-section-head .num { min-width: 1em; }

.footer-awards {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  margin: -12px 0 24px; font-size: .88rem; color: var(--gold);
}
.footer-awards .icon { width: 1em; height: 1em; }
.footer-awards .sep { color: var(--muted); }
/* v22：服務總覽每項服務的亮點 */
.row-highlights { margin: 4px 0 22px; gap: 8px; }
.row-highlights li { font-size: .95rem; color: var(--cream); }
.row-highlights .icon { color: var(--gold); }
