/* =====================================================================
   NCM Indonesia — 視覺系統 v23
   定位：premium B2B 淨水工程品牌（technical、clean、quiet confidence）
   版面：最大寬度 1240px、寬鬆留白、細分隔線、小圓角、輕陰影
   ===================================================================== */
:root {
  /* 顏色：深海軍藍 + 淨水藍；暖白／極淺灰背景 */
  --navy: #0e2a47;          /* 主色：標題、主要按鈕、深色區塊 */
  --navy-2: #173a60;        /* 主色 hover */
  --accent: #2b71b5;        /* 淨水藍：連結、標籤、圖示（白底對比 ≥ 4.5:1） */
  --brand-a: #4C8DCB;       /* 識別手冊主色，只用於細節裝飾 */
  --brand-b: #ADDEF8;
  --ink: #15212d;           /* 內文 */
  --muted: #5a6876;         /* 次要文字 */
  --line: #e3e6e9;          /* 分隔線 */
  --line-2: #cfd6dd;        /* 輸入框、按鈕框線 */
  --bg: #ffffff;
  --bg-warm: #fbfaf8;       /* 暖白 */
  --bg-alt: #f5f6f4;        /* 極淺灰（交替區塊） */
  --panel: #f2f4f5;         /* 產品展示底 */
  --wa: #178a4b;            /* WhatsApp 綠（白字可讀） */
  --wa-2: #12733e;

  /* 字體 */
  --font: "Plus Jakarta Sans", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --font-zh: "Noto Sans TC", "Plus Jakarta Sans", system-ui, sans-serif;

  /* 尺寸 */
  --r-sm: 6px;
  --r-md: 10px;
  --max: 1240px;
  --bar-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 180ms;
}

/* ---------- 基礎 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
html[lang="zh-Hant"] body { font-family: var(--font-zh); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); text-wrap: balance; }
h1 { font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -.005em; }
p { margin: 0 0 1em; color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 112px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { margin-bottom: 14px; }
.lead { font-size: 1.08rem; max-width: 720px; }
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.label::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.label.light { color: var(--brand-b); }
.note { font-size: .84rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col.top { align-items: start; }

/* ---------- 按鈕與連結 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid transparent; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease); }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.ghost { background: #fff; border-color: var(--line-2); color: var(--navy); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-2); }
.btn.big { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn.full { width: 100%; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; font-size: .92rem; color: var(--accent); cursor: pointer; transition: color var(--t) var(--ease); }
.text-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
[data-wa-product], [data-wa-partner], [data-wa-project] { cursor: pointer; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #e9f1f9; color: #1d5a94; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }

/* ---------- 導覽列：白底深字，捲動後縮小 ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(14,42,71,.05); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: var(--bar-h); transition: height var(--t) var(--ease); }
.topbar.scrolled .topbar-inner { height: 58px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-logo { height: 36px; width: auto; transition: height var(--t) var(--ease); }
.topbar.scrolled .brand-logo { height: 30px; }
.brand-sub { font-size: .78rem; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: .92rem; font-weight: 500; color: var(--ink); }
.nav a { white-space: nowrap; padding: 6px 0; border-bottom: 1px solid transparent; transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.nav a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.nav .nav-cta { color: var(--accent); font-weight: 650; }
.lang { display: flex; flex: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.lang button { border: 0; background: none; min-width: 40px; min-height: 34px; padding: 0 10px; font: inherit; font-size: .78rem; font-weight: 650; color: var(--muted); cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.lang button + button { border-left: 1px solid var(--line); }
.lang button.on { background: var(--navy); color: #fff; }
.menu-btn { display: none; flex: none; min-width: 44px; min-height: 44px; border: 0; background: none; font-size: 1.4rem; color: var(--navy); cursor: pointer; }

/* ---------- 首屏：產品展示（NH-20 為主）＋ 細緻工程圖背景 ---------- */
.hero { background: var(--bg-warm); border-bottom: 1px solid var(--line); padding: 72px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 3.7vw, 3.15rem); line-height: 1.08; margin-bottom: 18px; text-wrap: balance; }
.hero-sub { margin: 0 0 14px; font-size: 1.25rem; font-weight: 600; color: var(--navy); text-wrap: balance; }
.hero-desc { margin: 0; max-width: 520px; font-size: 1rem; text-wrap: pretty; }
.hero .btns { margin-top: 30px; }
.hero-proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.hero-proof li { white-space: nowrap; }
.hero-proof li + li::before { content: "·"; margin: 0 10px; color: var(--line-2); }
html[lang="zh-Hant"] .hero h1 { word-break: keep-all; }

