/* ============================================================
   天德數位 TENDERDIGI 官網 — 全站樣式
   主色 #7B8DC6（靛紫藍）／深灰 #2B2F3A／白
   ============================================================ */

:root {
  --pw: #7B8DC6;
  --pw-l: #AEB8DE;
  --pw-d: #5A6BA8;
  --ink: #2B2F3A;
  --ink-2: #20242E;
  --ink-3: #191C26;
  --body: #3D4250;
  --muted: #7A808F;
  --line: #E8EAF1;
  --bg: #F6F7FB;
  --card: #FFFFFF;
  --nb-1: #283A78;
  --nb-2: #21BFB5;
  --as-1: #0786C7;
  --as-2: #F5B800;
  --so-1: #0B2447;
  --so-2: #00A98F;
  --serif: 'Noto Serif TC', serif;
  --sans: 'Noto Sans TC', sans-serif;
  --latin: 'Space Grotesk', 'Noto Sans TC', sans-serif;
  --nav-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--pw-d);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--pw);
}

::selection {
  background: rgba(123, 141, 198, .28);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ── 導覽列 ─────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 64px);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, box-shadow .35s ease, color .35s ease, border-color .35s ease;
}

.site-nav .brand {
  position: relative;
  width: 158px;
  height: 40px;
  display: block;
  flex: none;
}

.site-nav .logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  width: auto;
  transition: opacity .35s ease;
}

.site-nav .logo-blue {
  opacity: 0;
}

.site-nav.solid {
  background: rgba(246, 247, 251, .88);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 10px 34px -20px rgba(37, 42, 58, .5);
  border-bottom-color: rgba(37, 42, 58, .08);
  color: var(--ink);
}

.site-nav.solid .logo-white {
  opacity: 0;
}

.site-nav.solid .logo-blue {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav-link {
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
}

.nav-link:hover {
  color: inherit;
  opacity: .78;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--pw);
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex: none;
}

/* ── 按鈕 ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 30px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn-nav {
  background: var(--pw);
  color: #fff;
  height: 40px;
  padding: 0 20px;
  border-radius: 22px;
  font-size: 14.5px;
  box-shadow: 0 10px 24px -12px rgba(123, 141, 198, .8);
}

.btn-nav:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(123, 141, 198, .9);
}

.btn-primary {
  background: var(--pw);
  color: #fff;
  height: 56px;
  padding: 0 30px;
  font-size: 16px;
  box-shadow: 0 18px 40px -16px rgba(123, 141, 198, .9);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -16px rgba(123, 141, 198, 1);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  height: 56px;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .6);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--pw-d);
  transition: gap .2s ease, color .2s ease;
}

.link-arrow:hover {
  gap: 12px;
  color: var(--pw);
}

/* ── 行動版選單 ─────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: linear-gradient(160deg, #20242E 0%, #2E3450 100%);
  flex-direction: column;
  padding: 26px clamp(22px, 7vw, 44px);
}

.mobile-menu.open {
  display: flex;
}

.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.mm-logo {
  height: 32px;
  width: auto;
}

.mm-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mm-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 44px;
}

.mm-links a {
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mm-links a.mm-cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 14px;
  background: var(--pw);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  border-bottom: none;
}

.mm-foot {
  margin-top: auto;
  opacity: .3;
  text-align: center;
}

.mm-logo-v {
  height: 72px;
  width: auto;
}

/* ── 首頁 Hero ─────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 42%, #2F3554 0%, #252A3C 46%, #191C26 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 46%, rgba(0, 0, 0, 0) 40%, rgba(21, 24, 32, .55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 120px clamp(22px, 6vw, 40px) 96px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, 1.5vw, 15.5px);
  font-weight: 500;
  letter-spacing: .04em;
  color: #C7CEEA;
  margin-bottom: 26px;
}

.hero-eyebrow .rule {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: rgba(199, 206, 234, .6);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.24;
  letter-spacing: .01em;
  color: #fff;
  margin: 0 0 26px;
  text-wrap: balance;
}

.hero-lede {
  max-width: 660px;
  margin: 0 auto 14px;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 2;
  color: rgba(233, 236, 247, .9);
}

.hero-lede.last {
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(199, 206, 234, .85);
  font-size: 11px;
  letter-spacing: .22em;
  font-family: var(--latin);
}

.scroll-hint:hover {
  color: #fff;
}

.scroll-hint svg {
  animation: tdBob 2.4s ease-in-out infinite;
}

@keyframes tdBob {

  0%,
  100% {
    transform: translateY(0);
    opacity: .7;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

@keyframes tdPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .45;
  }
}

/* ── 內頁 Hero ─────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 130% at 50% -10%, #2F3554 0%, #252A3C 52%, #191C26 100%);
  color: #fff;
  padding: calc(var(--nav-h) + clamp(52px, 9vw, 96px)) clamp(22px, 6vw, 64px) clamp(52px, 8vw, 88px);
  text-align: center;
}

.ph-ring {
  position: absolute;
  border: 1px solid rgba(174, 184, 222, .14);
  border-radius: 50%;
  pointer-events: none;
}

.ph-ring.r1 {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -100px;
}

.ph-ring.r2 {
  width: 260px;
  height: 260px;
  top: -20px;
  right: 80px;
  border-color: rgba(174, 184, 222, .1);
}

.ph-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.3;
  margin: 14px 0 16px;
  color: #fff;
  text-wrap: balance;
}

.ph-lede {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 2;
  color: rgba(226, 229, 242, .85);
  margin: 0 auto;
  max-width: 640px;
}

/* ── 區塊通用 ─────────────────────────── */
section[id],
.section {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(22px, 6vw, 64px);
}

