/* =========================================================
   兆翔有限公司 ZHAO XIANG｜樣式
   版面依設計稿（1536 × 1024）量測：導覽列 61px、主視覺左 27%／右 73%（圖 1065 × 558）、
   分類入口三等分、應用領域 290／800／243。左留邊 33px、右留邊 46px。
   斷點：桌機 ≥1024、平板 720–1023、手機 <720。
   ========================================================= */
:root {
  --bg: #FAFCFD;
  --ink: #20252B;
  --ink-2: #48505A;
  --muted: #6B7480;
  --blue: #2455D6;
  --blue-d: #1C44AE;
  --ice: #CFE5F4;
  --violet: #D8D2F2;
  --silver: #DDE2E8;
  --code: #50627C;
  --line: rgba(32, 37, 43, .18);
  --line-2: rgba(32, 37, 43, .34);
  --deco: rgba(32, 37, 43, .2);
  --gl: clamp(16px, 2.15vw, 40px);
  --gr: clamp(16px, 3vw, 56px);
  --nav-h: 61px;
  --zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --en: "Inter", "Helvetica Neue", Arial, var(--zh);
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .6, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lock { overflow: hidden; }
body {
  margin: 0; color: var(--ink); font: 400 15px/1.75 var(--zh); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 12% 0%, rgba(214, 233, 246, .55), transparent 70%),
    radial-gradient(900px 500px at 100% 18%, rgba(226, 232, 248, .45), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
svg { display: block; }
.en { font-family: var(--en); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: #fff; border: 1px solid var(--ink); }
.skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.arrow { width: 26px; height: 12px; flex: none; }
.arrow path { fill: none; stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; }

/* ---------- 共用區段標題 ---------- */
.sec { padding: 96px var(--gr) 0 var(--gl); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 36px; }
.sec-title { font-size: clamp(28px, 2.5vw, 38px); font-weight: 700; letter-spacing: .06em; line-height: 1.25; }
.sec-en { display: block; margin-top: 10px; font: 500 14px/1 var(--en); letter-spacing: .26em; color: var(--ink-2); }
.sec-no { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--code); }
.note { font-size: 13px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 20px 0 22px; border: 1px solid var(--ink); background: rgba(255, 255, 255, .55); font-size: 19px; font-weight: 500; letter-spacing: .12em; transition: background .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; }
.btn svg path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-d); border-color: var(--blue-d); }
.pending { color: var(--muted); }

/* ---------- 導覽列 ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }
.nav-in { height: var(--nav-h); margin: 0 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-2); }
.brand { display: flex; align-items: center; gap: 0; padding-left: 21px; }
.brand-mark { width: 40px; height: 40px; margin-right: 19px; }
.brand-mark path { stroke: var(--ink); stroke-width: 1.4; }
.brand-mark rect { fill: var(--blue); }
.brand-zh { font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.brand-sep { margin: 0 18px 0 22px; font: 400 15px/1 var(--en); }
.brand-en { font: 500 17px/1 var(--en); letter-spacing: .16em; }
.menu { display: flex; align-items: center; }
.menu li { display: flex; align-items: center; }
.menu li + li::before { content: ""; width: 1px; height: 20px; background: var(--ink); margin: 0 23px; opacity: .8; }
.menu a { font-size: 16.5px; font-weight: 700; letter-spacing: .17em; padding: 6px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: .17em; bottom: 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a:focus-visible::after { transform: scaleX(1); }
.menu li:last-child a { margin-right: 18px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--ink); transition: transform .25s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 主視覺 ---------- */
.hero { padding: 35px var(--gr) 0 var(--gl); }
.hero-row { display: grid; grid-template-columns: minmax(0, 26.9fr) minmax(0, 73.1fr); }
.hero-copy { position: relative; }
.hero-eyebrow { font: 500 14px/1 var(--en); letter-spacing: .22em; padding-top: 1px; }
.hero-side { position: absolute; left: 0; top: 67px; display: flex; flex-direction: column; align-items: center; width: 13px; }
.hero-side span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 13px/1 var(--en); letter-spacing: .275em; white-space: nowrap; }
.hero-side i { display: block; width: 1px; height: 70px; background: var(--ink); margin-top: 12px; opacity: .85; }
.hero-side b { display: block; width: 7px; height: 7px; background: var(--blue); margin-top: 0; }
.hero-main { padding-left: 62px; }
.hero-title { margin-top: 47px; font-size: clamp(36px, 3.8vw, 58px); font-weight: 700; line-height: 1.24; letter-spacing: .04em; }
.hero-title span { display: block; white-space: nowrap; }
.hero-desc { margin-top: 18px; max-width: 15.4em; font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: .12em; color: var(--ink); }
.hero-cta { margin-top: 26px; }
.hero-tag { position: absolute; left: 22px; bottom: 28px; font: 300 clamp(34px, 3.05vw, 47px)/1 var(--en); letter-spacing: -.02em; }

