/* ==========================================================
   齊錦亞洲科技有限公司｜網站設計系統 v2
   色彩取自 CJA 企業識別：深藍 #23336E、藍 #2A6BAA／#5A9FD0
   ========================================================== */

:root {
  --navy: #23336E;        /* 企業深藍：識別、主標題、主要按鈕 */
  --navy-deep: #1C2A5C;   /* 深色區塊 */
  --navy-ink: #152043;    /* 頁尾 */
  --blue: #2A6BAA;        /* 互動、連結、強調文字（白底對比 ≥ 4.5:1） */
  --sky: #5A9FD0;         /* 識別線條、裝飾用 */
  --sky-soft: #EBF2F8;
  --gray-50: #F6F7F9;     /* 淺灰區塊背景 */
  --gray-100: #EEF1F4;
  --gray-200: #E0E4EA;
  --gray-500: #646C79;
  --text: #353C49;        /* 深灰內文 */
  --text-strong: #1F2633;
  --white: #FFFFFF;

  /* 只使用訪客裝置內建字型，不向第三方字型服務發出請求 */
  --font: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Heiti TC", system-ui, sans-serif;
  --font-en: "Segoe UI", -apple-system, "Helvetica Neue", Arial, var(--font);

  --max: 1240px;
  --gutter: 32px;
  --radius: 10px;
  --radius-sm: 8px;
  --header-h: 76px;

  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-5: 48px; --sp-6: 64px; --sp-7: 96px;
  --shadow: 0 1px 2px rgba(21, 32, 67, .06), 0 6px 20px rgba(21, 32, 67, .06);

  /* V10 字級規範：首頁主標 44／頁面標題 34／章節標題 30／小標 20／卡片標題 18／內文 16／次要 14 */
  --fs-display: clamp(30px, 3.2vw, 44px);
  --fs-page: clamp(26px, 2.6vw, 34px);
  --fs-h2: clamp(24px, 2.2vw, 30px);
  --fs-h3: 20px;
  --fs-card: 18px;
  --fs-body: 16px;
  --fs-lead: 17px;
  --fs-small: 14px;
  --fs-label: 13px;
  --fs-code: clamp(22px, 2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.75; letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.45; margin: 0; letter-spacing: .03em; font-weight: 600; }
h1 { font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sp-7) 0; }
.section--gray { background: var(--gray-50); }
.section--tight { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }

/* ---------- 標題組 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .18em;
  color: var(--blue); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--sky); transform: skewX(-24deg); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: var(--sp-5); }
.section-head__title { display: flex; flex-direction: column; gap: 10px; }
.section-head h2 { font-size: var(--fs-h2); font-weight: 600; }
.section-head p { max-width: 560px; color: var(--gray-500); font-size: var(--fs-small); line-height: 1.8; }
.lead { font-size: var(--fs-lead); color: var(--text); line-height: 1.85; }
.prose p, .intro__body p, .article__body p, .service-block p { max-width: 42em; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-sm); white-space: nowrap;
  font-size: 15px; font-weight: 600; letter-spacing: .06em; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky-soft); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); border-bottom: 1.5px solid var(--sky); padding-bottom: 2px; }
.text-link:hover { color: var(--blue); }

/* ---------- 頁首 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--gray-200); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 10px 14px; color: var(--text-strong); font-size: 15px; font-weight: 500; border-radius: 6px; }
.nav a:hover { color: var(--blue); background: var(--gray-50); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--sky); border-radius: 0; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { font-family: var(--font-en); font-weight: 600; font-size: 16px; color: var(--navy); white-space: nowrap; }
.header-tel small { display: block; font-family: var(--font); font-weight: 500; font-size: 11px; color: var(--gray-500); letter-spacing: .1em; line-height: 1.2; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--navy); background: #fff; border-radius: var(--radius-sm); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero.has-photo { background: linear-gradient(rgba(28,42,92,.78), rgba(28,42,92,.78)), var(--hero-photo) center / cover no-repeat; }
.hero__stripes { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 16px; opacity: .22; pointer-events: none; }
.hero__stripes i { display: block; width: 560px; height: 14px; background: var(--sky); transform: skewX(-24deg); }
.hero__stripes i:nth-child(2) { margin-left: 18px; } .hero__stripes i:nth-child(3) { margin-left: 36px; }
.hero__stripes i:nth-child(4) { margin-left: 54px; } .hero__stripes i:nth-child(5) { margin-left: 72px; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero .eyebrow { color: #A9C9E6; } .hero .eyebrow::before { background: var(--sky); }
.hero h1 { color: #fff; font-size: var(--fs-display); font-weight: 700; letter-spacing: .05em; line-height: 1.4; }
.hero__sub { font-size: var(--fs-lead); color: #D8DFEA; max-width: 560px; }
.hero__brandline { font-size: 15px; color: #A9C9E6; letter-spacing: .2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__panel { position: relative; background: #22336A; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.hero__panel h2 { color: #fff; font-size: 14px; letter-spacing: .2em; font-weight: 500; margin-bottom: 10px; color: #A9C9E6; }
.hero__panel-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero__panel-row span { font-family: var(--font-en); font-weight: 600; color: var(--sky); font-size: 15px; }
.hero__panel-row b { display: block; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.hero__panel-row small { color: #C2CCDA; font-size: 13.5px; }

/* 信任列 */
.trustbar { background: #fff; border-bottom: 1px solid var(--gray-200); }
.trustbar ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trustbar li { padding: 22px 24px; display: flex; flex-direction: column; border-left: 1px solid var(--gray-200); }
.trustbar li:first-child { border-left: 0; padding-left: 0; }
.trustbar b { color: var(--navy); font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.trustbar span { color: var(--gray-500); font-size: var(--fs-small); }

/* ---------- 公司簡介（首頁） ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.intro h2 { font-size: var(--fs-h2); line-height: 1.55; }
.intro__body { display: flex; flex-direction: column; gap: 18px; }
.intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 10px; border-top: 2px solid var(--navy); }
.intro__facts div { padding: 16px 16px 0 0; }
.intro__facts dt { font-size: var(--fs-small); color: var(--gray-500); }
.intro__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); font-size: 17px; }

/* ---------- 品牌 ---------- */
.brands { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.65fr); gap: 0; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.brands__group { padding: 28px 32px; }
.brands__group + .brands__group { border-left: 1px solid var(--gray-200); }
.brands__label { font-size: 13px; color: var(--gray-500); letter-spacing: .14em; margin-bottom: 14px; }
.brands__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brand-tile { min-height: 64px; padding: 10px 8px; gap: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--gray-50); border-radius: var(--radius-sm); font-family: var(--font-en); font-weight: 600; color: var(--text-strong); font-size: 15px; letter-spacing: .04em; line-height: 1.3; }
.brand-tile small { font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--gray-500); }
.brand-tile .badge { margin-top: 4px; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--navy); border-radius: 999px; padding: 1px 10px; }
.brands__group--main .brand-tile { background: var(--sky-soft); color: var(--navy); font-size: 16px; }
.brands__group--main .brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.note { font-size: var(--fs-small); color: var(--gray-500); margin-top: 14px; }