.section.alt {
  background: #fff;
  border-top: 1px solid #EEEFF4;
}

.section.tight {
  padding-top: clamp(52px, 7vw, 84px);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.wrap-narrow {
  max-width: 860px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pw);
  margin-bottom: 18px;
}

.eyebrow .rule {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--pw);
}

.eyebrow.light {
  color: #AEB8DE;
}

.eyebrow.light .rule {
  background: #AEB8DE;
}

.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.38;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}

.sec-lede {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
}

.subhead {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--pw-d);
  text-align: center;
}

/* ── 首頁：集團簡介 ───────────────────── */
.about-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.about-copy h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}

.about-copy p {
  font-size: 16px;
  line-height: 2.05;
  margin: 0 0 18px;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 40px -30px rgba(43, 47, 58, .4);
}

.fact-num {
  font-family: var(--latin);
  font-size: 34px;
  font-weight: 700;
  color: var(--pw);
  line-height: 1;
}

.fact-word {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
}

.fact-label {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}

.fact-card.accent {
  background: linear-gradient(150deg, #2E3450, var(--pw));
  border: none;
  box-shadow: 0 18px 40px -26px rgba(123, 141, 198, .9);
}

.fact-card.accent .fact-word {
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.fact-card.accent .fact-label {
  color: rgba(255, 255, 255, .82);
}

/* ── 相關事業卡片 ───────────────────────── */
.biz-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
}

.biz-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.biz-card:hover {
  transform: translateY(-6px);
}

.biz-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.biz-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--latin);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  margin-bottom: 22px;
}

.biz-mark img,
.bu-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.biz-card h3 {
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 4px;
}

.biz-sub {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 14px;
}

.biz-desc {
  font-size: 14.5px;
  line-height: 1.9;
  color: #4D5360;
  margin: 0 0 18px;
  min-height: 80px;
}

.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.biz-tags span {
  font-size: 11.5px;
  border-radius: 6px;
  padding: 3px 9px;
}

.biz-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: gap .2s ease;
}

.biz-link:hover {
  gap: 11px;
}

.biz-card.nb {
  box-shadow: 0 20px 50px -34px rgba(40, 58, 120, .5);
}

.biz-card.nb:hover {
  box-shadow: 0 34px 60px -30px rgba(40, 58, 120, .55);
  border-color: var(--nb-1);
}

