@charset "utf-8";
/* ==========================================================================
   GERTECH 耘鼎科技 — 官方網站樣式
   依循「耘鼎科技 設計素材系統 v1.0」品牌規範
   主色 耘鼎藍 #1E2A5A · 強調色 耘鼎橘 #E4572E（面積 <10%）
   中文 Noto Sans TC · 西文 IBM Plex Sans
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* 品牌色 */
  --navy: #1E2A5A;
  --navy-900: #16204A;
  --navy-700: #2A3A72;

  /* 耘鼎橘 #E4572E 為品牌強調色，僅用於「圖形元素」：色條、邊框、圖示、
     大級數數字。它對白底的對比為 3.68:1，通過非文字元素的 3:1，
     但未達 WCAG AA 小級數文字所需的 4.5:1。
     因此小級數文字與實心按鈕改用下列加深版本，維持同一色相： */
  --orange: #E4572E;        /* 圖形用 · 白底 3.68:1（非文字 AA 通過） */
  --orange-text: #C44420;   /* 淺底文字／實心按鈕 · 白底 5.01:1、米底 4.64:1（AA 通過） */
  --orange-deep: #A93A19;   /* 按鈕 hover · 白底 6.35:1（AAA 通過） */
  --orange-on-navy: #E88B4E; /* 深藍底上的橘色強調文字 · 5.37:1（AA 通過） */
  --amber: #E88B4E;
  --sky: #56A0D3;
  --steel: #3E7CB1;
  /* 鋼藍在深藍底僅 3.08:1，深底上的文字改用此加亮版本 · 5.76:1（AA 通過） */
  --steel-on-navy: #74AEDC;
  --warm-gray: #9A9A98;

  /* 中性色 */
  --bg: #EDECEA;
  --surface: #FFFFFF;
  --tint: #F7F6F4;
  --line: #D8D5D0;
  --line-soft: #E5E2DE;
  --ink: #1A2033;
  --ink-2: #3A4155;
  --ink-3: #5A6072;
  --on-navy: #B9C2DA;

  /* 字體 */
  --sans: "IBM Plex Sans", "Noto Sans TC", -apple-system, BlinkMacSystemFont,
          "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --latin: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* 版面 */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  /* 系統整合商的型錄調性：資訊密度高於留白 */
  --sec-y: clamp(52px, 6.5vw, 84px);
  --radius: 4px;
  --radius-lg: 8px;

  /* 效果 */
  --shadow-sm: 0 1px 2px rgba(26, 32, 51, .06), 0 2px 8px rgba(26, 32, 51, .04);
  --shadow-md: 0 2px 4px rgba(26, 32, 51, .06), 0 12px 32px rgba(26, 32, 51, .08);
  --shadow-lg: 0 4px 8px rgba(26, 32, 51, .08), 0 24px 56px rgba(26, 32, 51, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --brand-gradient: linear-gradient(90deg, #E4572E 0%, #E88B4E 30%, #56A0D3 70%, #3E7CB1 100%);
}

/* ---------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: .01em;
  /* 避免中文標題末尾單字落單成一行 */
  text-wrap: balance;
}
p { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--orange-text); }
button { font: inherit; color: inherit; }
:focus-visible {
  outline: 3px solid var(--orange-text);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--navy); color: #fff; }

/* ------------------------------------------------------------- 3. Utilities */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); }
.section--tint { background: var(--tint); }
.section--paper { background: var(--surface); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--on-navy); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; translate: -50% -140%;
  z-index: 200; background: var(--navy); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; color: #fff; }

.brand-rule { height: 4px; border: 0; margin: 0; background: var(--brand-gradient); }

/* -------------------------------------------------------------- 4. 字級系統 */
.eyebrow {
  font-family: var(--latin);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 14px;
  display: block;
}
/* hero 與內頁 hero 同樣是深藍底，橘色小標在此對比不足，改用天藍 */
.section--navy .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--sky); }