/* 工程圖背景：細格 8px + 主格 40px，透明度很低，不像試算表 */
.hero-visual { position: relative; margin: 0; padding: 56px 28px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background-color: #f4f5f5;
  background-image:
    linear-gradient(rgba(14,42,71,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,42,71,.045) 1px, transparent 1px),
    linear-gradient(rgba(14,42,71,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(14,42,71,.022) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px; background-position: -1px -1px; }
/* 四角定位記號 */
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: rgba(14,42,71,.35); border-style: solid; }
.hero-visual::before { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.hero-visual::after { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.hv-tag { position: absolute; top: 16px; left: 18px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.hv-row { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 40px; }
.hv-row::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 120px; height: 1px; background: rgba(14,42,71,.22); } /* 地面線＝機身底部 */
.hv { position: relative; display: flex; flex-direction: column; align-items: center; transition: transform 200ms var(--ease); }
.hv img { mix-blend-mode: multiply; width: auto; }
/* 依原廠手冊機身高度等比例排列：NH-12 420mm、NH-20 650mm、NV-30 1190mm（約 0.32px／mm） */
.hv-nh12 img { height: 134px; }
.hv-nh20 img { height: 208px; }
.hv-nv30 img { height: 380px; }
.hv-anno { box-sizing: border-box; height: 106px; display: flex; flex-direction: column; align-items: center; margin-top: 14px; padding-top: 8px; border-top: 2px solid rgba(14,42,71,.28); min-width: 84px; }
.hv-anno b { font-size: .85rem; line-height: 1.3; letter-spacing: .06em; color: var(--navy); }
.hv-anno i { font-style: normal; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hv-anno .badge { white-space: nowrap; margin: 4px 0 3px; background: #fff; color: var(--muted); border: 1px solid var(--line-2); }
/* NH-20 為住宅代表機型：置中，標籤與型號以深藍強調 */
.hv-main .hv-anno .badge { background: var(--navy); border-color: var(--navy); color: #fff; }
.hv-main .hv-anno { border-top-color: var(--navy); }
.hv-dim { margin-top: 2px; font-size: .68rem; color: #8a96a2; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hv:hover { transform: translateY(-2px); }
.hv-more { display: none; }   /* 手機版才顯示 */

/* ---------- 核心品牌區塊：Rumah / Bisnis / Proyek ---------- */
.core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.core-col { display: flex; flex-direction: column; min-width: 0; }
.core-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.core-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms var(--ease); }
.core-col:nth-child(-n+2) .core-media img { object-fit: contain; mix-blend-mode: multiply; padding: 18px; }
a.core-media:hover img { transform: scale(1.02); }
.core-cap { margin: 14px 0 10px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.core-col h3 { font-size: 1.3rem; margin-bottom: 8px; }
.core-col p:not(.core-cap) { margin-bottom: 6px; }
.core-col .text-link { margin-top: auto; }

/* ---------- 產品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.product:hover { border-color: #b9c4cf; box-shadow: 0 10px 30px rgba(14,42,71,.07); }
.product .pimg { display: flex; align-items: center; justify-content: center; height: 260px; margin-bottom: 18px; border-radius: var(--r-sm); background: var(--panel); padding: 24px; }
.product .pimg img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.product .badge { align-self: flex-start; }
.product h3 { font-size: 1.35rem; margin: 10px 0 12px; }
.product h3 a:hover { color: var(--accent); }
.pspec { margin: 0 0 20px; display: grid; }
.pspec div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pspec dt { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pspec dd { margin: 0; font-size: .94rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.product .btn { margin-top: auto; }
.product .text-link { justify-content: center; }

/* 比較表：桌機表格、手機逐型號卡片 */
.compare { margin-top: 72px; }
.cmp-title { font-size: 1.3rem; margin-bottom: 16px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .92rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 15px 18px; border-top: 1px solid var(--line); }
.cmp tr:first-child th, .cmp tr:first-child td { border-top: 0; }
.cmp th[scope="row"] { width: 22%; color: var(--muted); font-weight: 600; font-size: .82rem; background: var(--bg-warm); }
.cmp-head th[scope="col"] { font-size: 1rem; background: #fff; }
.cmp-head th[scope="col"] a { color: var(--navy); font-weight: 700; }
.cmp-head th[scope="col"] a:hover { color: var(--accent); }
.cmp td { color: var(--ink); }
.cmp-cta .btn { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.cmp-cards { display: none; }
.cmp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 6px; }
.cmp-card h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.1rem; margin-bottom: 8px; }
.cmp-card dl { margin: 0; }
.cmp-card dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.cmp-card dt { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cmp-card dd { margin: 2px 0 0; font-size: .94rem; color: var(--ink); }
.compare .note { margin-top: 14px; }

/* ---------- 為什麼合作 ---------- */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.benefits li { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line-2); }
.benefits h3 { font-size: 1.05rem; margin-bottom: 6px; }
.benefits p { margin: 0; font-size: .95rem; }
.benefits .benefit-cta { display: flex; align-items: center; border-top: 0; padding-top: 0; }

/* ---------- 信任模組（與未來的案例大圖） ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.trust-item { padding: 28px 28px 8px 0; }
.trust-item + .trust-item { padding-left: 28px; border-left: 1px solid var(--line); }
.trust-item svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-item p { margin: 0; font-size: .92rem; }
.projects { display: grid; gap: 40px; }
.project { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.project dl { margin: 0; display: grid; gap: 4px; }
.project dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.project dd { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.project blockquote { grid-column: 2; margin: 0; padding-left: 16px; border-left: 2px solid var(--brand-a); color: var(--ink); }
.project cite { display: block; margin-top: 6px; font-style: normal; font-size: .84rem; color: var(--muted); }

/* ---------- 關於、數字 ---------- */
.stats { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line-2); }
.stats li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.stats b { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--accent); font-size: .95rem; }

/* ---------- 水質與應用 ---------- */
.cards { display: grid; gap: 32px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding-top: 18px; border-top: 1px solid var(--line-2); }
.card p { margin: 0; }
.water-note { margin-top: 40px; padding: 20px 24px; background: var(--bg-warm); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-sm); }
.water-note p:first-child { color: var(--ink); margin-bottom: 8px; }
.water-note .note { margin: 0; }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.app { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t) var(--ease); }
.app:hover { border-color: #b9c4cf; }
.app svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.app h3 { font-size: 1rem; margin: 0; }
.app p { font-size: .9rem; margin: 0; flex: 1; }
.app-link { margin-top: 12px; font-weight: 600; font-size: .86rem; color: var(--accent); }
#applications .note { margin-top: 20px; }

/* ---------- 影片 ---------- */
.videos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.video { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.video.main { grid-row: auto; }
.videos { align-items: start; }
.vsteps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; counter-reset: vs; }
.vsteps li { counter-increment: vs; display: flex; align-items: baseline; gap: 8px; color: var(--ink); font-size: .92rem; }
.vsteps li::before { content: counter(vs); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--r-md); display: block; }
.vplayer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #dfe5ea; }
.vcover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #dfe5ea; }
.vcover img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms var(--ease); }
.vcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,71,0) 55%, rgba(14,42,71,.35)); }
.vplay { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 6px 20px rgba(14,42,71,.25); transition: transform 200ms var(--ease), background 200ms var(--ease); }
.vplay svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--navy); }
.video:not(.main) .vplay { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.video:not(.main) .vplay svg { width: 22px; height: 22px; }
.vdur { position: absolute; right: 12px; bottom: 10px; z-index: 1; padding: 2px 8px; border-radius: 4px; background: rgba(14,42,71,.75); color: #fff; font-size: .74rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.vcover:hover img { transform: scale(1.02); }
.vcover:hover .vplay { transform: scale(1.06); background: #fff; }
.vcover:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vplayer video { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.video figcaption { display: grid; gap: 2px; font-size: .9rem; color: var(--muted); }
.video figcaption b { color: var(--navy); font-size: 1rem; }

/* ---------- 經銷表單（深藍區塊） ---------- */
.dealer { background: var(--navy); color: #fff; }
.dealer h2 { color: #fff; }
.dealer p { color: #c4d3e2; }
.next-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.next-steps li { counter-increment: s; display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #e2ebf4; }
.next-steps li::before { content: counter(s, decimal-leading-zero); font-size: .8rem; font-weight: 700; color: var(--brand-b); padding-top: 2px; }
.form-box { min-width: 0; }
.form, .form-done { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 32px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.form h3, .form-done h3 { margin: 0; }
.dealer .form p, .dealer .form-done p { color: var(--muted); }
.form-intro { margin: -4px 0 0; font-size: .92rem; }
.form-privacy { margin: 0; font-size: .78rem; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.form input, .form textarea, .form select { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color var(--t) var(--ease); }
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,113,181,.15); }
.form input.invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.form-err { margin: 0; color: #b3261e !important; font-size: .86rem; font-weight: 600; }
.form button[type="submit"] { margin-top: 6px; }
.form-done pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .85rem; background: var(--bg-alt); border-radius: var(--r-sm); padding: 14px; max-height: 260px; overflow: auto; }
.done-row { display: flex; gap: 10px; flex-wrap: wrap; }
.done-row .btn { flex: 1; }

/* ---------- 一般客戶流程 ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { padding-top: 18px; border-top: 1px solid var(--line-2); }
.steps b { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.steps p { margin: 0; }
.mp-title { margin-top: 40px; font-weight: 600; color: var(--navy); }
.mps { display: flex; gap: 10px; flex-wrap: wrap; }
.mps a { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-weight: 600; }

/* ---------- FAQ ---------- */
details { border-top: 1px solid var(--line-2); }
details:last-of-type { border-bottom: 1px solid var(--line-2); }
.faq-group { margin: 40px 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.faq-group:first-of-type { margin-top: 8px; }
.faq-group + details { border-top-color: var(--line-2); }
details:has(+ .faq-group) { border-bottom: 1px solid var(--line-2); }
summary { position: relative; padding: 20px 40px 20px 0; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.3rem; font-weight: 400; color: var(--accent); transition: transform var(--t) var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 40px 22px 0; }

/* ---------- 聯絡 ---------- */
.info { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; margin: 24px 0 0; }
.info > div { display: contents; }
.info dt { font-weight: 600; color: var(--navy); }
.info dd { margin: 0; color: var(--muted); white-space: nowrap; }
.contact-cta { display: flex; justify-content: flex-start; }

/* ---------- 頁尾 ---------- */
.footer { background: #0b2239; color: #a9b9c8; padding: 64px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin: 0; color: #a9b9c8; max-width: 340px; font-size: .92rem; }
.footer-nav { display: grid; gap: 4px; font-size: .92rem; }
.footer-nav a { padding: 6px 0; transition: color var(--t) var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-h { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-b); margin-bottom: 8px; }
.footer-contact a { color: #fff; font-weight: 650; font-size: 1.02rem; white-space: nowrap; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
.footer-bottom p { margin: 0; color: #7d92a6; }

/* ---------- WhatsApp 浮動按鈕 ---------- */
.wa-float { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 0; height: 52px; padding: 0 13px; border-radius: 99px; background: var(--wa); color: #fff; font-weight: 650; font-size: .9rem; white-space: nowrap; box-shadow: 0 6px 18px rgba(14,42,71,.16); transition: background var(--t) var(--ease), opacity 200ms var(--ease), transform 200ms var(--ease), padding 220ms var(--ease), gap 220ms var(--ease); }
.wa-float svg { flex: none; width: 26px; height: 26px; }
.wa-float span { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; transition: max-width 220ms var(--ease), opacity 180ms var(--ease); }
.wa-float:hover, .wa-float:focus-visible, .wa-float.is-expanded { gap: 8px; padding: 0 18px 0 14px; }
.wa-float:hover span, .wa-float:focus-visible span, .wa-float.is-expanded span { max-width: 180px; opacity: 1; }
.wa-float:hover { background: var(--wa-2); }
.wa-float.is-away { opacity: 0; transform: translateY(12px); pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 16px); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   產品詳細頁
   ===================================================================== */
.pd-hero { background: var(--bg-warm); border-bottom: 1px solid var(--line); padding: 28px 0 72px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--accent); }
.pd-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.pd-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; max-width: 100%; padding: 48px; border: 1px solid var(--line); border-radius: var(--r-md); background-color: var(--panel);
  background-image: linear-gradient(rgba(14,42,71,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,42,71,.05) 1px, transparent 1px); background-size: 32px 32px; }
.pd-img img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.pd-info .label { margin-bottom: 10px; }
.pd-info h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.pd-tag { font-size: 1.06rem; max-width: 540px; }
.pd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 22px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pd-stats div { padding: 16px 18px 16px 0; }
.pd-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.pd-stats dt { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pd-stats dd { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; }
.pd-stats small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.price { margin-bottom: 16px; font-size: .94rem; color: var(--muted); }
.price b { color: var(--navy); }
.pd-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-note { font-size: .86rem; margin-top: 14px; }
.pd-sec { padding: 88px 0; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; color: var(--navy); background: #fff; }
.pd-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 28px; }
.pd-feats h3 { font-size: 1.02rem; margin-bottom: 6px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pd-feats p { margin: 0; font-size: .95rem; }
.pd-sec .water-note { margin-top: 16px; }

.sizes { margin-top: 28px; display: grid; gap: 12px; }
.srow { display: grid; grid-template-columns: 160px minmax(0, 1fr) 180px; gap: 16px; align-items: center; font-size: .9rem; }
.sname { font-weight: 600; color: var(--navy); }
.strack { position: relative; height: 10px; background: #e9edf0; border-radius: 99px; }
.bar { position: absolute; top: 0; bottom: 0; background: #b9c4cf; border-radius: 99px; }
.bar.pore { background: var(--accent); }
.sval { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .84rem; }
.sval em { font-style: normal; color: #9a3b1e; font-weight: 600; margin-left: 4px; }
.saxis { display: flex; justify-content: space-between; margin-left: 176px; margin-right: 196px; padding-top: 6px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.spec-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: 13px 20px; border-top: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; }
.spec th { width: 42%; font-weight: 600; color: var(--muted); background: var(--bg-warm); }
.spec td small { color: var(--muted); }

.ticks, .warns { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li, .warns li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.warns li::before { content: "!"; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; display: grid; place-items: center; border: 1.5px solid #a86a00; border-radius: 50%; color: #a86a00; font-size: .7rem; font-weight: 800; }
.csteps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: c; border-top: 1px solid var(--line); }
.csteps li { counter-increment: c; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.csteps li::before { content: counter(c, decimal-leading-zero); flex: none; font-size: .78rem; font-weight: 700; color: var(--accent); padding-top: 3px; }
.basin { margin-top: 18px; padding: 14px 16px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-size: .92rem; }

.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.other { display: flex; align-items: center; gap: 18px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t) var(--ease); }
.other:hover { border-color: #b9c4cf; }
.other img { width: 72px; height: 88px; object-fit: contain; flex: none; mix-blend-mode: multiply; }
.other span { display: grid; gap: 2px; }
.other b { color: var(--navy); }
.other small { color: var(--accent); font-weight: 600; }
.pd-dealer { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--r-md); background: var(--navy); color: #fff; }
.pd-dealer h3 { margin: 0 0 4px; color: #fff; }
.pd-dealer p { margin: 0; color: #c4d3e2; }
.pd-dealer .btn.primary { background: #fff; color: var(--navy); }
.pd-dealer .btn.primary:hover { background: #e8eef4; }

/* =====================================================================
   響應式
   ===================================================================== */
@media (max-width: 1080px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 24px 12px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(14,42,71,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { border-bottom-color: var(--line); }
  .lang { margin-left: auto; }
  .lang button { min-height: 40px; }
  .menu-btn { display: block; }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero-inner, .two-col, .pd-top { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-inner > * { min-width: 0; }
  .core-grid, .product-grid, .cards.three, .steps { grid-template-columns: 1fr 1fr; }
  .core-col:last-child, .product:last-child { grid-column: 1 / -1; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .apps { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; }
  .project blockquote { grid-column: auto; }
  .pd-feats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cmp-wrap { display: none; }
  .cmp-cards { display: grid; gap: 14px; }
  .videos { grid-template-columns: 1fr; }
  .video.main { grid-row: auto; }
  .srow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .srow .strack { grid-column: 1 / -1; grid-row: 2; }
  .saxis { margin: 0; }
  .others { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section, .pd-sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero { padding: 36px 0 48px; }
  .hero h1 { font-size: clamp(1.6rem, 7.4vw, 1.9rem); }
  .hero-proof { flex-direction: column; gap: 6px; }
  .hero-proof li::before, .hero-proof li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--accent); }
  .hero-sub { font-size: 1.08rem; }
  .btns { margin-top: 26px; }
  .btns .btn { flex: 1 1 100%; }
  .hero-visual { padding: 48px 16px 18px; }
  .hv-side { display: none; }
  .hv-nh20 img { height: 250px; }
  .hv-more { display: block; }
  .hv-more-title { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .hv-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -20px; padding-right: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hv-cards::-webkit-scrollbar { display: none; }
  .hv-card { flex: 0 0 72%; scroll-snap-align: start; display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
  .hv-card img { width: 52px; height: 72px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
  .hv-card span { display: grid; gap: 3px; justify-items: start; }
  .hv-card b { color: var(--navy); font-size: 1rem; }
  .hv-card i { font-style: normal; font-size: .84rem; color: var(--muted); }
  .core-grid, .product-grid, .cards.three, .steps, .benefits, .trust, .apps, .pd-feats { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 22px 0 10px; border-left: 0; border-bottom: 1px solid var(--line); }
  .product .pimg { height: 220px; }
  .brand-sub { display: none; }
  .brand-logo { height: 30px; }
  .form, .form-done { padding: 22px; }
  .pd-cta .btn { flex: 1 1 100%; }
  .pd-stats dd { font-size: 1.1rem; }
  .pd-stats div { padding: 12px 10px 12px 0; }
  .pd-stats div + div { padding-left: 10px; }
  .pd-dealer { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  /* 手機：浮動按鈕只留圖示 */
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float:hover, .wa-float:focus-visible, .wa-float.is-expanded { padding: 0; gap: 0; }
  .wa-float svg { width: 26px; height: 26px; }
  .footer { padding-bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}
