@charset "utf-8";
/* =========================================================================
   承象官網 — 全站樣式表（2026-10 Savaria 風格改版）
   基底：Bootstrap 5.2.3（CDN）
   改版重點：內文 400／標題 700 的粗字重、Lato 英數字、外框圓角按鈕、
            雙層 sticky 導覽列、深灰三欄頁尾、黑底主視覺＋疊入式產品網格
   寫法：:root 變數 → 語意化元件 class → 元件根層級後代選擇器 → 明確 @media
   結構：1 變數 / 2 基礎 / 3 版面 / 4 通用元件 / 5 導覽與頁尾 / 6 頁面區塊 /
         7 表單 / 8 動效 / 9 輪播（slick） / 10 斷點
   ========================================================================= */


/* =========================================================================
   1. 設計變數
   ========================================================================= */
:root {
  /* 品牌色（保留承象藍） */
  --as-accent: #0F5FD6;
  --as-accent-hover: #0B4CAD;
  --as-accent-bg: #e8f0fd;
  --as-accent-on-dark: #7FB0FF;   /* 深色底上的品牌藍：#0F5FD6 壓在黑底上對比不足 */
  --as-danger: #c0392b;
  --as-danger-bg: #fdecec;

  /* 中性色 */
  --as-ink: #1d1f22;          /* 標題、主文字 */
  --as-ink-2: #3d3f43;        /* 內文（比照參考站的深灰內文，比舊版 #5c5e62 深） */
  --as-muted: #6b6e73;        /* 標籤、註解（舊版 #8e9094 在 400 字重下對比不足） */
  --as-line: #e3e4e5;         /* 分隔線 */
  --as-line-2: #dcdddf;       /* 淺底上的分隔線 */
  --as-line-3: #cfd1d4;       /* 表單框線 */

  /* 底色 */
  --as-bg: #fff;
  --as-bg-alt: #f4f5f6;
  --as-bg-3: #e6e7e8;
  --as-black: #000;           /* 首頁主視覺 */
  --as-graphite: #5d5f62;     /* 數據帶 */
  --as-night: #0b0c0e;        /* 深色大區塊 */
  --as-night-2: #17191c;      /* 深色卡片底 */
  --as-dark: #0d0e10;         /* CTA */
  --as-footer: #2b2c2e;       /* 頁尾 */

  /* 深色底上的文字 */
  --as-on-dark: #c3c6ca;
  --as-on-dark-2: #e1e3e5;
  --as-on-dark-line: rgba(255, 255, 255, .28);

  /* 圓角 */
  --as-radius: 4px;
  --as-radius-sm: 2px;
  --as-radius-lg: 8px;
  --as-radius-pill: 999px;

  /* 導覽列：上層捲走、下層黏住（見 5.1） */
  --as-nav-top-h: 80px;
  --as-nav-main-h: 56px;
  --as-nav-h: 58px;           /* 錨點捲動要扣掉的高度＝黏住的那層＋2px 品牌色底線（js/site.js 會讀） */

  /* 尺寸與節奏 */
  --as-gutter: clamp(16px, 3vw, 40px);
  --as-content: 1180px;       /* 主內容寬：導覽列、首頁各區塊、頁尾都對齊這條線 */
  --as-home-overlap: clamp(110px, 13vw, 190px);   /* 首頁產品網格往上疊進主視覺的量 */
  --as-sec-y: clamp(64px, 8vw, 110px);
  --as-sec-y-sm: clamp(56px, 7vw, 96px);
  --as-sec-y-lg: clamp(72px, 9vw, 130px);
  --as-ease: cubic-bezier(.2, .7, .3, 1);

  /* 字體：Lato 負責英數字，中文自動落到 Noto Sans TC */
  --as-font: "Lato", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;

  /* Bootstrap 變數覆寫（讓 BS 元件自動吃到品牌設定） */
  --bs-body-font-family: var(--as-font);
  --bs-body-line-height: 1.75;
  --bs-body-color: var(--as-ink);
  --bs-body-bg: var(--as-bg);
  --bs-link-color: inherit;
  --bs-link-hover-color: var(--as-accent);
  --bs-border-color: var(--as-line);
}


/* =========================================================================
   2. 基礎
   ========================================================================= */
* { box-sizing: border-box; }

/* 跨頁錨點（例：safety.html#cloud）落點扣掉黏住的導覽列 */
html { scroll-padding-top: calc(var(--as-nav-h) + 16px); }

body {
  margin: 0;
  background: var(--as-bg);
  color: var(--as-ink);
  font-family: var(--as-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;         /* body 的 overflow 會轉交給視窗，不影響導覽列 sticky */
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--as-accent); }
:focus-visible { outline: 2px solid var(--as-accent); outline-offset: 2px; }

h1, h2, h3, h4, p, ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; }
img { max-width: 100%; }


/* =========================================================================
   3. 版面：區塊與容器
   ========================================================================= */
.sec { padding: var(--as-sec-y) 0; background: var(--as-bg); }
.sec-alt { background: var(--as-bg-alt); }
.sec-night { background: var(--as-night); color: #fff; padding: var(--as-sec-y-lg) 0; }
.sec-dark { background: var(--as-dark); color: #fff; }
.sec-flush { padding-top: 0; }

/* 內距版：不需要額外 .sec-inner 的簡單區塊 */
.sec-pad { padding-left: var(--as-gutter); padding-right: var(--as-gutter); }

/* 容器 */
.sec-inner { width: 100%; margin: 0 auto; padding: 0 var(--as-gutter); max-width: 1280px; }
.sec-inner-narrow { max-width: calc(700px + 2 * var(--as-gutter)); }
.sec-inner-md { max-width: calc(var(--as-content) + 2 * var(--as-gutter)); }
.sec-inner-lg { max-width: calc(1440px + 2 * var(--as-gutter)); }
.sec-inner-xl { max-width: calc(1560px + 2 * var(--as-gutter)); }

/* 標題組：英文小標改成品牌藍粗體（參考站以彩色副標帶節奏） */
.sec-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--as-accent); }
.sec-eyebrow-accent { color: var(--as-accent); }
.sec-night .sec-eyebrow,
.sec-dark .sec-eyebrow { color: var(--as-accent-on-dark); }

.sec-title { margin-top: 10px; font-size: clamp(28px, 3vw, 42px); font-weight: 700; letter-spacing: .01em; line-height: 1.25; }
.sec-title-sm { font-size: clamp(24px, 2.6vw, 34px); }
.sec-title-lg { font-size: clamp(32px, 4vw, 54px); }

.sec-lead { margin: 16px auto 0; max-width: 680px; font-size: 16px; line-height: 1.85; color: var(--as-ink-2); text-wrap: pretty; }
.sec-night .sec-lead { color: var(--as-on-dark); }

.sec-head { text-align: center; margin-bottom: clamp(28px, 3vw, 48px); }
.sec-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; margin-bottom: clamp(28px, 3vw, 44px); }
.sec-head-split .sec-title { margin-top: 8px; }
.sec-head-note { flex: none; font-size: 14px; color: var(--as-muted); }
.sec-head p.sec-head-note { margin-top: 10px; }


/* =========================================================================
   4. 通用元件
   ========================================================================= */