.h-display { font-size: clamp(30px, 5.4vw, 52px); font-weight: 900; line-height: 1.22; letter-spacing: .01em; }
.h-1 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.3; }
.h-2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; line-height: 1.4; }
.h-3 { font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; line-height: 1.55; }
.lede { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.85; color: var(--ink-2); }
.section--navy .lede { color: var(--on-navy); }
.small { font-size: 14px; line-height: 1.75; color: var(--ink-3); }
.tiny { font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.en { font-family: var(--latin); font-weight: 500; color: var(--ink-3); }
.section--navy .en { color: var(--sky); }

/* 章節標頭：橘色編號 + 中英雙語，沿用簡報章節樣式
   標題與內文分別設限：中文標題需要較寬的容器，內文則維持易讀行長。 */
.sec-head { margin-bottom: clamp(32px, 4.5vw, 52px); max-width: 820px; }
.sec-head p { max-width: 40em; }
.sec-head .h-1 + p { margin-top: 16px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center p { margin-inline: auto; }

/* ---------------------------------------------------------------- 5. 按鈕 */
.btn {
  --btn-bg: var(--orange-text);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15px; line-height: 1.4;
  cursor: pointer; text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--orange-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .18s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--navy { --btn-bg: var(--navy); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--on-navy { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.34); }
.btn--on-navy:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 文字連結（帶箭頭） */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; color: var(--navy);
}
.link-arrow .arw { transition: transform .18s var(--ease); }
.link-arrow:hover .arw { transform: translateX(4px); }
.section--navy .link-arrow { color: #fff; }
.section--navy .link-arrow:hover { color: var(--sky); }

/* ------------------------------------------------ 5b. 頂部聯絡列 utilbar */
.utilbar {
  background: var(--navy-900);
  font-family: var(--latin);
  font-size: 12.5px;
  line-height: 1.5;
}
.utilbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 26px; flex-wrap: wrap; min-height: 34px; padding-block: 6px;
}
.utilbar__co { color: var(--on-navy); }
.utilbar__links { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.utilbar a { color: #fff; font-weight: 500; }
.utilbar a:hover { color: var(--sky); }
.utilbar a b { font-family: var(--sans); font-weight: 700; letter-spacing: .02em; }
@media (max-width: 640px) { .utilbar__co { display: none; } }

/* ------------------------------------------------ 5c. 型錄表格 catalogue */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cat { width: 100%; border-collapse: collapse; min-width: 620px; }
.cat caption { text-align: left; font-size: 13px; color: var(--ink-3); padding-bottom: 12px; }
.cat th, .cat td {
  text-align: left; vertical-align: top;
  padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px; line-height: 1.75;
}
.cat thead th {
  font-family: var(--latin); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 2px solid var(--navy); padding-block: 9px;
}
.cat tbody th {
  font-weight: 700; color: var(--navy); white-space: nowrap;
  padding-right: 28px; width: 1%;
}
.cat td.brands { color: var(--ink-3); font-size: 13.5px; }
.cat tbody tr:hover { background: var(--tint); }
.cat tbody tr:last-child th, .cat tbody tr:last-child td { border-bottom: 0; }

/* 深色區塊中的表格 */
.section--navy .cat th, .section--navy .cat td { border-color: rgba(255,255,255,.14); }
.section--navy .cat thead th { color: var(--on-navy); border-bottom-color: rgba(255,255,255,.4); }
.section--navy .cat tbody th { color: #fff; }
.section--navy .cat td { color: var(--on-navy); }
.section--navy .cat tbody tr:hover { background: rgba(255,255,255,.04); }

/* ------------------------------------------------ 5d. 品牌清單 vendors */
.vendors {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.vendors > div { background: var(--surface); padding: 13px 16px; }
.vendors b {
  display: block; font-family: var(--latin); font-size: 14px;
  font-weight: 700; color: var(--navy); letter-spacing: .01em;
}
.vendors span { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* hero 內的深色版本 */
.vendors--dark { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.vendors--dark > div { background: var(--navy); }
.vendors--dark b { color: #fff; }
.vendors--dark span { color: var(--on-navy); }

/* ------------------------------------------------ 5e. 素面清單（無卡片） */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list > div { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.svc-list h3 { font-size: 16px; color: var(--navy); margin-bottom: 5px; }
.svc-list h3 .en { display: inline; font-size: 12px; margin-left: 8px; font-weight: 500; }
.svc-list p { font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.svc-list p b { color: var(--ink-2); font-weight: 700; }

/* ---------------------------------------------------------------- 6. 頁首 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand:hover { opacity: .85; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: block;
  padding: 9px 14px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--orange); border-radius: 1px;
}
.header-cta { flex-shrink: 0; padding: 10px 20px; font-size: 14px; }
/* 選單內的 CTA 只在行動版展開時出現，桌機用 .header-cta，避免重複兩顆按鈕 */
.nav > .btn { display: none; }

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

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line-soft);
    padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 16px; }
  .nav a:hover { background: transparent; }
  .nav a[aria-current="page"]::after { left: 4px; right: auto; width: 22px; bottom: 8px; }
  .nav > .btn { display: inline-flex; margin-top: 18px; justify-content: center; border-bottom: 0; }
}

/* ---------------------------------------------------------------- 7. Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
/* 標誌斜線母題：以品牌漸層低透明度鋪底 */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% -10% 30%;
  background-image:
    repeating-linear-gradient(122deg,
      rgba(228, 87, 46, .16) 0 8px, transparent 8px 30px);
  mask-image: linear-gradient(255deg, #000 5%, transparent 62%);
  -webkit-mask-image: linear-gradient(255deg, #000 5%, transparent 62%);
  z-index: -2; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: -20% -10% -10% 20%;
  background-image:
    repeating-linear-gradient(122deg,
      rgba(86, 160, 211, .2) 0 8px, transparent 8px 30px);
  mask-image: linear-gradient(230deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(230deg, #000 0%, transparent 55%);
  z-index: -2; pointer-events: none;
}
.hero__inner {
  display: grid; gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(60px, 9vw, 112px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; max-width: 15ch; }
.hero__lede { margin-top: 20px; max-width: 46ch; color: var(--on-navy); font-size: clamp(16px, 1.8vw, 19px); line-height: 1.85; }
.hero .btn-row { margin-top: 34px; }
.hero__rule { margin-top: 44px; width: min(100%, 420px); height: 4px; border: 0; background: var(--brand-gradient); }

/* Hero 右側：三階段防禦框架縮圖 */
.hero-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  backdrop-filter: blur(4px);
}
.hero-panel__title {
  font-family: var(--latin); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sky);
  margin-bottom: 18px;
}
.hero-panel ol { display: grid; gap: 12px; counter-reset: hp; }
.hero-panel li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 13px 15px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border-left: 3px solid var(--st, var(--sky));
}
/* --st 同時用於左側色條（圖形）與序號文字，故第三項採用加亮鋼藍以達文字對比 */
.hero-panel li:nth-child(1) { --st: var(--amber); }
.hero-panel li:nth-child(2) { --st: var(--sky); }
.hero-panel li:nth-child(3) { --st: var(--steel-on-navy); }
.hero-panel li b { display: block; font-size: 15px; color: #fff; font-weight: 700; }
.hero-panel li span { display: block; font-family: var(--latin); font-size: 12px; color: var(--on-navy); line-height: 1.6; }
.hero-panel li i {
  font-style: normal; font-family: var(--latin); font-size: 13px; font-weight: 700;
  color: var(--st); padding-top: 1px;
}
.hero-panel__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: var(--on-navy); line-height: 1.7;
}
.hero-panel__foot b { color: var(--orange-on-navy); font-family: var(--latin); letter-spacing: .04em; }

/* 內頁 hero（較矮） */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: -30% -10% -10% 45%;
  background-image: repeating-linear-gradient(122deg, rgba(86,160,211,.18) 0 8px, transparent 8px 30px);
  mask-image: linear-gradient(250deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(250deg, #000 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}
.page-hero__inner { padding-block: clamp(48px, 7vw, 86px); max-width: 64ch; }
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 18px; color: var(--on-navy); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.85; }

/* 麵包屑 */
.crumb { font-family: var(--latin); font-size: 13px; color: var(--on-navy); margin-bottom: 14px; }
.crumb a { color: var(--on-navy); }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; margin-inline: 8px; }

/* ---------------------------------------------------------------- 8. 格線 */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- 9. 卡片 */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card--link:hover { border-color: var(--navy); }
.card--link:hover .card__title { color: var(--orange-text); }
.card__tag {
  align-self: flex-start;
  font-family: var(--latin); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--tint);
  border: 1px solid var(--line-soft);
  padding: 4px 9px; border-radius: 2px;
}
.card__title { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); transition: color .18s var(--ease); }
.card__title .en { display: block; font-size: 12.5px; font-weight: 500; margin-top: 3px; letter-spacing: .02em; }
.card p { font-size: 14.5px; line-height: 1.8; color: var(--ink-3); }
.card__foot { margin-top: auto; padding-top: 6px; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; }

/* 卡片頂部色條。
   原本讓 ac-orange / ac-sky / ac-steel… 輪流上色，但那些顏色不承載任何資訊，
   只是為了視覺變化而變化 —— 這正是版型看起來像自動生成的主因之一。
   現統一為單一細線；顏色僅保留給真正有分類意義的地方。 */
.card--accent { padding-top: calc(clamp(22px, 2.6vw, 30px) - 3px); border-top: 3px solid var(--navy); }
.ac-orange { --ac: var(--orange); }
.ac-amber  { --ac: var(--amber); }
.ac-sky    { --ac: var(--sky); }
.ac-steel  { --ac: var(--steel); }
.ac-navy   { --ac: var(--navy); }
.ac-gray   { --ac: var(--warm-gray); }

/* 圖示方塊 */
.icon-sq {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--ic-bg, rgba(30,42,90,.08));
  color: var(--ic, var(--navy));
}
.icon-sq svg { width: 22px; height: 22px; }
.card.ac-orange .icon-sq { --ic: var(--orange-text); --ic-bg: rgba(228,87,46,.1); }
.card.ac-sky .icon-sq    { --ic: var(--steel); --ic-bg: rgba(86,160,211,.14); }
.card.ac-steel .icon-sq  { --ic: var(--steel); --ic-bg: rgba(62,124,177,.12); }
.card.ac-amber .icon-sq  { --ic: #B4652F; --ic-bg: rgba(232,139,78,.16); }

/* -------------------------------------------------- 10. 三階段防禦框架區塊 */
.phases { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } }
.phase {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-top: 4px solid var(--ph, var(--sky));
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 14px;
}
/* --ph 為頂部色條（圖形，3:1 即可）；--ph-t 為序號文字（需 4.5:1） */
.phase:nth-child(1) { --ph: var(--amber);  --ph-t: var(--amber); }
.phase:nth-child(2) { --ph: var(--sky);    --ph-t: var(--sky); }
.phase:nth-child(3) { --ph: var(--steel);  --ph-t: var(--steel-on-navy); }
.phase__num { font-family: var(--latin); font-size: 13px; font-weight: 700; color: var(--ph-t, var(--sky)); letter-spacing: .1em; }
.phase h3 { font-size: 21px; font-weight: 900; color: #fff; }
.phase h3 .en { display: block; font-size: 12.5px; font-weight: 500; color: var(--on-navy); margin-top: 4px; letter-spacing: .04em; }
.phase ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.phase li {
  font-size: 13px; line-height: 1.6; color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px; padding: 5px 10px;
}
.phase p { font-size: 14.5px; color: var(--on-navy); }

/* CTEM 基座橫條 */
.foundation {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  padding: 22px clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius);
  background: linear-gradient(92deg, rgba(228,87,46,.2), rgba(62,124,177,.2));
  border: 1px solid rgba(255,255,255,.16);
}
.foundation__label {
  font-family: var(--latin); font-size: 20px; font-weight: 700; color: #fff;
  letter-spacing: .06em; flex-shrink: 0;
}
.foundation__label span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--on-navy); letter-spacing: 0; }
.foundation p { flex: 1 1 320px; font-size: 14.5px; color: #fff; margin: 0; }

/* ---------------------------------------------------------- 11. 條列與清單 */
.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}
.section--navy .ticks li { color: #fff; }
.section--navy .ticks li::before { border-color: var(--sky); }

.dots { display: grid; gap: 9px; }
.dots li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.8; color: var(--ink-3); }
.dots li::before {
  content: ""; position: absolute; left: 2px; top: .78em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--warm-gray);
}

/* 標籤雲 */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px;
}
.section--navy .chip { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.chip--strong { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* --------------------------------------------------------- 12. 定義表 / DL */
.spec { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.spec > div {
  display: grid; grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 8px 28px; padding: 20px 0; border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 700px) { .spec > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; } }
.spec dt { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.7; }
.spec dd { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.spec dd > ul { display: grid; gap: 8px; }
.spec dd > ul > li { position: relative; padding-left: 18px; }
.spec dd > ul > li::before {
  content: ""; position: absolute; left: 0; top: .8em;
  width: 6px; height: 6px; background: var(--orange); border-radius: 1px;
}
.spec dd p + p { margin-top: 10px; }

/* ------------------------------------------------------- 13. 編號流程步驟 */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: st; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; counter-increment: st;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px 24px 24px;
}
.step::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--latin); font-size: 30px; font-weight: 700;
  color: var(--orange); line-height: 1; display: block; margin-bottom: 14px;
  opacity: .9;
}
.step h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.step h3 .en { display: block; font-size: 12px; font-weight: 500; margin-top: 2px; }
.step p { font-size: 14px; line-height: 1.8; color: var(--ink-3); }

/* 深藍區塊中的步驟卡改為深色玻璃樣式。
   若沿用白底，.section--navy h3 的白色字會造成白底白字（對比 1:1）。 */
.section--navy .step {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .13);
}
.section--navy .step h3 { color: #fff; }
.section--navy .step h3 .en,
.section--navy .step p { color: var(--on-navy); }

/* --------------------------------------------------------- 14. 統計數字列 */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 24px 26px; background: rgba(255,255,255,.05); border-left: 3px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; }
.stat b { display: block; font-family: var(--latin); font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.1; color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--on-navy); line-height: 1.7; }