/* ---------- 產品卡 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.product-card:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.product-card__visual { position: relative; aspect-ratio: 16 / 10; background: var(--gray-50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card__visual img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-card__code { font-family: var(--font-en); font-size: var(--fs-code); font-weight: 600; color: var(--navy); letter-spacing: .02em; position: relative; z-index: 1; }
.product-card__visual::after { content: ""; position: absolute; right: -14px; bottom: 18px; width: 120px; height: 34px; background: repeating-linear-gradient(180deg, var(--sky) 0 4px, transparent 4px 9px); transform: skewX(-24deg); opacity: .35; }
.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__group { font-size: 12px; color: var(--blue); letter-spacing: .14em; font-weight: 600; }
.product-card__body h3 { font-size: var(--fs-card); letter-spacing: .03em; }
.product-card__body p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }
.product-card__more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* ---------- 服務卡 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.service-card__no { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--sky); letter-spacing: .1em; display: flex; align-items: center; gap: 10px; }
.service-card__no::after { content: ""; flex: 1; height: 2px; background: var(--gray-200); }
.service-card h3 { font-size: var(--fs-h3); }
.service-card p { font-size: 15px; color: var(--text); line-height: 1.8; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.service-card li { font-size: 14px; color: var(--gray-500); padding-left: 16px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 3px; background: var(--sky); transform: skewX(-24deg); }

/* ---------- 企業優勢 ---------- */
.advantages { background: var(--sky-soft); }
.adv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.adv-item { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.adv-item + .adv-item { padding-left: 28px; border-left: 1px solid #D3DEEA; }
.adv-item span { font-family: var(--font-en); font-weight: 600; font-size: 28px; color: var(--sky); line-height: 1; }
.adv-item h3 { font-size: var(--fs-h3); }
.adv-item p { color: var(--text); font-size: 15px; line-height: 1.8; }

/* ---------- 最新消息 ---------- */
.news-list { list-style: none; border-top: 2px solid var(--navy); }
.news-item a { display: grid; grid-template-columns: 120px 110px minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--gray-200); color: var(--text-strong); }
.news-item a:hover { background: var(--gray-50); color: var(--navy); }
.news-item time { font-family: var(--font-en); font-weight: 600; color: var(--gray-500); font-size: 15px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; background: var(--sky-soft); color: var(--navy); text-align: center; }
.news-item__title { font-size: 16px; font-weight: 500; }
.news-item__arrow { color: var(--blue); font-weight: 700; }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.news-filter button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--gray-200); background: #fff; color: var(--text-strong); font: inherit; font-size: 14px; cursor: pointer; }
.news-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 聯絡 CTA ---------- */
.cta { background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cta h2 { font-size: var(--fs-h2); }
.cta p { margin-top: 12px; color: var(--text); }
.cta__card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.cta__tel { font-family: var(--font-en); font-weight: 600; font-size: 28px; color: var(--navy); letter-spacing: .02em; }
.cta__row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__meta { font-size: 14px; color: var(--gray-500); }

/* ---------- 內頁標頭 ---------- */
.page-hero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero__inner { position: relative; padding-top: 64px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 12px; }
.page-hero h1 { color: #fff; font-size: var(--fs-page); }
.page-hero p { color: #D8DFEA; max-width: 680px; }
.page-hero .eyebrow { color: #A9C9E6; }
.page-hero .hero__stripes { opacity: .16; }
.page-hero .hero__stripes i { width: 420px; height: 10px; }
.breadcrumb { font-size: 13px; color: #C2CCDA; }
.breadcrumb a { color: #C2CCDA; } .breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* ---------- 關於 ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose h3 { font-size: var(--fs-h3); margin-top: 8px; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; }
.values li { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.values b { font-size: var(--fs-h3); font-weight: 600; color: var(--navy); letter-spacing: .12em; }
.values span { font-size: 14px; color: var(--gray-500); }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.info-table th { width: 140px; color: var(--gray-500); font-weight: 500; white-space: nowrap; }

/* ---------- 產品內頁 ---------- */
.cat-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.cat-nav { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 48px); }
.cat-nav ul { overflow-y: auto; overscroll-behavior: contain; }
/* 視窗高度不足（筆電放大 125%～150%）時改為一般排列，避免選單底部超出畫面 */
@media (max-height: 640px) { .cat-nav { position: static; max-height: none; } }
.cat-nav h2 { font-size: 14px; letter-spacing: .14em; padding: 14px 18px; background: var(--navy); color: #fff; }
.cat-nav ul { list-style: none; }
.cat-nav a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--gray-200); color: var(--text-strong); font-size: 14.5px; }
.cat-nav a:hover { background: var(--gray-50); }
.cat-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--navy); }
.cat-nav a b { font-family: var(--font-en); color: var(--blue); font-weight: 700; }
.cat-summary { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); margin-bottom: 32px; }
.cat-summary .product-card__visual { border-radius: var(--radius); }
.cat-summary h2 { font-size: var(--fs-code); }
.spec-pending { border: 1.5px dashed var(--gray-200); border-radius: var(--radius); padding: 28px; background: #fff; }
.spec-pending h3 { font-size: var(--fs-card); margin-bottom: 8px; }
.field-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 16px 0 20px; }
.field-list li { font-size: 14px; background: var(--gray-50); border-radius: 6px; padding: 8px 12px; color: var(--text); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.detail__media { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--gray-200); padding: 12px; text-align: left; }
.spec-table th { width: 120px; background: var(--gray-50); color: var(--gray-500); font-weight: 500; }
.pending { color: var(--gray-500); font-style: normal; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- 服務內頁 ---------- */
.service-block { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--gray-200); }
.service-block:first-child { border-top: 2px solid var(--navy); }
.service-block__no { font-family: var(--font-en); font-weight: 600; font-size: 32px; color: var(--sky); line-height: 1; }
.service-block h2 { font-size: 22px; margin-bottom: 10px; }
.service-block ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-block li { padding-left: 18px; position: relative; font-size: 15px; }
.service-block li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 3px; background: var(--sky); transform: skewX(-24deg); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.flow li { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; counter-increment: step; }
.flow li::before { content: "STEP " counter(step, decimal-leading-zero); font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .12em; }
.flow b { color: var(--navy); font-size: 17px; font-weight: 600; }
.flow span { font-size: var(--fs-small); color: var(--gray-500); }

/* ---------- 新聞內頁 ---------- */
.article { max-width: 820px; }
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article__meta time { font-family: var(--font-en); color: var(--gray-500); font-weight: 600; }
.article h1 { font-size: var(--fs-page); margin-bottom: 24px; }
.article__body { display: flex; flex-direction: column; gap: 18px; font-size: 16.5px; }
.article__body h2 { font-size: var(--fs-h3); margin-top: 12px; }
.article__body ul { padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.article__back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gray-200); }

/* ---------- 聯絡 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 720px; }
.location { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.location__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.location h2 { font-size: var(--fs-h3); }
.location dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 12px; margin: 6px 0 0; font-size: 15px; }
.location dt { color: var(--gray-500); }
.location dd { margin: 0; }
.contact-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.contact-quick a, .contact-quick div { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; background: #fff; color: var(--text-strong); }
.contact-quick a:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.contact-quick span { font-size: var(--fs-small); color: var(--gray-500); }
.contact-quick b { font-family: var(--font-en); font-weight: 600; font-size: 20px; color: var(--navy); word-break: break-all; }

/* ---------- V10 企業資訊區塊 ---------- */
.draft-tag { display: inline-block; align-self: flex-start; width: fit-content; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #FFF4D6; color: #7A5200; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.trustbar .stat b { font-family: var(--font-en); font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.trustbar .stat b small { font-family: var(--font); font-size: 15px; font-weight: 500; margin-left: 4px; color: var(--navy); }
.timeline { list-style: none; border-left: 2px solid var(--navy); margin-left: 6px; display: flex; flex-direction: column; gap: 22px; }
.timeline li { position: relative; padding-left: 28px; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); }
.timeline time { font-family: var(--font-en); font-weight: 600; font-size: 20px; color: var(--navy); }
.message p { font-size: var(--fs-lead); line-height: 1.95; }
.message__sign { text-align: right; color: var(--gray-500); font-size: var(--fs-small); }
.policy-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.policy-list li { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.policy-list h3 { font-size: var(--fs-card); }
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.matrix { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; background: #fff; }
.matrix th, .matrix td { padding: 13px 16px; border-bottom: 1px solid var(--gray-200); text-align: center; }
.matrix thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
.matrix tbody th { text-align: left; font-weight: 500; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix .yes { color: var(--navy); } .matrix .no { color: var(--gray-500); }
.inquiry { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.info-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.info-card h3 { font-size: var(--fs-card); }
.info-card--alert { border-color: var(--navy); }
.checklist { padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.contact-roles { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.contact-roles b { display: inline-block; min-width: 96px; font-weight: 600; color: var(--navy); }
.faq-list { display: flex; flex-direction: column; border-top: 2px solid var(--navy); margin: 16px 0 24px; }
.faq { border-bottom: 1px solid var(--gray-200); }
.faq summary { cursor: pointer; padding: 18px 4px; font-weight: 600; color: var(--text-strong); list-style-position: outside; }
.faq p { padding: 0 4px 18px; color: var(--text); }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.case { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.case dl { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 15px; }
.case dt { color: var(--gray-500); }
.case dd { margin: 0; }
@media (max-width: 560px) {
  .policy-list { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--navy-ink); color: #C2CCDA; font-size: 14px; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(var(--navy) 0 3px, var(--sky) 3px 6px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 0 40px; }
.footer-grid h2 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #C2CCDA; } .footer-grid a:hover { color: #fff; }
.footer-brand b { display: block; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.footer-brand small { display: block; font-family: var(--font-en); letter-spacing: .1em; font-size: 12px; margin-bottom: 14px; }
.footer-slogan { font-family: var(--font-en); color: #A9C9E6; letter-spacing: .16em; font-size: 13px; margin-top: 14px; }
.footer-bottom { border-top: 1px solid #2A3760; padding: 18px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; }

/* 手機固定聯絡列 */
.mobile-bar { display: none; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }

/* ==========================================================
   響應式
   ========================================================== */
@media (max-width: 1280px) {
  .header-tel { display: none; }
}
@media (max-width: 1100px) {
  .nav a { padding: 10px 9px; font-size: 14.5px; white-space: nowrap; }
  .header-tel { display: none; }
  .header-cta .btn { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gutter: 22px; --header-h: 66px; }
  .section { padding: 72px 0; }
  .brand img { height: 38px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px var(--gutter) 24px; transform: translateX(100%); transition: transform .2s ease; overflow-y: auto; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sky); padding-left: 14px; }
  .header-cta .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 52px; gap: 36px; }
  .hero__panel { padding: 20px; margin-top: 8px; }
  .hero__stripes { display: none; }
  .trustbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar li { padding: 16px 0 16px 16px; }
  .trustbar li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trustbar li:nth-child(n+3) { border-top: 1px solid var(--gray-200); }
  .intro, .two-col, .cta__inner, .detail, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .brands { grid-template-columns: 1fr; }
  .brands__group + .brands__group { border-left: 0; border-top: 1px solid var(--gray-200); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cat-layout { grid-template-columns: 1fr; gap: 28px; }
  .cat-nav { position: static; }
  .cat-nav ul { display: flex; overflow-x: auto; }
  .cat-nav li { flex: 0 0 auto; }
  .cat-nav a { border-top: 0; border-left: 1px solid var(--gray-200); white-space: nowrap; }
  .cat-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--navy); }
  .cat-summary { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .contact-quick { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-item a { grid-template-columns: auto 1fr; gap: 6px 14px; }
  .news-item__title { grid-column: 1 / -1; }
  .news-item__arrow { display: none; }
  body { padding-bottom: 60px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--gray-200); }
  .mobile-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--navy); }
  .mobile-bar a:first-child { background: var(--navy); color: #fff; }
}
@media (max-width: 560px) {
  :root { --fs-display: 28px; --fs-page: 24px; --fs-h2: 22px; --fs-h3: 18px; --fs-card: 16px; --fs-code: 22px; --fs-lead: 16px; }
  .service-grid, .service-grid--3, .adv-grid, .values, .flow { grid-template-columns: 1fr; }
  .adv-item, .adv-item + .adv-item { padding: 22px 0 6px; border-left: 0; }
  .adv-item + .adv-item { border-top: 1px solid #D3DEEA; }
  .intro__facts { grid-template-columns: 1fr 1fr; }
  .product-card__code { font-size: 26px; }
  .product-card__body { padding: 14px; }
  .product-card__body p, .product-card__group, .product-card__more { display: none; }
  .product-card__visual { aspect-ratio: 16 / 9; }
  .brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__group { padding: 22px 18px; }
  .hero__brandline span { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .info-table th { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   V11｜參考三菱電機官網：白底、細線、留白、方角、資訊直達
   原則：顏色只做識別與重點；以線條與留白分隔，不用陰影與色塊
   ========================================================== */
:root {
  --radius: 2px; --radius-sm: 2px;
  --text: #2E3440; --text-strong: #1A1F2B; --gray-500: #5F6673;
  --line: #DCE0E6;
  --sp-7: 112px;
}
body { letter-spacing: .04em; line-height: 1.85; }
.section { padding: var(--sp-7) 0; }
.section-head { margin-bottom: 40px; padding-bottom: 0; }
.section-head h2 { letter-spacing: .06em; }
.eyebrow { font-size: 12px; letter-spacing: .22em; color: var(--blue); }
.eyebrow::before { width: 16px; height: 2px; transform: none; }
.text-link { border-bottom: 0; padding-bottom: 0; font-size: 15px; gap: 10px; }
.text-link::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.btn { min-height: 50px; padding: 0 32px; font-weight: 500; letter-spacing: .1em; }
.product-card:hover, .contact-quick a:hover { box-shadow: none; transform: none; border-color: var(--navy); }
.product-card__visual::after { opacity: .18; }
.service-card, .values li, .flow li, .info-card, .policy-list li, .case, .location, .brands, .cat-nav, .table-wrap, .contact-quick a, .contact-quick div, .product-card, .detail__media, .spec-pending { border-color: var(--line); }

/* 頁首：標誌＋文字導覽 */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.nav { gap: 8px; }
.nav a { font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 0; }
.nav a:hover { background: transparent; color: var(--navy); box-shadow: inset 0 -2px 0 var(--line); }
.nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--navy); }

/* 首頁主視覺：白底、大字、一句話說清楚 */
.hero { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding-top: 120px; padding-bottom: 120px; gap: 48px; }
.hero__copy { gap: 26px; }
.hero__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .24em; color: var(--gray-500); text-transform: uppercase; }
.hero h1 { color: var(--navy); font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: .08em; line-height: 1.45; }
.hero__sub { color: var(--text); font-size: 18px; line-height: 1.9; max-width: none; }
.hero__brandline { font-size: 15px; color: var(--navy); letter-spacing: .14em; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.hero__brandline span { font-family: var(--font-en); color: var(--blue); letter-spacing: .16em; }
.hero__actions { margin-top: 4px; }
/* 識別斜紋：取自 CJA 標誌，作為唯一的圖形元素 */
.hero__mark { justify-self: end; display: flex; flex-direction: column; gap: 18px; padding-right: 24px; }
.hero__mark i { display: block; width: 300px; height: 14px; background: var(--navy); transform: skewX(-24deg); }
.hero__mark i:nth-child(2) { margin-left: 22px; background: #2C4A8A; }
.hero__mark i:nth-child(3) { margin-left: 44px; background: var(--blue); }
.hero__mark i:nth-child(4) { margin-left: 66px; background: var(--sky); }
.hero__mark i:nth-child(5) { margin-left: 88px; background: #A9CBE6; }

/* 數字列 */
.trustbar { border-bottom: 1px solid var(--line); }
.trustbar li { padding: 30px 28px; border-left-color: var(--line); }
.trustbar .stat b { font-size: 30px; font-weight: 500; }
.trustbar span { margin-top: 4px; }

/* 最新消息：日期｜分類｜標題，一行一則 */
.news-list { border-top: 1px solid var(--text-strong); }
.news-item a { grid-template-columns: 112px 104px minmax(0, 1fr) 16px; padding: 22px 4px; border-bottom-color: var(--line); }
.news-item a:hover { background: transparent; color: var(--navy); }
.news-item a:hover .news-item__title { text-decoration: underline; text-underline-offset: 4px; }
.news-item time { font-weight: 500; font-size: 15px; letter-spacing: .06em; }
.tag { border-radius: 0; background: transparent; border: 1px solid var(--line); color: var(--gray-500); font-weight: 500; padding: 2px 10px; }
.news-item__arrow { width: 7px; height: 7px; border-top: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); transform: rotate(45deg); font-size: 0; }
.news-filter button { border-radius: 0; }

/* 事業領域：三欄，標題＋說明＋文字連結清單 */
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--text-strong); }
.biz__item { padding: 32px 36px 8px; display: flex; flex-direction: column; gap: 12px; }
.biz__item:first-child { padding-left: 0; }
.biz__item + .biz__item { border-left: 1px solid var(--line); }
.biz__no { font-family: var(--font-en); font-size: 13px; letter-spacing: .16em; color: var(--blue); }
.biz__item h3 { font-size: 22px; }
.biz__item h3 a { color: var(--navy); }
.biz__item h3 a:hover { color: var(--blue); }
.biz__item > p { font-size: 15px; color: var(--gray-500); line-height: 1.85; min-height: 3.7em; }
.link-list { list-style: none; display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--text-strong); font-size: 15px; }
.link-list a::after { content: ""; flex: none; width: 6px; height: 6px; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); transform: rotate(45deg); }
.link-list a:hover { color: var(--navy); }
.link-list--row { flex-direction: row; flex-wrap: wrap; border-top: 0; gap: 0 32px; }
.link-list--row a { border-bottom: 0; padding: 6px 0; justify-content: flex-start; color: var(--navy); }
.intro h2 { font-size: var(--fs-h2); }

/* 聯絡帶：一列，不搶戲 */
.cta { background: #fff; border-top: 1px solid var(--line); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: 22px; }
.cta p { margin-top: 6px; color: var(--gray-500); font-size: 15px; }
.cta__row { align-items: center; gap: 32px; }
.cta__tel { font-size: 26px; font-weight: 500; display: flex; flex-direction: column; line-height: 1.3; }
.cta__tel small { font-family: var(--font); font-size: 12px; color: var(--gray-500); letter-spacing: .12em; }

/* 內頁標頭：淺色、安靜 */
.page-hero { background: var(--gray-50); color: var(--text); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: var(--navy); font-weight: 600; letter-spacing: .08em; }
.page-hero p { color: var(--gray-500); }
.page-hero .eyebrow { color: var(--blue); }
.breadcrumb, .breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--navy); }

/* 頁尾：淺灰、細字 */
.site-footer { background: var(--gray-50); color: var(--gray-500); border-top: 1px solid var(--line); }
.site-footer::before { display: none; }
.footer-grid h2 { color: var(--text-strong); font-size: 14px; }
.footer-grid a { color: var(--gray-500); } .footer-grid a:hover { color: var(--navy); }
.footer-brand b { color: var(--navy); }
.footer-slogan { color: var(--blue); }
.footer-bottom { border-top-color: var(--line); }
.footer-bottom a { color: var(--gray-500); }
.footer-bottom__links { display: flex; gap: 24px; }

@media (max-width: 1100px) {
  .hero__mark i { width: 220px; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .hero__mark { display: none; }
  .br-wide { display: none; }
  .biz { grid-template-columns: 1fr; }
  .biz__item, .biz__item:first-child { padding: 28px 0 8px; }
  .biz__item + .biz__item { border-left: 0; border-top: 1px solid var(--line); }
  .biz__item > p { min-height: 0; }
  .trustbar li { padding: 20px 0 20px 18px; }
  .news-item a { grid-template-columns: auto 1fr; }
  .cta__row { gap: 20px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 28px; }
  .hero__sub { font-size: 16px; }
  .trustbar .stat b { font-size: 24px; }
  .cta__row { width: 100%; }
  .cta__row .btn { flex: 1 1 100%; }
  .link-list--row { gap: 0 24px; }
}
.site-header__inner { justify-content: flex-start; }
.site-header__inner .nav { margin-left: auto; }
.biz__more { display: none; }
@media (max-width: 900px) {
  .header-cta { margin-left: auto; }
  .biz .link-list { display: none; }
  .biz__more { display: inline-flex; align-self: flex-start; margin-bottom: 16px; }
  .news-item .tag { justify-self: start; }
}
/* 修正：頁尾左右留白與全站內容對齊（原本 padding 簡寫覆蓋了 container 的左右留白） */
.footer-grid { padding: 56px var(--gutter) 40px; }
.footer-bottom { padding: 18px var(--gutter) 26px; }