/* --- 4.1 按鈕：外框圓角為主（參考站的招牌按鈕） ----------------------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  padding: 11px 28px;
  border: 2px solid transparent;
  border-radius: var(--as-radius-pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
/* 淺底：外框 */
.btn-pill-outline { background: #fff; border-color: var(--as-accent); color: var(--as-ink); }
.btn-pill-outline:hover { background: var(--as-accent); color: #fff; }
/* 深底：外框 */
.btn-pill-outline-light { background: transparent; border-color: var(--as-accent-on-dark); color: #fff; }
.btn-pill-outline-light:hover { background: var(--as-accent); border-color: var(--as-accent); color: #fff; }
/* 實心（主要行動） */
.btn-pill-accent,
.btn-pill-dark { background: var(--as-accent); border-color: var(--as-accent); color: #fff; }
.btn-pill-accent:hover,
.btn-pill-dark:hover { background: var(--as-accent-hover); border-color: var(--as-accent-hover); color: #fff; }

/* 舊版 class（內頁改版前仍可能出現）：light＝深底白色實心、ghost／frost＝深底外框 */
.btn-pill-light { background: #fff; border-color: #fff; color: var(--as-ink); }
.btn-pill-light:hover { background: var(--as-accent); border-color: var(--as-accent); color: #fff; }
.btn-pill-ghost,
.btn-pill-frost { background: transparent; border-color: var(--as-accent-on-dark); color: #fff; }
.btn-pill-ghost:hover,
.btn-pill-frost:hover { background: var(--as-accent); border-color: var(--as-accent); color: #fff; }

/* 文字連結：「了解更多 →」（.link-underline 為舊名，同一套樣式） */
.link-more,
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--as-accent);
}
.link-more::after,
.link-underline::after { content: "→"; transition: transform .2s var(--as-ease); }
.link-more:hover,
.link-underline:hover { color: var(--as-accent-hover); }
.link-more:hover::after,
.link-underline:hover::after { transform: translateX(4px); }
.link-more-light { color: #fff; }
.link-more-light::after { color: var(--as-accent-on-dark); }
.link-more-light:hover { color: var(--as-accent-on-dark); }
.link-underline-accent { color: var(--as-accent); }
.link-underline-ink { color: var(--as-ink); }

/* 按鈕列 */
.btn-row { display: flex; gap: 14px; }
.btn-row .btn-pill { flex: none; }


/* --- 4.2 圖片槽 -------------------------------------------------------
   <div class="img-slot" data-label="說明文字">
     <img src="assets/img/xxx.jpg" alt="說明文字">
   </div>
   圖片檔存在 → 蓋住底層說明；圖片不存在 → js/site.js 加上 .is-empty，
   顯示帶說明文字的佔位底圖（不會出現破圖 icon）。
   --------------------------------------------------------------------- */
.img-slot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--as-bg-alt);
  /* 自成堆疊環境：底下 img 的 z-index 只跟 ::after 比，不會蓋住主視覺文字 */
  isolation: isolate;
}
.img-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: #a9abae;
  background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 9px);
}
.img-slot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-slot.is-empty img { display: none; }

/* 橫式框裁直式照片時，把取景往上移（MINI 電梯照下緣門板印有簡體「自动门」，用此避開） */
.img-focus-upper img { object-position: 50% 36%; }

/* 深色底上的圖片槽 */
.img-slot-dark { background: var(--as-night-2); }
.img-slot-dark::after { color: #6e7175; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 9px); }

/* 內頁主視覺的圖片槽：底色比照深色，佔位說明靠下，避免蓋住標題 */
.page-hero .page-hero-media .img-slot { background: var(--as-night-2); }
.page-hero .page-hero-media .img-slot::after {
  color: #6e7175;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 9px);
  align-items: flex-end;
  padding-bottom: 14%;
}

/* 常用比例框（放 .img-slot 用） */
.media { position: relative; overflow: hidden; border-radius: var(--as-radius-sm); background: var(--as-bg-alt); }
.media-1x1 { aspect-ratio: 1; }
.media-3x4 { aspect-ratio: 3 / 4; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-16x10 { aspect-ratio: 16 / 10; }
.media-21x9 { aspect-ratio: 21 / 9; }
.media-fill { position: absolute; inset: 0; border-radius: 0; }
.media-shade { background: var(--as-bg-3); }
.media-night { background: var(--as-night-2); }

/* 直式長圖：依原始比例完整顯示，不裁切 */
.media-natural { background: none; max-width: 620px; margin-left: auto; margin-right: auto; }
.media-natural .img-slot { height: auto; aspect-ratio: 3 / 5; }
.media-natural .img-slot:not(.is-empty) { aspect-ratio: auto; }
.media-natural .img-slot img { height: auto; object-fit: contain; }


/* --- 4.3 數據列 ------------------------------------------------------- */
.stats-bar { color: #fff; }
.stats-bar .stat { padding: 14px 12px; border-top: 1px solid var(--as-on-dark-line); }
.stats-bar .stat-num { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; line-height: 1.1; }
.stats-bar .stat-num .unit { font-size: .46em; margin-left: 4px; }
.stats-bar .stat-label { margin-top: 6px; font-size: 13px; letter-spacing: .04em; color: var(--as-on-dark-2); }

/* 淺底／深底通用的數字格 */
.metric-grid { margin-top: clamp(48px, 6vw, 84px); }
.metric-grid .metric { padding: 14px 12px; }
.metric-grid .metric-num { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; }
.metric-grid .metric-num .unit { font-size: .5em; margin-left: 4px; }
.metric-grid .metric-label { margin-top: 8px; font-size: 14px; color: var(--as-on-dark); }
.metric-grid-hairline { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 34px; }

/* 大數字（計數動畫用） */
.counter-block { text-align: center; margin-top: clamp(48px, 6vw, 86px); }
.counter-block .counter-row { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.counter-block .counter-num { font-size: clamp(56px, 11vw, 150px); font-weight: 700; line-height: .95; letter-spacing: -.01em; }
.counter-block .counter-unit { margin-top: clamp(8px, 1.4vw, 20px); font-size: clamp(16px, 1.6vw, 24px); font-weight: 700; color: var(--as-on-dark); }
.counter-block .counter-note { margin-top: 18px; font-size: 15px; letter-spacing: .08em; color: var(--as-on-dark); }


/* --- 4.4 圖文交錯區塊 ------------------------------------------------- */
.feature-row { --bs-gutter-x: clamp(24px, 5vw, 80px); }
.feature-row .feature-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--as-accent); }
.feature-row .feature-title { margin-top: 12px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
.feature-row .feature-text { margin-top: 18px; font-size: 16px; line-height: 1.85; color: var(--as-ink-2); text-wrap: pretty; }
.feature-row .feature-text + .feature-text { margin-top: 16px; }
.feature-row .feature-body { padding-top: clamp(24px, 3vw, 0px); }
.feature-row .feature-body .link-underline { margin-top: 22px; }
.feature-row .feature-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--as-ink-2); }
.sec-night .feature-row .feature-text,
.sec-night .feature-row .feature-list { color: var(--as-on-dark); }


/* --- 4.5 規格表 ------------------------------------------------------- */
.spec-list { margin: 0; }
.spec-list .spec-row { padding: 16px 0; border-top: 1px solid var(--as-line); }
.spec-list .spec-row:last-child { border-bottom: 1px solid var(--as-line); }
.spec-list dt { font-size: 15px; font-weight: 700; }
.spec-list dd { margin: 0; font-size: 15px; line-height: 1.85; color: var(--as-ink-2); }
.spec-note { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--as-muted); }

/* 深色底的資料表 */
.data-table { margin-top: 26px; }
.data-table .data-head { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--as-on-dark); }
.data-table .data-row { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 15px; }

/* 待補說明框 */
.notice-box { border: 1px solid var(--as-line-2); border-radius: var(--as-radius-lg); padding: clamp(24px, 4vw, 40px); text-align: center; }
.notice-box .notice-title { font-size: 17px; font-weight: 700; }
.notice-box .notice-text { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--as-ink-2); text-wrap: pretty; }
.notice-box .link-underline { margin-top: 18px; }


/* --- 4.6 案例／相簿格 ------------------------------------------------- */
.case-grid .case-cell { padding: 8px; }
.case-grid .case-frame { aspect-ratio: 4 / 3; background: var(--as-bg-3); overflow: hidden; cursor: zoom-in; }

.gallery-grid .gallery-cell { padding: 8px; }
.gallery-grid .gallery-frame { background: var(--as-bg-3); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-grid .gallery-frame-wide { aspect-ratio: 16 / 9; }

/* 子區塊標題（區塊內的第二層標題） */
.subsec { margin: clamp(56px, 7vw, 96px) auto 0; max-width: 760px; }
.subsec-light { margin: clamp(48px, 6vw, 80px) auto 0; max-width: calc(700px + 2 * var(--as-gutter)); padding: 0 var(--as-gutter); }
.subsec .subsec-title,
.subsec-light .subsec-title { text-align: center; font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: .01em; }
.subsec .subsec-note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--as-on-dark); }
.subsec-light .spec-list { margin-top: 26px; }

/* 兩欄數字（伺服驅動主機） */
.stat-pairs { margin-top: 30px; border-top: 1px solid var(--as-line); padding-top: 24px; }
.stat-pairs .stat-pair { padding: 10px 12px 10px 0; }
.stat-pairs .stat-pair-num { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1.15; }
.stat-pairs .stat-pair-num .unit { font-size: .5em; margin-left: 3px; }
.stat-pairs .stat-pair-label { margin-top: 6px; font-size: 13px; color: var(--as-muted); }

/* 元件卡（AOB 四大部件，深色底） */
.part-cards { margin-top: clamp(48px, 6vw, 86px); }
.part-cards .part-card { padding: 12px; }
.part-cards .part-media { aspect-ratio: 1; background: var(--as-night-2); border-radius: var(--as-radius-sm); overflow: hidden; }
.part-cards .part-title { margin-top: 14px; font-size: 16px; font-weight: 700; }
.part-cards .part-text { margin-top: 6px; font-size: 14px; line-height: 1.85; color: var(--as-on-dark); }


/* --- 4.7 圖示磚 ------------------------------------------------------- */
.icon-tiles .icon-tile { padding: 16px 12px; text-align: center; }
.icon-tiles .icon-tile-media { width: clamp(88px, 9vw, 120px); aspect-ratio: 1; margin: 0 auto; background: var(--as-night-2); border-radius: var(--as-radius-sm); overflow: hidden; }
.icon-tiles .icon-tile-label { margin-top: 14px; font-size: 14px; color: var(--as-on-dark-2); }

/* 區塊末端的置中按鈕 */
.sec-cta { margin-top: clamp(40px, 5vw, 64px); text-align: center; }


/* --- 4.8 CTA 區塊（比照參考站 Let's connect：深色底、文字靠左、右側照片由黑漸淡） --- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--as-dark);
  color: #fff;
  border-top: 2px solid var(--as-accent);
}
.cta-band .cta-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.cta-band .cta-media .img-slot { background: transparent; }
.cta-band .cta-media .img-slot::after { content: none; }
.cta-band .cta-media img { opacity: .66; }
.cta-band .cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--as-dark) 0%, rgba(13, 14, 16, .74) 30%, rgba(13, 14, 16, .2) 72%, rgba(13, 14, 16, .06) 100%);
}
/* 黑底去背的產品照：完整顯示、靠右，不裁切 */
.cta-band .cta-media-contain img { object-fit: contain; object-position: right center; opacity: .92; }
.cta-band .cta-inner {
  position: relative;
  z-index: 3;
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) var(--as-gutter);
}
.cta-band .cta-title { max-width: 560px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: .02em; line-height: 1.25; }
.cta-band .cta-lead { margin-top: 16px; max-width: 520px; font-size: 16px; line-height: 1.85; color: var(--as-on-dark-2); text-wrap: pretty; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }


/* =========================================================================
   5. 導覽列與頁尾
   ========================================================================= */

/* --- 5.1 雙層導覽列 ---------------------------------------------------
   整條 header 用 sticky，top 設成「上層高度的負值」：捲動時上層捲走、
   下層剛好黏在視窗頂端。用 sticky 而非 fixed，內容就不必預留導覽列高度。
   捲過上層後 js/site.js 會加上 .is-stuck，讓下層左側出現縮小字標。
   --------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: calc(var(--as-nav-top-h) * -1);
  z-index: 1030;              /* 低於 Bootstrap offcanvas(1045) 與其背幕(1040) */
  background: #fff;
  color: var(--as-ink);
  border-bottom: 2px solid var(--as-accent);
  transition: box-shadow .25s ease;
}
.site-nav.is-scrolled { box-shadow: 0 8px 22px rgba(0, 0, 0, .07); }