.biz-card.nb .biz-bar {
  background: linear-gradient(90deg, var(--nb-1), var(--nb-2));
}

.biz-card.nb .biz-mark {
  background: transparent;
  box-shadow: none;
}

.biz-card.nb h3,
.biz-card.nb .biz-link {
  color: var(--nb-1);
}

.biz-card.nb .biz-sub {
  color: #21A99F;
}

.biz-card.nb .biz-tags span {
  color: var(--nb-1);
  background: #EAEDF6;
}

.biz-card.as {
  box-shadow: 0 20px 50px -34px rgba(7, 134, 199, .45);
}

.biz-card.as:hover {
  box-shadow: 0 34px 60px -30px rgba(7, 134, 199, .5);
  border-color: var(--as-1);
}

.biz-card.as .biz-bar {
  background: linear-gradient(90deg, var(--as-1), var(--as-2));
}

.biz-card.as .biz-mark {
  background: transparent;
  box-shadow: none;
}

.biz-card.as h3,
.biz-card.as .biz-link {
  color: var(--as-1);
}

.biz-card.as .biz-sub {
  color: #D79A00;
}

.biz-card.as .biz-tags span {
  color: var(--as-1);
  background: #E2F1FA;
}

.biz-card.so {
  box-shadow: 0 20px 50px -34px rgba(11, 36, 71, .5);
}

.biz-card.so:hover {
  box-shadow: 0 34px 60px -30px rgba(11, 36, 71, .55);
  border-color: var(--so-1);
}

.biz-card.so .biz-bar {
  background: linear-gradient(90deg, var(--so-1), var(--so-2));
}

.biz-card.so .biz-mark {
  background: transparent;
  box-shadow: none;
}

.biz-card.so h3,
.biz-card.so .biz-link {
  color: var(--so-1);
}

.biz-card.so .biz-sub {
  color: #00997F;
}

.biz-card.so .biz-tags span {
  color: var(--so-1);
  background: #E4E8EF;
}

.biz-card.ai {
  background: linear-gradient(165deg, #2E3450 0%, #232838 100%);
  border-color: #2E3450;
  box-shadow: 0 20px 50px -30px rgba(123, 141, 198, .7);
}

.biz-card.ai:hover {
  box-shadow: 0 34px 64px -28px rgba(123, 141, 198, .85);
}

.biz-card.ai .biz-bar {
  background: linear-gradient(90deg, var(--pw), var(--pw-l));
}

.biz-card.ai .biz-mark {
  background: linear-gradient(150deg, var(--pw), var(--pw-l));
  color: var(--ink-2);
  box-shadow: 0 12px 24px -12px rgba(123, 141, 198, .9);
}

.biz-card.ai h3 {
  color: #fff;
}

.biz-card.ai .biz-sub {
  color: var(--pw-l);
}

.biz-card.ai .biz-desc {
  color: rgba(226, 229, 242, .82);
}

.biz-card.ai .biz-tags span {
  color: #C7CEEA;
  background: rgba(174, 184, 222, .16);
}

.biz-card.ai .biz-link {
  color: var(--pw-l);
}

.biz-card.ai .biz-link:hover {
  color: #fff;
}

.badge-soon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #F3D9A9;
  background: rgba(180, 83, 9, .22);
  border: 1px solid rgba(243, 217, 169, .4);
  border-radius: 20px;
  padding: 3px 10px;
  animation: tdPulse 2.6s ease-in-out infinite;
}

/* ── 實績與獲獎 ───────────────────────── */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 60px;
}

.chip {
  font-size: 14px;
  color: var(--body);
  background: #fff;
  border: 1px solid #E4E7F0;
  border-radius: 24px;
  padding: 9px 18px;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.award-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 18px 44px -34px rgba(43, 47, 58, .5);
}

.award-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.award-year {
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 600;
  color: #9AA0AE;
}

.award-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--pw-d);
  background: #EDEFF7;
  border-radius: 20px;
  padding: 3px 11px;
}

.award-badge.gold {
  color: #fff;
  background: var(--pw);
}

.award-card h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
}