/* 分格主視覺 */
.stage { position: relative; aspect-ratio: 1065 / 558; overflow: hidden; background: #e9eff4; isolation: isolate; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity var(--swap, 850ms) ease; }
.stage-img.under { z-index: 0; } .stage-img.top { z-index: 1; }
.fx { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 0; pointer-events: none; }
.cell { position: relative; min-width: 0; min-height: 0; border-right: 1px solid rgba(244, 249, 253, .55); border-bottom: 1px solid rgba(244, 249, 253, .55); }
.cell:nth-child(5n) { border-right: 0; }
.cell:nth-child(n+11) { border-bottom: 0; }
.cell > .t, .cell > .b, .cell > .s { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.cell > .t { transition: opacity var(--dur, 1200ms) ease-in-out; }
.cell > .b { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); background: rgba(240, 246, 252, .08); transition: opacity var(--dur, 1200ms) ease-in-out; }
.cell > .s { transition: opacity 260ms ease-out; }
.cell.ice > .t, .cell.ice > .s { background: var(--ice); }
.cell.violet > .t, .cell.violet > .s { background: var(--violet); }
.cell.silver > .t, .cell.silver > .s { background: var(--silver); }
.cell > .s.on { opacity: .3; transition-duration: 180ms; }

/* 直排標籤＋字碼 */
.vl { position: absolute; display: flex; gap: 7px; color: #34445C; }
.vl.l { left: 17px; } .vl.r { right: 16px; flex-direction: row-reverse; }
.vl.top { top: 12px; align-items: flex-start; } .vl.bottom { bottom: 22px; align-items: flex-end; }
.vl-text, .vl-code { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.vl-text { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--en); letter-spacing: .13em; }
.vl-code { font: 400 10px/1 var(--mono); letter-spacing: .08em; color: var(--code); opacity: .62; }
.mk { display: block; flex: none; }
.mk.tick { width: 1.5px; height: 15px; background: currentColor; }
.mk.square { width: 11px; height: 11px; border: 1.5px solid currentColor; }
.mk.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mk.double { width: 6px; height: 13px; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.mk.cross { width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat; }

/* 控制列 */
.stage-ctl { display: flex; justify-content: flex-end; gap: 6px; padding-top: 10px; height: 34px; }
.ctl { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--code); border: 1px solid transparent; border-radius: 2px; }
.ctl:hover { border-color: var(--line); color: var(--ink); }
.ctl svg { width: 9px; height: 9px; fill: currentColor; }

/* 分類入口 */
.cats { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1.17fr); align-items: center; margin-top: 27px; padding-left: 15px; }
.cat-sep { width: 1px; height: 34px; background: var(--ink); margin: 0 auto; opacity: .8; }
.cats > .cat-sep:nth-child(2) { justify-self: center; }
.cat { position: relative; display: flex; align-items: center; gap: 0; height: 44px; padding: 0 4px 6px 3px; border-bottom: 1px solid var(--line-2); width: 100%; }
.cats { column-gap: 44px; }
.cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cat[aria-selected="true"]::after { transform: scaleX(1); }
.cat-no { font: 700 21px/1 var(--en); letter-spacing: .02em; width: 48px; flex: none; }
.cat[aria-selected="true"] .cat-no { color: var(--blue); }
.cat-name { font-size: 20px; font-weight: 500; letter-spacing: .1em; white-space: nowrap; }
.cat-pv { position: relative; width: 58px; height: 34px; margin-left: auto; margin-right: 18px; overflow: hidden; border: 1px solid var(--line); opacity: .9; }
.cat-pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.cat .arrow { color: var(--ink); transition: transform .3s var(--ease), color .3s; }
.cat:hover .arrow, .cat:focus-visible .arrow { transform: translateX(4px); color: var(--blue); }
.cat:focus-visible { outline-offset: 4px; }
.hero-hr { height: 1px; background: var(--line-2); margin: 30px calc(26px - var(--gr)) 0 calc(26px - var(--gl)); }

/* ---------- 應用領域 ---------- */
.apps { padding: 29px var(--gr) 0 var(--gl); }
.apps-row { display: grid; grid-template-columns: minmax(0, 307fr) 2px minmax(0, 908fr) minmax(0, 243fr); align-items: stretch; }
.apps-head { padding: 26px 0 0 17px; }
.apps-head h2 { font-size: clamp(30px, 2.55vw, 39px); font-weight: 700; letter-spacing: .06em; line-height: 1.15; }
.apps-head .sec-en { margin-top: 23px; font-size: 16px; letter-spacing: .24em; color: var(--ink); }
.apps-head i { display: block; width: 36px; height: 1px; background: var(--ink); margin-top: 26px; }
.apps-bar { background: var(--blue); width: 2px; }
.apps-fig { margin: 0 62px 0 46px; aspect-ratio: 800 / 172; overflow: hidden; }
.apps-fig img { width: 100%; height: 100%; object-fit: cover; }
.apps-list { display: flex; flex-direction: column; padding-top: 1px; }
.apps-item { display: flex; align-items: center; justify-content: space-between; height: 48.5px; border-bottom: 1px solid var(--line-2); font-size: 18px; font-weight: 500; letter-spacing: .11em; padding: 0 0 0 1px; width: 100%; transition: color .25s; }
.apps-item .arrow { transition: transform .3s var(--ease); }
.apps-item:hover, .apps-item[aria-expanded="true"] { color: var(--blue); }
.apps-item[aria-expanded="true"] .arrow { transform: rotate(90deg); }
.apps-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin: 28px 0 0 21.2%; padding: 26px 0 4px; border-top: 1px solid var(--line); }
.apps-panel[hidden] { display: none; }
.apps-panel h3 { font-size: 22px; letter-spacing: .08em; }
.apps-panel p { margin-top: 10px; color: var(--ink-2); max-width: 36em; }
.apps-devs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dev { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); transition: border-color .25s; }
.dev:hover { border-color: var(--blue); }
.dev img { width: 76px; height: 57px; object-fit: cover; flex: none; }
.dev b { display: block; font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.dev small { font: 400 11px/1.4 var(--mono); color: var(--code); }

/* ---------- 產品設備 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pcard { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.pcard figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover img { transform: scale(1.03); }
.pcard figcaption { position: absolute; left: 10px; bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .1em; padding: 5px 7px; background: rgba(255, 255, 255, .8); color: var(--code); }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.pcard-cat { font: 500 12px/1 var(--en); letter-spacing: .14em; color: var(--blue); }
.pcard h3 { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.pcard p { font-size: 14.5px; color: var(--ink-2); }
.pcard a { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: .1em; align-self: flex-start; border-bottom: 1px solid var(--ink); }
.pcard a:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- 技術服務 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.svc-item { padding: 26px 28px 30px 0; border-right: 1px solid var(--line); }
.svc-item + .svc-item { padding-left: 28px; }
.svc-item:last-child { border-right: 0; }
.svc-top { display: flex; align-items: baseline; gap: 14px; }
.svc-top b { font: 700 15px/1 var(--en); color: var(--blue); }
.svc-top small { font: 500 11px/1 var(--en); letter-spacing: .22em; color: var(--muted); }
.svc-item h3 { margin-top: 18px; font-size: 22px; letter-spacing: .08em; }
.svc-item p { margin-top: 10px; color: var(--ink-2); }

/* ---------- 關於 ---------- */
.about-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.about-fig { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.about-fig img { width: 100%; height: 100%; object-fit: cover; }
.about-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 calc(20% - .5px), rgba(244, 249, 253, .55) 0 20%, transparent 0 calc(40% - .5px), rgba(244, 249, 253, .55) 0 40%, transparent 0 calc(60% - .5px), rgba(244, 249, 253, .55) 0 60%, transparent 0 calc(80% - .5px), rgba(244, 249, 253, .55) 0 80%, transparent 0); pointer-events: none; }
.about-lead { font-size: 19px; line-height: 1.85; letter-spacing: .06em; font-weight: 500; }
.about-facts { margin-top: 28px; border-top: 1px solid var(--line-2); }
.about-facts div { display: grid; grid-template-columns: 8em 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.about-facts dd { font-size: 15px; }

/* ---------- 聯絡 ---------- */
.contact-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.contact-lead { font-size: 17px; letter-spacing: .05em; color: var(--ink-2); }
.contact-info { margin-top: 26px; border-top: 1px solid var(--line-2); }
.contact-info div { display: grid; grid-template-columns: 6.5em 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; letter-spacing: .08em; }
.field label small { color: var(--blue); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 0; background: rgba(255, 255, 255, .8); font-size: 15px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 85, 214, .14); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.err { font-size: 12.5px; color: #B03A2E; min-height: 1em; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.form-hint { font-size: 13px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border: 1px solid var(--blue); background: rgba(36, 85, 214, .06); color: var(--blue-d); font-size: 14.5px; }
.form-msg[hidden] { display: none; }

/* ---------- 頁尾 ---------- */
.foot { margin-top: 110px; padding: 0 var(--gr) 34px var(--gl); }
.foot-in { border-top: 1px solid var(--line-2); padding-top: 36px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot .brand { padding-left: 0; }
.foot .brand-zh { font-size: 20px; }
.foot .brand-en { font-size: 14px; }
.foot .brand-mark { width: 32px; height: 32px; margin-right: 14px; }
.foot-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); max-width: 34em; }
.foot h3 { font: 500 12px/1 var(--en); letter-spacing: .22em; color: var(--muted); margin-bottom: 14px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; letter-spacing: .08em; }
.foot-nav a:hover { color: var(--blue); }
.foot dl div { display: flex; gap: 12px; font-size: 14px; padding: 3px 0; }
.foot dt { color: var(--muted); min-width: 4.5em; }
.foot-bottom { margin-top: 32px; display: flex; justify-content: space-between; gap: 16px; font: 400 12px/1.6 var(--en); color: var(--muted); letter-spacing: .06em; }

/* ---------- 平板 ---------- */
@media (max-width: 1180px) {
  .menu li + li::before { margin: 0 14px; }
  .menu a { font-size: 15px; letter-spacing: .12em; }
  .brand-sep { margin: 0 12px; }
  .hero-main { padding-left: 44px; }
  .hero-desc { font-size: 15.5px; }
  .btn { font-size: 16px; height: 44px; }
  .cat-name { font-size: 17px; }
  .cat-pv { width: 48px; height: 28px; margin-right: 10px; }
  .cats { column-gap: 22px; }
  .apps-fig { margin: 0 30px 0 30px; }
  .apps-item { font-size: 16px; }
}
@media (max-width: 1023px) {
  .nav-in { margin: 0 var(--gl); }
  .brand { padding-left: 0; }
  .burger { display: inline-flex; }
  .menu { position: fixed; left: 0; right: 0; top: var(--nav-h); flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line-2); padding: 8px var(--gl) 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .menu li + li::before { display: none; }
  .menu li { border-bottom: 1px solid var(--line); }
  .menu a { display: block; width: 100%; padding: 15px 0; font-size: 16px; margin: 0 !important; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 76px; }
  .hero-side { top: 40px; }
  .hero-title { margin-top: 36px; }
  .hero-tag { left: 44px; bottom: 18px; }
  .apps-row { grid-template-columns: 1fr; }
  .apps-bar { display: none; }
  .apps-head { padding: 0 0 18px; border-bottom: 2px solid var(--blue); margin-bottom: 20px; }
  .apps-head i { display: none; }
  .apps-fig { margin: 0 0 14px; aspect-ratio: 800 / 260; }
  .apps-panel { margin-left: 0; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-row, .contact-row { grid-template-columns: 1fr; gap: 34px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > :first-child { grid-column: 1 / -1; }
}

/* ---------- 手機 ---------- */
@media (max-width: 719px) {
  :root { --nav-h: 58px; }
  .sec { padding-top: 72px; }
  .brand-zh { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; margin-right: 11px; }
  .brand-sep { margin: 0 8px; font-size: 12px; }
  .brand-en { font-size: 12px; letter-spacing: .12em; }
  .hero { padding-top: 26px; }
  .hero-side { top: 34px; }
  .hero-side span { font-size: 10px; }
  .hero-side i { height: 40px; }
  .hero-main { padding-left: 36px; }
  .hero-eyebrow { font-size: 12px; }
  .hero-title { margin-top: 30px; font-size: clamp(28px, 8.4vw, 32px); }
  .hero-desc { margin-top: 16px; font-size: 15px; max-width: 15.4em; }
  .hero-cta { margin-top: 22px; }
  .hero-copy { padding-bottom: 66px; }
  .hero-tag { left: 36px; bottom: 16px; font-size: 32px; }
  .stage { aspect-ratio: 1 / 1.1; }
  .vl.l { left: 8px; } .vl.r { right: 8px; }
  .vl.top { top: 8px; } .vl.bottom { bottom: 10px; }
  .vl-text { font-size: 9px; gap: 7px; }
  .vl-code { font-size: 8.5px; }
  .vl.m-off { display: none; }
  .mk.tick { height: 10px; } .mk.square { width: 8px; height: 8px; } .mk.dot { width: 6px; height: 6px; } .mk.cross { width: 9px; height: 9px; } .mk.double { height: 9px; width: 5px; }
  .stage-ctl { padding-top: 6px; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; padding-left: 0; margin-top: 10px; }
  .cat-sep { display: none; }
  .cat { flex-direction: column; align-items: flex-start; justify-content: flex-start; height: auto; gap: 6px; padding: 8px 2px 12px; }
  .cat-no { font-size: 15px; width: auto; }
  .cat-name { font-size: 14px; letter-spacing: .04em; white-space: normal; }
  .cat .arrow, .cat-pv { display: none; }
  .hero-hr { margin-top: 22px; }
  .apps-head h2 { font-size: 28px; }
  .apps-head .sec-en { margin-top: 12px; font-size: 13px; }
  .apps-fig { aspect-ratio: 800 / 300; }
  .apps-item { font-size: 16px; }
  .apps-panel { grid-template-columns: 1fr; gap: 18px; }
  .apps-devs { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-item, .svc-item + .svc-item { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .stage-img { transition: opacity .2s ease !important; }
}