.site-nav .nav-top-inner,
.site-nav .nav-main-inner {
  display: flex;
  align-items: center;
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: 0 var(--as-gutter);
}
.site-nav .nav-top-inner { height: var(--as-nav-top-h); }
.site-nav .nav-main-inner { height: var(--as-nav-main-h); }

/* 品牌字標：「承象」＋兩行英文，中間一道品牌色直線
   字距補償：中文字距會在最後一字後多一格，用負 margin 抵銷 */
.site-nav .nav-brand { display: flex; align-items: center; gap: 14px; color: var(--as-ink); }
.site-nav .nav-brand:hover { color: var(--as-ink); }
.site-nav .nav-brand-zh { font-size: 32px; font-weight: 900; line-height: 1; letter-spacing: .12em; margin-right: -.12em; }
.site-nav .nav-brand-en { padding-left: 14px; border-left: 2px solid var(--as-accent); font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .18em; color: var(--as-muted); }

/* 上層右側：次要連結＋大字服務專線 */
.site-nav .nav-utility { margin-left: auto; align-items: center; gap: 28px; font-size: 15px; color: var(--as-muted); }
.site-nav .nav-utility > a:hover { color: var(--as-accent); }
.site-nav .nav-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; color: var(--as-ink-2); }
.site-nav .nav-phone-label { font-size: 12px; letter-spacing: .14em; color: var(--as-muted); }
.site-nav .nav-phone-num { margin-top: 4px; font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.site-nav .nav-phone:hover,
.site-nav .nav-phone:hover .nav-phone-label { color: var(--as-accent); }

/* 下層：主選單 */
.site-nav .nav-main { position: relative; border-top: 1px solid var(--as-line); }
.site-nav .nav-brand-mini {
  flex: none;
  width: 0;
  margin-right: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .1em;
  white-space: nowrap;
  color: var(--as-ink);
  transition: width .25s var(--as-ease), margin-right .25s var(--as-ease), opacity .2s ease;
}
.site-nav.is-stuck .nav-brand-mini { width: 56px; margin-right: 22px; opacity: 1; }

.site-nav .nav-menu { display: flex; align-items: stretch; height: 100%; margin-left: -16px; }   /* 第一項文字對齊上層字標 */
.site-nav .nav-item { position: relative; display: flex; align-items: stretch; }
.site-nav .nav-item.has-mega { position: static; }   /* 大選單以整條 .nav-main 定位 */
.site-nav .nav-link { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 16px; font-weight: 700; color: var(--as-ink); }
.site-nav .nav-item:hover > .nav-link,
.site-nav .nav-item:focus-within > .nav-link { color: var(--as-accent); }
.site-nav .nav-caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.site-nav .nav-item:hover .nav-caret,
.site-nav .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.site-nav .nav-cta { margin-left: auto; min-width: 0; padding: 6px 22px; }

/* --- 5.2 下拉選單與產品大選單（純 CSS：:hover／:focus-within） ---------
   關閉時 visibility 延後 .18s 才切換，滑鼠斜移到面板的途中不會閃斷。 */
.site-nav .nav-drop,
.site-nav .nav-mega {
  position: absolute;
  top: 100%;
  z-index: 5;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.site-nav .nav-item:hover > .nav-drop,
.site-nav .nav-item:focus-within > .nav-drop,
.site-nav .nav-item:hover > .nav-mega,
.site-nav .nav-item:focus-within > .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.site-nav .nav-drop { left: 0; min-width: 220px; padding: 10px 0; border-top: 2px solid var(--as-accent); }
.site-nav .nav-drop a { display: block; padding: 10px 22px; font-size: 15px; color: var(--as-ink-2); }
.site-nav .nav-drop a:hover { background: var(--as-bg-alt); color: var(--as-accent); }

/* 產品大選單（比照參考站）：深色底、一欄一類別，欄間細直線；線條圖示＋品牌藍類別名＋產品清單 */
.site-nav .nav-mega { left: 0; right: 0; background: var(--as-night-2); color: #fff; box-shadow: 0 22px 44px rgba(0, 0, 0, .28); }
.site-nav .nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: 36px var(--as-gutter) 40px;
}
.site-nav .mega-col { padding: 4px clamp(18px, 2.2vw, 30px) 8px; border-left: 1px solid rgba(255, 255, 255, .16); }
.site-nav .mega-col:first-child { padding-left: 0; border-left: 0; }
.site-nav .mega-icon { display: block; width: 72px; height: 72px; margin-bottom: 20px; fill: none; stroke: var(--as-on-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-nav .mega-cat { font-size: 18px; font-weight: 700; letter-spacing: .02em; color: var(--as-accent-on-dark); }
.site-nav .mega-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; }
.site-nav .mega-group { margin-top: 4px; font-size: 16px; font-weight: 700; color: #fff; }
.site-nav .mega-group + li .mega-item { padding-left: 16px; }   /* 小標底下的產品縮排（參考站 Straight／Curved 的層次） */
.site-nav .mega-item { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--as-on-dark-2); }
.site-nav a.mega-item:hover { color: var(--as-accent-on-dark); }
.site-nav .mega-item.is-soon { color: var(--as-on-dark); cursor: default; }
.site-nav .mega-badge { padding: 0 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--as-radius-pill); font-size: 12px; line-height: 1.7; color: var(--as-on-dark); }

/* 手機版上層右側：電話＋選單 */
.site-nav .nav-mobile { margin-left: auto; align-items: center; gap: 4px; }
.site-nav .nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--as-radius);
  background: transparent;
  color: var(--as-ink);
  font-size: 15px;
  font-weight: 700;
}
.site-nav .nav-icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-nav .nav-icon-btn:hover { background: var(--as-bg-alt); color: var(--as-accent); }

/* --- 5.3 手機側邊選單 ------------------------------------------------- */
/* 寬度／底色走 Bootstrap 5.2 的元件變數，不用提高權重去蓋 .offcanvas-end */
.nav-drawer { --bs-offcanvas-width: min(86vw, 360px); --bs-offcanvas-bg: #fff; }
.nav-drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 2px solid var(--as-accent); }
.nav-drawer .drawer-brand { font-size: 22px; font-weight: 900; letter-spacing: .12em; }
.nav-drawer .drawer-body { flex-grow: 1; overflow-y: auto; padding: 12px 12px 32px; display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.nav-drawer .drawer-label { padding: 14px 12px 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--as-accent); }
.nav-drawer .drawer-body > a { padding: 11px 12px; border-radius: var(--as-radius-lg); font-weight: 500; }
.nav-drawer .drawer-body > a:hover { background: var(--as-bg-alt); color: var(--as-accent); }
.nav-drawer .drawer-group { padding: 10px 12px 2px; font-size: 14px; font-weight: 700; color: var(--as-muted); }
.nav-drawer .drawer-body > .drawer-sub { padding: 8px 12px 8px 26px; }
.nav-drawer .drawer-sub.is-soon { color: var(--as-muted); }
.nav-drawer .drawer-sep { height: 1px; background: var(--as-line); margin: 12px; }
.nav-drawer .drawer-actions { display: flex; flex-direction: column; gap: 10px; margin: 22px 12px 0; }
.nav-drawer .drawer-actions .btn-pill { width: 100%; min-width: 0; }

/* --- 5.4 頁尾（比照參考站：深灰底三欄，欄間細直線） ------------------- */
.site-footer { background: var(--as-footer); color: var(--as-on-dark); border-top: 2px solid var(--as-accent); font-size: 15px; }
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--as-gutter) clamp(36px, 4vw, 48px);
}
.site-footer .footer-col { padding: 0 clamp(20px, 2.6vw, 36px); border-left: 1px solid rgba(255, 255, 255, .14); }
.site-footer .footer-col:first-child { padding-left: 0; border-left: 0; }

.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.site-footer .footer-brand:hover { color: #fff; }
.site-footer .footer-brand-zh { font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: .12em; margin-right: -.12em; }
.site-footer .footer-brand-en { padding-left: 12px; border-left: 2px solid var(--as-accent-on-dark); font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .18em; color: var(--as-on-dark); }
.site-footer .footer-about { margin-top: 18px; font-size: 14px; line-height: 1.85; color: var(--as-on-dark); text-wrap: pretty; }
.site-footer .footer-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: #fff; }
.site-footer .footer-more::after { content: " →"; color: var(--as-accent-on-dark); }
.site-footer .footer-more:hover { color: var(--as-accent-on-dark); }

.site-footer .footer-title { margin-bottom: 16px; font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--as-accent-on-dark); }
.site-footer .footer-link-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.site-footer .footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer .footer-links a { font-size: 14px; color: #fff; }
.site-footer .footer-links a:hover { color: var(--as-accent-on-dark); }

.site-footer .footer-contact { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.site-footer .footer-contact-row { display: flex; gap: 12px; font-size: 14px; line-height: 1.7; }
.site-footer .footer-contact dt { flex: none; font-weight: 700; color: #fff; }
.site-footer .footer-contact dd { margin: 0; color: var(--as-on-dark-2); }
.site-footer .footer-contact dd a { color: var(--as-on-dark-2); }
.site-footer .footer-contact dd a:hover { color: var(--as-accent-on-dark); }

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: 18px var(--as-gutter) 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: var(--as-on-dark);
}
.site-footer .footer-slogan { letter-spacing: .16em; }


/* =========================================================================
   6. 頁面區塊
   ========================================================================= */

/* --- 6.1 首頁主視覺：黑底文案，底部留出空間讓產品網格疊上來 ---------- */
.home-hero {
  background: var(--as-black);
  color: #fff;
  padding: clamp(52px, 6.5vw, 92px) 0 calc(var(--as-home-overlap) + clamp(44px, 5vw, 72px));
}
.home-hero .home-hero-inner { max-width: calc(var(--as-content) + 2 * var(--as-gutter)); margin: 0 auto; padding: 0 var(--as-gutter); }
.home-hero .home-hero-copy { max-width: 620px; }
.home-hero .home-hero-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .24em; color: var(--as-accent-on-dark); }
.home-hero .home-hero-title { margin-top: 14px; font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.home-hero .home-hero-sub { margin-top: 14px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; }
.home-hero .home-hero-text { margin-top: 16px; font-size: 15px; line-height: 1.9; color: var(--as-on-dark-2); text-wrap: pretty; }
.home-hero .link-more { margin-top: 22px; }

/* --- 6.2 首頁產品網格：白色底板往上疊進主視覺（參考站首頁的招牌手法） --- */
.home-products { position: relative; z-index: 2; }
.home-products .home-products-inner {
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: calc(var(--as-home-overlap) * -1) auto 0;
  padding: 0 var(--as-gutter);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 52px) clamp(16px, 2vw, 26px);
  padding: clamp(12px, 1.4vw, 18px);
  background: #fff;
}
.product-grid .pcard { display: flex; flex-direction: column; color: var(--as-ink); }
.product-grid .pcard:hover { color: var(--as-ink); }
.product-grid .pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--as-bg-alt); }
.product-grid .pcard-feature .pcard-media { aspect-ratio: 4 / 5; }   /* 第一列直式大圖 */
.product-grid .pcard-media img { transition: transform .7s var(--as-ease); }
.product-grid .pcard:hover .pcard-media img { transform: scale(1.04); }
.product-grid .pcard-title { margin-top: 18px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: .04em; transition: color .2s ease; }
.product-grid .pcard:hover .pcard-title { color: var(--as-accent); }
.product-grid .pcard-text { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--as-ink-2); text-wrap: pretty; }
.product-grid .pcard-more { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--as-accent); }
.product-grid .pcard-more::after { content: "→"; transition: transform .2s var(--as-ease); }
.product-grid .pcard:hover .pcard-more::after { transform: translateX(4px); }

