@charset "UTF-8";
/* ============================================================
   Prompt 造型社 — 全站共用樣式
   色票： 主色 #A9855F / 亮金 #C9A57A / 深色底 #1B1815
          文字 #26231F / 次文字 #6B655C / 淺底 #F7F5F2
   字體： Noto Sans TC（中文）/ Cormorant Garamond（數字）
          Jost（英文小標）
   ------------------------------------------------------------
   目錄
   01 變數與基礎
   02 共用文字元件
   03 按鈕
   04 表頭與導覽
   05 頁首橫幅 / Hero
   06 內容區塊（prose）
   07 表格
   08 SVG 圖表容器
   09 卡片與格線
   10 流程 / 統計 / FAQ
   11 作品集
   12 CTA
   13 頁尾
   14 浮動按鈕
   15 RWD
   ============================================================ */

/* ============ 01 變數與基礎 ============ */
:root {
  --brand:        #A9855F;
  --brand-dark:   #8C6942;
  --brand-light:  #C9A57A;
  --brand-pale:   #F3ECE2;
  --ink:          #26231F;
  --ink-2:        #48433D;
  --ink-3:        #6B655C;
  --ink-4:        #8A8279;
  --line:         #E7E1D8;
  --line-2:       #D8CDBF;
  --bg:           #FFFFFF;
  --bg-soft:      #F7F5F2;
  --dark:         #1B1815;
  --dark-2:       #100E0C;
  --line-green:   #06C755;
  --max:          1280px;
  --pad:          48px;
  --hdr:          80px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }

img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; }
.section { padding: 96px var(--pad) 104px; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #fff; }

/* 錨點跳轉時不被 sticky 表頭蓋住 */
:target, [id] { scroll-margin-top: calc(var(--hdr) + 24px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

/* 格線工具類別 —— 絕不在 HTML 寫 inline grid-template-columns */
.g2, .g3, .g4, .g5 { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ============ 02 共用文字元件 ============ */
.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .42em;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--brand-light); }

.h1 { font-size: 44px; font-weight: 700; letter-spacing: .06em; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.h2 { font-size: 36px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: .08em; line-height: 1.55; color: var(--ink); }
.h2--light, .h1--light, .h3--light { color: #fff; }

.lead { font-size: 17px; line-height: 2.05; color: var(--ink-3); letter-spacing: .05em; text-wrap: pretty; }
.body { font-size: 16px; line-height: 2.15; color: #5B554D; letter-spacing: .05em; text-wrap: pretty; }

.rule { width: 56px; height: 1px; background: var(--line-2); margin: 30px 0; }
.rule--center { width: 44px; height: 2px; background: var(--brand-light); margin: 24px auto 0; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .lead { max-width: 760px; margin: 22px auto 0; }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; text-align: left; margin-bottom: 52px;
}

.more { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; letter-spacing: .1em; }
.more span { transition: transform .2s ease; }
.more:hover span { transform: translateX(4px); }

/* ============ 03 按鈕 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 500; letter-spacing: .1em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: #BF9A70; color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { border-color: var(--line-2); color: var(--brand-dark); }
.btn--outline:hover { background: #F7F3EE; color: var(--brand-dark); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { background: #05a948; color: #fff; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

/* ============ 04 表頭與導覽 ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--hdr); padding: 0 var(--pad);
  background: transparent;
  border-bottom: 1px solid #EDE8E1;
}
/* backdrop-filter 放 ::before，避免為 position:fixed 子孫建立包含區塊 */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}

.logo { display: flex; flex-direction: column; line-height: 1; flex: none; }
.logo--img { display: block; }
.logo--img img { width: auto; height: 34px; }
.logo-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px; font-weight: 600; letter-spacing: .04em; color: var(--ink);
  white-space: nowrap;
}
.logo-mark--light { color: #fff; }
.logo-sub {
  font-family: "Jost", sans-serif;
  font-size: 8.5px; letter-spacing: .3em; color: var(--brand); margin-top: 4px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--brand); }
.nav-link .caret { width: 10px; height: 10px; transition: transform .2s ease; }

.has-sub { position: relative; }
.subnav {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; padding: 10px 0; margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 18px 44px rgba(38,35,31,.13);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.subnav a {
  display: block; padding: 11px 22px;
  font-size: 14.5px; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap;
}
.subnav a:hover { background: var(--bg-soft); color: var(--brand); }

/* nav 內的 LINE 鈕只在行動版側滑選單裡出現；桌機用 .hdr-cta 那顆，避免重複兩顆 */
.nav > .btn-consult { display: none; }

.hdr-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.btn-consult {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(169,133,95,.28);
  transition: background .2s ease;
}
.btn-consult:hover { background: var(--brand-dark); color: #fff; }
.btn-consult svg { width: 16px; height: 16px; flex: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line-2); border-radius: 6px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 遮罩 z-index 必須低於表頭本身 */
.nav-scrim {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(16,14,12,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ============ 05 頁首橫幅 ============ */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 640px; background: #17150F; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(14,12,10,.95) 0%, rgba(14,12,10,.84) 34%,
    rgba(14,12,10,.36) 68%, rgba(14,12,10,.14) 100%);
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 96px var(--pad);
  animation: fadeUp .9s ease both;
}
.hero-inner > * { max-width: 640px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner { animation: none; }
  * { transition-duration: .01ms !important; }
}

.hero-title { font-size: 56px; line-height: 1.28; font-weight: 700; letter-spacing: .03em; color: #fff; text-wrap: pretty; }
.hero-lead { margin-top: 22px; font-size: 18px; line-height: 1.95; letter-spacing: .04em; color: rgba(255,255,255,.76); }

.hero-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin: 44px 0 46px; max-width: 580px; }
.hero-features li { display: flex; gap: 12px; align-items: flex-start; }
.hero-features svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--brand-light); }
.hero-features strong { display: block; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .06em; }
.hero-features span { display: block; font-size: 12.5px; color: rgba(255,255,255,.58); margin-top: 5px; letter-spacing: .04em; }

/* 內頁橫幅 */
.page-hero {
  position: relative; display: flex; align-items: center;
  min-height: 340px; background: var(--dark); overflow: hidden;
  padding: 72px var(--pad);
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,14,12,.72), rgba(16,14,12,.88));
}
.page-hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; }
.page-hero .h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.72); max-width: 720px; margin-top: 18px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.crumbs a { color: rgba(255,255,255,.72); }
.crumbs a:hover { color: var(--brand-light); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "／"; color: rgba(255,255,255,.34); }

/* ============ 06 內容區塊 ============ */
.prose { max-width: 860px; }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 26px; }
.prose h2 {
  font-size: 28px; font-weight: 700; letter-spacing: .08em; line-height: 1.5;
  color: var(--ink); margin-top: 64px; padding-left: 18px;
  border-left: 3px solid var(--brand); text-wrap: pretty;
}
.prose h3 { font-size: 20px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; color: var(--ink); margin-top: 44px; }
.prose h4 { font-size: 17px; font-weight: 600; letter-spacing: .05em; color: var(--brand-dark); margin-top: 32px; }
.prose p { font-size: 16.5px; line-height: 2.1; color: #4E4842; letter-spacing: .04em; text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 12px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 24px; font-size: 16px; line-height: 2; color: #4E4842; letter-spacing: .04em; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 14px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-light);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; counter-increment: n; padding-left: 38px; font-size: 16px; line-height: 2; color: #4E4842; letter-spacing: .04em; }
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: "Cormorant Garamond", serif; font-size: 18px; color: var(--brand);
}
.prose figure { margin-top: 40px; }
.prose figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .06em; color: var(--ink-4); }
.prose img { width: 100%; height: auto; border-radius: 4px; }