.award-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: #6B7180;
  margin: 0;
}

.award-src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pw-d);
  margin-top: 12px;
}

.award-src-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
}

.award-src-group .award-src {
  margin-top: 0;
}

.center-cta {
  text-align: center;
  margin-top: 38px;
}

/* ── AI 算力專區 ─────────────────────── */
.ai-section {
  position: relative;
  background: linear-gradient(165deg, #20242E 0%, #2C3149 60%, #333B5C 100%);
  overflow: hidden;
}

.ai-grid {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 72px);
}

.badge-coming {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #F3D9A9;
  background: rgba(180, 83, 9, .24);
  border: 1px solid rgba(243, 217, 169, .4);
  border-radius: 22px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.ai-copy h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.4;
  color: #fff;
  margin: 0 0 18px;
  text-wrap: balance;
}

.ai-copy>p {
  font-size: 16px;
  line-height: 2;
  color: rgba(226, 229, 242, .86);
  margin: 0 0 30px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-feature {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(174, 184, 222, .18);
  border-radius: 16px;
  padding: 22px 24px;
}

.ai-fi-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.ai-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(174, 184, 222, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pw-l);
  flex: none;
}

.ai-fi-head h3 {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.ai-feature p {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(226, 229, 242, .78);
  margin: 0;
}

/* ── 表單 ─────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

.form-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
}

.form-intro {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #4D5360;
  margin-bottom: 7px;
}

.req {
  color: #C0392B;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #D8DCE8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #FBFBFD;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  padding: 12px 14px;
  line-height: 1.7;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pw);
  box-shadow: 0 0 0 3px rgba(123, 141, 198, .18);
}

.btn-submit {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  background: var(--pw);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 16px 34px -16px rgba(123, 141, 198, .9);
}

.btn-submit:hover {
  transform: translateY(-2px);
  background: #6B7DB8;
}

.form-note {
  font-size: 12.5px;
  color: #9AA0AE;
  margin: 16px 0 0;
  text-align: center;
  line-height: 1.7;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-done {
  text-align: center;
  padding: 30px 10px;
}

.done-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--pw), var(--pw-l));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 16px 34px -14px rgba(123, 141, 198, .8);
}

.form-done h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
}

.form-done p {
  font-size: 15px;
  line-height: 1.9;
  color: #6B7180;
  margin: 0;
}

.alert-err {
  background: #FDECEC;
  border: 1px solid #F2C4C4;
  color: #A33A3A;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ── 時間軸（關於我們） ───────────────── */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 6px;
}

.tl-item {
  position: relative;
  padding: 0 0 44px 34px;
  border-left: 2px solid var(--line);
}

.tl-item:last-child {
  padding-bottom: 8px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pw);
  box-shadow: 0 0 0 4px rgba(123, 141, 198, .14);
}

.tl-date {
  font-family: var(--latin);
  font-weight: 700;
  color: var(--pw);
  font-size: 14px;
  letter-spacing: .06em;
}

.tl-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 10px;
  line-height: 1.5;
}

.tl-item p {
  font-size: 15px;
  line-height: 2;
  margin: 0 0 8px;
}

.tl-item ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.tl-item li {
  font-size: 14.5px;
  line-height: 1.95;
  color: #4D5360;
}