/* --- 6.3 首頁數據帶（深灰底四欄，線稿圖示＋大數字，欄間細直線） ------- */
.stats-band { margin-top: clamp(56px, 7vw, 96px); background: var(--as-graphite); color: #fff; padding: clamp(44px, 5.5vw, 68px) 0; }
.stats-band .stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: 0 var(--as-gutter);
}
.stats-band .stat-cell { padding: 6px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .45); }
.stats-band .stat-cell:first-child { border-left: 0; }
.stats-band .stat-icon { width: 76px; height: 76px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stats-band .stat-big { margin-top: 16px; font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.stats-band .stat-big .unit { margin-left: 4px; font-size: .5em; }
.stats-band .stat-cap { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--as-on-dark-2); }

/* --- 6.4 首頁專業合作（比照參考站 Professionals：左文右圖） ----------- */
.home-split .split-row { --bs-gutter-x: clamp(28px, 5vw, 72px); --bs-gutter-y: 32px; }
.home-split .split-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.2; }
.home-split .split-sub { margin-top: 8px; font-size: clamp(20px, 1.9vw, 26px); color: var(--as-accent); }
.home-split .split-text { margin-top: 18px; font-size: 16px; line-height: 1.85; color: var(--as-ink-2); text-wrap: pretty; }
.home-split .split-body .btn-pill { margin-top: 28px; }
.home-split .split-media { aspect-ratio: 4 / 3; }

/* --- 6.5 首頁「如何選擇」（比照參考站 How to choose：外框卡片＋傾斜照片） --- */
.choose-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--as-line-2);
  background: #fff;
}
.choose-card .choose-media { position: relative; aspect-ratio: 1 / 1.05; }
.choose-card .choose-photo { position: absolute; width: 66%; aspect-ratio: 4 / 5; padding: 10px; background: #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, .16); }
.choose-card .choose-photo-a { left: 0; top: 0; transform: rotate(-6deg); }
.choose-card .choose-photo-b { right: 0; bottom: 0; transform: rotate(5deg); }
.choose-card .choose-title { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.25; }
.choose-card .choose-lead { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--as-ink-2); text-wrap: pretty; }
.choose-card .choose-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 0; }
.choose-card .choose-item { padding-left: 16px; border-left: 3px solid var(--as-accent); }
.choose-card .choose-item dt { font-size: 15px; font-weight: 700; color: var(--as-ink); }
.choose-card .choose-item dd { margin: 4px 0 0; font-size: 15px; line-height: 1.75; color: var(--as-ink-2); }
.choose-card .choose-item dd a { font-weight: 700; color: var(--as-accent); }
.choose-card .choose-item dd a:hover { color: var(--as-accent-hover); }
.choose-card .choose-body .btn-pill { margin-top: 28px; }

/* --- 6.6 首頁安裝實績輪播 --------------------------------------------- */
.case-slider .case-slide { padding: 0 10px; }
.case-slider .case-frame { aspect-ratio: 16 / 10; background: var(--as-bg-alt); overflow: hidden; }
.case-slider .case-title { margin-top: 14px; font-size: 17px; font-weight: 700; }
.case-slider .case-sub { margin-top: 2px; font-size: 14px; color: var(--as-muted); }

/* --- 6.7 內頁主視覺（第二階段會改成較矮、靠左的版型；此處先配合 sticky 導覽列） --- */
.page-hero { position: relative; height: min(80svh, 780px); min-height: 540px; overflow: hidden; background: #000; }
.page-hero .page-hero-media { position: absolute; inset: 0; }
/* 實拍多為日間亮景，中段需保留足夠壓暗量，白字才壓得住 */
.page-hero .page-hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.34) 30%, rgba(0,0,0,.36) 58%, rgba(0,0,0,.80) 100%);
}
.page-hero-scrim-strong { background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.42) 30%, rgba(0,0,0,.44) 58%, rgba(0,0,0,.84) 100%); }
.page-hero .page-hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 40px) 190px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.page-hero .page-hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--as-accent-on-dark); }
.page-hero .page-hero-title { margin-top: 14px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: .04em; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); }
.page-hero .page-hero-sub { margin-top: 14px; font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .06em; }
.page-hero .stats-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--as-gutter) clamp(28px, 4vw, 48px);
}

/* 純文字頁首（聯絡我們） */
.page-head { background: var(--as-bg-alt); padding: clamp(56px, 7vw, 96px) var(--as-gutter); text-align: center; }
.page-head .page-head-title { margin-top: 12px; font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: .02em; }
.page-head .sec-lead { max-width: 600px; }

/* --- 6.8 關於我們：企業簡介 / 產線清單 / 服務流程 ---------------------- */
.intro-block { --bs-gutter-x: clamp(24px, 5vw, 72px); }
.intro-block .intro-title { margin-top: 12px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.35; letter-spacing: .01em; }
.intro-block .intro-body { padding-top: clamp(20px, 2vw, 4px); }
.intro-block .intro-text { font-size: 16px; line-height: 1.95; color: var(--as-ink-2); text-wrap: pretty; }
.intro-block .intro-text + .intro-text { margin-top: 18px; }
.intro-block .intro-points { margin-top: 34px; border-top: 1px solid var(--as-line); padding-top: 26px; }
.intro-block .intro-point { padding: 10px 12px 10px 0; }
.intro-block .intro-point-title { font-size: 15px; font-weight: 700; }
.intro-block .intro-point-sub { margin-top: 6px; font-size: 13px; color: var(--as-muted); }

.tag-list { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--as-line-2); padding-top: 26px; }
.tag-list .tag-item { padding: 10px 12px 10px 0; font-size: 15px; color: var(--as-ink-2); }

.flow-steps .flow-step { padding: 16px 12px; border-top: 2px solid var(--as-accent); }
.flow-steps .flow-no { font-size: 13px; font-weight: 700; color: var(--as-accent); letter-spacing: .1em; }
.flow-steps .flow-title { margin-top: 10px; font-size: 16px; font-weight: 700; }
.flow-steps .flow-text { margin-top: 6px; font-size: 13px; line-height: 1.85; color: var(--as-muted); }

/* 業務基本流程 — 蛇行（S 形）動線，12 張卡片以箭頭串接
   2026-08：原為 flow-chart.jpg，改為純 HTML/CSS。
   ・用 CSS Grid 顯式 grid-area 定位（非 float），偶數列反向排，形成 S 形。
   ・::before = 連接線、::after = 箭頭，兩者都只走在 grid 間隙裡，不會壓到卡片內容。
   ・每個節點最多一個連接器：列中間→水平、列尾→向下、最後一個→無。
   ・箭頭的 border-color 一律寫四值簡寫：方向會隨斷點改變，只設單邊會殘留前一個
     斷點的顏色，導致箭頭變成方塊。
   ！步驟數改變時三個斷點都要重算 —— 產生器見 scratchpad/gen_flow_css.py */
.flow-detail { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--as-line); padding-top: clamp(32px, 4vw, 48px); }
.flow-detail .flow-detail-head { text-align: center; }
.flow-detail .flow-detail-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--as-accent); }
.flow-detail .flow-detail-title { margin-top: 10px; font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: .02em; }

.flow-grid {
  --gx: clamp(26px, 3.2vw, 48px);   /* 欄間距＝水平箭頭長度 */
  --gy: clamp(28px, 3.2vw, 44px);   /* 列間距＝向下箭頭長度 */
  --ar: 7px;                        /* 箭頭大小 */
  display: grid;
  gap: var(--gy) var(--gx);
  margin: clamp(30px, 3.4vw, 44px) 0 0;
  padding-left: 0;                  /* 清掉 <ol> 預設縮排 */
}

.flow-grid .flow-node { position: relative; display: flex; }
.flow-grid .flow-node::before,
.flow-grid .flow-node::after { content: ''; position: absolute; margin: 0; }
.flow-grid .flow-node::before { background: var(--as-accent); }
.flow-grid .flow-node::after { width: 0; height: 0; border-style: solid; border-color: transparent; }

