@charset "UTF-8";
/* ==========================================================================
   鈺詮科技有限公司 YU-CHAIN TECHNOLOGY — 全站樣式
   ========================================================================== */

/* ---------- 1. 設計變數 ---------- */
:root {
  /* 品牌色取自公司 logo（月牙橘 #EFA83D）
     --c-brand   ：logo 原色，僅用於裝飾（底線、圖示、漸層）
     --c-primary ：加深後的橘，用於按鈕與連結，確保白字有足夠對比 */
  --c-brand:         #efa83d;
  --c-brand-soft:    #f6c987;
  --c-primary:       #b8720f;
  --c-primary-dark:  #935a08;
  --c-primary-light: #fdf3e3;
  --c-accent:        #2c3136;
  --c-ink:           #23272b;
  --c-body:          #4d5258;
  --c-muted:         #8b9096;
  --c-line:          #e6e4e0;
  --c-bg:            #ffffff;
  --c-bg-soft:       #faf8f5;
  --c-bg-dark:       #23272b;

  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI",
               system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(20, 40, 55, .08);
  --shadow: 0 4px 18px rgba(20, 40, 55, .10);
  --shadow-lg: 0 14px 40px rgba(20, 40, 55, .14);
  --header-h: 84px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 區段標題 ---------- */
.section { padding: 76px 0; }
.section--soft { background: var(--c-bg-soft); }

.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head__zh {
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
  letter-spacing: .06em;
}
.sec-head__en {
  display: block;
  margin-top: 6px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.sec-head::after {
  content: "";
  display: block;
  width: 44px; height: 3px;
  margin: 18px auto 0;
  background: var(--c-brand);
  border-radius: 3px;
}
.sec-head__lead {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--c-muted);
  font-size: .95rem;
}

/* ---------- 4. 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: .95rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover {
  background: var(--c-primary-dark); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--c-primary-dark); }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05a948; color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ==========================================================================
   5. 頁首 / 導覽列
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* --- Logo --- */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 50px; width: auto; }
.logo__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
}
.logo__text { line-height: 1.25; }
.logo__zh {
  display: block;
  font-size: 1.22rem; font-weight: 700;
  color: var(--c-ink); letter-spacing: .1em;
}
.logo__en {
  display: block;
  font-size: .62rem; font-weight: 500;
  color: var(--c-muted); letter-spacing: .22em; text-transform: uppercase;
}

/* --- 主選單（桌機） --- */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }

.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 0 18px;
  height: var(--header-h);
  color: var(--c-ink);
  font-size: .97rem; font-weight: 500; letter-spacing: .06em;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute; left: 18px; right: 18px; bottom: 22px;
  height: 2px; background: var(--c-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__item:hover > .nav__link,
.nav__link.is-active { color: var(--c-primary); }
.nav__item:hover > .nav__link::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.nav__item:hover .nav__caret { transform: rotate(-135deg) translateY(-3px); }

/* --- 下拉選單 --- */
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 232px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .25s var(--ease);
}
.nav__item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown__link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 10px 20px;
  color: var(--c-body);
  font-size: .9rem; letter-spacing: .04em;
  transition: all .2s var(--ease);
}
.dropdown__link:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  padding-left: 25px;
}
.dropdown__arrow {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: .45;
}

/* 第二層 */
.dropdown--sub {
  top: -10px; left: 100%;
  margin-left: 1px;
}