/* ── 使命願景 ─────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 18px 44px -34px rgba(43, 47, 58, .45);
}

.mv-card.accent {
  background: linear-gradient(160deg, #2E3450, #4A5688);
  border: none;
}

.mv-label {
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pw);
  margin-bottom: 12px;
}

.mv-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.mv-card p {
  font-size: 15px;
  line-height: 2;
  margin: 0;
}

.mv-card.accent .mv-label {
  color: #C7CEEA;
}

.mv-card.accent h3 {
  color: #fff;
}

.mv-card.accent p {
  color: rgba(233, 236, 247, .9);
}

/* ── 經營團隊 ─────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 20px 50px -36px rgba(43, 47, 58, .5);
}

.team-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #EDEFF7;
  box-shadow: 0 12px 26px -14px rgba(43, 47, 58, .45);
}

.team-role {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--pw-d);
  background: #EDEFF7;
  border-radius: 20px;
  padding: 3px 12px;
  margin: 14px 0 6px;
}

.team-role.founder {
  color: #fff;
  background: var(--pw);
}

.team-card h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  margin: 4px 0 10px;
}

.team-tags {
  font-size: 12.5px;
  color: var(--pw-d);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-bio {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  text-align: left;
}

.team-bio li {
  position: relative;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding: 2px 0 2px 14px;
}

.team-bio li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pw-l);
}

/* ── 新聞列表 ─────────────────────────── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 14px 36px -30px rgba(43, 47, 58, .45);
}

.news-date {
  font-family: var(--latin);
  color: var(--muted);
  min-width: 92px;
  font-weight: 600;
  font-size: 14px;
  padding-top: 2px;
}

.news-body h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.55;
}

.news-body p {
  font-size: 14px;
  line-height: 1.85;
  color: #6B7180;
  margin: 0;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--pw-d);
  background: #EDEFF7;
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

.news-tag.gold {
  color: #fff;
  background: var(--pw);
}

/* ── 相關事業介紹頁 ─────────────────────── */
.bu-block {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4.5vw, 48px);
  margin-bottom: 26px;
  box-shadow: 0 22px 54px -38px rgba(43, 47, 58, .5);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.bu-side {
  text-align: left;
}

.bu-mark {
  width: 64px;
  height: 64px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--latin);
  font-weight: 700;
  font-size: 23px;
  margin-bottom: 18px;
}

.bu-block h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.4;
}

.bu-sub {
  font-size: 13.5px;
  font-weight: 600;
}

.bu-main p {
  font-size: 15.5px;
  line-height: 2.05;
  margin: 0 0 16px;
}

.bu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 22px;
}

.bu-tags span {
  font-size: 12.5px;
  border-radius: 7px;
  padding: 5px 12px;
}

.bu-block.nb h2 {
  color: var(--nb-1);
}

.bu-block.nb .bu-sub {
  color: #21A99F;
}

.bu-block.nb .bu-mark {
  background: transparent;
}

.bu-block.nb .bu-tags span {
  color: var(--nb-1);
  background: #EAEDF6;
}

.bu-block.as h2 {
  color: var(--as-1);
}

.bu-block.as .bu-sub {
  color: #D79A00;
}

.bu-block.as .bu-mark {
  background: transparent;
}

.bu-block.as .bu-tags span {
  color: var(--as-1);
  background: #E2F1FA;
}

.bu-block.so h2 {
  color: var(--so-1);
}

.bu-block.so .bu-sub {
  color: #00997F;
}

.bu-block.so .bu-mark {
  background: transparent;
}

.bu-block.so .bu-tags span {
  color: var(--so-1);
  background: #E4E8EF;
}

.bu-block.aiu {
  background: linear-gradient(165deg, #2E3450 0%, #232838 100%);
  border-color: #2E3450;
  position: relative;
}

.bu-block.aiu h2 {
  color: #fff;
}

.bu-block.aiu .bu-sub {
  color: var(--pw-l);
}

.bu-block.aiu .bu-mark {
  background: linear-gradient(150deg, var(--pw), var(--pw-l));
  color: var(--ink-2);
}

.bu-block.aiu .bu-main p {
  color: rgba(226, 229, 242, .84);
}

.bu-block.aiu .bu-tags span {
  color: #C7CEEA;
  background: rgba(174, 184, 222, .16);
}

/* ── 聯絡頁 ─────────────────────────── */
.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(320px, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  margin-bottom: 16px;
  box-shadow: 0 18px 44px -34px rgba(43, 47, 58, .45);
}

.info-card h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 12px;
}

.info-card p,
.info-card a.line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--body);
  margin: 0 0 10px;
}

.info-card svg {
  flex: none;
  margin-top: 4px;
  color: var(--pw);
}

/* ── 條款頁 ─────────────────────────── */
.prose {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 18px 44px -34px rgba(43, 47, 58, .4);
}