.flow-grid .flow-card {
  width: 100%;
  padding: clamp(18px, 1.8vw, 24px) clamp(15px, 1.5vw, 21px);
  background: var(--as-bg-alt);
  border: 1px solid var(--as-line-2);
  border-radius: 10px;
  transition: background .35s var(--as-ease), border-color .35s var(--as-ease);
}
.flow-grid .flow-card:hover { background: var(--as-accent-bg); border-color: var(--as-accent); }
.flow-grid .flow-card-no { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--as-accent); }
.flow-grid .flow-card-title { margin-top: 12px; font-size: clamp(15px, 1.3vw, 17px); font-weight: 700; letter-spacing: .02em; }
.flow-grid .flow-card-text { margin: 8px 0 0; font-size: 13px; line-height: 1.95; color: var(--as-muted); }

@media (prefers-reduced-motion: reduce) {
  .flow-grid .flow-card { transition: none; }
}

/* ---- 4 欄（>= 992px）---- */
.flow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-grid .flow-node:nth-child(1) { grid-area: 1 / 1; } .flow-grid .flow-node:nth-child(2) { grid-area: 1 / 2; } .flow-grid .flow-node:nth-child(3) { grid-area: 1 / 3; } .flow-grid .flow-node:nth-child(4) { grid-area: 1 / 4; }
.flow-grid .flow-node:nth-child(8) { grid-area: 2 / 1; } .flow-grid .flow-node:nth-child(7) { grid-area: 2 / 2; } .flow-grid .flow-node:nth-child(6) { grid-area: 2 / 3; } .flow-grid .flow-node:nth-child(5) { grid-area: 2 / 4; }
.flow-grid .flow-node:nth-child(9) { grid-area: 3 / 1; } .flow-grid .flow-node:nth-child(10) { grid-area: 3 / 2; } .flow-grid .flow-node:nth-child(11) { grid-area: 3 / 3; } .flow-grid .flow-node:nth-child(12) { grid-area: 3 / 4; }

.flow-grid .flow-node:nth-child(1)::before,
.flow-grid .flow-node:nth-child(2)::before,
.flow-grid .flow-node:nth-child(3)::before,
.flow-grid .flow-node:nth-child(9)::before,
.flow-grid .flow-node:nth-child(10)::before,
.flow-grid .flow-node:nth-child(11)::before {
  top: 50%; left: 100%; width: var(--gx); height: 2px; transform: translateY(-50%);
}
.flow-grid .flow-node:nth-child(1)::after,
.flow-grid .flow-node:nth-child(2)::after,
.flow-grid .flow-node:nth-child(3)::after,
.flow-grid .flow-node:nth-child(9)::after,
.flow-grid .flow-node:nth-child(10)::after,
.flow-grid .flow-node:nth-child(11)::after {
  top: 50%; left: calc(100% + var(--gx)); transform: translate(-100%, -50%);
  border-width: var(--ar) 0 var(--ar) var(--ar); border-color: transparent transparent transparent var(--as-accent);
}

.flow-grid .flow-node:nth-child(5)::before,
.flow-grid .flow-node:nth-child(6)::before,
.flow-grid .flow-node:nth-child(7)::before {
  top: 50%; left: calc(var(--gx) * -1); width: var(--gx); height: 2px; transform: translateY(-50%);
}
.flow-grid .flow-node:nth-child(5)::after,
.flow-grid .flow-node:nth-child(6)::after,
.flow-grid .flow-node:nth-child(7)::after {
  top: 50%; left: calc(var(--gx) * -1); transform: translateY(-50%);
  border-width: var(--ar) var(--ar) var(--ar) 0; border-color: transparent var(--as-accent) transparent transparent;
}

.flow-grid .flow-node:nth-child(4)::before,
.flow-grid .flow-node:nth-child(8)::before {
  top: 100%; left: 50%; width: 2px; height: var(--gy); transform: translateX(-50%);
}
.flow-grid .flow-node:nth-child(4)::after,
.flow-grid .flow-node:nth-child(8)::after {
  top: calc(100% + var(--gy)); left: 50%; transform: translate(-50%, -100%);
  border-width: var(--ar) var(--ar) 0 var(--ar); border-color: var(--as-accent) transparent transparent transparent;
}

.flow-grid .flow-node:nth-child(12)::before,
.flow-grid .flow-node:nth-child(12)::after { display: none; }

/* ---- 3 欄（576 ~ 991px）---- */
@media (max-width: 991.98px) {
  .flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-grid .flow-node:nth-child(1) { grid-area: 1 / 1; } .flow-grid .flow-node:nth-child(2) { grid-area: 1 / 2; } .flow-grid .flow-node:nth-child(3) { grid-area: 1 / 3; }
  .flow-grid .flow-node:nth-child(6) { grid-area: 2 / 1; } .flow-grid .flow-node:nth-child(5) { grid-area: 2 / 2; } .flow-grid .flow-node:nth-child(4) { grid-area: 2 / 3; }
  .flow-grid .flow-node:nth-child(7) { grid-area: 3 / 1; } .flow-grid .flow-node:nth-child(8) { grid-area: 3 / 2; } .flow-grid .flow-node:nth-child(9) { grid-area: 3 / 3; }
  .flow-grid .flow-node:nth-child(12) { grid-area: 4 / 1; } .flow-grid .flow-node:nth-child(11) { grid-area: 4 / 2; } .flow-grid .flow-node:nth-child(10) { grid-area: 4 / 3; }

  .flow-grid .flow-node:nth-child(1)::before,
  .flow-grid .flow-node:nth-child(2)::before,
  .flow-grid .flow-node:nth-child(7)::before,
  .flow-grid .flow-node:nth-child(8)::before {
    top: 50%; left: 100%; width: var(--gx); height: 2px; transform: translateY(-50%);
  }
  .flow-grid .flow-node:nth-child(1)::after,
  .flow-grid .flow-node:nth-child(2)::after,
  .flow-grid .flow-node:nth-child(7)::after,
  .flow-grid .flow-node:nth-child(8)::after {
    top: 50%; left: calc(100% + var(--gx)); transform: translate(-100%, -50%);
    border-width: var(--ar) 0 var(--ar) var(--ar); border-color: transparent transparent transparent var(--as-accent);
  }

  .flow-grid .flow-node:nth-child(4)::before,
  .flow-grid .flow-node:nth-child(5)::before,
  .flow-grid .flow-node:nth-child(10)::before,
  .flow-grid .flow-node:nth-child(11)::before {
    top: 50%; left: calc(var(--gx) * -1); width: var(--gx); height: 2px; transform: translateY(-50%);
  }
  .flow-grid .flow-node:nth-child(4)::after,
  .flow-grid .flow-node:nth-child(5)::after,
  .flow-grid .flow-node:nth-child(10)::after,
  .flow-grid .flow-node:nth-child(11)::after {
    top: 50%; left: calc(var(--gx) * -1); transform: translateY(-50%);
    border-width: var(--ar) var(--ar) var(--ar) 0; border-color: transparent var(--as-accent) transparent transparent;
  }

  .flow-grid .flow-node:nth-child(3)::before,
  .flow-grid .flow-node:nth-child(6)::before,
  .flow-grid .flow-node:nth-child(9)::before {
    top: 100%; left: 50%; width: 2px; height: var(--gy); transform: translateX(-50%);
  }
  .flow-grid .flow-node:nth-child(3)::after,
  .flow-grid .flow-node:nth-child(6)::after,
  .flow-grid .flow-node:nth-child(9)::after {
    top: calc(100% + var(--gy)); left: 50%; transform: translate(-50%, -100%);
    border-width: var(--ar) var(--ar) 0 var(--ar); border-color: var(--as-accent) transparent transparent transparent;
  }

  .flow-grid .flow-node:nth-child(12)::before,
  .flow-grid .flow-node:nth-child(12)::after { display: none; }
}

/* ---- 2 欄（< 576px）---- */
@media (max-width: 575.98px) {
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid .flow-node:nth-child(1) { grid-area: 1 / 1; } .flow-grid .flow-node:nth-child(2) { grid-area: 1 / 2; }
  .flow-grid .flow-node:nth-child(4) { grid-area: 2 / 1; } .flow-grid .flow-node:nth-child(3) { grid-area: 2 / 2; }
  .flow-grid .flow-node:nth-child(5) { grid-area: 3 / 1; } .flow-grid .flow-node:nth-child(6) { grid-area: 3 / 2; }
  .flow-grid .flow-node:nth-child(8) { grid-area: 4 / 1; } .flow-grid .flow-node:nth-child(7) { grid-area: 4 / 2; }
  .flow-grid .flow-node:nth-child(9) { grid-area: 5 / 1; } .flow-grid .flow-node:nth-child(10) { grid-area: 5 / 2; }
  .flow-grid .flow-node:nth-child(12) { grid-area: 6 / 1; } .flow-grid .flow-node:nth-child(11) { grid-area: 6 / 2; }

  .flow-grid .flow-node:nth-child(1)::before,
  .flow-grid .flow-node:nth-child(5)::before,
  .flow-grid .flow-node:nth-child(9)::before {
    top: 50%; left: 100%; width: var(--gx); height: 2px; transform: translateY(-50%);
  }
  .flow-grid .flow-node:nth-child(1)::after,
  .flow-grid .flow-node:nth-child(5)::after,
  .flow-grid .flow-node:nth-child(9)::after {
    top: 50%; left: calc(100% + var(--gx)); transform: translate(-100%, -50%);
    border-width: var(--ar) 0 var(--ar) var(--ar); border-color: transparent transparent transparent var(--as-accent);
  }

  .flow-grid .flow-node:nth-child(3)::before,
  .flow-grid .flow-node:nth-child(7)::before,
  .flow-grid .flow-node:nth-child(11)::before {
    top: 50%; left: calc(var(--gx) * -1); width: var(--gx); height: 2px; transform: translateY(-50%);
  }
  .flow-grid .flow-node:nth-child(3)::after,
  .flow-grid .flow-node:nth-child(7)::after,
  .flow-grid .flow-node:nth-child(11)::after {
    top: 50%; left: calc(var(--gx) * -1); transform: translateY(-50%);
    border-width: var(--ar) var(--ar) var(--ar) 0; border-color: transparent var(--as-accent) transparent transparent;
  }

  .flow-grid .flow-node:nth-child(2)::before,
  .flow-grid .flow-node:nth-child(4)::before,
  .flow-grid .flow-node:nth-child(6)::before,
  .flow-grid .flow-node:nth-child(8)::before,
  .flow-grid .flow-node:nth-child(10)::before {
    top: 100%; left: 50%; width: 2px; height: var(--gy); transform: translateX(-50%);
  }
  .flow-grid .flow-node:nth-child(2)::after,
  .flow-grid .flow-node:nth-child(4)::after,
  .flow-grid .flow-node:nth-child(6)::after,
  .flow-grid .flow-node:nth-child(8)::after,
  .flow-grid .flow-node:nth-child(10)::after {
    top: calc(100% + var(--gy)); left: 50%; transform: translate(-50%, -100%);
    border-width: var(--ar) var(--ar) 0 var(--ar); border-color: var(--as-accent) transparent transparent transparent;
  }

  .flow-grid .flow-node:nth-child(12)::before,
  .flow-grid .flow-node:nth-child(12)::after { display: none; }
}