/* --- 漢堡鈕 --- */
.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--c-ink);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- 手機抽屜 --- */
.drawer {
  position: fixed; inset: var(--header-h) 0 0;
  z-index: 880;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__list { border-top: 1px solid var(--c-line); }
.drawer__row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--c-line);
}
.drawer__link {
  flex: 1;
  padding: 16px 20px;
  color: var(--c-ink);
  font-size: 1rem; font-weight: 500; letter-spacing: .06em;
}
.drawer__toggle {
  width: 56px;
  border: 0; border-left: 1px solid var(--c-line);
  background: var(--c-bg-soft);
  color: var(--c-muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.drawer__toggle.is-open { background: var(--c-primary); color: #fff; }

.drawer__sub {
  display: none;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
}
.drawer__sub.is-open { display: block; }
.drawer__sub a {
  display: block;
  padding: 12px 20px 12px 38px;
  color: var(--c-body);
  font-size: .92rem;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.drawer__sub a::before { content: "— "; color: var(--c-primary); }

/* ==========================================================================
   6. 首頁 Hero 輪播
   ========================================================================== */
.hero { position: relative; background: var(--c-bg-dark); overflow: hidden; }

.hero__slides { position: relative; height: clamp(360px, 46vw, 540px); }

.hero__slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 0 20px;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__slide--1 { background: linear-gradient(120deg, #1a1d20 0%, #4a3a1e 48%, #c1780f 100%); }
.hero__slide--2 { background: linear-gradient(120deg, #23272b 0%, #6b4a14 52%, #efa83d 100%); }
.hero__slide--3 { background: linear-gradient(120deg, #17191c 0%, #33373b 46%, #a8670c 100%); }

/* 背景條碼紋理 */
.hero__slide::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .11) 0 3px,
    transparent 3px 8px,
    rgba(255, 255, 255, .07) 8px 10px,
    transparent 10px 19px);
  mask-image: linear-gradient(to right, transparent, #000 40%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%, #000 60%, transparent);
  opacity: .5;
}
.hero__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, .16), transparent 62%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 40px, var(--wrap));
  color: #fff;
  text-align: left;
}
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 40px;
  font-size: .76rem; letter-spacing: .24em; text-transform: uppercase;
}
.hero__title {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.32;
  letter-spacing: .04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}
.hero__text {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(.95rem, .9rem + .2vw, 1.05rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__dots {
  position: absolute; left: 50%; bottom: 26px;
  z-index: 5;
  display: flex; gap: 10px;
  transform: translateX(-50%);
}
.hero__dot {
  width: 34px; height: 4px;
  padding: 0; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .3s var(--ease);
}
.hero__dot.is-active { background: #fff; }

.hero__arrow {
  position: absolute; top: 50%; z-index: 5;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff; font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .25s var(--ease);
}
.hero__arrow:hover { background: rgba(255, 255, 255, .34); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }

/* ==========================================================================
   7. 產品分類快捷列
   ========================================================================== */
.quicknav { background: #fff; border-bottom: 1px solid var(--c-line); }
.quicknav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 4px;
  padding: 26px 0;
}
.quicknav__item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 18px 10px;
  border-radius: var(--radius);
  color: var(--c-body);
  font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  text-align: center;
  transition: all .25s var(--ease);
}
.quicknav__item:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  transform: translateY(-4px);
}
.quicknav__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  color: var(--c-primary);
}
.quicknav__icon svg { width: 100%; height: 100%; }

/* ==========================================================================
   8. 產品卡片
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.card__media {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  padding: 22px;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.card__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .4s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }

.card__tag {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 11px;
  border-radius: 40px;
  background: var(--c-primary);
  color: #fff;
  font-size: .68rem; font-weight: 500; letter-spacing: .1em;
}

.card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 24px; }
.card__brand {
  margin-bottom: 6px;
  color: var(--c-primary);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.card__title { margin-bottom: 10px; font-size: 1.04rem; }
.card__text { margin: 0; color: var(--c-muted); font-size: .87rem; line-height: 1.7; }
.card__specs {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--c-line);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.card__spec {
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--c-bg-soft);
  color: var(--c-body);
  font-size: .74rem; letter-spacing: .03em;
}

/* ==========================================================================
   9. 品牌牆
   ========================================================================== */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.brand {
  display: grid; place-items: center;
  min-height: 100px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-ink);
  font-size: 1.16rem; font-weight: 700; letter-spacing: .08em;
  transition: all .3s var(--ease);
}
.brand:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.brand img { max-height: 42px; width: auto; object-fit: contain; }

/* ==========================================================================
   10. 服務特色
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.feature {
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--c-brand);
  transition: all .3s var(--ease);
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.feature__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature__title { margin-bottom: 10px; font-size: 1.1rem; }
.feature__text { margin: 0; color: var(--c-muted); font-size: .9rem; }

/* ==========================================================================
   11. CTA 橫幅
   ========================================================================== */
.cta {
  position: relative;
  padding: 66px 0;
  background: linear-gradient(115deg, #23272b, var(--c-primary) 58%, var(--c-brand));
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .1) 0 3px, transparent 3px 9px,
    rgba(255, 255, 255, .06) 9px 11px, transparent 11px 20px);
  opacity: .45;
}
.cta__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 26px;
}
.cta__title { margin-bottom: 8px; color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.cta__text { margin: 0; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--primary { background: #fff; color: var(--c-primary-dark); }
.cta .btn--primary:hover { background: var(--c-ink); color: #fff; }

/* ==========================================================================
   12. 內頁 Banner + 麵包屑
   ========================================================================== */
.pagehead {
  position: relative;
  padding: 58px 0;
  background: linear-gradient(115deg, #23272b, var(--c-primary) 68%, var(--c-brand));
  color: #fff;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .1) 0 3px, transparent 3px 9px,
    rgba(255, 255, 255, .06) 9px 11px, transparent 11px 20px);
  opacity: .4;
}
.pagehead__inner { position: relative; z-index: 2; }
.pagehead__title {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  letter-spacing: .08em;
}
.pagehead__en {
  display: block;
  margin-top: 6px;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.crumbs {
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
  font-size: .82rem;
}
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 13px 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--c-muted); }
.crumbs li:not(:last-child)::after { content: "›"; color: var(--c-line); }
.crumbs a { color: var(--c-body); }
.crumbs a:hover { color: var(--c-primary); }

/* ==========================================================================
   13. 內文排版
   ========================================================================== */
.prose { max-width: 820px; }
.prose h2 {
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--c-primary);
  font-size: 1.3rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 12px; font-size: 1.08rem; }
.prose p { color: var(--c-body); }
.prose ul { margin: 0 0 1.1em; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute; left: 4px; top: .78em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* 分頁標籤 */
.tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
}
.tabs a {
  padding: 9px 22px;
  border: 1px solid var(--c-line);
  border-radius: 40px;
  background: #fff;
  color: var(--c-body);
  font-size: .9rem; letter-spacing: .05em;
  transition: all .25s var(--ease);
}
.tabs a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.tabs a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* 品牌分組標題 */
.group { margin-bottom: 62px; }
.group:last-child { margin-bottom: 0; }
.group__head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-line);
}
.group__logo {
  display: grid; place-items: center;
  height: 40px; min-width: 116px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--c-ink);
  color: #fff;
  font-size: .95rem; font-weight: 700; letter-spacing: .1em;
}
.group__logo img { max-height: 26px; width: auto; }
.group__title { font-size: 1.22rem; }
.group__note { margin: 0; color: var(--c-muted); font-size: .86rem; }