/* ------------------------------------------------------------ 15. 組織架構 */
.org { display: grid; gap: 18px; }
.org__top { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .org__top { grid-template-columns: 1fr; } }
.org-node {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--on, var(--navy));
  border-radius: var(--radius); padding: 20px 24px;
}
.org-node h3 { font-size: 16px; color: var(--navy); }
.org-node p { margin-top: 6px; font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.org__row { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .org__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 16. 夥伴列表 */
.partners { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.partner {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 18px 20px;
}
.partner b { display: block; font-family: var(--latin); font-size: 15.5px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.partner span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.65; }

/* -------------------------------------------------------------- 17. CTA 帶 */
.cta {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(34px, 5vw, 58px) clamp(24px, 4vw, 56px);
  display: grid; gap: 26px; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand-gradient);
}
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { font-size: clamp(22px, 3vw, 31px); font-weight: 900; color: #fff; }
.cta p { margin-top: 12px; color: var(--on-navy); font-size: 16px; max-width: 52ch; }

/* --------------------------------------------------------------- 18. 聯絡 */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block { display: grid; gap: 22px; align-content: start; }
.contact-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start;
  padding-bottom: 22px; border-bottom: 1px solid var(--line-soft);
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item h3 { font-size: 14px; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; }
.contact-item p, .contact-item a { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.6; margin-top: 2px; display: block; }
.contact-item a:hover { color: var(--orange-text); }
.contact-item .small { font-size: 13.5px; font-weight: 400; color: var(--ink-3); margin-top: 6px; }

.enquiry {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-top: 4px solid var(--orange); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.enquiry h2 { font-size: 21px; margin-bottom: 8px; }
.enquiry > p { font-size: 14.5px; color: var(--ink-3); margin-bottom: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field label .req { color: var(--orange-text); margin-left: 3px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 14px; background: var(--tint);
  border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%; transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.75; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--navy); }
.field .hint { font-size: 12.5px; color: var(--ink-3); }

/* --------------------------------------------------------------- 19. 頁尾 */
.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer__top {
  display: grid; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  padding-block: clamp(44px, 6vw, 68px);
}
@media (max-width: 900px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer img.f-logo { width: 118px; height: auto; margin-bottom: 20px; }
.site-footer p { font-size: 14px; line-height: 1.85; color: var(--on-navy); }
.site-footer h3 {
  font-family: var(--latin); font-size: 11px; font-weight: 600; color: var(--sky);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer li a { font-size: 14.5px; color: #fff; }
.site-footer li a:hover { color: var(--sky); }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  font-family: var(--latin); font-size: 12.5px; color: rgba(255,255,255,.6);
}

/* ------------------------------------------------- 19b. 產品畫面 figure */
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.section--navy .shot img { border-color: rgba(255, 255, 255, .16); }
.shot figcaption {
  margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--ink-3);
}
.section--navy .shot figcaption { color: var(--on-navy); }
.shot figcaption b { color: var(--ink-2); font-weight: 700; }
.section--navy .shot figcaption b { color: #fff; }

/* 圖文並排：圖大、字小，避免整頁都是等寬卡片 */
.split {
  display: grid; gap: clamp(24px, 4vw, 52px); align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.split--flip > .shot { order: 2; }
.split--wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 860px) {
  .split, .split--wide { grid-template-columns: 1fr; }
  .split--flip > .shot { order: 0; }
}

/* 素樸清單：無卡片、無圓角，僅以細線分隔 */
.plain-list { border-top: 1px solid var(--line); }
.section--navy .plain-list { border-color: rgba(255,255,255,.16); }
.plain-list > li {
  display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr);
  gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.section--navy .plain-list > li { border-color: rgba(255,255,255,.12); }
.plain-list b { font-size: 15px; color: var(--navy); font-weight: 700; line-height: 1.7; }
.section--navy .plain-list b { color: #fff; }
.plain-list span { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; }
.section--navy .plain-list span { color: var(--on-navy); }
@media (max-width: 620px) { .plain-list > li { grid-template-columns: 1fr; gap: 2px; } }

/* 頁尾聯絡資訊 */
.site-footer address {
  font-style: normal; font-size: 14px; line-height: 1.9; color: var(--on-navy);
  margin-top: 12px;
}
.site-footer address a { color: #fff; }
.site-footer address a:hover { color: var(--sky); }
.site-footer address .lbl {
  display: inline-block; min-width: 4.5em; color: rgba(255,255,255,.55);
  font-family: var(--latin); font-size: 12px; letter-spacing: .06em;
}

/* ------------------------------------------------------- 20. 進場動畫（弱） */
/* 內容預設為可見。只有在 head.js 成功執行（html.js）時才啟用淡入，
   避免 JS 失效、被封鎖或爬蟲不執行 JS 時整頁內容變成透明。 */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------------------- 21. 列印 */
@media print {
  .site-header, .nav-toggle, .cta, .skip-link, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-hero, .section--navy, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--navy h2, .section--navy h3 { color: #000 !important; }
  .section--navy p, .page-hero p, .site-footer p { color: #333 !important; }
  a { color: #000; }
  .card, .step, .partner { border: 1px solid #ccc; break-inside: avoid; }
}