.address-grid .address-cell { padding: 12px; }
.address-grid .address-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--as-accent); }
.address-grid .address-text { margin-top: 12px; font-size: 17px; line-height: 1.85; }

/* --- 6.9 安全技術：認證 ---------------------------------------------- */
.cert-grid { margin-top: clamp(32px, 4vw, 52px); }
.cert-grid .cert-item { padding: 16px 12px; }
.cert-grid .cert-name { font-size: clamp(20px, 2vw, 28px); font-weight: 700; }
.cert-grid .cert-label { margin-top: 6px; font-size: 13px; color: var(--as-muted); }
.cert-note { margin-top: clamp(28px, 3vw, 40px); font-size: 14px; color: var(--as-muted); line-height: 2; }

/* --- 6.10 聯絡資訊卡 -------------------------------------------------- */
.contact-card { background: var(--as-bg-alt); border-radius: var(--as-radius-lg); border-top: 3px solid var(--as-accent); padding: clamp(24px, 3vw, 36px); }
.contact-card .contact-list { margin-top: 22px; display: flex; flex-direction: column; gap: 22px; }
.contact-card .contact-label { font-size: 14px; font-weight: 700; }
.contact-card .contact-value { margin-top: 6px; font-size: 22px; font-weight: 700; }
.contact-card .contact-value + .contact-value { margin-top: 2px; }
.contact-card .contact-value-sm { font-size: 16px; }
.contact-card .contact-note { margin-top: 4px; font-size: 13px; color: var(--as-muted); }
.contact-card .contact-addr { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--as-line-2); }
.contact-card .contact-addr-label { font-size: 14px; font-weight: 700; }
.contact-card .contact-addr-label + .contact-addr-text { margin-top: 8px; }
.contact-card .contact-addr-text { font-size: 15px; line-height: 1.85; color: var(--as-ink-2); }
.contact-card .contact-addr-text + .contact-addr-label { margin-top: 18px; }


/* =========================================================================
   7. 表單
   ========================================================================= */
.as-form { margin-top: 28px; }
.as-form .form-field { padding-bottom: 20px; }
.as-form .form-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.as-form .form-req { color: var(--as-accent); }
.as-form .form-control-as {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--as-line-3);
  border-radius: var(--as-radius);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
  color: inherit;
}
.as-form textarea.form-control-as { resize: vertical; }
.as-form .form-control-as:focus { outline: none; border-color: var(--as-accent); box-shadow: 0 0 0 3px var(--as-accent-bg); }
.as-form .form-control-as::placeholder { color: #a2a5a9; }
.as-form .form-control-as.is-invalid-as { border-color: var(--as-danger); }
.as-form .form-alert { display: none; margin-bottom: 16px; padding: 12px 14px; border-radius: var(--as-radius); font-size: 15px; }
.as-form .form-alert.is-ok { display: block; background: var(--as-accent-bg); color: var(--as-accent); }
.as-form .form-alert.is-error { display: block; background: var(--as-danger-bg); color: var(--as-danger); }
.as-form .form-submit { min-width: 240px; padding: 12px 28px; }
.as-form .form-note { margin-top: 16px; font-size: 13px; line-height: 1.85; color: var(--as-muted); }


/* =========================================================================
   8. 動效：滾動顯現 + 燈箱
   ========================================================================= */
/* JS 未啟用時完全不隱藏內容（html.js 由 js/site.js 加上） */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--as-ease), transform .85s var(--as-ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .site-nav .nav-drop,
  .site-nav .nav-mega,
  .site-nav .nav-brand-mini,
  .product-grid .pcard-media img { transition: none; }
}

.as-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  cursor: zoom-out;
}
.as-lightbox.is-open { display: flex; }
.as-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }


/* =========================================================================
   9. 輪播（slick，僅首頁安裝實績）
   ========================================================================= */
.slick-slide { height: auto; outline: none; }
.slick-track { display: flex; }
.slick-slide > div { height: 100%; }

.case-slider .slick-dots { display: flex; justify-content: center; gap: 8px; padding: 28px 0 0; margin: 0; }
.case-slider .slick-dots li button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; font-size: 0; background: #c9ccd1; cursor: pointer; }
.case-slider .slick-dots li.slick-active button { background: var(--as-accent); }


/* =========================================================================
   11. 內容頁元件（2026-10 依客戶網站架構新增：解決方案／選購指南／產品比較／
       成功案例／服務支援／知識中心／最新消息）
   ========================================================================= */

/* --- 11.1 示意內容提示條（正式上線前移除） --------------------------- */
.demo-note { padding: 8px var(--as-gutter); background: #fff6db; border-bottom: 1px solid #f1df9f; font-size: 13px; line-height: 1.6; text-align: center; color: #6e5300; }

/* --- 11.2 較矮的內頁主視覺：文字靠左下，含麵包屑（比照參考站內頁） ---- */
.page-hero-sm { height: clamp(360px, 48vh, 480px); min-height: 0; }
.page-hero-sm .page-hero-scrim { background: linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.52) 52%, rgba(0,0,0,.18) 100%); }
.page-hero-sm .page-hero-inner {
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 var(--as-gutter) clamp(40px, 5.5vw, 68px);
  text-align: left;
  pointer-events: auto;
}
.page-hero-sm .page-hero-title { margin-top: 10px; font-size: clamp(32px, 4vw, 52px); text-shadow: none; }
.page-hero-sm .page-hero-sub { max-width: 600px; margin-top: 12px; line-height: 1.85; letter-spacing: .02em; color: var(--as-on-dark-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--as-on-dark); }
.crumbs a { color: var(--as-on-dark); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .6; }

/* --- 11.3 章節錨點列：黏在導覽列下方，捲動時標示目前章節（js/site.js） --- */
.anchor-bar { position: sticky; top: var(--as-nav-h); z-index: 1020; background: #fff; border-bottom: 1px solid var(--as-line); }
.anchor-bar .anchor-bar-inner {
  display: flex;
  gap: 4px;
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: 0 var(--as-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-bar .anchor-bar-inner::-webkit-scrollbar { display: none; }
.anchor-bar a { flex: none; padding: 15px 14px 13px; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 700; white-space: nowrap; color: var(--as-ink-2); }
.anchor-bar a:hover { color: var(--as-accent); }
.anchor-bar a.is-active { color: var(--as-accent); border-bottom-color: var(--as-accent); }
html:has(.anchor-bar) { scroll-padding-top: calc(var(--as-nav-h) + 52px + 16px); }

/* 章節標題（長頁內每一章） */
.chapter-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.chapter-head .chapter-no { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--as-accent); }
.chapter-head .sec-title { margin-top: 8px; }
.chapter-head .sec-lead { margin: 14px 0 0; }
.chapter-head-center { text-align: center; }
.chapter-head-center .sec-lead { margin-left: auto; margin-right: auto; }

/* --- 11.4 情境卡片（解決方案總覽） ----------------------------------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scene-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  border: 1px solid var(--as-line-2);
  border-radius: var(--as-radius-lg);
  background: #fff;
  color: var(--as-ink);
  transition: border-color .2s ease, box-shadow .25s ease;
}
.scene-card:hover { border-color: var(--as-accent); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); color: var(--as-ink); }
.scene-card .scene-icon { width: 44px; height: 44px; fill: none; stroke: var(--as-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scene-card .scene-title { font-size: 18px; font-weight: 700; }
.scene-card .scene-text { font-size: 14px; line-height: 1.75; color: var(--as-ink-2); }
.scene-card .scene-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--as-accent); }
.scene-card .scene-more::after { content: " →"; }

/* 推薦機型標籤 */
.rec-products { margin-top: 24px; }
.rec-products .rec-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--as-muted); }
.rec-products .rec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rec-chip { display: inline-flex; align-items: center; padding: 6px 15px; border: 1px solid var(--as-line-3); border-radius: var(--as-radius-pill); background: #fff; font-size: 14px; font-weight: 700; color: var(--as-ink); }
.rec-chip:hover { border-color: var(--as-accent); color: var(--as-accent); }

/* --- 11.5 比較表 ----------------------------------------------------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--as-line-2); border-radius: var(--as-radius-lg); background: #fff; }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; font-size: 15px; }   /* fixed：第一欄定寬、其餘平分，縮圖才會一樣大 */
.compare-table th,
.compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--as-line); text-align: left; vertical-align: top; line-height: 1.7; }
.compare-table thead th { background: var(--as-bg-alt); vertical-align: bottom; }
.compare-table thead th:first-child { width: 170px; }
.compare-table tbody th { width: 170px; font-weight: 700; color: var(--as-ink); background: #fafbfb; }
.compare-table td { color: var(--as-ink-2); }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .cmp-thumb { display: block; aspect-ratio: 16 / 10; margin-bottom: 12px; overflow: hidden; border-radius: var(--as-radius); background: var(--as-bg-3); }
.compare-table .cmp-name { display: block; font-size: 17px; font-weight: 700; color: var(--as-ink); }
.compare-table .cmp-type { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--as-muted); }
.compare-table .cmp-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--as-accent); }
.compare-table .cmp-link::after { content: " →"; }
.compare-table .cmp-good { font-weight: 700; color: var(--as-accent); }
.compare-note { margin-top: 14px; font-size: 13px; line-height: 1.8; color: var(--as-muted); }