/* 規格表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .89rem;
}
.table th, .table td {
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.table thead th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 500; letter-spacing: .06em;
  white-space: nowrap;
}
.table tbody tr:nth-child(even) { background: var(--c-bg-soft); }
.table tbody th { background: var(--c-primary-light); font-weight: 500; white-space: nowrap; }

/* 下載清單 */
.dl-list { display: grid; gap: 12px; }
.dl-item {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
}
.dl-item:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.dl-item__name { color: var(--c-ink); font-weight: 500; font-size: .96rem; }
.dl-item__desc { margin: 2px 0 0; color: var(--c-muted); font-size: .83rem; }

/* 聯絡資訊卡 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.info-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.info-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.info-card__icon svg { width: 26px; height: 26px; }
.info-card__label {
  margin-bottom: 6px;
  color: var(--c-muted);
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
}
.info-card__value { color: var(--c-ink); font-size: 1.02rem; font-weight: 500; word-break: break-all; }

/* 表單 */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form__field { display: grid; gap: 7px; }
.form__label { color: var(--c-ink); font-size: .88rem; font-weight: 500; }
.form__label span { color: #e03131; }
.form__input, .form__textarea, .form__select {
  padding: 12px 15px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-ink);
  font-family: inherit; font-size: .94rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(239, 168, 61, .28);
}
.form__textarea { min-height: 150px; resize: vertical; }
.form__note { margin: 0; color: var(--c-muted); font-size: .82rem; }