/* 重點框 */
.callout {
  padding: 28px 32px; border-radius: 6px;
  background: var(--brand-pale); border-left: 3px solid var(--brand);
}
.callout h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--brand-dark); }
.callout p { font-size: 15.5px; line-height: 2; color: #57504A; letter-spacing: .04em; }
.callout--dark { background: #221F1B; border-left-color: var(--brand-light); }
.callout--dark h4 { color: var(--brand-light); }
.callout--dark p { color: rgba(255,255,255,.72); }

/* 答案優先摘要塊 */
.answer-box {
  padding: 30px 34px; border: 1px solid var(--line-2); border-radius: 6px;
  background: #fff; box-shadow: 0 10px 30px rgba(38,35,31,.05);
}
.answer-box .eyebrow { margin-bottom: 12px; }
.answer-box p { font-size: 17px; line-height: 2; color: var(--ink); letter-spacing: .04em; }

/* ============ 07 表格 ============ */
.table-wrap {
  overflow-x: auto; margin-top: 32px;
  border: 1px solid var(--line); border-radius: 6px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.table-wrap caption {
  caption-side: top; text-align: left; padding: 18px 22px 0;
  font-size: 13px; letter-spacing: .12em; color: var(--brand); font-weight: 500;
}
.table-wrap th, .table-wrap td {
  padding: 15px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); letter-spacing: .03em; line-height: 1.85;
}
.table-wrap thead th {
  background: var(--bg-soft); color: var(--ink);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; white-space: nowrap;
}
.table-wrap tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.table-wrap tbody td { color: #55504A; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover { background: #FCFAF7; }
.t-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-hi { color: var(--brand-dark); font-weight: 700; }
.tag-pill {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  background: var(--brand-pale); color: var(--brand-dark);
  font-size: 12.5px; letter-spacing: .06em; white-space: nowrap;
}
.table-note { margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--ink-4); letter-spacing: .04em; }

/* ============ 08 SVG 圖表容器 ============ */
.chart {
  margin-top: 40px; padding: 30px 32px 26px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.chart--soft { background: var(--bg-soft); }
.chart-title { font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.chart-sub { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--ink-4); letter-spacing: .04em; }
.chart svg { display: block; width: 100%; height: auto; margin-top: 22px; overflow: visible; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.chart-legend li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.chart-legend i { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.chart text { font-family: "Noto Sans TC", "PingFang TC", sans-serif; }

/* ============ 09 卡片與格線 ============ */
.card {
  display: flex; flex-direction: column;
  padding: 44px 36px 40px; background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 16px 40px rgba(38,35,31,.07); transform: translateY(-3px); }
.card-icon { width: 42px; height: 42px; color: var(--brand); flex: none; }
.card h3 { margin: 26px 0 12px; font-size: 20px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.card p { font-size: 14.5px; line-height: 1.95; color: var(--ink-3); letter-spacing: .04em; }
.card .more { margin-top: auto; padding-top: 24px; }

.tile {
  padding: 32px 30px; border-radius: 6px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.tile h3 { font-size: 17px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.tile p { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--ink-3); letter-spacing: .04em; }
.tile-num { font-family: "Cormorant Garamond", serif; font-size: 34px; color: var(--brand); line-height: 1; }

/* 圖文並列 */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px; align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; border-radius: 6px; overflow: hidden; min-height: 420px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ 10 流程 / 統計 / FAQ ============ */
.stats { display: flex; flex-wrap: wrap; gap: 56px; }
.stats em { display: block; font-family: "Cormorant Garamond", serif; font-size: 44px; font-style: normal; color: var(--brand); line-height: 1; }
.stats i { font-size: 20px; font-style: normal; }
.stats span { display: block; font-size: 13px; color: var(--ink-4); letter-spacing: .12em; margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 28px; }
.steps li { border-top: 1px solid rgba(201,165,122,.4); padding-top: 26px; }
.steps em { font-family: "Cormorant Garamond", serif; font-style: normal; font-size: 40px; color: var(--brand-light); line-height: 1; }
.steps strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: .08em; margin-top: 14px; color: #fff; }
.steps p { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.52); }
.steps--light li { border-top-color: var(--line-2); }
.steps--light em { color: var(--brand); }
.steps--light strong { color: var(--ink); }
.steps--light p { color: var(--ink-3); }

.faq { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.faq details {
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 600; letter-spacing: .05em; line-height: 1.75; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin: 8px 0 0 auto;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary .q {
  font-family: "Cormorant Garamond", serif; font-size: 22px;
  color: var(--brand); line-height: 1.2; flex: none;
}
.faq-body { padding: 0 26px 26px 62px; }
.faq-body p { font-size: 15.5px; line-height: 2.05; color: #55504A; letter-spacing: .04em; }
.faq-body > * + * { margin-top: 16px; }

/* ============ 11 作品集 ============ */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 220px; gap: 16px; }
.work { position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--bg-soft); }
.work--big { grid-column: span 2; grid-row: span 2; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover img { transform: scale(1.05); }
.work-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 18px 20px; pointer-events: none;
  background: linear-gradient(transparent, rgba(15,13,11,.8));
}
.work-cap strong { font-size: 14.5px; font-weight: 500; color: #fff; letter-spacing: .06em; }
.work-tag { display: block; font-size: 12px; letter-spacing: .2em; color: var(--brand-light); }
.work--big .work-cap { padding: 26px 28px 22px; }
.work--big .work-cap strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: .08em; margin-top: 6px; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.gallery figure { position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--bg-soft); aspect-ratio: 3 / 4; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* ============ 12 CTA ============ */
.cta { position: relative; padding: 104px var(--pad); text-align: center; background: var(--dark-2); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner p { margin: 20px auto 40px; max-width: 680px; font-size: 16px; line-height: 2; letter-spacing: .06em; color: rgba(255,255,255,.66); }

/* ============ 13 頁尾 ============ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.62); padding: 74px var(--pad) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.1fr .8fr 1fr; gap: 44px; padding-bottom: 56px; }
.site-footer .logo-sub { color: var(--brand-light); margin: 6px 0 24px; }
.footer-about { font-size: 13.5px; line-height: 2; letter-spacing: .04em; }

.footer-contact { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--brand-light); }
.footer-contact a, .footer-contact span { color: rgba(255,255,255,.82); line-height: 1.75; }
.footer-contact a:hover { color: var(--brand-light); }

.site-footer h4 { font-size: 14.5px; font-weight: 600; color: #fff; letter-spacing: .12em; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover { color: var(--brand-light); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px; font-size: 12.5px; letter-spacing: .05em;
}

/* ============ 14 浮動按鈕 ============ */
.floaties {
  position: fixed; right: 20px; bottom: 24px; z-index: 70;
  display: flex; flex-direction: column; gap: 12px;
}
.floaty {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; border: 0; cursor: pointer; padding: 0;
  box-shadow: 0 8px 24px rgba(16,14,12,.26);
  transition: transform .2s ease, background .2s ease, opacity .25s ease, visibility .25s;
}
.floaty:hover { transform: translateY(-3px); color: #fff; }
.floaty svg { width: 28px; height: 28px; }
.floaty--line { background: var(--line-green); }
.floaty--line:hover { background: #05a948; }
.floaty--tel { background: var(--brand); }
.floaty--tel:hover { background: var(--brand-dark); }
.floaty--top { background: rgba(27,24,21,.82); opacity: 0; visibility: hidden; }
.floaty--top svg { width: 22px; height: 22px; }
.floaty--top.is-on { opacity: 1; visibility: visible; }
.floaty--top:hover { background: var(--dark); }

.floaty-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  padding: 7px 14px; border-radius: 5px; white-space: nowrap;
  background: rgba(27,24,21,.9); color: #fff;
  font-size: 13px; letter-spacing: .06em;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
  pointer-events: none;
}
.floaty:hover .floaty-label, .floaty:focus-visible .floaty-label { opacity: 1; visibility: visible; }

/* ============================================================
   15 RWD
   ============================================================ */
/* 導覽切換點 1040：導覽自然寬實測 1009px（_build/data/nav-measure.json）。
   版型斷點另設 1200，兩者刻意分開；JS 的 matchMedia 必須跟著用 1040。 */
@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .hdr-cta .btn-consult { display: none; }

  .nav {
    position: fixed; top: var(--hdr); right: 0; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0;
    width: min(340px, 86vw); height: calc(100dvh - var(--hdr));
    padding: 18px 0 40px; overflow-y: auto;
    background: #fff; border-left: 1px solid var(--line);
    transform: translateX(102%); transition: transform .3s ease;
    box-shadow: -18px 0 44px rgba(38,35,31,.12);
  }
  body.nav-open .nav { transform: none; }
  .nav-link { padding: 16px 28px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .has-sub { position: static; }
  .subnav {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
    box-shadow: none; background: var(--bg-soft);
    display: none;
  }
  /* 桌機的 :hover/:focus-within 規則特異性較高，行動版要用同樣的選擇器把 transform 蓋回來，
     否則點開子選單後仍套著 translateX(-50%)，整塊會往左偏出面板。 */
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { transform: none; }
  .has-sub.is-open .subnav { display: block; }
  .has-sub.is-open .caret { transform: rotate(180deg); }
  .subnav a { padding: 14px 28px 14px 44px; border-bottom: 1px solid var(--line); }
  .nav > .btn-consult { display: flex; margin: 24px 28px 0; justify-content: center; }

}

@media (max-width: 1200px) {
  :root { --pad: 32px; }
  .hero-title { font-size: 46px; }
  .split { gap: 44px; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g5, .steps { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .section { padding: 76px var(--pad) 84px; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 29px; }
  .split { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .split--rev .split-media { order: 0; }
  .split-media { min-height: 320px; }
  .g2, .g3 { grid-template-columns: minmax(0,1fr); }
  .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 190px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .prose h2 { font-size: 24px; margin-top: 52px; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; --hdr: 68px; }
  .logo-mark { font-size: 26px; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 72px var(--pad); }
  .hero-scrim { background: linear-gradient(180deg, rgba(14,12,10,.76), rgba(14,12,10,.94)); }
  .hero-title { font-size: 32px; }
  .hero-lead { font-size: 15.5px; }
  .hero-features { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .page-hero { min-height: 260px; padding: 56px var(--pad); }
  .h1 { font-size: 27px; }
  .h2 { font-size: 24px; }
  .prose h2 { font-size: 21px; padding-left: 14px; }
  .prose p, .prose ul li, .prose ol li { font-size: 15.5px; }
  .btn { width: 100%; }
  .btn-row { gap: 12px; }
  .g4, .g5, .steps, .gallery { grid-template-columns: minmax(0,1fr); }
  .work-grid { grid-template-columns: minmax(0,1fr); grid-auto-rows: 210px; }
  .work--big { grid-column: span 1; grid-row: span 1; }
  .stats { gap: 30px; }
  .card { padding: 34px 26px; }
  .chart { padding: 22px 18px 20px; }
  .table-wrap caption { padding: 14px 16px 0; }
  .table-wrap th, .table-wrap td { padding: 13px 15px; }
  .faq summary { padding: 18px 20px; font-size: 15.5px; }
  .faq-body { padding: 0 20px 22px 50px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .floaties { right: 14px; bottom: 16px; gap: 10px; }
  .floaty { width: 50px; height: 50px; }
  .floaty svg { width: 25px; height: 25px; }
}