/* --- 11.6 價格卡／保固卡 --------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card { padding: 28px 24px 26px; border: 1px solid var(--as-line-2); border-top: 3px solid var(--as-accent); border-radius: var(--as-radius-lg); background: #fff; }
.price-card .price-name { font-size: 18px; font-weight: 700; }
.price-card .price-type { margin-top: 2px; font-size: 13px; color: var(--as-muted); }
.price-card .price-num { margin-top: 18px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; color: var(--as-ink); }
.price-card .price-num small { margin-left: 4px; font-size: 15px; font-weight: 700; color: var(--as-ink-2); }
.price-card .price-list { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--as-line); font-size: 14px; line-height: 1.7; color: var(--as-ink-2); }
.price-card .price-list li::before { content: "・"; color: var(--as-accent); }

/* 打勾清單 */
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.check-list li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.8; color: var(--as-ink-2); }
.check-list li strong { color: var(--as-ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--as-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2l2.2 2.2 4.6-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list-1 { grid-template-columns: 1fr; }

/* 資訊框（灰底提示） */
.info-box { padding: 22px 24px; border-left: 3px solid var(--as-accent); background: var(--as-bg-alt); font-size: 15px; line-height: 1.85; color: var(--as-ink-2); }
.info-box strong { color: var(--as-ink); }

/* --- 11.7 FAQ 摺疊問答（原生 <details>，不需 JS） ---------------------- */
.faq-group + .faq-group { margin-top: clamp(32px, 4vw, 48px); }
.faq-group .faq-group-title { margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--as-accent); }
.faq-list { border-top: 1px solid var(--as-line-2); }
.faq-item { border-bottom: 1px solid var(--as-line-2); }
.faq-item summary { position: relative; padding: 20px 48px 20px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--as-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; line-height: 1; color: var(--as-accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--as-accent); }
.faq-item .faq-a { padding: 0 48px 22px 0; font-size: 15px; line-height: 1.9; color: var(--as-ink-2); }

/* --- 11.8 文章卡片（知識中心、最新消息） ----------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(18px, 2.2vw, 28px); }
.post-card { display: flex; flex-direction: column; color: var(--as-ink); }
.post-card:hover { color: var(--as-ink); }
.post-card .post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--as-bg-alt); }
.post-card .post-media img { transition: transform .6s var(--as-ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-card .post-meta { display: flex; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--as-muted); }
.post-card .post-tag { font-weight: 700; color: var(--as-accent); }
.post-card .post-title { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.5; transition: color .2s ease; }
.post-card:hover .post-title { color: var(--as-accent); }
.post-card .post-text { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--as-ink-2); }

/* 文章內頁 */
.article { max-width: 760px; margin: 0 auto; }
.article .article-meta { display: flex; gap: 14px; font-size: 14px; color: var(--as-muted); }
.article .article-meta .post-tag { font-weight: 700; color: var(--as-accent); }
.article .article-title { margin-top: 10px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.35; }
.article .article-cover { margin: 28px 0 32px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--as-bg-alt); }
.article .article-body p { font-size: 17px; line-height: 2; color: var(--as-ink-2); }
.article .article-body p + p { margin-top: 18px; }
.article .article-body h2 { margin: 36px 0 12px; font-size: 22px; font-weight: 700; }
.article .article-body .check-list { margin-top: 16px; }
.article .article-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--as-line); }

/* --- 11.9 成功案例：篩選列＋案例卡 ---------------------------------- */
.filter-bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; padding: 20px 22px; border-radius: var(--as-radius-lg); background: var(--as-bg-alt); }
.filter-bar .filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-bar .filter-label { min-width: 72px; margin-right: 4px; font-size: 14px; font-weight: 700; color: var(--as-ink); }
.filter-chip { padding: 6px 16px; border: 1px solid var(--as-line-3); border-radius: var(--as-radius-pill); background: #fff; font-size: 14px; font-weight: 700; color: var(--as-ink-2); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.filter-chip:hover { border-color: var(--as-accent); color: var(--as-accent); }
.filter-chip.is-active { background: var(--as-accent); border-color: var(--as-accent); color: #fff; }
.filter-count { margin-bottom: 18px; font-size: 14px; color: var(--as-muted); }
.case-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 34px) clamp(16px, 2vw, 24px); }
.case-card[hidden] { display: none; }
.case-card .case-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--as-bg-3); cursor: zoom-in; }
.case-card .case-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.case-card .case-tag { padding: 1px 10px; border-radius: var(--as-radius-pill); background: var(--as-accent-bg); font-size: 12px; font-weight: 700; color: var(--as-accent); }
.case-card .case-tag-alt { background: var(--as-bg-alt); color: var(--as-ink-2); }
.case-card .case-card-title { margin-top: 8px; font-size: 17px; font-weight: 700; }
.case-card .case-card-text { margin-top: 4px; font-size: 14px; line-height: 1.75; color: var(--as-ink-2); }
.case-empty { padding: 40px 0; text-align: center; color: var(--as-muted); }