/* 沿革時間軸 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--c-brand), var(--c-line));
}
.timeline__item { position: relative; margin-bottom: 30px; }
.timeline__item:last-child { margin-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: -30px; top: .55em;
  width: 16px; height: 16px;
  border: 3px solid var(--c-primary);
  border-radius: 50%;
  background: #fff;
}
.timeline__year {
  margin-bottom: 4px;
  color: var(--c-primary);
  font-size: .95rem; font-weight: 700; letter-spacing: .08em;
}
.timeline__text { margin: 0; color: var(--c-body); font-size: .93rem; }

/* 數據統計 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
}
.stat {
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stat__num {
  color: var(--c-primary);
  font-size: 2.2rem; font-weight: 700; line-height: 1.2; letter-spacing: .02em;
}
.stat__num small { font-size: 1rem; font-weight: 500; }
.stat__label { margin-top: 4px; color: var(--c-muted); font-size: .86rem; }

/* ==========================================================================
   14. 頁尾
   ========================================================================== */
.footer { background: var(--c-bg-dark); color: rgba(255, 255, 255, .7); font-size: .89rem; }

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 58px 0 44px;
}
.footer__brand .logo__zh { color: #fff; }
.footer__brand .logo__en { color: rgba(255, 255, 255, .5); }
.footer__desc { margin: 18px 0 0; color: rgba(255, 255, 255, .6); font-size: .86rem; line-height: 1.8; }

.footer__title {
  margin-bottom: 18px;
  color: #fff;
  font-size: .95rem; font-weight: 500; letter-spacing: .1em;
}
.footer__list li { margin-bottom: 10px; }
.footer__list a { color: rgba(255, 255, 255, .68); font-size: .87rem; }
.footer__list a:hover { color: var(--c-primary); }

.footer__contact li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
}
.footer__contact svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; color: var(--c-primary); }
.footer__contact a { color: rgba(255, 255, 255, .78); word-break: break-all; }
.footer__contact a:hover { color: var(--c-primary); }

.footer__bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
  font-size: .8rem;
}
.footer__bar a { color: rgba(255, 255, 255, .55); }
.footer__bar a:hover { color: var(--c-primary); }

/* ==========================================================================
   15. 右側浮動列
   ========================================================================== */
.float-bar {
  position: fixed; right: 16px; bottom: 22px;
  z-index: 800;
  display: flex; flex-direction: column; gap: 9px;
}
.float-bar__btn {
  position: relative;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.float-bar__btn:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.float-bar__btn svg { width: 22px; height: 22px; }
.float-bar__btn--line { background: #06c755; }
.float-bar__btn--mail { background: var(--c-ink); }
.float-bar__btn--top { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); }
.float-bar__btn--top { opacity: 0; visibility: hidden; }
.float-bar__btn--top.is-show { opacity: 1; visibility: visible; }

.float-bar__tip {
  position: absolute; right: calc(100% + 10px); top: 50%;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--c-ink);
  color: #fff;
  font-size: .78rem; white-space: nowrap;
  opacity: 0; visibility: hidden;
  transform: translateY(-50%) translateX(6px);
  transition: all .22s var(--ease);
  pointer-events: none;
}
.float-bar__btn:hover .float-bar__tip {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   16. 進場動畫
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   17. 響應式
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__link { padding: 0 13px; font-size: .92rem; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .section { padding: 54px 0; }
  .hero__inner { text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__arrow { display: none; }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta__actions { justify-content: center; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .logo img { height: 40px; }
  .logo__mark { width: 40px; height: 40px; font-size: .95rem; }
  .logo__zh { font-size: 1.05rem; }
  .logo__en { font-size: .56rem; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 16px; }
  .card__body { padding: 15px 16px 18px; }
  .card__title { font-size: .95rem; }
  .card__specs { display: none; }
  .quicknav__grid { grid-template-columns: repeat(3, 1fr); }
  .quicknav__item { padding: 12px 4px; font-size: .78rem; }
  .quicknav__icon { width: 44px; height: 44px; }
  .footer__main { grid-template-columns: 1fr; gap: 30px; padding: 42px 0 32px; }
  .float-bar { right: 12px; bottom: 14px; }
  .float-bar__btn { width: 44px; height: 44px; }
  .section--soft .brands { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 列印 ---------- */
@media print {
  .header, .drawer, .float-bar, .hero__dots, .hero__arrow, .cta { display: none !important; }
  body { color: #000; }
}