.prose h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 15px;
  line-height: 2.05;
  color: var(--body);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose .updated {
  font-size: 13px;
  color: var(--muted);
}

/* ── 頁尾 ─────────────────────────── */
.site-footer {
  background: var(--ink-3);
  color: rgba(226, 229, 242, .72);
  padding: clamp(56px, 7vw, 88px) clamp(22px, 6vw, 64px) 30px;
}

.ft-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
}

.ft-brand {
  grid-column: 1 / -1;
  max-width: 340px;
}

.ft-logo {
  height: 88px;
  width: auto;
  margin-bottom: 20px;
}

.ft-brand p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(226, 229, 242, .6);
  margin: 0;
}

.ft-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--pw-l);
  margin-bottom: 18px;
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.ft-col a {
  color: rgba(226, 229, 242, .72);
}

.ft-col a:hover {
  color: #fff;
}

.ft-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(226, 229, 242, .7);
  line-height: 1.7;
}

.ft-line svg {
  flex: none;
  margin-top: 3px;
  color: var(--pw-l);
}

.ft-bottom {
  max-width: 1120px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(226, 229, 242, .5);
}

.ft-bottom a {
  color: rgba(226, 229, 242, .5);
}

.ft-bottom a:hover {
  color: #fff;
}

/* ── Cookie 同意 ─────────────────────── */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding: 16px clamp(18px, 5vw, 40px);
  background: rgba(25, 28, 38, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(174, 184, 222, .2);
  box-shadow: 0 -12px 34px -20px rgba(0, 0, 0, .7);
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 320px;
  min-width: 260px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(226, 229, 242, .82);
}

.cookie-bar a {
  color: var(--pw-l);
  font-weight: 600;
}

.cb-actions {
  display: flex;
  gap: 10px;
  flex: none;
}

.btn-cookie {
  height: 42px;
  padding: 0 24px;
  background: var(--pw);
  color: #fff;
  font-size: 13.5px;
  border-radius: 22px;
}

.btn-cookie:hover {
  background: #6B7DB8;
}

.btn-cookie-ghost {
  height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(174, 184, 222, .4);
  background: transparent;
  color: #C7CEEA;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 22px;
}

.btn-cookie-ghost:hover {
  background: rgba(255, 255, 255, .06);
}

/* ── 進場動畫 ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── RWD ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bu-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .biz-desc {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
  }

  .site-nav .logo {
    height: 30px;
  }

  .hero-inner {
    padding-top: 100px;
    padding-bottom: 84px;
  }

  .hero-eyebrow {
    font-size: 12.5px;
    gap: 8px;
  }

  .hero-eyebrow .rule {
    width: 16px;
  }

  .hero-ctas .btn {
    height: 52px;
    padding: 0 24px;
    font-size: 15px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }

  .news-date {
    min-width: 0;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-hint svg,
  .badge-soon {
    animation: none;
  }

  * {
    transition-duration: .01ms !important;
  }
}

/* ── 多國語言切換器 (Language Selector) ── */
.lang-selector {
  position: relative;
  display: inline-block;
  margin-right: 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.lang-btn svg {
  opacity: 0.8;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-nav.solid .lang-btn {
  color: var(--ink);
}

.site-nav.solid .lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1c1d21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 110px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.site-nav.solid .lang-dropdown {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lang-selector:hover .lang-dropdown,
.lang-selector:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
  text-align: left;
}

.site-nav.solid .lang-dropdown a {
  color: #333;
}

.lang-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-nav.solid .lang-dropdown a:hover {
  background: #f5f6f8;
  color: var(--primary, #0066cc);
}

.lang-dropdown a.active {
  color: var(--primary, #0066cc);
  font-weight: 700;
}

.site-nav.solid .lang-dropdown a.active {
  color: var(--primary, #0066cc);
}

/* 行動版語言切換 */
.mm-lang-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.3);
}

.mm-lang-switch a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.mm-lang-switch a.active {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #fff;
}

@media (max-width: 768px) {
  .lang-selector {
    display: none;
  }
}