/* --- 11.10 品牌理念／合作品牌／服務區域 ------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value-card { padding: 30px 26px; border-radius: var(--as-radius-lg); background: #fff; }
.sec-alt .value-card { background: #fff; }
.value-card .value-no { font-size: 40px; font-weight: 700; line-height: 1; color: var(--as-accent-bg); -webkit-text-stroke: 1.5px var(--as-accent); }
.value-card .value-title { margin-top: 16px; font-size: 20px; font-weight: 700; }
.value-card .value-text { margin-top: 10px; font-size: 15px; line-height: 1.85; color: var(--as-ink-2); }

.brand-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px; border: 1px solid var(--as-line-2); border-radius: var(--as-radius-lg); background: #fff; }
.brand-card .brand-mark { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; border-radius: var(--as-radius); background: var(--as-bg-alt); font-size: 22px; font-weight: 900; letter-spacing: .04em; color: var(--as-ink); }
.brand-card .brand-name { font-size: 18px; font-weight: 700; }
.brand-card .brand-text { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--as-ink-2); }

.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.region-card { padding: 26px; border: 1px solid var(--as-line-2); border-radius: var(--as-radius-lg); background: #fff; }
.region-card .region-title { font-size: 17px; font-weight: 700; }
.region-card .region-note { margin-top: 4px; font-size: 14px; color: var(--as-muted); }
.region-card .region-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.region-card .region-chip { padding: 5px 14px; border-radius: var(--as-radius-pill); background: var(--as-accent-bg); font-size: 14px; font-weight: 700; color: var(--as-accent); }
.region-card-alt .region-chip { background: var(--as-bg-alt); color: var(--as-ink-2); }

/* --- 11.11 產品頁底部「是否適合」提示列 ------------------------------- */
.fit-strip { background: var(--as-accent-bg); }
.fit-strip .fit-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  max-width: calc(var(--as-content) + 2 * var(--as-gutter));
  margin: 0 auto;
  padding: clamp(28px, 3.6vw, 40px) var(--as-gutter);
}
.fit-strip .fit-title { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; }
.fit-strip .fit-text { margin-top: 4px; font-size: 15px; color: var(--as-ink-2); }
.fit-strip .fit-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- 11.12 聯絡頁：LINE 與照片上傳 ----------------------------------- */
.line-card { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--as-radius-lg); background: #fff; }
.line-card .line-badge { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: #06c755; font-size: 13px; font-weight: 900; letter-spacing: .02em; color: #fff; }
.line-card .line-title { font-size: 15px; font-weight: 700; }
.line-card .line-text { margin-top: 2px; font-size: 13px; color: var(--as-muted); }
.line-card .btn-pill { margin-left: auto; min-width: 0; padding: 7px 18px; font-size: 14px; }
.upload-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed var(--as-line-3); border-radius: var(--as-radius-lg); background: #fafbfb; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.upload-box:hover { border-color: var(--as-accent); background: var(--as-accent-bg); }
.upload-box svg { width: 34px; height: 34px; fill: none; stroke: var(--as-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.upload-box .upload-title { font-size: 15px; font-weight: 700; color: var(--as-ink); }
.upload-box .upload-note { font-size: 13px; color: var(--as-muted); }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-list { margin-top: 8px; font-size: 13px; color: var(--as-ink-2); }

/* --- 11.12b 9 步蛇行流程（服務支援：現場評估流程；產生器 .claude/tools/gen_flow_css.py 9 flow-grid-9 3 2） --- */
/* ---- flow-grid-9：9 步，3 欄（>= 576px）---- */
.flow-grid.flow-grid-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-grid.flow-grid-9 .flow-node:nth-child(1) { grid-area: 1 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(2) { grid-area: 1 / 2; } .flow-grid.flow-grid-9 .flow-node:nth-child(3) { grid-area: 1 / 3; }
.flow-grid.flow-grid-9 .flow-node:nth-child(6) { grid-area: 2 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(5) { grid-area: 2 / 2; } .flow-grid.flow-grid-9 .flow-node:nth-child(4) { grid-area: 2 / 3; }
.flow-grid.flow-grid-9 .flow-node:nth-child(7) { grid-area: 3 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(8) { grid-area: 3 / 2; } .flow-grid.flow-grid-9 .flow-node:nth-child(9) { grid-area: 3 / 3; }

.flow-grid.flow-grid-9 .flow-node:nth-child(1)::before,
.flow-grid.flow-grid-9 .flow-node:nth-child(2)::before,
.flow-grid.flow-grid-9 .flow-node:nth-child(7)::before,
.flow-grid.flow-grid-9 .flow-node:nth-child(8)::before {
  top: 50%; left: 100%; width: var(--gx); height: 2px; transform: translateY(-50%);
}
.flow-grid.flow-grid-9 .flow-node:nth-child(1)::after,
.flow-grid.flow-grid-9 .flow-node:nth-child(2)::after,
.flow-grid.flow-grid-9 .flow-node:nth-child(7)::after,
.flow-grid.flow-grid-9 .flow-node:nth-child(8)::after {
  top: 50%; left: calc(100% + var(--gx)); transform: translate(-100%, -50%);
  border-width: var(--ar) 0 var(--ar) var(--ar); border-color: transparent transparent transparent var(--as-accent);
}

.flow-grid.flow-grid-9 .flow-node:nth-child(4)::before,
.flow-grid.flow-grid-9 .flow-node:nth-child(5)::before {
  top: 50%; left: calc(var(--gx) * -1); width: var(--gx); height: 2px; transform: translateY(-50%);
}
.flow-grid.flow-grid-9 .flow-node:nth-child(4)::after,
.flow-grid.flow-grid-9 .flow-node:nth-child(5)::after {
  top: 50%; left: calc(var(--gx) * -1); transform: translateY(-50%);
  border-width: var(--ar) var(--ar) var(--ar) 0; border-color: transparent var(--as-accent) transparent transparent;
}

.flow-grid.flow-grid-9 .flow-node:nth-child(3)::before,
.flow-grid.flow-grid-9 .flow-node:nth-child(6)::before {
  top: 100%; left: 50%; width: 2px; height: var(--gy); transform: translateX(-50%);
}
.flow-grid.flow-grid-9 .flow-node:nth-child(3)::after,
.flow-grid.flow-grid-9 .flow-node:nth-child(6)::after {
  top: calc(100% + var(--gy)); left: 50%; transform: translate(-50%, -100%);
  border-width: var(--ar) var(--ar) 0 var(--ar); border-color: var(--as-accent) transparent transparent transparent;
}

.flow-grid.flow-grid-9 .flow-node:nth-child(9)::before,
.flow-grid.flow-grid-9 .flow-node:nth-child(9)::after { display: none; }

/* ---- flow-grid-9：2 欄（< 576px）---- */
@media (max-width: 575.98px) {
  .flow-grid.flow-grid-9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid.flow-grid-9 .flow-node:nth-child(1) { grid-area: 1 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(2) { grid-area: 1 / 2; }
  .flow-grid.flow-grid-9 .flow-node:nth-child(4) { grid-area: 2 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(3) { grid-area: 2 / 2; }
  .flow-grid.flow-grid-9 .flow-node:nth-child(5) { grid-area: 3 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(6) { grid-area: 3 / 2; }
  .flow-grid.flow-grid-9 .flow-node:nth-child(8) { grid-area: 4 / 1; } .flow-grid.flow-grid-9 .flow-node:nth-child(7) { grid-area: 4 / 2; }
  .flow-grid.flow-grid-9 .flow-node:nth-child(9) { grid-area: 5 / 1; }

  .flow-grid.flow-grid-9 .flow-node:nth-child(1)::before,
  .flow-grid.flow-grid-9 .flow-node:nth-child(5)::before {
    top: 50%; left: 100%; width: var(--gx); height: 2px; transform: translateY(-50%);
  }
  .flow-grid.flow-grid-9 .flow-node:nth-child(1)::after,
  .flow-grid.flow-grid-9 .flow-node:nth-child(5)::after {
    top: 50%; left: calc(100% + var(--gx)); transform: translate(-100%, -50%);
    border-width: var(--ar) 0 var(--ar) var(--ar); border-color: transparent transparent transparent var(--as-accent);
  }

  .flow-grid.flow-grid-9 .flow-node:nth-child(3)::before,
  .flow-grid.flow-grid-9 .flow-node:nth-child(7)::before {
    top: 50%; left: calc(var(--gx) * -1); width: var(--gx); height: 2px; transform: translateY(-50%);
  }
  .flow-grid.flow-grid-9 .flow-node:nth-child(3)::after,
  .flow-grid.flow-grid-9 .flow-node:nth-child(7)::after {
    top: 50%; left: calc(var(--gx) * -1); transform: translateY(-50%);
    border-width: var(--ar) var(--ar) var(--ar) 0; border-color: transparent var(--as-accent) transparent transparent;
  }

  .flow-grid.flow-grid-9 .flow-node:nth-child(2)::before,
  .flow-grid.flow-grid-9 .flow-node:nth-child(4)::before,
  .flow-grid.flow-grid-9 .flow-node:nth-child(6)::before,
  .flow-grid.flow-grid-9 .flow-node:nth-child(8)::before {
    top: 100%; left: 50%; width: 2px; height: var(--gy); transform: translateX(-50%);
  }
  .flow-grid.flow-grid-9 .flow-node:nth-child(2)::after,
  .flow-grid.flow-grid-9 .flow-node:nth-child(4)::after,
  .flow-grid.flow-grid-9 .flow-node:nth-child(6)::after,
  .flow-grid.flow-grid-9 .flow-node:nth-child(8)::after {
    top: calc(100% + var(--gy)); left: 50%; transform: translate(-50%, -100%);
    border-width: var(--ar) var(--ar) 0 var(--ar); border-color: var(--as-accent) transparent transparent transparent;
  }

  .flow-grid.flow-grid-9 .flow-node:nth-child(9)::before,
  .flow-grid.flow-grid-9 .flow-node:nth-child(9)::after { display: none; }
}

/* --- 11.14 小工具 ---------------------------------------------------- */
.gap-top { margin-top: 24px; }
.value-card-tint { background: var(--as-bg-alt); }
.sec-alt .value-card-tint { background: #fff; }
.upload-box { position: relative; }
.article .crumbs,
.article .crumbs a { color: var(--as-muted); }
.article .crumbs a:hover { color: var(--as-accent); }

/* --- 11.13 斷點 ----------------------------------------------------- */
@media (max-width: 991.98px) {
  .page-hero-sm { height: auto; }
  .page-hero-sm .page-hero-inner { min-height: 320px; }
  .scene-grid,
  .post-grid,
  .case-cards,
  .price-grid,
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-row,
  .region-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .scene-grid,
  .post-grid,
  .case-cards,
  .price-grid,
  .value-grid,
  .check-list { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .filter-bar .filter-label { min-width: 100%; }
  .line-card { flex-wrap: wrap; }
  .line-card .btn-pill { margin-left: 0; }
  .fit-strip .fit-actions .btn-pill { width: 100%; }
}


/* =========================================================================
   10. 斷點
   ========================================================================= */

/* ≤ 991.98px：導覽列只剩上層（電話＋選單鈕），整條黏在頂端 */
@media (max-width: 991.98px) {
  :root {
    --as-nav-top-h: 64px;
    --as-nav-h: 66px;
    --as-home-overlap: clamp(84px, 15vw, 132px);
  }
  .site-nav { top: 0; }
  .site-nav .nav-brand { gap: 12px; }
  .site-nav .nav-brand-zh { font-size: 26px; }
  .site-nav .nav-brand-en { padding-left: 12px; font-size: 9.5px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid .pcard-feature .pcard-media { aspect-ratio: 16 / 10; }

  .stats-band .stats-band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stats-band .stat-cell:nth-child(3) { border-left: 0; }

  .choose-card { grid-template-columns: 1fr; }
  .choose-card .choose-media { width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1.3 / 1; }
  .choose-card .choose-photo { width: 58%; aspect-ratio: 4 / 3.4; }

  .site-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .site-footer .footer-col-brand { grid-column: 1 / -1; }
  .site-footer .footer-col:nth-child(2) { padding-left: 0; border-left: 0; }

  /* 內頁主視覺：數據列改回文件流；用 relative 才會疊在絕對定位的主視覺圖之上 */
  .page-hero { height: auto; min-height: 0; }
  .page-hero .page-hero-inner { min-height: 64svh; padding-bottom: clamp(32px, 7vw, 64px); }
  .page-hero .stats-bar { position: relative; max-width: none; padding-bottom: clamp(24px, 5vw, 40px); }
  .page-hero .page-hero-media .img-slot::after { padding-bottom: 28%; }
}

/* ≤ 767.98px */
@media (max-width: 767.98px) {
  .sec-head-split { flex-direction: column; align-items: flex-start; }
  .cta-band .cta-media { width: 100%; }
  .cta-band .cta-media img { opacity: .5; }
  .cta-band .cta-media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .55) 0%, rgba(13, 14, 16, .86) 55%, var(--as-dark) 100%); }
  .cta-band .cta-actions .btn-pill,
  .sec-cta .btn-pill,
  .home-split .split-body .btn-pill,
  .choose-card .choose-body .btn-pill,
  .as-form .form-submit { width: 100%; min-width: 0; }
  .contact-card { padding: 24px 20px; }
}

/* ≤ 575.98px */
@media (max-width: 575.98px) {
  :root { --as-home-overlap: 72px; }
  .product-grid { grid-template-columns: 1fr; padding: 10px; }
  .stats-band .stat-icon { width: 60px; height: 60px; }
  .stats-band .stat-cell { padding: 6px 8px; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .site-footer .footer-col { padding-left: 0; padding-right: 0; border-left: 0; }
  .site-footer .footer-bottom { flex-direction: column; }
  .icon-tiles .icon-tile-media { width: 76px; }
}

/* ≤ 399.98px：手機版字標只留中文，讓出空間給電話與選單鈕 */
@media (max-width: 399.98px) {
  .site-nav .nav-brand-en { display: none; }
}
