/* ============================================================
   7+1 工商不動產 — 完整樣式 (style.css)
   ============================================================ */

/* ── 1. CSS 變數 ── */
:root {
  --blue-900: #0a1628;
  --blue-800: #0f2040;
  --blue-700: #1a3a6b;
  --blue-600: #1e4d8c;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --orange:   #f97316;
  --orange-lt:#fb923c;
  --orange-dk:#ea580c;
  --white:    #ffffff;
  --off:      #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --ink:      #0f172a;
  /* ── 字體 token（全站統一）── */
  --font: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Noto Serif TC', Georgia, 'Times New Roman', serif; /* 裝飾大標、引號 */
  --font-serif: 'Noto Serif TC', Georgia, 'Times New Roman', serif;                       /* 中文 serif */
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Roboto Mono', monospace;       /* 等寬 / 程式碼 */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 40px;
  --sh-sm: 0 1px 4px rgba(0,0,0,.06);
  --sh-md: 0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --sh-lg: 0 12px 48px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --sh-xl: 0 24px 80px rgba(0,0,0,.16);
  --nav-h: 72px;
  --max-w: 1200px;
  --ease:     cubic-bezier(.22,.68,0,1.2);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io:  cubic-bezier(.4,0,.2,1);
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10000;
  background: linear-gradient(90deg, var(--orange), var(--blue-400));
  transform-origin: left; transform: scaleX(0); transition: transform .1s linear;
}

/* ── Page Loader (Refined Brand Edition) ── */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: radial-gradient(ellipse at 50% 40%, #11243f 0%, #0a1628 60%, #060f1d 100%);
  overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* 簾幕拆分退場 */
/* 簾幕節點保留，用作退場光暈邊（不擋畫面） */
.pl-curtain { display: none; }

/* 極光襯底 — 暖橘 + 品牌藍微光 */
.pl-aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pl-orb {
  position: absolute; width: 60vmin; height: 60vmin;
  border-radius: 50%; filter: blur(90px); opacity: .5;
  mix-blend-mode: screen;
  animation: pl-orb-float 6s ease-in-out infinite alternate;
}
.pl-orb--warm {
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(249,115,22,.95), transparent 70%);
}
.pl-orb--cool {
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(59,130,246,.85), transparent 70%);
  animation-delay: -3s;
}
@keyframes pl-orb-float {
  0%   { transform: translate3d(0,0,0)   scale(1); }
  100% { transform: translate3d(4vw,3vh,0) scale(1.15); }
}

/* 內容容器 */
.pl-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 0 24px; text-align: center;
}

/* 品牌標誌：7 + 1，三件式入場 */
.pl-mark {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font);
  font-weight: 900; letter-spacing: -.04em;
  font-size: clamp(3.4rem, 9vw, 5.2rem);
  line-height: 1;
  color: #fff;
}
.pl-mark .pl-num {
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.78) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: pl-num-in .65s var(--ease-out) forwards;
}
.pl-mark .pl-num:nth-child(1) { animation-delay: .05s; transform: translateY(12px); }
.pl-mark .pl-num:nth-child(3) { animation-delay: .35s; transform: translateY(12px); }
.pl-mark .pl-plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(40px, 7vw, 60px); height: clamp(40px, 7vw, 60px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #f59e0b 100%);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(249,115,22,.55), 0 8px 28px rgba(249,115,22,.35);
  opacity: 0;
  animation: pl-plus-in .6s var(--ease-out) .2s forwards,
             pl-plus-pulse 2.4s ease-in-out 1s infinite;
}
.pl-mark .pl-plus svg { width: 60%; height: 60%; }
/* 改用後台上傳的正式 logo 時的圖樣式 — 大小對齊原本的「7+1」徽章 */
.pl-mark .pl-logo-img {
  height: clamp(80px, 14vw, 140px);
  max-width: min(72vw, 520px);
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: pl-num-in .8s var(--ease-out) .05s forwards;
}
@keyframes pl-num-in {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pl-plus-in {
  0%   { opacity: 0; transform: scale(.4) rotate(-90deg); }
  60%  { opacity: 1; transform: scale(1.12) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes pl-plus-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.45), 0 8px 28px rgba(249,115,22,.35); }
  50%      { box-shadow: 0 0 0 12px rgba(249,115,22,0),    0 8px 28px rgba(249,115,22,.35); }
}

/* 副品牌帶 */
.pl-brand {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 4px;
  opacity: 0; animation: pl-fade-in .6s var(--ease-out) .55s forwards;
}
.pl-brand-line {
  width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.pl-brand-text {
  font-size: .7rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* 進度條：不確定型滑動光膠囊 */
.pl-bar {
  position: relative;
  width: clamp(180px, 32vw, 240px); height: 2px;
  margin-top: 18px;
  background: rgba(255,255,255,.08);
  border-radius: 2px; overflow: hidden;
  opacity: 0; animation: pl-fade-in .5s var(--ease-out) .7s forwards;
}
.pl-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 40%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(249,115,22,.9) 30%,
    rgba(96,165,250,.9) 70%,
    transparent 100%);
  border-radius: 2px;
  animation: pl-bar-slide 1.6s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes pl-bar-slide {
  0%   { left: -45%; }
  100% { left: 105%; }
}

/* 標語 */
.pl-text {
  font-size: .82rem; font-weight: 400;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
  opacity: 0; animation: pl-fade-in .5s var(--ease-out) 1.7s forwards;
}
@keyframes pl-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Loader 品牌敘述：7（專業） + 1（為您） = 信賴 ── */
.pl-meaning {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-top: 22px;
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  letter-spacing: .03em;
}
.pl-meaning-item {
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  animation: pl-meaning-in .55s var(--ease-out) forwards;
}
.pl-meaning-item[data-step="1"] { animation-delay: .9s; }
.pl-meaning-item[data-step="2"] { animation-delay: 1.2s; }
.pl-meaning-item[data-step="3"] { animation-delay: 1.7s; }
.pl-step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pl-step-txt {
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .08em;
}
.pl-meaning-divider, .pl-meaning-equals {
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255,255,255,.4);
  opacity: 0;
  animation: pl-fade-in .4s ease-out forwards;
}
.pl-meaning-divider { animation-delay: 1.05s; }
.pl-meaning-equals  { animation-delay: 1.55s; }
.pl-meaning-result .pl-step-txt {
  background: linear-gradient(120deg, var(--orange), #fbbf24, var(--orange-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .12em;
}
@keyframes pl-meaning-in {
  to { opacity: 1; transform: translateY(0); }
}

/* 標語打字機效果（用 clip-path 從右側揭露，避免中文寬度計算問題）*/
.pl-text .pl-typing {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  /* 起始：完全裁切右側（從左邊 0% 開始可見，到 0% 即隱藏）*/
  clip-path: inset(0 100% 0 0);
  animation:
    pl-typing 1.2s steps(10, end) 1.95s forwards;
}
.pl-text .pl-typing::after {
  /* 文字後方的閃爍游標 */
  content: '';
  display: inline-block;
  width: 1px; height: 1em;
  background: rgba(255,255,255,.6);
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0;
  animation:
    pl-cursor-show .1s ease-out 1.95s forwards,
    pl-cursor-blink .55s step-end 3.15s 1,
    pl-cursor-hide .25s ease-out 3.4s forwards;
}
@keyframes pl-typing {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes pl-cursor-show  { to { opacity: 1; } }
@keyframes pl-cursor-blink { 50% { opacity: 0; } }
@keyframes pl-cursor-hide  { to { opacity: 0; } }
@keyframes pl-cursor { 50% { border-color: transparent; } }
@keyframes pl-cursor-fade { to { border-color: transparent; } }

/* 退場：整體 fade + 內容輕微抬升縮收，更高級 */
.page-loader.hidden .pl-inner {
  opacity: 0;
  transform: translateY(-16px) scale(.96);
  transition: opacity .65s var(--ease-out), transform .8s var(--ease-out);
}
.page-loader.hidden .pl-aurora { opacity: 0; transition: opacity .6s; }

/* 行動裝置：縮減極光與字級 */
@media (max-width: 768px) {
  .pl-orb { width: 70vmin; height: 70vmin; opacity: .35; filter: blur(60px); }
  .pl-mark { gap: 4px; }
  .pl-brand-text { font-size: .62rem; letter-spacing: .18em; }
}

/* 尊重降低動效偏好 */
@media (prefers-reduced-motion: reduce) {
  .pl-orb, .pl-mark .pl-plus, .pl-fill { animation: none !important; }
  .pl-mark .pl-num { opacity: 1; transform: none; animation: none !important; }
  .pl-mark .pl-plus { opacity: 1; transform: none; }
  .pl-brand, .pl-bar, .pl-text { opacity: 1; animation: none !important; }
  .pl-fill { width: 100%; left: 0; background: linear-gradient(90deg, var(--orange), var(--blue-400)); }
}

/* ── 短版 loader（同會話後續訪問，1.4s）：跳過意義段 + 加速 logo 浮現 ── */
.page-loader.pl-short .pl-meaning { display: none; }
.page-loader.pl-short .pl-mark .pl-num:nth-child(1) { animation-duration: .45s; animation-delay: 0s; }
.page-loader.pl-short .pl-mark .pl-num:nth-child(3) { animation-duration: .45s; animation-delay: .15s; }
.page-loader.pl-short .pl-mark .pl-plus {
  animation-delay: .1s, 1.5s;  /* 進場加快 + pulse 縮短 */
}
.page-loader.pl-short .pl-brand { animation-delay: .35s !important; }
.page-loader.pl-short .pl-bar   { animation-delay: .5s !important; }
.page-loader.pl-short .pl-text  { animation-delay: .65s !important; }
.page-loader.pl-short .pl-text .pl-typing {
  animation: pl-typing .7s steps(10, end) .55s forwards;
}
.page-loader.pl-short .pl-text .pl-typing::after {
  animation:
    pl-cursor-show .1s ease-out .55s forwards,
    pl-cursor-hide .2s ease-out 1.45s forwards;
}

/* ──────────────────────────────────────────
   Page Loader — 鮮明藍 + 流動波浪主題（覆寫原深藍版）
   背景：飽和藍 + 右上強光 + SVG 流動緞帶／細流線（見 header.php .pl-waves）。
   底為深藍，文字維持淺色系、金色保留。
   （此區塊集中放置，方便日後整段還原成原深藍版）
   ────────────────────────────────────────── */
/* 1) 背景：飽和藍漸層 + 右上白色強光 */
.page-loader {
  background:
    radial-gradient(56% 50% at 84% 15%, rgba(255,255,255,.92) 0%, rgba(205,232,255,.45) 20%, rgba(60,140,220,0) 47%),
    linear-gradient(125deg, #0a4fae 0%, #1f74d4 50%, #3f97e6 100%);
}
/* 2) 不再使用 ::after 斜帶（流動波浪改由 .pl-waves SVG 呈現）*/
.page-loader::after { content: none; }
/* 3) SVG 波浪流線層（疊在背景與內容之間）*/
.pl-waves {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
/* 4) 關閉原暖橘/冷藍光暈，維持參考圖乾淨的藍 */
.pl-orb { display: none; }
/* 5) 文字／線條：鮮藍底用淺色系（金色保留）*/
.pl-mark { color: #fff; }
.pl-mark .pl-num {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.82) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pl-brand-line { background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
.pl-brand-text { color: rgba(255,255,255,.85); }
.pl-meaning { color: rgba(255,255,255,.9); }
.pl-meaning-divider, .pl-meaning-equals { color: rgba(255,255,255,.55); }
/* 金色字（藍底上金色更亮眼）*/
.pl-step-num {
  background: linear-gradient(180deg, #ffe28e 0%, #e0a40a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pl-meaning-result .pl-step-txt {
  background: linear-gradient(120deg, #e7b53b 0%, #ffe79a 50%, #e7b53b 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* 進度條軌道：淺色半透明 */
.pl-bar { background: rgba(255,255,255,.16); }

/* ── 工具類 ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 96px 0; }
.bg-light { background: var(--gray-100); }
.mt-32 { margin-top: 32px; }
.text-accent { color: var(--orange); }

/* ── Section 標題 ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .25em; color: var(--orange); text-transform: uppercase; margin-bottom: 12px;
  position: relative; padding: 0 24px;
}
.section-label::before, .section-label::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 18px; height: 1px; background: var(--orange); opacity: .5;
}
.section-label::before { right: 100%; margin-right: -18px; }
.section-label::after  { left: 100%; margin-left: -18px; }
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 900;
  color: var(--ink); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 16px;
}
.section-desc { font-size: .95rem; color: var(--gray-500); line-height: 1.85; max-width: 580px; margin: 0 auto; }

/* ── 導航欄 ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: background .4s, box-shadow .4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: 40px; }
.logo-emblem {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  border-radius: 12px; box-shadow: 0 4px 12px rgba(249,115,22,.35);
  font-size: 1rem; font-weight: 900; color: var(--white); letter-spacing: -.05em; flex-shrink: 0;
}
.le-plus { color: rgba(255,255,255,.75); margin: 0 1px; }
.logo-text { display: flex; flex-direction: column; }
.lt-main { font-size: .92rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.lt-sub  { font-size: .58rem; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: .1em; }
.navbar.scrolled .lt-main { color: var(--ink); }
.navbar.scrolled .lt-sub  { color: var(--gray-400); }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 1.08rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.94);
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: color .25s var(--ease-out), background .25s var(--ease-out), letter-spacing .25s var(--ease-out);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { letter-spacing: .055em; color: var(--white); }
@media (max-width: 1280px) {
  .nav-links a { font-size: 1rem; padding: 9px 12px; }
}
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-links a { font-size: .94rem; padding: 8px 10px; letter-spacing: .025em; }
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  width: 0; height: 2px; background: var(--orange); border-radius: 2px;
  transform: translateX(-50%); transition: width .3s var(--ease-out);
}
.nav-links a:hover::after { width: 60%; }
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.navbar.scrolled .nav-links a:hover { color: var(--ink); }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  background: var(--orange); color: var(--white);
  padding: 8px 16px; border-radius: 100px;
  font-size: .78rem; font-weight: 700; flex-shrink: 0;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(249,115,22,.3); white-space: nowrap;
}
.nav-phone:hover { background: var(--orange-dk); transform: translateY(-2px); }
.np-icon { display: flex; align-items: center; color: var(--white); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.navbar.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 110%; object-fit: cover; animation: zoomIn 15s infinite alternate ease-in-out; }
@keyframes zoomIn { 0%{ transform: scale(1); } 100%{ transform: scale(1.1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.78) 0%, rgba(10,22,40,.5) 50%, rgba(10,22,40,.68) 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-trust-bar {
  position: absolute; top: var(--nav-h); left: 0; right: 0; z-index: 3;
  background: rgba(10, 22, 40, 0.30);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.htb-inner {
  display: flex; align-items: center; justify-content: center;
  padding: 9px 40px; gap: 0; max-width: var(--max-w); margin: 0 auto;
}
.htb-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.82);
  letter-spacing: .04em; padding: 0 22px; white-space: nowrap;
  transition: color .2s;
}
.htb-item:hover { color: var(--white); }
.htb-item .htb-icon { font-size: .88rem; opacity: .75; }
.htb-sep { width: 4px; height: 4px; background: rgba(255,255,255,.3); border-radius: 50%; }
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px 110px; /* 底部留空給 hero-stats-bar (約 90px) */
  max-width: 860px;
  margin-top: calc(var(--nav-h) + 32px); /* 從 trust-bar 下方算起 */
}
.hero-badge {
  display: inline-block; background: rgba(249,115,22,.2); border: 1px solid rgba(249,115,22,.5);
  color: #fed7aa; font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 24px;
}
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 16px; }
.ht-line { display: block; }
.ht-zh { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; color: var(--white); letter-spacing: .04em; }
.ht-zh.text-accent { color: var(--orange); }
.ht-tagline { font-size: clamp(.9rem, 2vw, 1.1rem); font-weight: 300; color: rgba(255,255,255,.65); letter-spacing: .08em; margin-top: 8px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 100px; font-size: .88rem; font-weight: 700; transition: transform .25s, box-shadow .25s; border: none; font-family: var(--font); cursor: pointer; }
.btn-hero-primary { background: var(--blue-500); color: var(--white); padding: 14px 32px; font-size: .95rem; box-shadow: 0 4px 20px rgba(37,99,235,.4); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(37,99,235,.5); background: var(--blue-600); }
.btn-hero-ghost { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.4); padding: 14px 32px; font-size: .95rem; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.btn-primary { background: var(--blue-500); color: var(--white); box-shadow: 0 4px 16px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px); box-shadow: 0 -4px 40px rgba(0,0,0,.1);
}
.hsb-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-around; }
.hsb-item { display: flex; flex-direction: column; align-items: center; padding: 22px 32px; }
.hsb-num { font-size: 2.2rem; font-weight: 900; color: var(--blue-900); line-height: 1; }
.hsb-unit { font-size: .9rem; font-weight: 700; color: var(--orange); display: inline; }
.hsb-label { font-size: .72rem; color: var(--gray-400); letter-spacing: .08em; margin-top: 4px; }
.hsb-divider { width: 1px; height: 40px; background: var(--gray-200); }
.hero-scroll-hint {
  position: absolute; right: 40px; bottom: 110px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hsh-line { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.5)); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }
.hsh-text { font-size: .55rem; letter-spacing: .25em; color: rgba(255,255,255,.5); writing-mode: vertical-rl; }

/* ── About ── */
.about { background: var(--white); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }

/* 20年深耕 圓形徽章 */
.av-year-badge {
  position: absolute; top: -18px; left: -18px; z-index: 3;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(249,115,22,.45);
  animation: floatCard 4s ease-in-out infinite;
}
.ayb-num { font-size: 1.7rem; font-weight: 900; line-height: 1; }
.ayb-unit { font-size: .65rem; font-weight: 700; opacity: .85; }
.ayb-text { font-size: .6rem; font-weight: 600; letter-spacing: .06em; opacity: .8; }

.av-main-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-xl); }
.av-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.av-main-img:hover img { transform: scale(1.04); }
.av-float-card {
  position: absolute; bottom: -20px; right: -20px; background: var(--white);
  border-radius: var(--r-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-lg); animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.afc-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.afc-icon svg { width: 22px; height: 22px; }
.afc-content strong { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); }
.afc-content span { font-size: .72rem; color: var(--gray-400); }
.about-body { font-size: .88rem; color: var(--gray-500); line-height: 1.9; margin-bottom: 16px; }

/* Tag pills */
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.at-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 100px; font-size: .78rem; font-weight: 600;
  background: var(--gray-100); color: var(--gray-700);
}
.at-pill-orange { background: rgba(249,115,22,.1); color: var(--orange-dk); }
.at-pill-rose   { background: rgba(244,63,94,.1); color: #be123c; }
.at-pill-green  { background: rgba(22,163,74,.1); color: #15803d; }
.at-pill-blue   { background: rgba(37,99,235,.1); color: var(--blue-600); }

/* Check list */
.about-checks { display: flex; flex-direction: column; gap: 12px; list-style: none; margin-bottom: 0; }
.ac-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--gray-100); font-size: .88rem; color: var(--gray-600);
  transition: background .2s, transform .2s;
}
.ac-item:hover { background: var(--blue-50); transform: translateX(4px); }
.ac-item strong { color: var(--ink); }
.ac-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-500); display: flex; align-items: center; justify-content: center;
}


/* ── Founder ── */
.founder { background: var(--off); }
.founder-layout {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start;
}
.founder-visual { display: flex; flex-direction: column; gap: 20px; }
.fv-img-wrap {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--sh-xl); flex-shrink: 0;
}
.fv-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.fv-img-wrap:hover img { transform: scale(1.04); }
.fv-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
  background: linear-gradient(to top, rgba(10,22,40,.85), transparent);
}
.fvo-name { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.fvo-title { font-size: .78rem; color: var(--orange-lt); font-weight: 500; letter-spacing: .08em; margin-top: 4px; }
.founder-badges { display: flex; flex-direction: column; gap: 10px; }
.fb-item {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-200); transition: transform .2s, box-shadow .2s;
}
.fb-item:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.fbi-icon { font-size: 1.5rem; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--blue-50); border-radius: 10px; }
.fbi-text strong { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); }
.fbi-text span { font-size: .72rem; color: var(--gray-400); }

/* Founder right col */
.founder-content { padding-top: 8px; }
.fs-quote {
  background: var(--blue-900); border-radius: var(--r-lg); padding: 32px 36px; margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.fsq-mark {
  font-size: 5rem; font-weight: 900; color: var(--orange); line-height: .7;
  margin-bottom: 8px; opacity: .6; font-family: var(--font-serif);
}
.fsq-text { font-size: 1rem; color: rgba(255,255,255,.92); line-height: 1.85; font-style: italic; margin-bottom: 16px; }
.fsq-author { font-size: .78rem; color: var(--orange-lt); font-weight: 600; letter-spacing: .06em; }
.fs-story { margin-bottom: 28px; }
.fs-story p { font-size: .9rem; color: var(--gray-500); line-height: 1.9; margin-bottom: 12px; }
.fs-story p strong { color: var(--ink); font-weight: 600; }

/* Timeline */
.founder-timeline { position: relative; padding-left: 28px; }
.ft-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 20px; position: relative;
}
.fti-year {
  font-size: .84rem; font-weight: 800; color: var(--orange);
  min-width: 42px; padding-top: 2px; flex-shrink: 0;
}
.fti-dot {
  width: 10px; height: 10px; background: var(--orange); border-radius: 50%;
  position: absolute; left: -25px; top: 5px; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(249,115,22,.2);
}
.fti-text { font-size: .86rem; color: var(--gray-500); line-height: 1.65; }

/* ── Team ── */
.team { background: var(--white); }
.team-group-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 21/8; margin-bottom: 32px; box-shadow: var(--sh-xl);
}
.team-group-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s; }
.team-group-photo:hover img { transform: scale(1.03); }
.tgp-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 36px;
  background: linear-gradient(to top, rgba(10,22,40,.7), transparent);
}
.tgp-text strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.tgp-text span { font-size: .8rem; color: rgba(255,255,255,.7); }

/* Team Culture */
.team-culture {
  background: var(--blue-900); border-radius: var(--r-xl); padding: 40px 48px;
  margin-bottom: 48px; position: relative; overflow: hidden;
}
.team-culture::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: rgba(249,115,22,.08); border-radius: 50%; }
.tcu-title { font-size: 1rem; font-weight: 700; color: var(--white); text-align: center; margin-bottom: 28px; letter-spacing: .08em; text-transform: uppercase; }
.tcu-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.tcu-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 22px 14px; background: rgba(255,255,255,.05); border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .3s, border-color .3s;
}
.tcu-item:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(249,115,22,.3); }
.tcui-icon {
  width: 52px; height: 52px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; flex-shrink: 0; box-shadow: 0 4px 16px rgba(37,99,235,.25);
  transition: transform .3s;
}
.tcu-item:hover .tcui-icon { transform: scale(1.1) rotate(-5deg); }
.tcui-content strong { display: block; font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.tcui-content p { font-size: .75rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Team Cards */
.team-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tc-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-200);
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.tc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.tcc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; }
.tcc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.tc-card:hover .tcc-img img { transform: scale(1.08); }
.tcc-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tcc-body h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.tcc-role { font-size: .75rem; color: var(--orange); font-weight: 600; letter-spacing: .04em; margin-bottom: 4px; }
.tcc-spec { font-size: .72rem; color: var(--gray-400); margin-bottom: 8px; }
.tcc-exp { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tcc-exp span { font-size: .7rem; background: var(--gray-100); color: var(--gray-600); padding: 3px 9px; border-radius: 100px; font-weight: 500; }
.tcc-bio { font-size: .78rem; color: var(--gray-500); line-height: 1.65; flex: 1; }
/* Team card buttons */
.tcc-actions {
  display: flex; gap: 8px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.tcc-btn {
  flex: 1; padding: 8px 10px; border-radius: 50px; font-size: .78rem; font-weight: 700;
  border: 1.5px solid var(--orange); color: var(--orange); background: transparent;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
  font-family: var(--font); text-align: center;
}
.tcc-btn:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

/* ── Services Strip (Horizontal Panel Accordion) ── */
.services { background: var(--white); }
.services-section-header { text-align: center; padding: 96px 24px 56px; }
.services-strip {
  display: flex; height: 480px; overflow: hidden;
}
.service-panel {
  flex: 1; position: relative; overflow: hidden; cursor: pointer;
  transition: flex .55s cubic-bezier(.4,0,.2,1);
  background-size: cover; background-position: center;
}
.service-panel:hover { flex: 2.5; }
.sp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.9) 0%, rgba(10,22,40,.35) 60%, transparent 100%);
  transition: background .4s;
}
.sp-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px 24px; color: var(--white);
}
.sp-num {
  font-size: 2.8rem; font-weight: 900; opacity: .25; line-height: 1;
  margin-bottom: 6px; transition: opacity .4s;
}
.service-panel:hover .sp-num { opacity: .55; }
.sp-content h3 { font-size: 1.3rem; font-weight: 900; line-height: 1.2; margin-bottom: 10px; }
.sp-content p {
  font-size: .84rem; line-height: 1.7; opacity: 0; transform: translateY(12px);
  transition: opacity .4s .1s, transform .4s .1s; margin-bottom: 16px;
}
.service-panel:hover .sp-content p { opacity: 1; transform: translateY(0); }
.sp-link {
  font-size: .82rem; font-weight: 700; color: var(--orange-lt); opacity: 0;
  transform: translateY(8px); transition: opacity .4s .2s, transform .4s .2s;
}
.service-panel:hover .sp-link { opacity: 1; transform: translateY(0); }

/* ── Cases ── */
.cases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.case-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-200);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.cac-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .cac-img img { transform: scale(1.06); }
.cac-tag {
  position: absolute; top: 14px; left: 14px; background: var(--orange); color: var(--white);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px;
}
.cac-body { padding: 22px 24px; }
.cac-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cac-meta span { font-size: .75rem; color: var(--gray-400); }
.cac-body h4 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.4; }
.cac-body p { font-size: .84rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.cac-result {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--gray-100); border-radius: var(--r-sm);
  border: 1px solid var(--gray-200);
}
.car-label { font-size: .72rem; color: var(--gray-400); }
.car-value { font-size: .92rem; font-weight: 700; color: var(--orange); }
.cases-cta {
  text-align: center; padding: 40px; background: var(--gray-100);
  border-radius: var(--r-xl);
}
.cases-cta p { font-size: 1rem; color: var(--gray-500); margin-bottom: 20px; }

/* ── Locations ── */
.locations { background: var(--gray-100); }
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.loc-card {
  background: var(--white); border-radius: var(--r-lg); padding: 28px 22px;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-200); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.loc-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--orange), var(--blue-400));
  transform: scaleX(0); transition: transform .4s var(--ease-out);
}
.loc-card:hover::before { transform: scaleX(1); }
.loc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: var(--orange); }
.loc-main { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); border-color: transparent; }
.loc-main h4, .loc-main .lc-addr { color: rgba(255,255,255,.9) !important; }
.loc-main .lci-row { color: rgba(255,255,255,.7) !important; }
.lc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lc-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-500); color: var(--white);
  transition: transform .2s;
}
.lc-icon svg { width: 24px; height: 24px; overflow: visible; }
.loc-main .lc-icon { background: var(--orange); color: var(--white); }
.lc-badge-main { background: var(--orange); color: var(--white); font-size: .65rem; font-weight: 700; letter-spacing: .1em; padding: 3px 10px; border-radius: 100px; }
.lc-badge { background: var(--gray-200); color: var(--gray-600); font-size: .65rem; font-weight: 600; letter-spacing: .1em; padding: 3px 10px; border-radius: 100px; }
.loc-card h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.lc-addr { font-size: .8rem; color: var(--gray-400); margin-bottom: 14px; line-height: 1.55; }
.lc-info { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.lci-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--gray-600); }
.lci-row svg { flex-shrink: 0; color: var(--blue-400); }
.loc-main .lci-row svg { color: rgba(255,255,255,.6); }
.lc-btn {
  display: block; text-align: center; padding: 10px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 600; background: var(--gray-100); color: var(--blue-700);
  transition: background .2s, color .2s, transform .2s; letter-spacing: .04em;
}
.lc-btn:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.lc-btn-main { background: var(--orange); color: var(--white); }
.lc-btn-main:hover { background: var(--orange-lt); }

/* ── Contact ── */
.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-desc { font-size: .9rem; color: var(--gray-500); line-height: 1.85; margin-bottom: 32px; }
.ci-items { display: flex; flex-direction: column; gap: 14px; }
.ci-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--gray-100); border-radius: var(--r-md); transition: background .2s, transform .2s;
}
.ci-item:hover { background: var(--blue-50); transform: translateX(4px); }
.ci-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 16px rgba(249,115,22,.25);
  transition: transform .2s, box-shadow .2s;
}
.ci-icon svg { width: 24px; height: 24px; overflow: visible; }
.ci-icon:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
.ci-icon-blue { background: var(--blue-500); box-shadow: 0 4px 16px rgba(37,99,235,.25); }
.ci-icon-blue:hover { box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.ci-icon-green { background: #06c755; box-shadow: 0 4px 16px rgba(6,199,85,.25); }
.ci-icon-green:hover { box-shadow: 0 6px 20px rgba(6,199,85,.35); }
.ci-item strong { display: block; font-size: .72rem; font-weight: 700; color: var(--gray-400); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.ci-item a, .ci-item span { font-size: .9rem; color: var(--ink); font-weight: 500; }
.ci-item a:hover { color: var(--orange); }
.contact-form-wrap {
  background: var(--white); border-radius: var(--r-xl); padding: 44px;
  box-shadow: var(--sh-xl); border: 1px solid var(--gray-200); position: relative; overflow: hidden;
  /* 由首頁「立即免費諮詢」等錨點連結捲動到此時，預留固定導覽列的高度，避免被選單蓋住 */
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.contact-form-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--blue-400)); }
.contact-form h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: var(--gray-600); letter-spacing: .04em; margin-bottom: 6px; }
.req { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm); font-size: .88rem; color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none; font-family: var(--font);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); padding: 15px 32px; border-radius: var(--r-md);
  font-size: .9rem; font-weight: 700; letter-spacing: .06em;
  transition: transform .25s, box-shadow .25s; margin-top: 8px;
  box-shadow: 0 4px 20px rgba(249,115,22,.3); cursor: pointer; border: none; font-family: var(--font);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249,115,22,.45); }
.form-note { font-size: .72rem; color: var(--gray-400); text-align: center; margin-top: 12px; }

/* ── Footer ── */
.site-footer { background: var(--blue-900); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 16px; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.4); text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
  color: rgba(255,255,255,.6); transition: background .2s, transform .2s;
}
.social-btn:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .75rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* footer 文字統一改白色（客戶要求；含手機版 !important 一併覆寫）*/
.site-footer .footer-brand p,
.site-footer .lt-sub,
.site-footer .footer-col h4,
.site-footer .footer-col a,
.site-footer .footer-col li,
.site-footer .footer-contact .fc-item a,
.site-footer .footer-bottom p,
.site-footer .footer-bottom-links a { color: #fff !important; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 48px; height: 48px; background: var(--orange); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 20px rgba(249,115,22,.4);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--orange-dk); transform: translateY(-3px); }

/* ── 浮動快速聯繫鈕（LINE / 聯繫我們）：固定右側、垂直置中，全站每頁顯示 ── */
.fab-stack {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 950; display: flex; flex-direction: column; gap: 12px; align-items: center;
}
/* 圓形圖示鈕 */
.fab-btn {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: transform .2s var(--ease-out), box-shadow .2s, filter .2s;
}
.fab-btn svg { width: 24px; height: 24px; flex: none; }
.fab-line svg { width: 38px; height: 38px; }   /* LINE 圖示放大、圓鈕大小不變 */
.fab-btn:hover { transform: scale(1.08); filter: brightness(1.05); box-shadow: 0 6px 22px rgba(0,0,0,.3); color: #fff; }
.fab-line { background: #06C755; }
.fab-contact { background: linear-gradient(135deg, var(--blue-500, #2563eb), var(--blue-600, #1e4d8c)); }
/* hover 時於左側顯示文字 tooltip */
.fab-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(15,23,42,.92); color: #fff;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap; line-height: 1;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.fab-label::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: rgba(15,23,42,.92);
}
.fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
  /* 手機：圓鈕移到右下、堆在「回到頂端」鈕上方；無 hover 故不顯示 tooltip */
  .fab-stack { top: auto; bottom: 84px; transform: none; right: 14px; gap: 10px; }
  .fab-btn { width: 48px; height: 48px; }
  .fab-label { display: none; }
}

/* ── Reveal Animations ── */
.reveal-up, .reveal-left, .reveal-right, .reveal-fade {
  opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-fade { transform: none; }
.revealed { opacity: 1 !important; transform: none !important; }

/* ── Highlight ── */
.highlight-text { position: relative; display: inline; }
.highlight-text::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 30%;
  background: rgba(249,115,22,.18); z-index: -1;
}

/* ── RWD ── */
@media (max-width: 1024px) {
  .about-layout { gap: 48px; }
  .founder-layout { grid-template-columns: 1fr 1.3fr; gap: 48px; }
  .team-cards { grid-template-columns: repeat(2, 1fr); }
  .tcu-items { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about-layout, .founder-layout, .contact-layout { grid-template-columns: 1fr; }
  .fv-img-wrap { aspect-ratio: 4/3; }
  .services-strip { flex-direction: column; height: auto; }
  .service-panel { height: 220px; flex: none; }
  .service-panel:hover { flex: none; }
  .sp-content p, .sp-link { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 24px;
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .4s var(--ease-out), opacity .3s;
    box-shadow: var(--sh-lg); z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a {
    position: relative;
    padding: 14px 24px 14px 28px;
    font-size: .95rem; font-weight: 500;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700) !important;
    transition: color .25s, background .25s, padding-left .25s;
  }
  /* 改造桌機底線「光棒」→ 行動裝置左側豎條（高級抽屜風格） */
  .nav-links a::after {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: auto; bottom: auto;
    width: 3px !important; height: 0;
    background: var(--orange);
    border-radius: 0 3px 3px 0;
    transform: translateY(-50%);
    transition: height .3s var(--ease-out), opacity .25s;
  }
  .nav-links a:hover {
    background: rgba(249,115,22,.04);
    color: var(--orange) !important;
    padding-left: 32px;
  }
  .nav-links a:hover::after { width: 3px !important; height: 60%; }
  .nav-links a.active {
    background: linear-gradient(90deg, rgba(249,115,22,.08), rgba(249,115,22,0));
    color: var(--orange) !important;
    font-weight: 700;
  }
  .nav-links a.active::after { width: 3px !important; height: 70%; }
  /* 觸控裝置：點擊後 hover sticky 不亂留色塊 */
  @media (hover: none) {
    .nav-links a:hover { background: transparent; padding-left: 28px; color: var(--gray-700) !important; }
    .nav-links a:hover::after { height: 0; }
    .nav-links a.active:hover { background: linear-gradient(90deg, rgba(249,115,22,.08), rgba(249,115,22,0)); color: var(--orange) !important; }
    .nav-links a.active:hover::after { height: 70%; }
  }
  .hero-trust-bar, .hero-scroll-hint { display: none; }
  .hsb-inner { flex-wrap: wrap; }
  .hsb-divider { display: none; }
  .hsb-item { padding: 14px 16px; }
  .team-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tcu-items { grid-template-columns: 1fr 1fr; }
  .team-culture { padding: 28px 20px; }
  .cases-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-wrap { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .section-pad { padding: 48px 0; }
  .team-cards { grid-template-columns: 1fr; }
  .tcu-items { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════
   關於我們 (About Page) 專屬樣式
══════════════════════════════════════════════ */

/* 導覽列 scrolled 強制在 about 頁生效 */
.about-page ~ * .navbar,
body .navbar { transition: background .4s, box-shadow .4s; }

/* ── About Hero ── */
.ap-hero {
  position: relative; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 0; overflow: hidden; padding-top: var(--nav-h);
}
.ap-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ap-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ap-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.6) 60%, rgba(10,22,40,.75) 100%);
}
.ap-breadcrumb {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 20px 40px; font-size: .78rem; color: rgba(255,255,255,.55); max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.ap-breadcrumb a { color: rgba(255,255,255,.65); transition: color .2s; }
.ap-breadcrumb a:hover { color: var(--orange); }
.apb-sep { color: rgba(255,255,255,.3); }
.ap-hero-content {
  position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 20px 40px 72px;
}
.ap-hero-label {
  font-size: .65rem; font-weight: 700; color: var(--orange);
  letter-spacing: .28em; text-transform: uppercase; margin-bottom: 14px;
}
.ap-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900; color: var(--white);
  line-height: 1.2; letter-spacing: -.01em; margin-bottom: 18px;
}
.ap-hero-desc {
  font-size: clamp(.88rem, 1.5vw, 1.05rem); color: rgba(255,255,255,.65);
  line-height: 1.85; font-weight: 300;
}

/* ── Story Section ── */
.ap-story { background: var(--white); }
.ap-story-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.ap-story-visual { position: relative; }
.aps-img-stack { position: relative; }
.aps-img-main {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--sh-xl); position: relative; z-index: 1;
}
.aps-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.aps-img-main:hover img { transform: scale(1.04); }
.aps-img-accent {
  position: absolute; bottom: -28px; right: -28px; width: 45%; aspect-ratio: 1;
  border-radius: var(--r-lg); overflow: hidden; z-index: 2;
  box-shadow: var(--sh-xl); border: 4px solid var(--white);
}
.aps-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.aps-badge {
  position: absolute; top: -20px; left: -20px; z-index: 3;
  background: var(--orange); border-radius: var(--r-lg); padding: 18px 22px;
  text-align: center; box-shadow: 0 8px 32px rgba(249,115,22,.4);
  animation: floatCard 4s ease-in-out infinite;
}
.aps-badge-num {
  font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1;
}
.aps-badge-num span { font-size: 1.2rem; }
.aps-badge-txt { font-size: .7rem; color: rgba(255,255,255,.85); font-weight: 500; margin-top: 4px; }
.aps-lead { font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.8; margin-bottom: 20px; }
.aps-body { font-size: .9rem; color: var(--gray-500); line-height: 1.95; margin-bottom: 18px; }
.aps-quote {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 20px 0;
}
.aps-quote-bar { width: 4px; min-height: 100%; background: var(--orange); border-radius: 4px; flex-shrink: 0; }
.aps-quote p { font-size: .92rem; color: var(--gray-600); line-height: 1.8; font-style: italic; margin-bottom: 8px; }
.aps-quote span { font-size: .75rem; color: var(--orange); font-weight: 600; letter-spacing: .06em; }

/* ── MVV Cards ── */
.ap-mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.apm-card {
  background: var(--white); border-radius: var(--r-xl); padding: 40px 32px;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.apm-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  transform: scaleX(0); transition: transform .4s var(--ease-out); border-radius: 4px 4px 0 0;
}
.apm-mission::before { background: linear-gradient(90deg, var(--orange), var(--orange-lt)); }
.apm-vision::before  { background: linear-gradient(90deg, var(--blue-500), var(--blue-300)); }
.apm-values::before  { background: linear-gradient(90deg, var(--orange), var(--blue-500)); }
.apm-card:hover::before { transform: scaleX(1); }
.apm-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); border-color: transparent; }
.apm-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); color: var(--blue-600); margin-bottom: 20px;
  transition: background .3s, transform .3s, color .3s;
}
.apm-mission .apm-icon-wrap { background: rgba(249,115,22,.1); color: var(--orange); }
.apm-vision  .apm-icon-wrap { background: rgba(37,99,235,.1);  color: var(--blue-500); }
.apm-values  .apm-icon-wrap { background: rgba(249,115,22,.08); color: var(--orange-dk); }
.apm-card:hover .apm-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.apm-tag {
  display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: .2em;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.apm-mission .apm-tag { background: rgba(249,115,22,.1); color: var(--orange); }
.apm-vision  .apm-tag { background: rgba(37,99,235,.1);  color: var(--blue-500); }
.apm-values  .apm-tag { background: rgba(249,115,22,.1); color: var(--orange-dk); }
.apm-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; line-height: 1.4; }
.apm-card p  { font-size: .86rem; color: var(--gray-500); line-height: 1.85; }

/* ── Core Values ── */
.ap-values { background: var(--white); }
.ap-values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.apv-item {
  padding: 36px 28px 32px; background: var(--gray-100); border-radius: var(--r-xl);
  position: relative; overflow: hidden; border: 1px solid var(--gray-200);
  transition: background .3s, transform .4s var(--ease), box-shadow .4s;
}
.apv-item:hover { background: var(--white); transform: translateY(-6px); box-shadow: var(--sh-xl); }
.apv-num {
  position: absolute; top: 20px; right: 24px; font-size: 3.5rem; font-weight: 900;
  color: var(--gray-200); line-height: 1; letter-spacing: -.05em;
  transition: color .3s;
}
.apv-item:hover .apv-num { color: rgba(249,115,22,.15); }
.apv-icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  color: var(--orange); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.apv-icon svg { width: 100%; height: 100%; overflow: visible; }
.apv-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.apv-item p  { font-size: .84rem; color: var(--gray-500); line-height: 1.85; margin-bottom: 20px; }
.apv-line { height: 3px; background: linear-gradient(90deg, var(--orange) 0%, transparent 100%); border-radius: 3px; width: 40px; transition: width .4s var(--ease); }
.apv-item:hover .apv-line { width: 80px; }

/* ── Stats Section ── */
.ap-stats { background: var(--blue-900); position: relative; overflow: hidden; padding: 0; }
.ap-stats::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ap-stats-inner { padding: 88px 0; position: relative; z-index: 1; }
.ap-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.apst-item {
  text-align: center; padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.apst-item:last-child { border-right: none; }
.apst-num {
  font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; color: var(--white);
  display: inline; line-height: 1;
}
.apst-unit { font-size: 1.4rem; font-weight: 700; color: var(--orange); display: inline; }
.apst-label { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.9); margin-top: 12px; margin-bottom: 8px; }
.apst-desc { font-size: .75rem; color: rgba(255,255,255,.42); line-height: 1.6; }

/* ── Milestone Timeline ── */
.ap-milestone { background: var(--white); }
.ap-timeline { position: relative; padding: 20px 0; }
.apt-track {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--gray-200); transform: translateX(-50%);
}
.apt-item {
  display: flex; gap: 40px; align-items: flex-start; margin-bottom: 48px;
  justify-content: flex-end; padding-right: calc(50% + 44px);
  position: relative;
}
.apt-item.apt-right {
  flex-direction: row-reverse; justify-content: flex-end;
  padding-right: 0; padding-left: calc(50% + 44px);
}
.apt-dot {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  width: 16px; height: 16px; background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(249,115,22,.2), 0 0 0 8px rgba(249,115,22,.07);
  z-index: 1; flex-shrink: 0;
}
.apt-dot-now { width: 20px; height: 20px; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(37,99,235,.2), 0 0 0 10px rgba(37,99,235,.07); animation: pulseDot 2.5s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{box-shadow: 0 0 0 4px rgba(37,99,235,.25), 0 0 0 10px rgba(37,99,235,.08);} 50%{box-shadow: 0 0 0 6px rgba(37,99,235,.2), 0 0 0 14px rgba(37,99,235,.05);} }
.apt-year {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  font-size: .7rem; font-weight: 800; color: var(--orange); white-space: nowrap;
  margin-top: 20px; margin-left: 0; letter-spacing: .06em;
}
.apt-year-now { color: var(--blue-500); }
.apt-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 24px 28px; max-width: 420px; box-shadow: var(--sh-md);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.apt-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }
.apt-card-now { border-color: var(--blue-300); background: linear-gradient(135deg, var(--blue-50), var(--white)); }
.apt-card-year { font-size: .68rem; font-weight: 700; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.apt-card-now .apt-card-year { color: var(--blue-500); }
.apt-card h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.apt-card p  { font-size: .84rem; color: var(--gray-500); line-height: 1.75; }

/* ── Service Areas ── */
.ap-areas { background: var(--gray-100); }
.ap-areas-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.apa-card {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.apa-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.apa-img { position: relative; overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0; }
.apa-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.apa-card:hover .apa-img img { transform: scale(1.08); }
.apa-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.55), transparent 60%); }
.apa-main .apa-img { aspect-ratio: 4/3; }
.apa-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.apa-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; padding: 3px 12px;
  border-radius: 100px; margin-bottom: 10px; align-self: flex-start;
}
.apa-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.apa-body p  { font-size: .82rem; color: var(--gray-500); line-height: 1.75; flex: 1; margin-bottom: 14px; }
.apa-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.apa-tags li {
  font-size: .68rem; color: var(--blue-700); font-weight: 600;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 3px 10px; border-radius: 100px;
}

/* ── About CTA ── */
.ap-cta { background: var(--blue-900); padding: 80px 0; position: relative; overflow: hidden; }
.ap-cta::before { content: ''; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(249,115,22,.12), transparent 70%); }
.ap-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  position: relative; z-index: 1;
}
.apc-label {
  font-size: .65rem; font-weight: 700; color: var(--orange);
  letter-spacing: .25em; text-transform: uppercase; margin-bottom: 14px;
}
.ap-cta-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--white);
  line-height: 1.25; margin-bottom: 16px;
}
.ap-cta-left p { font-size: .92rem; color: rgba(255,255,255,.55); line-height: 1.85; max-width: 460px; }
.ap-cta-right { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; min-width: 220px; }
.btn-cta-primary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--orange); color: var(--white); padding: 16px 28px; border-radius: var(--r-md);
  font-size: .92rem; font-weight: 700; letter-spacing: .04em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(249,115,22,.3);
}
.btn-cta-primary:hover { background: var(--orange-lt); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249,115,22,.4); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8);
  padding: 14px 28px; border-radius: var(--r-md); font-size: .88rem; font-weight: 600;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-cta-ghost:hover { border-color: var(--orange); background: rgba(249,115,22,.1); transform: translateY(-2px); }

/* ── About Page RWD ── */
@media (max-width: 1024px) {
  .ap-story-layout { grid-template-columns: 1fr; gap: 48px; }
  .ap-mvv-grid { grid-template-columns: 1fr 1fr; }
  .ap-values-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-areas-grid { grid-template-columns: 1fr 1fr; }
  .ap-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .apst-item:nth-child(2) { border-right: none; }
  .ap-timeline .apt-track { display: none; }
  .apt-item, .apt-item.apt-right {
    flex-direction: column; padding: 0 0 0 32px; justify-content: flex-start;
    border-left: 2px solid var(--gray-200); margin-left: 8px;
  }
  .apt-dot { left: -9px; top: 10px; transform: none; }
  .apt-year { position: static; transform: none; font-size: .78rem; margin-bottom: 8px; }
  .apt-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .ap-hero-content, .ap-breadcrumb { padding-left: 20px; padding-right: 20px; }
  .ap-mvv-grid { grid-template-columns: 1fr; }
  .ap-values-grid { grid-template-columns: 1fr 1fr; }
  .ap-areas-grid { grid-template-columns: 1fr; }
  .ap-cta-inner { flex-direction: column; text-align: center; }
  .ap-cta-left p { margin: 0 auto; }
  .ap-cta-right { align-items: stretch; width: 100%; min-width: auto; }
  .aps-img-accent { width: 38%; }
}
@media (max-width: 480px) {
  .ap-values-grid { grid-template-columns: 1fr; }
  .ap-stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════
   創辦人 (Founder Page) 專屬樣式
══════════════════════════════════════════════ */

/* ── Founder Hero ── */
.fp-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  padding-top: var(--nav-h);
}
.fp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.fp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(20%); }
.fp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.75) 50%, rgba(10,22,40,.3) 100%);
}
.fp-hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding-top: 40px; padding-bottom: 120px;
}
.fp-hero-label {
  font-size: .65rem; font-weight: 700; color: var(--orange);
  letter-spacing: .28em; text-transform: uppercase; margin-bottom: 14px;
}
.fp-hero-name {
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: var(--white);
  line-height: 1; letter-spacing: -.02em; margin-bottom: 10px;
}
.fp-hero-title {
  font-size: clamp(.9rem, 1.5vw, 1.05rem); color: rgba(255,255,255,.65);
  font-weight: 300; letter-spacing: .06em; margin-bottom: 24px;
}
.fp-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.fp-hero-tags span {
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px; border-radius: 100px; letter-spacing: .04em;
  backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.fp-hero-tags span:hover { background: rgba(249,115,22,.25); border-color: rgba(249,115,22,.5); }
.fp-hero-quote-wrap { display: flex; align-items: center; }
.fp-hero-quote {
  background: rgba(255,255,255,.07); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: 36px 40px;
}
.fphq-mark {
  font-size: 4rem; font-weight: 900; color: var(--orange); line-height: .6;
  margin-bottom: 12px; opacity: .6; font-family: var(--font-serif);
}
.fp-hero-quote p {
  font-size: clamp(.88rem, 1.4vw, 1rem); color: rgba(255,255,255,.88);
  line-height: 1.85; font-style: italic; margin-bottom: 16px;
}
.fphq-sign { font-size: .78rem; color: var(--orange-lt); font-weight: 600; letter-spacing: .06em; }
.fp-hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  box-shadow: 0 -4px 40px rgba(0,0,0,.1);
}
.fphs-grid {
  display: flex; align-items: center; justify-content: space-around;
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
}
.fphs-item { display: flex; flex-direction: column; align-items: center; padding: 22px 32px; }
.fphs-num { font-size: 2.2rem; font-weight: 900; color: var(--blue-900); line-height: 1; }
.fphs-num span { font-size: .95rem; font-weight: 700; color: var(--orange); }
.fphs-label { font-size: .72rem; color: var(--gray-400); letter-spacing: .08em; margin-top: 4px; }
.fphs-divider { width: 1px; height: 40px; background: var(--gray-200); }

/* ── Founder Profile ── */
.fp-profile { background: var(--white); }
.fp-profile-layout { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.fpp-portrait { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--sh-xl); position: relative; }
.fpp-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.fpp-portrait:hover img { transform: scale(1.03); }
.fpp-portrait-badge {
  position: absolute; bottom: 20px; left: 16px; right: 16px;
  background: rgba(10,22,40,.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; color: var(--white);
}
.fppb-icon { font-size: 1.4rem; flex-shrink: 0; }
.fpp-portrait-badge strong { display: block; font-size: .84rem; font-weight: 700; }
.fpp-portrait-badge small  { font-size: .7rem; color: rgba(255,255,255,.5); }
.fpp-certs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.fpp-cert-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.fpp-cert-item:hover { transform: translateX(6px); box-shadow: var(--sh-md); border-color: var(--orange); }
.fppci-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(249,115,22,.08); border-radius: 12px; flex-shrink: 0; color: var(--orange); }
.fppci-icon svg { width: 22px; height: 22px; overflow: visible; }
.fppci-text strong { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.fppci-text span   { font-size: .72rem; color: var(--gray-400); }
.fpp-story { margin-bottom: 32px; }
.fpp-story p { font-size: .9rem; color: var(--gray-500); line-height: 1.95; margin-bottom: 14px; }
.fpp-traits { display: flex; flex-direction: column; gap: 12px; }
.fpp-trait {
  padding: 18px 20px 18px 24px; background: var(--gray-100);
  border-radius: var(--r-md); border-left: 3px solid var(--orange);
  transition: background .2s, transform .2s;
}
.fpp-trait:hover { background: var(--blue-50); transform: translateX(4px); }
.fpp-trait strong { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.fpp-trait p { font-size: .82rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* ── Philosophy Cards ── */
.fp-philosophy { background: var(--gray-100); }
.fp-phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fph-card {
  background: var(--white); border-radius: var(--r-xl); padding: 40px 32px 32px;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s; position: relative; overflow: hidden;
}
.fph-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue-400));
  transform: scaleX(0); transition: transform .4s var(--ease-out);
}
.fph-card:hover::after { transform: scaleX(1); }
.fph-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.fph-num { font-size: 4rem; font-weight: 900; color: var(--gray-200); line-height: 1; position: absolute; top: 16px; right: 24px; transition: color .3s; }
.fph-card:hover .fph-num { color: rgba(249,115,22,.15); }
.fph-icon { width: 56px; height: 56px; margin-bottom: 20px; color: var(--orange); display: flex; align-items: center; justify-content: center; }
.fph-icon svg { width: 100%; height: 100%; overflow: visible; }
.fph-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.fph-card > p { font-size: .86rem; color: var(--gray-500); line-height: 1.85; flex: 1; margin-bottom: 20px; }
.fph-quote { font-size: .8rem; color: var(--orange); font-weight: 600; font-style: italic; padding: 12px 16px; background: rgba(249,115,22,.06); border-left: 3px solid var(--orange); border-radius: 0 var(--r-sm) var(--r-sm) 0; line-height: 1.6; }

/* ── Deep Quote ── */
.fp-deep-quote { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.fp-dq-bg { position: absolute; inset: 0; z-index: 0; }
.fp-dq-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.fp-dq-overlay { position: absolute; inset: 0; background: rgba(10,22,40,.88); }
.fp-dq-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; padding: 80px 24px; }
.fp-dq-icon { margin: 0 auto 20px; opacity: .7; }
.fp-dq-content blockquote { font-size: clamp(1rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.9); line-height: 2.1; font-weight: 300; margin-bottom: 32px; }
.fp-dq-content blockquote em { color: var(--orange-lt); font-style: normal; font-weight: 700; }
.fp-dq-sign { display: flex; align-items: center; justify-content: center; gap: 16px; }
.fp-dq-line { width: 40px; height: 1px; background: var(--orange); }
.fp-dq-sign span { font-size: .78rem; color: rgba(255,255,255,.55); letter-spacing: .1em; }

/* ── Career Timeline ── */
.fp-career { background: var(--white); }
.fp-career-track { position: relative; padding-left: 48px; }
.fp-career-line { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--orange) 0%, var(--blue-400) 70%, var(--blue-500) 100%); border-radius: 2px; }
.fp-career-item { position: relative; margin-bottom: 40px; display: grid; grid-template-columns: 68px 1fr; gap: 20px; align-items: start; }
.fpci-dot { position: absolute; left: -44px; top: 12px; width: 16px; height: 16px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(249,115,22,.2); }
.fpci-dot-b   { background: var(--blue-500); box-shadow: 0 0 0 4px rgba(37,99,235,.2); }
.fpci-dot-now { width: 20px; height: 20px; background: var(--blue-500); left: -46px; animation: pulseDot 2.5s ease-in-out infinite; }
.fpci-year { font-size: .78rem; font-weight: 800; color: var(--orange); padding-top: 14px; letter-spacing: .04em; text-align: right; }
.fpci-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 22px 26px; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.fpci-card:hover { transform: translateX(6px); box-shadow: var(--sh-md); border-color: var(--orange); }
.fpci-card-now { border-color: var(--blue-200); background: linear-gradient(135deg, var(--blue-50), var(--white)); }
.fpci-card-now:hover { border-color: var(--blue-400); }
.fpci-tag { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .16em; color: var(--orange); background: rgba(249,115,22,.08); padding: 2px 10px; border-radius: 100px; margin-bottom: 7px; }
.fpci-tag-now { color: var(--blue-500); background: rgba(37,99,235,.08); }
.fpci-card h4 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.fpci-card p  { font-size: .84rem; color: var(--gray-500); line-height: 1.75; margin: 0; }

/* ── Letter Section ── */
.fp-letter { background: var(--gray-100); }
.fp-letter-wrap { background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); border: 1px solid var(--gray-200); }
.fp-letter-header { padding: 56px 60px 40px; background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%); position: relative; overflow: hidden; }
.fp-letter-header::before { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(249,115,22,.15), transparent 70%); }
.fp-letter-header .section-label { color: rgba(249,115,22,.9); }
.fp-letter-header .section-title { color: var(--white); margin-bottom: 0; }
.fp-letter-body { display: grid; grid-template-columns: 1fr 340px; }
.fp-letter-text { padding: 48px 60px; border-right: 1px solid var(--gray-200); }
.fp-letter-text p { font-size: .9rem; color: var(--gray-600); line-height: 2; margin-bottom: 18px; }
.fp-letter-text p:first-child { font-size: 1rem; font-weight: 700; color: var(--ink); }
.fp-letter-sig { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.fp-sig-photo  { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); flex-shrink: 0; }
.fp-sig-name   { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.fp-sig-title  { font-size: .78rem; color: var(--gray-400); margin: 3px 0; }
.fp-sig-phone  { font-size: .82rem; color: var(--orange); font-weight: 600; }
.fp-letter-aside { padding: 40px 32px; display: flex; flex-direction: column; gap: 28px; background: var(--off); }
.fp-letter-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.fp-letter-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fplp-label { font-size: .72rem; color: var(--gray-500); padding: 10px 14px; background: var(--white); line-height: 1.5; }
.fp-letter-cta { display: flex; flex-direction: column; gap: 10px; }
.fp-letter-cta > p { font-size: .82rem; color: var(--gray-500); margin-bottom: 4px; }

/* ── Founder Page RWD ── */
@media (max-width: 1024px) {
  .fp-hero-content { grid-template-columns: 1fr; padding-bottom: 140px; }
  .fp-hero-quote-wrap { display: none; }
  .fp-profile-layout { grid-template-columns: 1fr; }
  .fpp-portrait { aspect-ratio: 3/2; }
  .fp-phil-grid { grid-template-columns: 1fr 1fr; }
  .fp-letter-body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .fphs-grid { flex-wrap: wrap; }
  .fphs-divider { display: none; }
  .fphs-item { padding: 14px 16px; min-width: 45%; }
  .fp-hero-name { font-size: 3rem; }
  .fp-letter-header { padding: 36px 28px 28px; }
  .fp-letter-text { padding: 32px 28px; border-right: none; border-bottom: 1px solid var(--gray-200); }
  .fp-phil-grid  { grid-template-columns: 1fr; }
  .fp-letter-aside { flex-direction: column; padding: 28px; }
}
@media (max-width: 480px) {
  .fp-hero-tags { flex-direction: column; align-items: flex-start; }
  .fp-career-item { grid-template-columns: 50px 1fr; }
}

/* ══════════════════════════════════════════
   ── Team Page ──
══════════════════════════════════════════ */
.tp-main { position: relative; }

/* Hero */
.tp-hero {
  position: relative; height: 560px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.tp-hero-bg { position: absolute; inset: 0; }
.tp-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.tp-hero-bg::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.55) 100%);
}
.tp-hero-overlay { display: none; }
.tp-hero-content {
  position: relative; z-index: 2; padding-bottom: 64px; padding-top: 64px;
}
.tp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.2; margin: 16px 0 16px; letter-spacing: -.01em;
}
.tp-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.85;
  max-width: 560px; margin-bottom: 48px;
}
.tp-hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-lg);
  padding: 0; overflow: hidden; width: fit-content;
}
.tphs-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 36px; gap: 4px;
}
.tphs-num {
  font-size: 1.8rem; font-weight: 900; color: var(--white); line-height: 1;
}
.tphs-unit { font-size: .85rem; font-weight: 700; color: var(--orange); }
.tphs-label { font-size: .7rem; color: rgba(255,255,255,.6); letter-spacing: .06em; }
.tphs-divider { width: 1px; height: 48px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Core Values */
.tpc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 0;
}
.tpc-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 36px 28px; border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.tpc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.tpc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: transparent; }
.tpc-card:hover::before { transform: scaleX(1); }
.tpc-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--white);
}
.tpc-icon svg { width: 28px; height: 28px; }
/* 核心價值 4 色 — 品牌色家族（深藍 / 暖橘 / 金棕 / 石墨） */
.tpc-icon-blue {
  background: linear-gradient(135deg, var(--blue-700, #1d4ed8) 0%, var(--blue-500, #3b82f6) 100%);
  box-shadow: 0 8px 22px rgba(29,78,216,.32);
}
.tpc-icon-orange {
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
  box-shadow: 0 8px 22px rgba(249,115,22,.32);
}
.tpc-icon-green { /* 改為金棕：誠信 = 金，呼應不動產 */
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  box-shadow: 0 8px 22px rgba(180,83,9,.30);
}
.tpc-icon-rose { /* 改為石墨：卓越 = 沉穩高級 */
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  box-shadow: 0 8px 22px rgba(30,41,59,.35);
}
.tpc-card h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.tpc-card p  { font-size: .84rem; color: var(--gray-500); line-height: 1.75; }

/* Departments */
.tpd-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.tpd-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.tpd-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.tpd-icon {
  padding: 32px 28px 20px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: rgba(255,255,255,.9);
}
.tpd-icon svg { width: 40px; height: 40px; }
.tpd-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tpd-num { font-size: .7rem; font-weight: 700; color: var(--orange); letter-spacing: .15em; }
.tpd-body h3 { font-size: 1rem; font-weight: 800; color: var(--ink); }
.tpd-body p { font-size: .82rem; color: var(--gray-500); line-height: 1.75; flex: 1; }
.tpd-tags {
  display: flex; flex-direction: column; gap: 5px; margin-top: 6px;
}
.tpd-tags li {
  font-size: .75rem; color: var(--blue-600);
  padding: 3px 0; display: flex; align-items: center; gap: 6px;
}
.tpd-tags li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-400); flex-shrink: 0;
}

/* Member Cards */
.tpm-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.tpm-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.tpm-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.tpm-img-wrap { position: relative; aspect-ratio: 3/3.6; overflow: hidden; }
.tpm-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.tpm-card:hover .tpm-img-wrap img { transform: scale(1.06); }
.tpm-dept-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-500); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 100px;
}
.tpm-dept-green  { background: #16a34a; }
.tpm-dept-purple { background: #7c3aed; }
.tpm-dept-rose   { background: #e11d48; }

.tpm-body { padding: 20px 22px; }
.tpm-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.tpm-name { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.tpm-role { font-size: .75rem; color: var(--gray-400); margin-top: 3px; }
.tpm-exp-badge {
  background: rgba(249,115,22,.12); color: var(--orange-dk);
  font-size: .7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}
.tpm-bio { font-size: .8rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.tpm-skills { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.tpm-skill-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: var(--gray-600);
}
.tpm-skill-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: var(--gray-100); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
}
.tpm-skill-icon svg { width: 16px; height: 16px; }
.tpm-cta {
  display: block; text-align: center; padding: 10px 16px;
  background: var(--blue-500); color: var(--white);
  border-radius: var(--r-sm); font-size: .82rem; font-weight: 700;
  transition: background .2s, transform .2s;
}
.tpm-cta:hover { background: var(--blue-600); transform: translateY(-2px); }

/* Join CTA */
.tp-join { background: linear-gradient(135deg, var(--blue-900) 0%, #0f2040 100%); }
.tp-join-inner {
  display: flex; align-items: center; gap: 64px;
  padding: 24px 0;
}
.tpj-icon {
  width: 96px; height: 96px; border-radius: 24px; flex-shrink: 0;
  background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.tpj-icon svg { width: 48px; height: 48px; }
.tpj-content { flex: 1; }
.tpj-content h2 { font-size: 1.7rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.tpj-content p  { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.85; margin-bottom: 28px; }
.tpj-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Team Page RWD */
@media (max-width: 1200px) {
  .tpc-grid, .tpd-grid, .tpm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tp-hero { height: auto; }
  .tp-hero-content { padding-bottom: 48px; }
  .tp-hero-stats { flex-wrap: wrap; width: 100%; }
  .tphs-item { flex: 1; min-width: 120px; padding: 16px; }
  .tphs-divider { display: none; }
  .tpc-grid, .tpd-grid, .tpm-grid { grid-template-columns: 1fr; }
  .tp-join-inner { flex-direction: column; gap: 32px; text-align: center; }
  .tpj-actions { justify-content: center; }
}

/* ══════════════════════════════════════════
   ── Services Page ──
══════════════════════════════════════════ */
.srv-main { position: relative; }

/* Hero */
.srv-hero {
  position: relative; height: 500px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.srv-hero-bg { position: absolute; inset: 0; }
.srv-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.srv-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.55) 100%);
}
.srv-hero-content {
  position: relative; z-index: 2; padding-bottom: 72px; padding-top: 64px;
}
.srv-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.2; margin: 16px 0 16px; letter-spacing: -.01em;
}
.srv-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.85; max-width: 580px;
}

/* Item Sections */
.srv-item-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.srv-item-layout.srv-reverse {
  direction: rtl; /* 技巧：用於反轉 grid 欄位（右圖左文） */
}
.srv-item-layout.srv-reverse > * {
  direction: ltr; /* 讓內容文字方向恢復正常 */
}
.srv-item-visual { position: relative; }
.siv-img-wrap {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--sh-xl); position: relative;
}
.siv-img-wrap::after {
  content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.15);
  border-radius: inherit; pointer-events: none;
}
.siv-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.srv-item-section:hover .siv-img-wrap img { transform: scale(1.04); }

.srv-item-content { padding: 20px 0; }

/* ── Services 編輯式標頭：大數字 + 金色襯線 + 外框 icon（取代色塊） ── */
.sic-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}

/* 大數字 — 深藍鋼鐵感襯線，金色細描邊 */
.sic-num {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--orange-dk) 130%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-right: 4px;
  flex-shrink: 0;
}
.sic-num::after {
  content: '';
  position: absolute;
  left: 0; bottom: 6px;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
  border-radius: 1px;
}

/* 金色細直線分隔 */
.sic-header::before {
  content: '';
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, rgba(249,115,22,.5), transparent);
  flex-shrink: 0;
  order: 1;
}
.sic-num { order: 0; }
.sic-icon { order: 2; }

/* Icon — 外框輪廓樣式，去除色塊 */
.sic-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--blue-200, #bfdbfe);
  color: var(--blue-700);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.6),
    0 6px 18px rgba(15,32,64,.08);
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}
.sic-icon::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--blue-400), rgba(249,115,22,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.sic-icon { position: relative; }
.sic-icon:hover { transform: translateY(-3px); border-color: transparent; color: var(--orange-dk); }
.sic-icon:hover::before { opacity: 1; }
.sic-icon svg { width: 26px; height: 26px; position: relative; z-index: 1; }

/* 舊色塊 class 全部統一為品牌中性外框（不再出現綠 / 紫 / 玫瑰） */
.sic-icon-blue,
.sic-icon-orange,
.sic-icon-green,
.sic-icon-purple,
.sic-icon-rose {
  background: transparent;
  color: var(--blue-700);
}
/* 偶數順位（第 2、4 個）改用橘色強調，與深藍交替維持品牌節奏 */
.srv-reverse .sic-icon { color: var(--orange-dk); border-color: rgba(249,115,22,.35); }
.srv-reverse .sic-num {
  background: linear-gradient(180deg, var(--orange-dk) 0%, var(--orange) 50%, var(--blue-900) 130%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.srv-reverse .sic-num::after {
  background: linear-gradient(90deg, var(--blue-700) 0%, transparent 100%);
}
.srv-reverse .sic-header::before {
  background: linear-gradient(180deg, transparent, rgba(15,32,64,.45), transparent);
}

@media (max-width: 768px) {
  .sic-header { gap: 16px; }
  .sic-num { font-size: clamp(2.8rem, 12vw, 3.6rem); }
  .sic-header::before { height: 44px; }
  .sic-icon { width: 48px; height: 48px; }
}

.sic-title { font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.sic-desc { font-size: .95rem; color: var(--gray-500); line-height: 1.85; margin-bottom: 32px; }

.sic-features { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.sic-features li {
  display: flex; align-items: flex-start; gap: 14px;
}
.sicf-icon {
  width: 24px; height: 24px; background: var(--blue-50); color: var(--blue-600);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.sicf-icon svg { width: 14px; height: 14px; }
.sic-features span { font-size: .95rem; color: var(--gray-600); line-height: 1.6; }
.sic-features strong { color: var(--ink); font-weight: 700; }

/* RWD */
@media (max-width: 900px) {
  .srv-item-layout { grid-template-columns: 1fr; gap: 48px; }
  .srv-item-layout.srv-reverse {
    /* 手機版一律圖片在上 */
    display: flex; flex-direction: column;
  }
  .srv-item-visual { order: -1; }
}
@media (max-width: 768px) {
  .srv-hero { height: auto; }
  .srv-hero-content { padding-bottom: 48px; }
  .sic-title { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════
   ── Trust Page (信任保證) ──
══════════════════════════════════════════ */
.tru-main { position: relative; }

/* Hero */
.tru-hero {
  position: relative; height: 500px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.tru-hero-bg { position: absolute; inset: 0; }
.tru-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.tru-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.55) 100%);
}
.tru-hero-content {
  position: relative; z-index: 2; padding-bottom: 72px; padding-top: 64px;
}
.tru-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin: 16px 0 16px; letter-spacing: -.01em;
}
.tru-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.85; max-width: 580px;
}

/* ── 服務相關：五大專業服務（精簡橫列，原精選物件頁併入） ── */
.tru-services { background: var(--white); }
.tru-svc-list { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.tru-svc-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center;
  background: var(--white); border: 1px solid var(--gray-100, #f1f5f9);
  border-radius: var(--r-lg, 18px); padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.tru-svc-row:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.tru-svc-media { position: relative; border-radius: var(--r-md, 14px); overflow: hidden; aspect-ratio: 16/10; }
.tru-svc-media img { width: 100%; height: 100%; object-fit: cover; }
.tru-svc-no {
  position: absolute; top: 10px; left: 10px;
  background: rgba(10,22,40,.72); color: #fff; font-weight: 800; font-size: .8rem;
  padding: 3px 9px; border-radius: 8px; letter-spacing: .04em;
}
.tru-svc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tru-svc-icon { width: 40px; height: 40px; flex: none; color: var(--orange); display: grid; place-items: center; background: rgba(249,115,22,.1); border-radius: 12px; }
.tru-svc-icon svg { width: 22px; height: 22px; }
.tru-svc-title { font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.tru-svc-title .text-accent { color: var(--orange); font-weight: 700; }
.tru-svc-desc { font-size: .92rem; color: var(--gray-600, #475569); line-height: 1.7; margin-bottom: 10px; }
.tru-svc-feats { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tru-svc-feats li { display: flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--gray-700, #334155); }
.tru-svc-feats li svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
@media (max-width: 768px) {
  .tru-svc-row { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .tru-svc-media { aspect-ratio: 16/9; }
  .tru-svc-title { font-size: 1.08rem; }
}

/* 4 Core Promises (Cards Grid) */
.tru-cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.tru-card {
  background: var(--white); border-radius: var(--r-md); padding: 40px;
  box-shadow: var(--sh-md); transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.tru-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), transparent); opacity: 0; transition: opacity .3s;
}
.tru-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.tru-card:hover::before { opacity: 1; }

.tru-card-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.tru-card-icon svg { width: 28px; height: 28px; }
/* 品牌標準色：深藍 × 橘色（不再使用 rose / green / purple） */
.tru-bg-blue        { background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); }
.tru-bg-orange      { background: linear-gradient(135deg, var(--orange-lt), var(--orange-dk)); }
.tru-bg-blue-deep   { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.tru-bg-orange-deep { background: linear-gradient(135deg, var(--orange-dk), #9a3412); }
/* 舊 class 別名 → 統一品牌色，避免出現粉紅 / 綠 / 紫 */
.tru-bg-rose,
.tru-bg-purple { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.tru-bg-green  { background: linear-gradient(135deg, var(--orange-dk), #9a3412); }

.tru-card-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.tru-card-desc { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* Secure Process (Timeline) */
.tru-steps-container {
  max-width: 800px; margin: 0 auto; position: relative; padding: 20px 0;
}
.tru-step-line {
  position: absolute; top: 0; bottom: 0; left: 24px; width: 2px;
  background: var(--gray-200); z-index: 0;
}
.tru-step {
  display: flex; align-items: flex-start; gap: 32px; position: relative; z-index: 1;
  margin-bottom: 48px;
}
.tru-step:last-child { margin-bottom: 0; }
.tru-step-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(249,115,22,.15);
}
.tru-step-dot span { font-size: 1.2rem; font-weight: 900; color: var(--orange); }
.tru-step-content {
  background: var(--white); padding: 32px; border-radius: var(--r-md); flex: 1;
  box-shadow: var(--sh-sm); border: 1px solid var(--gray-100);
}
.tru-step-content h4 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.tru-step-content p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* RWD */
@media (max-width: 900px) {
  .tru-cards-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .tru-hero { height: auto; }
  .tru-hero-content { padding-bottom: 48px; }
  .tru-step { gap: 20px; }
  .tru-step-content { padding: 24px; }
}

/* ══════════════════════════════════════════
   ── Cases Page (成功案例) ──
══════════════════════════════════════════ */
.cas-main { position: relative; }

/* Hero */
.cas-hero {
  position: relative; height: 460px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.cas-hero-bg { position: absolute; inset: 0; }
.cas-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.cas-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.25) 0%, rgba(10,22,40,.15) 100%);
}
.cas-hero-content {
  position: relative; z-index: 2; padding-bottom: 64px; padding-top: 64px; text-align: center; max-width: 780px; margin: 0 auto;
}
.cas-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin: 16px 0 16px; letter-spacing: -.01em;
}
.cas-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.85;
}

/* 篩選列 Filters */
.cas-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px;
}
.cas-filter-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--gray-300);
  background: transparent; color: var(--gray-600);
  font-size: .85rem; font-weight: 600; font-family: var(--font);
  transition: all .25s;
}
.cas-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.cas-filter-btn.active {
  background: var(--ink); border-color: var(--ink); color: var(--white);
  box-shadow: var(--sh-sm);
}

/* Grid & Cards */
.cas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.cas-card {
  background: var(--white); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-md); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.cas-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.cas-img-wrap {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.cas-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cas-card:hover .cas-img-wrap img { transform: scale(1.05); }

.cas-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--orange); color: var(--white);
  font-size: 1.25rem; font-weight: 900; padding: 6px 17px; border-radius: 8px;
  letter-spacing: .04em; box-shadow: 0 4px 12px rgba(10,22,40,.22);
}
.cas-tag-green { background: #10b981; }
.cas-tag-purple { background: #8b5cf6; }
.cas-tag-blue { background: var(--blue-500); }
.cas-tag-rose { background: #fb7185; }

.cas-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.cas-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cas-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: .75rem; color: var(--gray-500); font-weight: 500;
}

.cas-title { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; line-height: 1.4; }
.cas-desc { font-size: .88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 24px; flex: 1; }

.cas-result {
  background: linear-gradient(135deg, #0f2034, #15293f);
  border-radius: var(--r-md, 14px); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 18px rgba(10,22,40,.14);
}
.cr-label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.72); letter-spacing: .02em; }
.cr-value { font-size: 1.1rem; font-weight: 800; }
/* 成交金額：深底 + 亮金橘，強對比 */
.cas-result .cr-value,
.cas-result .cr-value.text-accent { color: #ffb547; font-size: 1.35rem; font-weight: 900; }

/* RWD */
@media (max-width: 1024px) {
  .cas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cas-hero { height: auto; }
  .cas-hero-content { padding-bottom: 48px; }
  .cas-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   ── Contact Page (聯絡我們) ──
══════════════════════════════════════════ */
.con-main { position: relative; }

/* Hero */
.con-hero {
  position: relative; height: 420px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.con-hero-bg { position: absolute; inset: 0; }
.con-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.con-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.6) 100%);
}
.con-hero-content {
  position: relative; z-index: 2; padding-bottom: 64px; padding-top: 64px; text-align: center; max-width: 780px; margin: 0 auto;
}
.con-hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin: 16px 0 16px; letter-spacing: -.01em;
}
.con-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.85; margin: 0 auto;
}

/* Map area */
.con-map { filter: drop-shadow(var(--sh-md)); }
.con-map iframe { border-radius: var(--r-xl); }

/* RWD */
@media (max-width: 768px) {
  .con-hero { height: auto; }
  .con-hero-content { padding-bottom: 48px; }
  .con-map { height: 300px !important; margin-top: 40px !important; }
}

/* ══════════════════════════════════════════
   ── Search Page (搜尋物件) ──
══════════════════════════════════════════ */
.sch-main { position: relative; }

/* Hero 搜尋區 */
.sch-hero {
  position: relative; min-height: 480px;
  display: flex; align-items: center; overflow: hidden;
  /* 留出固定導覽列高度，避免置中內容（麵包屑）頂到左上角 logo */
  padding-top: var(--nav-h);
}
.sch-hero-bg { position: absolute; inset: 0; }
.sch-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.sch-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.7) 60%, rgba(10,22,40,.5) 100%);
}
.sch-hero-inner {
  position: relative; z-index: 2;
  width: 100%; padding: 40px 0 60px;
}
.sch-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin: 14px 0 10px;
}
.sch-hero-sub { font-size: .95rem; color: rgba(255,255,255,.6); margin-bottom: 0; }

/* 搜尋条區塊（英雄區下方） */
.sch-search-band {
  background: var(--white);
  padding: 32px 0;
  box-shadow: 0 4px 24px rgba(10,22,40,.08);
  position: relative; z-index: 10;
  border-bottom: 1px solid var(--gray-100);
}

/* 搜尋主列 */
.sch-bar {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-xl); overflow: hidden;
}

/* 類型 Tabs */
.sch-bar-tabs {
  display: flex; border-bottom: 1px solid var(--gray-100);
  background: var(--gray-100);
}
.sbt-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 22px; font-size: .85rem; font-weight: 600;
  color: var(--gray-500); border-radius: 0;
  transition: all .2s; white-space: nowrap;
  border-bottom: 3px solid transparent; background: transparent;
}
.sbt-tab:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.sbt-tab.active {
  color: var(--orange); background: var(--white);
  border-bottom-color: var(--orange); font-weight: 700;
}

/* 篩選條件列 */
.sch-filters-row {
  display: flex; align-items: center; gap: 0;
  padding: 16px 20px; flex-wrap: nowrap; overflow-x: auto;
}
.sfrSelect-wrap {
  display: flex; align-items: center; gap: 6px; position: relative;
  padding: 0 12px; border-right: 1px solid var(--gray-200);
  flex-shrink: 0; min-width: 124px;
}
.sfrSelect-wrap > svg { color: var(--gray-400); flex-shrink: 0; }
.sfr-select {
  appearance: none; -webkit-appearance: none;
  border: none; outline: none; background: transparent;
  font-family: var(--font); font-size: .9rem; font-weight: 600;
  color: var(--ink); padding: 10px 24px 10px 0; cursor: pointer; width: 100%;
}
.sfr-arrow {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); pointer-events: none;
}
.sfr-more-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-right: 1px solid var(--gray-200);
  font-size: .9rem; font-weight: 600; color: var(--gray-600);
  flex-shrink: 0; white-space: nowrap; transition: color .2s;
}
.sfr-more-btn:hover { color: var(--orange); }
.sfr-input-wrap {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; flex: 1 1 260px; min-width: 230px;
}
.sfr-input-wrap > svg { color: var(--gray-400); flex-shrink: 0; }
.sfr-input {
  flex: 1; border: none; outline: none; font-family: var(--font);
  font-size: .9rem; color: var(--ink); padding: 10px 0;
  background: transparent;
}
.sfr-input::placeholder { color: var(--gray-400); }
.sfr-submit-wrap {
  padding: 8px 12px; flex-shrink: 0;
}
.sfr-submit-btn {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 11px 24px; background: var(--orange); color: var(--white);
  font-size: .95rem; font-weight: 700; font-family: var(--font);
  border-radius: 8px; transition: background .2s, transform .15s;
}
.sfr-submit-btn:hover { background: var(--orange-dk); transform: translateY(-1px); }

/* ── 自訂下拉（取代原生 select 的清單，做出設計感）── */
.sfrSelect-wrap.sfr-dd { cursor: pointer; user-select: none; }
.sfrSelect-wrap.sfr-dd .sfr-select { display: none; }   /* 原生 select 隱藏但仍送出值 */
.sfr-dd-text {
  flex: 1; min-width: 0; font-size: .9rem; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 10px 22px 10px 0; line-height: 1.2;
}
.sfr-dd-text.is-placeholder { color: var(--gray-400); }
.sfrSelect-wrap.sfr-dd.is-disabled { opacity: .55; cursor: default; }
.sfr-dd .sfr-arrow { transition: transform .2s var(--ease-out); }
.sfrSelect-wrap.sfr-dd.open .sfr-arrow { transform: translateY(-50%) rotate(180deg); color: var(--orange); }
.sfr-dd-panel {
  position: fixed; z-index: 1200; min-width: 180px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px;
  box-shadow: 0 14px 38px rgba(15,23,42,.16); padding: 7px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transform-origin: top left;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
  max-height: 320px; overflow-y: auto;
  scrollbar-width: none;          /* Firefox：隱藏捲軸 */
  -ms-overflow-style: none;       /* IE / 舊 Edge */
}
.sfr-dd-panel::-webkit-scrollbar { width: 0; height: 0; display: none; }  /* Chrome / Safari / Edge */
.sfr-dd-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.sfr-dd-option {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 9px; font-size: .9rem; font-weight: 500;
  color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: background .14s, color .14s;
}
.sfr-dd-option:hover { background: rgba(249,115,22,.12); color: var(--orange-dk, #c2410c); }
.sfr-dd-option.is-selected { background: var(--orange); color: #fff; font-weight: 700; }
.sfr-dd-option.is-selected:hover { background: var(--orange-dk, #c2410c); color: #fff; }
.sfr-dd-option::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: 0; flex: none; transition: opacity .14s;
}
.sfr-dd-option.is-selected::before, .sfr-dd-option:hover::before { opacity: .55; }

/* 進階篩選 Panel */
.sch-advanced {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-io), padding .3s;
  border-top: 0 solid var(--gray-100);
}
.sch-advanced.open {
  max-height: 400px;
  padding: 28px 24px;
  border-top-width: 1px;
}
.sca-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.sca-label {
  font-size: .8rem; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px;
  display: block;
}
.sca-range { display: flex; align-items: center; gap: 8px; }
.sca-input {
  flex: 1; border: 1.5px solid var(--gray-200); border-radius: var(--r-sm);
  padding: 8px 10px; font-family: var(--font); font-size: .85rem; color: var(--ink);
  outline: none; transition: border-color .2s;
}
.sca-input:focus { border-color: var(--orange); }
.sca-dash { color: var(--gray-400); font-size: .85rem; }
.sca-unit { font-size: .85rem; color: var(--gray-500); white-space: nowrap; }
.sca-checks { display: flex; flex-direction: column; gap: 8px; }
.sca-chk {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--gray-700); cursor: pointer;
}
.sca-chk input[type=checkbox] { accent-color: var(--orange); width: 15px; height: 15px; }

/* 結果統計列 */
.sch-results-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.srh-count { font-size: 1rem; color: var(--gray-600); }
.srh-count strong { color: var(--ink); font-size: 1.2rem; font-weight: 800; margin: 0 3px; }
.srh-sub { font-size: .82rem; color: var(--gray-400); margin-left: 10px; }

.srh-sort { display: flex; align-items: center; gap: 8px; }
.srhs-label { font-size: .85rem; color: var(--gray-500); }
.srhSort-select {
  border: 1.5px solid var(--gray-200); border-radius: var(--r-sm);
  padding: 7px 12px; font-family: var(--font); font-size: .85rem;
  color: var(--ink); outline: none; background: var(--white);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}

/* 物件卡片 Grid */
.sch-prop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 48px;
}
.prop-card {
  background: var(--white); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-md); display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.prop-img-wrap {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.prop-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out);
}
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }

.prop-badges {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.prop-badge {
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 4px;
  letter-spacing: .02em;
}
.prop-badge-new    { background: var(--orange); color: var(--white); }
.prop-badge-hot    { background: #ef4444; color: var(--white); }
.prop-badge-rent   { background: var(--blue-500); color: var(--white); }
.prop-badge-type   { background: rgba(10,22,40,.75); color: var(--white); }
.prop-badge-type-green  { background: rgba(16,185,129,.85); color: var(--white); }
.prop-badge-type-purple { background: rgba(139,92,246,.85); color: var(--white); }
/* 物件狀態：已預訂 / 已成交 — 用更穩重的灰底章戳感 */
.prop-badge-status {
  background: rgba(15, 23, 42, .85);
  color: var(--white);
  letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
/* 物件類型徽章：右下角，與狀態 / 交易類型分離，視覺更乾淨 */
.prop-type-tag {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  font-size: .72rem; font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(10,22,40,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prop-fav {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); transition: all .2s; box-shadow: var(--sh-sm);
}
.prop-fav:hover { color: #ef4444; background: var(--white); }
/* 精選物件「金色獎章」比讚徽章（高擬真向量金幣，整顆即 SVG）*/
.prop-fav.active {
  width: 52px; height: 52px;
  top: 12px; right: 12px;
  background: transparent; border: none; backdrop-filter: none; padding: 0;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(120,80,0,.40);
}
.prop-fav.active .pf-medal { width: 100%; height: 100%; display: block; }
.prop-fav.active .pf-img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(80,55,0,.4)); }
.prop-fav.active:has(.pf-img) { box-shadow: none; }

.prop-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.prop-location {
  display: flex; align-items: center; gap: 4px;
  font-size: .78rem; color: var(--gray-500); font-weight: 500; margin-bottom: 10px;
}
.prop-title {
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
  margin-bottom: 16px; line-height: 1.45; flex: 1;
}
.prop-specs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;
}
.pspec-item {
  display: flex; align-items: center; gap: 5px;
  background: var(--gray-100); border-radius: 6px; padding: 5px 10px;
  font-size: .78rem; color: var(--gray-600); font-weight: 600;
}
.pspec-item svg { color: var(--blue-500); flex-shrink: 0; }

.prop-price-row {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--gray-100); padding-top: 16px;
  margin-top: auto;
}
.prop-price {
  font-size: 1.4rem; font-weight: 900; color: var(--orange);
}
.pp-unit { font-size: .85rem; font-weight: 600; color: var(--gray-500); margin-left: 2px; }
.prop-cta-btn {
  background: var(--ink); color: var(--white);
  padding: 9px 18px; border-radius: 8px;
  font-size: .8rem; font-weight: 700; font-family: var(--font);
  transition: background .2s; white-space: nowrap;
}
.prop-cta-btn:hover { background: var(--blue-700); }

/* 交易類型徽章（售/租）放大加粗 */
.prop-badge--deal {
  font-size: 1.15rem; font-weight: 900;
  padding: 4px 14px; border-radius: 7px; letter-spacing: .04em;
  line-height: 1.15; box-shadow: 0 4px 12px rgba(10,22,40,.22);
}
/* 價格列：價格 + 按鈕組（來電洽詢 / 查看詳情）維持「同一行」 */
.prop-price-row { flex-wrap: nowrap; gap: 8px; align-items: center; }
.prop-price { font-size: 1.25rem; white-space: nowrap; }   /* 由 1.4rem 縮小，讓兩顆按鈕同行不掉行 */
.prop-cta-group { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.prop-cta-call {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--orange); color: var(--white);
  padding: 8px 12px; border-radius: 8px;
  font-size: .78rem; font-weight: 700; font-family: var(--font);
  white-space: nowrap; cursor: pointer; transition: background .2s, transform .15s;
}
.prop-cta-call:hover { background: var(--orange-dk, #c2410c); transform: translateY(-1px); }
.prop-cta-call svg { flex: none; }
.prop-cta-group .prop-cta-btn { padding: 8px 12px; font-size: .78rem; }
/* 手機版：顯示完整「來電洽詢」文字（單欄卡片較寬，放得下）；
   真的太窄時整列自動換行（按鈕含文字掉到下一行），不再縮成 icon */
@media (max-width: 480px) {
  .prop-price-row { flex-wrap: wrap; row-gap: 12px; }
  .prop-cta-group { margin-left: auto; }
  .prop-cta-call, .prop-cta-group .prop-cta-btn { padding: 9px 14px; }
}

/* 分頁 */
.sch-pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pg-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 600; font-family: var(--font);
  border: 1.5px solid var(--gray-200); color: var(--gray-600);
  transition: all .2s;
}
.pg-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.pg-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-ellipsis { color: var(--gray-400); padding: 0 4px; line-height: 40px; }

/* CTA Icon */
.sch-cta-icon {
  width: 80px; height: 80px; border-radius: 24px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}

/* RWD */
@media (max-width: 1100px) {
  .sch-prop-grid { grid-template-columns: repeat(2, 1fr); }
  .sca-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sfrSelect-wrap { min-width: 118px; }
}
@media (max-width: 768px) {
  .sch-hero { min-height: auto; }
  .sch-hero-inner { padding: 80px 0 60px; }
  .sch-search-band { padding: 20px 0; }
  .sch-filters-row { gap: 0; flex-wrap: wrap; }
  .sfrSelect-wrap { min-width: calc(50% - 1px); border-right: none; border-bottom: 1px solid var(--gray-200); }
  .sfr-more-btn { width: 100%; border-right: none; border-bottom: 1px solid var(--gray-200); justify-content: center; }
  .sfr-input-wrap { width: 100%; border-bottom: 1px solid var(--gray-200); }
  .sfr-submit-wrap { width: 100%; padding: 12px; }
  .sfr-submit-btn { width: 100%; justify-content: center; }
  .sch-prop-grid { grid-template-columns: 1fr; }
  .sch-bar-tabs { overflow-x: auto; }
  .sca-grid { grid-template-columns: 1fr; }
  .sch-results-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ══════════════════════════════════════════
   ── Property Detail Page (物件詳情) ──
══════════════════════════════════════════ */
.pdt-main { background: var(--gray-100); }
.pdt-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white); padding: 110px 0 40px;
}
.pdt-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; line-height: 1;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 15px; border-radius: 999px;
  margin-bottom: 16px; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.pdt-back:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.pdt-back svg { display: block; }
.pdt-crumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.pdt-crumb a { color: rgba(255,255,255,.75); }
.pdt-crumb a:hover { color: var(--orange); }
.pdt-crumb span.sep { margin: 0 8px; opacity: .5; }
.pdt-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pdt-badge {
  font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 4px;
  letter-spacing: .03em; background: rgba(255,255,255,.15); color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
}
.pdt-badge-deal { background: var(--orange); border-color: var(--orange); }
.pdt-badge-status { background: #ef4444; border-color: #ef4444; }
.pdt-badge-code { background: rgba(255,255,255,.06); font-family: var(--font-mono); }
.pdt-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; color: var(--white); line-height: 1.3; margin: 0 0 12px; }
.pdt-addr { font-size: .92rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }

.pdt-body { padding: 40px 0 80px; }
.pdt-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }

.pdt-card {
  background: var(--white); border-radius: var(--r-md, 12px); box-shadow: var(--sh-md);
  padding: 24px 28px; margin-bottom: 20px;
}
.pdt-card-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.pdt-card-title .ic { color: var(--orange); }

.pdt-gallery { background: var(--white); border-radius: var(--r-md, 12px); box-shadow: var(--sh-md); overflow: hidden; margin-bottom: 20px; }
.pdt-gal-main { aspect-ratio: 16/10; background: var(--gray-100); overflow: hidden; }
.pdt-gal-main img { width: 100%; height: 100%; object-fit: cover; }
.pdt-gal-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.pdt-gal-thumb {
  flex-shrink: 0; width: 96px; height: 72px; border-radius: 6px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; transition: border-color .2s;
}
.pdt-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdt-gal-thumb.active { border-color: var(--orange); }

.pdt-specs { display: grid; grid-template-columns: 120px 1fr; gap: 12px 18px; font-size: .9rem; }
.pdt-specs dt { color: var(--gray-500); font-weight: 600; }
.pdt-specs dd { color: var(--ink); margin: 0; font-weight: 600; }
.pdt-specs dd.price { color: var(--orange); font-weight: 800; }

.pdt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdt-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--blue-50); color: var(--blue-700);
  padding: 6px 12px; border-radius: 100px; font-size: .82rem; font-weight: 600;
}

.pdt-content { font-size: .94rem; line-height: 1.85; color: var(--gray-700, #334155); }
.pdt-content p { margin: 0 0 12px; }
.pdt-content h2, .pdt-content h3 { font-weight: 800; color: var(--ink); margin: 18px 0 10px; }

.pdt-map iframe, .pdt-map-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; }

.pdt-sidebar { position: sticky; top: 90px; }
.pdt-agent { text-align: center; padding: 28px 24px; }
.pdt-agent-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: block; box-shadow: var(--sh-sm); }
.pdt-agent-avatar.fallback { background: var(--gray-200); color: var(--gray-500); display: flex; align-items: center; justify-content: center; }
.pdt-agent-label { font-size: .75rem; color: var(--gray-500); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.pdt-agent-name { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.pdt-agent-role { font-size: .85rem; color: var(--gray-500); margin-bottom: 14px; }
.pdt-agent-phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 18px;
  background: var(--blue-500); color: var(--white);
  border-radius: 100px; font-weight: 700; font-size: .9rem;
}
.pdt-agent-phone:hover { background: var(--blue-600); }

.pdt-form-group { margin-bottom: 12px; }
.pdt-form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--gray-600); margin-bottom: 5px; }
.pdt-form-label .req { color: #ef4444; }
.pdt-form-input, .pdt-form-textarea {
  width: 100%; padding: 9px 12px; font-family: var(--font); font-size: .9rem;
  border: 1.5px solid var(--gray-200); border-radius: 8px; outline: none;
  transition: border-color .2s; background: var(--white); color: var(--ink);
}
.pdt-form-input:focus, .pdt-form-textarea:focus { border-color: var(--orange); }
.pdt-form-textarea { resize: vertical; min-height: 80px; }
.pdt-form-submit {
  width: 100%; padding: 12px; background: var(--orange); color: var(--white);
  border: none; border-radius: 100px; font-weight: 700; font-size: .92rem;
  font-family: var(--font); cursor: pointer; transition: background .2s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pdt-form-submit:hover { background: var(--orange-dk); transform: translateY(-1px); }

.pdt-alert { padding: 11px 14px; border-radius: 8px; font-size: .85rem; margin-bottom: 12px; }
.pdt-alert-ok { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.pdt-alert-err { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

@media (max-width: 900px) {
  .pdt-grid { grid-template-columns: 1fr; }
  .pdt-sidebar { position: static; }
  .pdt-specs { grid-template-columns: 100px 1fr; }
}

/* ══════════════════════════════════════════
   ── Market Intelligence Page (市場情報) ──
══════════════════════════════════════════ */
.mkt-main { position: relative; }

/* ── Hero ── */
.mkt-hero {
  position: relative; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
}
.mkt-hero-bg { position: absolute; inset: 0; }
.mkt-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.mkt-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.75) 55%, rgba(10,22,40,.45) 100%);
}
.mkt-hero-content {
  position: relative; z-index: 2; padding: 120px 0 80px; max-width: 660px;
}
.mkt-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.2; margin: 14px 0 16px; letter-spacing: -.01em;
}
.mkt-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.65); line-height: 1.85; margin-bottom: 36px;
}
.mkt-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.mkt-htag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px); color: rgba(255,255,255,.75);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  transition: border-color .2s, background .2s;
}
.mkt-htag:hover { border-color: rgba(249,115,22,.6); background: rgba(249,115,22,.1); color: #fff; }

/* ── Featured Layout ── */
.mkt-featured {
  display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start;
}

/* Main Feature */
.mkt-feat-main {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg); transition: transform .35s var(--ease-out), box-shadow .35s;
  background: var(--white);
}
.mkt-feat-main:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.mkt-feat-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.mkt-feat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.mkt-feat-main:hover .mkt-feat-img-wrap img { transform: scale(1.04); }
.mkt-feat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.6) 0%, transparent 60%);
}
.mkt-feat-cat {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--orange); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 4px; text-transform: uppercase;
}
.mkt-feat-body { padding: 32px 36px 36px; }
.mkt-feat-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.mkt-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--gray-500); font-weight: 500;
}
.mkt-feat-title {
  font-size: 1.45rem; font-weight: 900; color: var(--ink);
  line-height: 1.4; margin-bottom: 16px; letter-spacing: -.01em;
  transition: color .2s;
}
.mkt-feat-main:hover .mkt-feat-title { color: var(--orange); }
.mkt-feat-desc { font-size: .92rem; color: var(--gray-500); line-height: 1.85; margin-bottom: 28px; }
.mkt-feat-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 700; color: var(--orange);
  border-bottom: 1.5px solid var(--orange); padding-bottom: 2px;
  transition: gap .2s;
}
.mkt-feat-main:hover .mkt-feat-cta { gap: 12px; }

/* Side Cards */
.mkt-feat-side { display: flex; flex-direction: column; gap: 16px; }
.mkt-side-card {
  display: grid; grid-template-columns: 100px 1fr; gap: 0;
  background: var(--white); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-md); transition: transform .3s, box-shadow .3s;
}
.mkt-side-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.mkt-side-img { position: relative; overflow: hidden; }
.mkt-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mkt-side-card:hover .mkt-side-img img { transform: scale(1.08); }
.mkt-side-cat {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 3px;
  color: var(--white); text-transform: uppercase; letter-spacing: .04em;
}
.mkt-cat-law      { background: #6366f1; }
.mkt-cat-strategy { background: #10b981; }
.mkt-cat-region   { background: #f59e0b; }
.mkt-cat-market   { background: var(--orange); }
.mkt-cat-guide    { background: var(--blue-500); }

.mkt-side-body { padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.mkt-side-date { font-size: .72rem; color: var(--gray-400); font-weight: 500; margin-bottom: 6px; }
.mkt-side-title {
  font-size: .88rem; font-weight: 700; color: var(--ink);
  line-height: 1.5; flex: 1; transition: color .2s;
}
.mkt-side-card:hover .mkt-side-title { color: var(--orange); }
.mkt-side-read {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: var(--gray-400); margin-top: 8px;
}

/* ── Data Strip ── */
.mkt-data-strip {
  background: linear-gradient(135deg, var(--blue-900) 0%, #0f2040 100%);
  padding: 48px 0;
}
.mkt-data-inner {
  display: flex; align-items: stretch; justify-content: space-between; gap: 0;
}
.mkt-data-item {
  flex: 1; display: flex; align-items: center; gap: 20px; padding: 0 32px;
}
.mkt-data-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.25);
  display: flex; align-items: center; justify-content: center; color: var(--orange);
}
.mkt-data-num {
  font-size: 2.2rem; font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 6px; letter-spacing: -.02em;
}
.mkt-data-unit { font-size: 1.1rem; font-weight: 600; color: var(--orange); margin-left: 2px; }
.mkt-data-label { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.mkt-data-divider { width: 1px; height: 64px; background: rgba(255,255,255,.08); flex-shrink: 0; align-self: center; }

/* ── Category Filter ── */
.mkt-cat-filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px;
}
.mkt-cat-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 100px;
  border: 1.5px solid var(--gray-200); background: var(--white);
  color: var(--gray-500); font-size: .84rem; font-weight: 600;
  font-family: var(--font); transition: all .22s; white-space: nowrap;
}
.mkt-cat-btn:hover { border-color: var(--orange); color: var(--orange); }
.mkt-cat-btn.active {
  background: var(--ink); border-color: var(--ink); color: var(--white);
  box-shadow: var(--sh-sm);
}

/* ── Article Grid ── */
.mkt-article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 0;
}
.mkt-article-card {
  background: var(--white); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-md); display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.mkt-article-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.maa-img-link { display: block; }
.maa-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.maa-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.mkt-article-card:hover .maa-img-wrap img { transform: scale(1.06); }

.maa-cat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 4px;
  color: var(--white); letter-spacing: .04em; text-transform: uppercase;
}
.maa-cat-market   { background: var(--orange); }
.maa-cat-law      { background: #6366f1; }
.maa-cat-strategy { background: #10b981; }
.maa-cat-region   { background: #f59e0b; }
.maa-cat-guide    { background: var(--blue-500); }

.maa-body { padding: 24px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.maa-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.maa-meta-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; color: var(--gray-400); font-weight: 500;
}
.maa-title {
  font-size: 1rem; font-weight: 800; color: var(--ink);
  line-height: 1.55; margin-bottom: 12px; flex: 1;
}
.maa-title a { transition: color .2s; }
.maa-title a:hover { color: var(--orange); }
.maa-excerpt { font-size: .84rem; color: var(--gray-500); line-height: 1.75; margin-bottom: 20px; }
.maa-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--gray-100); padding-top: 16px; margin-top: auto;
}
.maa-author { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--gray-500); font-weight: 500; }
.maa-author-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.maa-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 700; color: var(--orange);
  transition: gap .2s;
}
.maa-read-more:hover { gap: 9px; }

/* ── Newsletter ── */
.mkt-newsletter {
  background: linear-gradient(135deg, var(--blue-900) 0%, #0a2050 60%, #0a1628 100%);
  position: relative; overflow: hidden;
}
.mkt-newsletter::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 70%);
}
.mkt-nl-inner {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.mkt-nl-deco {
  width: 80px; height: 80px; border-radius: 24px; flex-shrink: 0;
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
}
.mkt-nl-desc {
  font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.8; margin-top: 8px;
}
.mkt-nl-form { display: flex; gap: 12px; flex-shrink: 0; }
.mkt-nl-input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 0 16px; min-width: 260px;
  transition: border-color .2s, background .2s;
}
.mkt-nl-input-wrap:focus-within {
  border-color: rgba(249,115,22,.5); background: rgba(255,255,255,.12);
}
.mkt-nl-input-wrap > svg { color: rgba(255,255,255,.3); flex-shrink: 0; }
.mkt-nl-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font); font-size: .9rem; color: var(--white);
  padding: 14px 0;
}
.mkt-nl-input::placeholder { color: rgba(255,255,255,.3); }
.mkt-nl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; background: var(--orange); color: var(--white);
  border-radius: 10px; font-size: .9rem; font-weight: 700;
  font-family: var(--font); white-space: nowrap;
  transition: background .2s, transform .15s;
}
.mkt-nl-btn:hover { background: var(--orange-dk); transform: translateY(-1px); }

/* ── RWD ── */
@media (max-width: 1100px) {
  .mkt-featured { grid-template-columns: 1fr; }
  .mkt-feat-side { flex-direction: row; }
  .mkt-side-card { grid-template-columns: 120px 1fr; }
  .mkt-article-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt-data-inner { flex-wrap: wrap; }
  .mkt-data-item { flex: 1 1 calc(50% - 8px); padding: 20px 24px; }
  .mkt-data-divider { display: none; }
  .mkt-nl-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .mkt-nl-deco { margin: 0 auto; }
  .mkt-nl-form { justify-content: center; }
}
@media (max-width: 768px) {
  .mkt-hero { min-height: auto; }
  .mkt-hero-content { padding: 100px 0 64px; }
  .mkt-feat-side { flex-direction: column; }
  .mkt-side-card { grid-template-columns: 90px 1fr; }
  .mkt-article-grid { grid-template-columns: 1fr; }
  .mkt-data-item { flex: 1 1 100%; border-bottom: 1px solid rgba(255,255,255,.06); padding: 20px 0; }
  .mkt-nl-form { flex-direction: column; width: 100%; }
  .mkt-nl-input-wrap { min-width: auto; }
}

/* ============================================================
   ✨ 11. 設計系統同調化層 (Design System Unification Layer)
   新增於 2026-04-27
   目的：統一全站 token、元件、麵包屑、CTA、Alert、Form、Badge
   ============================================================ */

/* ── 11.1 補完 Token 層 ── */
:root {
  --success-bg: #ecfdf5; --success-bd: #a7f3d0; --success-ink: #065f46;
  --danger-bg:  #fef2f2; --danger-bd:  #fecaca; --danger-ink: #991b1b;
  --warning-bg: #fef3c7; --warning-bd: #fde68a; --warning-ink:#92400e;
  --info-bg:    #eff6ff; --info-bd:    #bfdbfe; --info-ink:   #1e40af;

  --space-section-sm: clamp(56px, 8vw, 72px);
  --space-section-md: clamp(72px, 10vw, 96px);
  --space-section-lg: clamp(96px, 14vw, 128px);

  --t-fast: .15s;
  --t-base: .25s;
  --t-mid:  .4s;
  --t-slow: .6s;

  --z-nav: 1000;
  --z-progress: 10000;
  --z-loader: 99999;

  /* 內頁 Banner 統一尺寸：鎖定 1920:820 比例（詳見檔尾 11.18b）。
     改圖片建議尺寸時，這裡跟後台 media_picker_field.php 的 hint 要一起改。 */
  --inner-hero-ratio: 1920 / 820;
  --inner-hero-min-h: 540px;   /* 窄視窗時的高度下限，確保 Banner 內容不被裁切 */
}

/* ── 11.2 焦點態統一 ── */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.btn-hero-primary:focus-visible,
.btn-hero-ghost:focus-visible,
.btn-cta-primary:focus-visible,
.btn-cta-ghost:focus-visible,
.btn-submit:focus-visible,
.nav-links a:focus-visible,
.nav-phone:focus-visible {
  outline-offset: 4px;
}

/* ── 11.3 麵包屑統一元件（.breadcrumb 與舊 .ap-breadcrumb 共用樣式） ── */
.breadcrumb,
.ap-breadcrumb {
  position: static;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
}
.breadcrumb a,
.ap-breadcrumb a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-io);
  position: relative;
}
.breadcrumb a:hover,
.ap-breadcrumb a:hover { color: var(--orange-lt); }
.breadcrumb a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease-out);
}
.breadcrumb a:hover::after { transform: scaleX(1); }
.breadcrumb__sep,
.ap-breadcrumb .apb-sep {
  color: rgba(255,255,255,.4);
  font-size: .9em;
}
.breadcrumb [aria-current="page"],
.ap-breadcrumb > span:last-child {
  color: var(--white);
  font-weight: 600;
}
/* 手機 / 平板：所有內頁麵包屑改回正常流（避免絕對定位壓到 Hero 大標）。
   斷點由 768 → 991 涵蓋平板區間；因所有內頁 Hero 皆為深色底，文字改用淺色而非灰字以維持可讀性。 */
@media (max-width: 991px) {
  .breadcrumb,
  .ap-breadcrumb {
    position: static;
    padding: 16px 20px 0;
    margin-top: var(--nav-h);
    font-size: .72rem;
    color: rgba(255,255,255,.7);
  }
  .breadcrumb a,
  .ap-breadcrumb a { color: rgba(255,255,255,.7); }
  .breadcrumb__sep,
  .ap-breadcrumb .apb-sep { color: rgba(255,255,255,.4); }
  .breadcrumb [aria-current="page"],
  .ap-breadcrumb > span:last-child { color: var(--white); }
}

/* 關於我們 Hero：麵包屑改回正常排版流，置於「ABOUT US」標籤上方（全裝置一致），
   避免絕對定位壓到 Hero 大標。麵包屑已移入 .ap-hero-content，故與標題自動對齊。
   Hero 為深色照片背景，保留淺色文字而非全域灰字。 */
.ap-hero-content .breadcrumb {
  position: static;
  top: auto; left: auto; right: auto;
  z-index: 2;
  max-width: none; width: auto;
  margin: 0 0 16px;
  padding: 0;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.ap-hero-content .breadcrumb a { color: rgba(255,255,255,.7); }
.ap-hero-content .breadcrumb a:hover { color: var(--orange); }
.ap-hero-content .breadcrumb .breadcrumb__sep { color: rgba(255,255,255,.4); }
.ap-hero-content .breadcrumb [aria-current="page"] { color: var(--white); }

/* ── 11.4 Alert 元件統一 ── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-size: .92rem;
  line-height: 1.6;
}
.alert--success {
  background: var(--success-bg);
  border-color: var(--success-bd);
  color: var(--success-ink);
}
.alert--danger {
  background: var(--danger-bg);
  border-color: var(--danger-bd);
  color: var(--danger-ink);
}
.alert--warning {
  background: var(--warning-bg);
  border-color: var(--warning-bd);
  color: var(--warning-ink);
}
.alert--info {
  background: var(--info-bg);
  border-color: var(--info-bd);
  color: var(--info-ink);
}
.section--alert {
  padding-top: 32px !important;
  padding-bottom: 0 !important;
}

/* ── 11.5 Badge 元件 ── */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-sm);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  vertical-align: middle;
  margin-left: 8px;
}
.badge--hq {
  background: var(--warning-bg);
  color: var(--warning-ink);
}
.badge--success { background: var(--success-bg); color: var(--success-ink); }
.badge--info    { background: var(--info-bg); color: var(--info-ink); }

/* ── 11.6 統一 .page-cta（並讓舊 .srv-cta 套用相同樣式） ── */
.page-cta,
.srv-cta {
  background: var(--blue-900);
  text-align: center;
  padding: var(--space-section-lg) 0;
  position: relative;
  overflow: hidden;
}
.page-cta::before,
.srv-cta::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.12), transparent 70%);
  pointer-events: none;
}
.page-cta::after,
.srv-cta::after {
  content: '';
  position: absolute;
  left: -100px; bottom: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,.1), transparent 70%);
  pointer-events: none;
}
.page-cta .container,
.srv-cta .container {
  position: relative;
  z-index: 1;
}
.page-cta .section-title,
.srv-cta .section-title { color: var(--white); }
.page-cta__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-cta__desc,
.srv-cta .section-desc {
  color: rgba(255,255,255,.7);
  margin-top: 16px;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ── 11.7 .text-white 修正 ── */
.text-white { color: var(--white) !important; }

/* ── 11.8 按鈕 hover 一致：箭頭微推 ── */
.btn-cta-primary svg,
.btn-hero-primary svg:last-child,
.btn-hero-ghost svg:last-child {
  transition: transform var(--t-base) var(--ease-out);
}
.btn-cta-primary:hover svg { transform: translateX(3px); }
.btn-hero-primary:hover svg:last-child { transform: translateX(3px); }
.btn-hero-ghost:hover svg:last-child { transform: translateX(3px); }

/* ── 11.9 Contact 分店卡片（取代 inline styles） ── */
.con-locations {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.con-loc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out);
}
.con-loc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--orange-lt);
}
.con-loc-card__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.con-loc-card__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--gray-600);
  font-size: .88rem;
  margin-bottom: 6px;
  line-height: 1.6;
}
.con-loc-card__row a { color: inherit; transition: color var(--t-fast); }
.con-loc-card__row a:hover { color: var(--orange); }
.con-loc-card__row--hours { color: var(--gray-500); font-size: .82rem; }

/* ── 11.10 Map Frame 統一 ── */
.map-frame {
  margin-top: 64px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  height: clamp(320px, 45vw, 460px);
  position: relative;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── 11.11 Page Section 圖片（取代 inline style） ── */
.page-section-image {
  margin: 24px 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.page-section-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 11.12 Search 空狀態 ── */
.sch-empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: var(--r-md);
}
.sch-empty svg {
  opacity: .5;
  margin-bottom: 16px;
}
.sch-empty__msg { margin: 0; font-size: .95rem; }
.sch-empty__btn { margin-top: 18px; }

/* ── 11.13 Search prop-card 圖片 fallback ── */
.prop-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-400);
}
.prop-location-code {
  margin-left: auto;
  color: var(--gray-400);
  font-size: .72rem;
  font-family: var(--font-mono);
}

/* ── 11.14 .tp-dept 改用 --off 調性（柔化冷灰） ── */
.tp-dept { background: var(--off) !important; }

/* ── 11.15 Cases 空狀態 ── */
.cas-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  color: var(--gray-400);
}
.cas-img-fallback {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

/* ── 11.16 統一卡片過場時間 ── */
.cas-card,
.tpm-card,
.tpc-card,
.tpd-card,
.tru-card,
.loc-card,
.prop-card,
.con-loc-card {
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}

/* ── 11.17 服務區塊背景柔化 ── */
.srv-item-section.bg-light { background: var(--off); }

/* ── 11.18 內頁 hero 高度收斂（保留首頁 .hero 全屏） ── */
@media (min-width: 769px) {
  /* 內頁 Banner 高度：統一在本檔最末的「11.18b」區塊集中設定
     （放最後才能覆蓋後面各頁自己的 min-height，如 .careers-hero 78vh / .ins-hero clamp） */
}

/* ── 11.19 Page CTA 小螢幕排版 ── */
@media (max-width: 768px) {
  .page-cta,
  .srv-cta {
    padding: var(--space-section-md) 0;
  }
  .page-cta .section-title,
  .srv-cta .section-title { font-size: 1.4rem; }
  .page-cta__actions {
    flex-direction: column;
    width: 100%;
    padding: 0 24px;
  }
  .page-cta__actions > a,
  .page-cta__actions > .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── 11.20 Contact form RWD 強化 ── */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .form-row { grid-template-columns: 1fr; }
}

/* ── 11.21 統一卡片內圖片過場 ── */
.cas-img-wrap img,
.tpm-img-wrap img,
.prop-img-wrap img,
.loc-card img {
  transition: transform var(--t-slow) var(--ease-out);
}
.cas-card:hover .cas-img-wrap img,
.tpm-card:hover .tpm-img-wrap img,
.prop-card:hover .prop-img-wrap img,
.loc-card:hover img {
  transform: scale(1.06);
}

/* ── 11.22 Scroll progress 雙色漸層強化 ── */
.scroll-progress {
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue-500) 100%);
}

/* ── 11.23 Card link（整張可點）統一 ── */
a.prop-card { color: inherit; }
a.prop-card:hover { color: inherit; }

/* ── 11.24 Honeypot field 安全隱藏 ── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── 11.25 Founder Letter Aside CTA 修飾 ── */
.fp-letter-aside .btn-cta-ghost { margin-top: 10px; }

/* ── 11.26 首頁 .contact 白底 CTA 修正：hero ghost 在白底時改深色描邊 ── */
.contact .btn-hero-ghost {
  background: transparent;
  color: var(--blue-700, var(--blue-500));
  border-color: var(--blue-500);
}
.contact .btn-hero-ghost:hover {
  background: rgba(37,99,235,.08);
  border-color: var(--blue-600, var(--blue-500));
  color: var(--blue-700, var(--blue-500));
  transform: translateY(-2px);
}
/* 首頁 CTA 按鈕列垂直節奏 */
.contact .contact-info > div:last-child {
  margin-top: 28px;
}

/* ── 11.27 共用空白區塊樣式 ── */
.empty-block {
  text-align: center;
  padding: 60px 0;
  color: var(--gray-400, #94a3b8);
  font-size: .95rem;
}
.empty-block--full {
  grid-column: 1 / -1;
}

/* ── 11.28 灰底節節 ── */
.bg-gray { background: var(--gray-100); }

/* ── 11.29 CTA 內電話按鈕：圖示間距統一 ── */
.cta-phone-btn svg {
  margin-right: 6px;
  flex-shrink: 0;
}
.cta-phone-btn {
  display: inline-flex;
  align-items: center;
}

/* ── 11.30 通用底色 utility ── */
.bg-white { background: var(--white); }

/* ── 11.31 Market 載入更多按鈕 ── */
.mkt-loadmore {
  text-align: center;
  margin-top: 56px;
}
.btn-loadmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-size: .92rem;
  font-weight: 600;
  box-shadow: var(--sh-sm);
  transition: border-color var(--t-base), color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  cursor: pointer;
}
.btn-loadmore:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-loadmore svg {
  transition: transform var(--t-base);
}
.btn-loadmore:hover svg {
  transform: rotate(-30deg);
}

/* ── 11.32 暗底上的 section-label 變體 ── */
.section-label--on-dark {
  color: rgba(255,255,255,.55) !important;
}
.section-label--on-dark::before {
  background: rgba(255,255,255,.4);
}

/* ── 11.33 Newsletter 標題微距 ── */
.mkt-nl-title { margin-top: 8px; }

/* ── 11.34 物件編號標籤 ── */
.prop-code {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--gray-400);
  font-size: .72rem;
}

/* ── 11.35 文章作者點：色彩變體 ── */
.maa-author-dot--orange { background: var(--orange); }
.maa-author-dot--blue   { background: var(--blue-500); }
.maa-author-dot--green  { background: #10b981; }
.maa-author-dot--indigo { background: #6366f1; }
.maa-author-dot--amber  { background: #f59e0b; }

/* =====================================================================
   12. 精緻互動特效 (Refined Effects Layer)
   - 全部尊重 prefers-reduced-motion
   - 行動裝置自動關閉磁吸與 3D 傾斜（由 JS 控制 + 媒體查詢防護）
   ===================================================================== */

/* 12.1 極光漸層光球 — 飄浮在 page hero 背景 */
.aurora-layer {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.aurora-orb {
  position: absolute;
  width: 60vmin; height: 60vmin;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-orb--warm {
  top: -10%; left: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(249,115,22,.85), rgba(249,115,22,0) 70%);
  animation: aurora-drift-a 22s ease-in-out infinite alternate;
}
.aurora-orb--cool {
  bottom: -15%; right: -10%;
  background: radial-gradient(circle at 70% 70%, rgba(59,130,246,.85), rgba(59,130,246,0) 70%);
  animation: aurora-drift-b 26s ease-in-out infinite alternate;
}
.aurora-orb--soft {
  top: 30%; left: 50%;
  width: 40vmin; height: 40vmin;
  background: radial-gradient(circle, rgba(245,158,11,.55), rgba(245,158,11,0) 70%);
  animation: aurora-drift-c 30s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a {
  0%   { transform: translate3d(0,0,0)   scale(1); }
  100% { transform: translate3d(8vw,6vh,0) scale(1.15); }
}
@keyframes aurora-drift-b {
  0%   { transform: translate3d(0,0,0) scale(1.05); }
  100% { transform: translate3d(-6vw,-4vh,0) scale(.9); }
}
@keyframes aurora-drift-c {
  0%   { transform: translate3d(-50%,-50%,0) scale(1); }
  100% { transform: translate3d(-40%,-60%,0) scale(1.2); }
}
/* 確保 hero 內容浮在光球之上 */
.hv2-hero,
.ap-hero, .fp-hero, .cas-hero, .tp-hero, .tru-hero,
.sch-hero, .srv-hero, .mkt-hero, .con-hero { isolation: isolate; }
.hv2-hero > *:not(.aurora-layer):not(.hv2-hero-bg),
.ap-hero > *:not(.aurora-layer):not(.ap-hero-bg),
.fp-hero > *:not(.aurora-layer):not(.fp-hero-bg),
.cas-hero > *:not(.aurora-layer):not(.cas-hero-bg),
.tp-hero > *:not(.aurora-layer):not(.tp-hero-bg),
.tru-hero > *:not(.aurora-layer):not(.tru-hero-bg),
.sch-hero > *:not(.aurora-layer):not(.sch-hero-bg),
.srv-hero > *:not(.aurora-layer):not(.srv-hero-bg),
.mkt-hero > *:not(.aurora-layer):not(.mkt-hero-bg),
.con-hero > *:not(.aurora-layer):not(.con-hero-bg) { position: relative; z-index: 2; }

/* 12.2 Hero 背景緩慢 Ken Burns 推鏡 */
.ap-hero-bg img, .fp-hero-bg img, .cas-hero-bg img,
.tp-hero-bg img, .tru-hero-bg img, .sch-hero-bg img,
.srv-hero-bg img, .mkt-hero-bg img, .con-hero-bg img {
  animation: hero-kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.02) translate3d(0,0,0); }
  100% { transform: scale(1.12) translate3d(-2%,-1%,0); }
}

/* 12.3 大標流光漸層 — 雙色慢速移動 */
.ap-hero-title, .fp-hero-name, .cas-hero-title,
.tp-hero-title, .tru-hero-title, .sch-hero-title,
.srv-hero-title, .mkt-hero-title, .con-hero-title {
  background-image: linear-gradient(
    100deg,
    #ffffff 0%,
    #ffe7d1 25%,
    #ffffff 45%,
    #cfe5ff 65%,
    #ffffff 85%
  );
  background-size: 220% auto;
  background-position: 0% 50%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-title-shimmer 9s linear infinite;
}
@keyframes hero-title-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 12.4 電話按鈕溫暖脈動 */
a[href^="tel:"], .cta-phone-btn {
  position: relative;
  isolation: isolate;
}
a[href^="tel:"]::before, .cta-phone-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(249,115,22,.55);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: phone-pulse 2.6s ease-out infinite;
}
@keyframes phone-pulse {
  0%   { transform: scale(.96); opacity: .9; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* 12.5 卡片光帶掃過 — hover 時 shimmer 斜向劃過 */
.card, .cas-card, .prop-card, .tpc-card, .tpm-card,
.tru-card, .srv-card, .mkt-article, .loc-card,
.con-loc-card, .fpci-card {
  position: relative;
  overflow: hidden;
}
.card::after, .cas-card::after, .prop-card::after, .tpc-card::after,
.tpm-card::after, .tru-card::after, .srv-card::after, .mkt-article::after,
.loc-card::after, .con-loc-card::after, .fpci-card::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,.0) 25%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.0) 75%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left .9s var(--ease-out, cubic-bezier(.22,1,.36,1));
  z-index: 3;
}
.card:hover::after, .cas-card:hover::after, .prop-card:hover::after,
.tpc-card:hover::after, .tpm-card:hover::after, .tru-card:hover::after,
.srv-card:hover::after, .mkt-article:hover::after, .loc-card:hover::after,
.con-loc-card:hover::after, .fpci-card:hover::after {
  left: 130%;
}

/* 12.6 主 CTA 磁吸基礎樣式（JS 動 transform） */
[data-magnetic] {
  display: inline-flex;
  transition: transform .25s var(--ease-out, cubic-bezier(.22,1,.36,1));
  will-change: transform;
}

/* 12.7 卡片 3D 微傾基礎（JS 動 transform） */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-out, cubic-bezier(.22,1,.36,1));
  will-change: transform;
}
[data-tilt] > * { transform: translateZ(0); }

/* 12.8 數字 count-up — 進入視口前先做微動畫 */
[data-count] { display: inline-block; font-variant-numeric: tabular-nums; }

/* 12.9 文字連結底線滑入（給內文 read-more 用） */
.underline-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.underline-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease-out, cubic-bezier(.22,1,.36,1));
}
.underline-link:hover::after { transform: scaleX(1); }
.underline-link svg { transition: transform .25s; }
.underline-link:hover svg { transform: translateX(4px); }

/* 12.10 焦點態統一（無障礙 + 視覺一致） */
a:focus-visible, button:focus-visible,
.btn:focus-visible, [data-magnetic]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-sm, 8px);
}

/* 12.11 Scroll progress 雙色漸層 */
#scrollProgress, .scroll-progress {
  background: linear-gradient(90deg, var(--orange), var(--blue-500)) !important;
}

/* 12.12 行動裝置：關閉磁吸 / 傾斜 / 沉重特效，省電省效能 */
@media (hover: none), (max-width: 768px) {
  [data-magnetic], [data-tilt] { transform: none !important; }
  .card::after, .cas-card::after, .prop-card::after,
  .tpc-card::after, .tpm-card::after, .tru-card::after,
  .srv-card::after, .mkt-article::after, .loc-card::after,
  .con-loc-card::after, .fpci-card::after { display: none; }
  /* 手機關閉極光（perf）+ 電話脈動（避免 1.18 scale 推擠版面） */
  .aurora-orb { display: none !important; }
  a[href^="tel:"]::before, .cta-phone-btn::before { animation: none !important; opacity: 0 !important; }
  /* Ken Burns 縮減幅度，降低 GPU 用量 */
  .ap-hero-bg img, .fp-hero-bg img, .cas-hero-bg img,
  .tp-hero-bg img, .tru-hero-bg img, .sch-hero-bg img,
  .srv-hero-bg img, .mkt-hero-bg img, .con-hero-bg img {
    animation-duration: 40s;
  }
}

/* 12.13 尊重使用者降低動效偏好 */
@media (prefers-reduced-motion: reduce) {
  .aurora-orb,
  .ap-hero-bg img, .fp-hero-bg img, .cas-hero-bg img,
  .tp-hero-bg img, .tru-hero-bg img, .sch-hero-bg img,
  .srv-hero-bg img, .mkt-hero-bg img, .con-hero-bg img,
  .ap-hero-title, .fp-hero-name, .cas-hero-title,
  .tp-hero-title, .tru-hero-title, .sch-hero-title,
  .srv-hero-title, .mkt-hero-title, .con-hero-title,
  a[href^="tel:"]::before, .cta-phone-btn::before {
    animation: none !important;
  }
  .ap-hero-title, .fp-hero-name, .cas-hero-title,
  .tp-hero-title, .tru-hero-title, .sch-hero-title,
  .srv-hero-title, .mkt-hero-title, .con-hero-title {
    -webkit-text-fill-color: #fff;
    color: #fff;
  }
  [data-magnetic], [data-tilt] { transform: none !important; }
}

/* =====================================================================
   13. 手機版總修 (Mobile Polish & Tap-Target Fixes)
   - 焦點：tap 區 ≥44px、iOS 防縮放、版面不溢出、字級可讀
   ===================================================================== */

/* 13.1 通用：禁止橫向滾動、頁面寬度安全區 */
html, body { overflow-x: hidden; }
body { -webkit-text-size-adjust: 100%; }

/* 13.2 ≤768px：核心 RWD 修正 */
@media (max-width: 768px) {
  /* — Nav — */
  /* Topbar 整體縮 padding，留呼吸 */
  .nav-inner { padding: 0 14px; gap: 10px; }
  .nav-logo { gap: 10px; margin-left: 0; }
  .logo-emblem { width: 36px; height: 36px; border-radius: 10px; font-size: .85rem; }
  .lt-main { font-size: .82rem; }
  .lt-sub  { display: none; } /* ≤768 直接收掉英文副標，騰出 topbar 呼吸空間 */

  /* Hero 主按鈕在 ≤768 就堆疊全寬 */
  .hero-actions { flex-direction: column !important; align-items: stretch !important; gap: 10px; padding: 0 16px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .nav-toggle {
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    padding: 0;
    margin-left: 0; /* 改由 nav-phone 推開，toggle 緊跟其後 */
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* 電話縮成圓鈕，並用 margin-left: auto 把「電話+漢堡」當一組推到右邊 */
  .nav-phone {
    width: 44px; height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(249,115,22,.35);
    margin-left: auto; /* ← 關鍵：把右側群組整體推到最右 */
  }
  .nav-phone .np-text { display: none; }
  .nav-phone .np-icon svg { width: 18px; height: 18px; }
  /* 兩圓鈕之間 10px 呼吸（由 .nav-inner 的 gap 提供，這裡再加 2px 確保視覺對等） */
  .nav-toggle { margin-left: 2px; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; }

  /* — 滾動進度條：z-index 不要蓋過手機抽屜 — */
  #scrollProgress, .scroll-progress { z-index: 998; }

  /* — Back to Top — */
  .back-to-top {
    width: 44px; height: 44px;
    bottom: 20px; right: 16px;
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  /* — Footer — */
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 32px; padding-bottom: 32px; }
  .footer-brand p { font-size: .85rem; margin-bottom: 12px; }
  .footer-col h4 { margin-bottom: 12px; font-size: .68rem; }
  .footer-col ul { gap: 8px; }
  .social-btn { width: 42px !important; height: 42px !important; }
  .footer-social { gap: 12px; margin-top: 14px; }
  .footer-bottom { padding: 18px 0; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  /* 聯絡資訊文字稍微再亮一點（手機螢幕對比通常較弱） */
  .footer-col li, .footer-contact .fc-item a { color: rgba(255,255,255,.7) !important; }

  /* — 表單：iOS 防縮放（≥16px）+ 全寬 — */
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="search"], input[type="password"],
  input[type="url"], input[type="date"], select, textarea, .field__control {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
  }
  textarea { min-height: 96px; }
  /* 大型 CTA 按鈕：符合 Apple HIG 觸控區 44px */
  /* 注意：不要用裸 button selector，避免影響輪播 dots（.hv2-tg-dot）等小型控制按鈕 */
  .btn, .btn-cta-primary, .btn-cta-ghost,
  .btn-hero-primary, .btn-hero-ghost, .btn-submit, .cta-phone-btn {
    min-height: 44px;
  }
  /* 輪播控制按鈕回到自身定義的尺寸（min-height 預設值為 auto） */
  .hv2-tg-dot { min-height: 10px; }
  .hv2-tg-dot.is-active { min-height: 10px; }
  .hv2-tg-arrow { min-height: 36px; }

  /* — Hero 大標：避免在 360px 寬度上爆字 — */
  .ap-hero-title, .fp-hero-name, .cas-hero-title, .tp-hero-title,
  .tru-hero-title, .sch-hero-title, .srv-hero-title,
  .mkt-hero-title, .con-hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    line-height: 1.25;
    word-break: keep-all;
  }
  .ap-hero-desc, .fp-hero-title, .cas-hero-desc, .tp-hero-desc,
  .tru-hero-desc, .srv-hero-desc, .con-hero-desc {
    font-size: .95rem;
    line-height: 1.7;
  }

  /* — 麵包屑：可換行、字距收緊 — */
  .ap-breadcrumb, .breadcrumb {
    flex-wrap: wrap;
    gap: 6px;
    font-size: .75rem;
    padding-left: 20px; padding-right: 20px;
    line-height: 1.6;
  }
  .ap-breadcrumb .apb-sep, .breadcrumb__sep { margin: 0 2px; }

  /* — Hero 統計帶：堆疊置中 — */
  .fphs-grid, .hsb-inner { flex-wrap: wrap; justify-content: center; }
  .fphs-divider, .hsb-divider { display: none; }
  .fphs-item, .hsb-item { flex: 1 1 45%; padding: 12px 10px; text-align: center; }

  /* — 搜尋頁 search bar：tabs 可橫滾，filters 改成單欄 — */
  .sfr-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .sfr-tabs::-webkit-scrollbar { display: none; }
  .sfr-tab { white-space: nowrap; flex: 0 0 auto; }
  .sfr-row, .sfrSelect-wrap { width: 100%; min-width: 100%; }
  .sfrSelect-wrap select { height: 44px; }
  .sfr-submit, .sfr-more-btn { width: 100%; height: 48px; }

  /* — 卡片網格：強制單欄（部分頁面已有，這裡兜底） — */
  .prop-grid, .tpm-grid, .tru-grid, .srv-list,
  .cases-grid, .mkt-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .team-cards { grid-template-columns: 1fr 1fr; }

  /* — 聯絡頁：兩欄版面強制堆疊、地圖框維持 16:9 — */
  .contact-layout, .con-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .map-frame { aspect-ratio: 16/10; border-radius: var(--r-md, 16px); overflow: hidden; }
  .map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

  /* — page-cta 收尾區：按鈕堆疊、寬度撐滿 — */
  .page-cta__actions, .srv-cta-actions, .cta-actions {
    flex-direction: column; align-items: stretch;
  }
  .page-cta__actions .btn, .srv-cta-actions .btn,
  .page-cta__actions .btn-cta-primary, .page-cta__actions .btn-cta-ghost,
  .cta-phone-btn { width: 100%; justify-content: center; }

  /* — Founder 雙欄堆疊 — */
  .fp-profile-layout, .fp-letter-body { grid-template-columns: 1fr !important; gap: 24px; }
  .fp-hero-content { flex-direction: column; gap: 24px; }
  .fp-hero-quote-wrap { width: 100%; }

  /* — Career timeline：左右對齊改為單欄左對齊 — */
  .fp-career-line { left: 12px !important; transform: none !important; }
  .fp-career-item { width: 100% !important; padding-left: 36px !important; padding-right: 0 !important; text-align: left !important; }
  .fpci-dot { left: 4px !important; right: auto !important; }

  /* — 圖片防溢出 — */
  img, video, iframe { max-width: 100%; height: auto; }

  /* — Reveal 元素初始位移幅度減半，行動更柔和 — */
  .reveal-up    { transform: translateY(24px); }
  .reveal-left  { transform: translateX(-24px); }
  .reveal-right { transform: translateX( 24px); }
}

/* 13.3 ≤480px：超小螢幕細調 */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .ap-breadcrumb, .breadcrumb { padding-left: 16px; padding-right: 16px; }

  /* ≤480 再縮一級 */
  .lt-main { font-size: .78rem; }
  .nav-inner { padding: 0 12px; gap: 8px; }
  .logo-emblem { width: 34px; height: 34px; border-radius: 9px; font-size: .78rem; }
  .nav-phone, .nav-toggle { width: 42px; height: 42px; }

  /* hero 高度收斂：避免內頁 hero 在 360 寬塞太滿 */
  .ap-hero, .cas-hero, .con-hero, .tp-hero, .tru-hero,
  .srv-hero, .sch-hero, .mkt-hero { min-height: 360px; height: auto; }
  .fp-hero { min-height: 70vh; }

  /* 大標再縮一級 */
  .ap-hero-title, .fp-hero-name, .cas-hero-title, .tp-hero-title,
  .tru-hero-title, .sch-hero-title, .srv-hero-title,
  .mkt-hero-title, .con-hero-title {
    font-size: clamp(1.4rem, 7vw, 1.9rem) !important;
  }
  .section-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  /* 小卡片網格 → 單欄 */
  .team-cards, .loc-grid, .tcu-items { grid-template-columns: 1fr; }

  /* 案例篩選按鈕橫滾 */
  .cas-filters { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 6px; }
  .cas-filters::-webkit-scrollbar { display: none; }
  .cas-filter-btn { white-space: nowrap; flex: 0 0 auto; }

  /* page-cta 字級 */
  .page-cta__title, .srv-cta h2 { font-size: 1.5rem; }
  .page-cta__desc, .srv-cta p { font-size: .9rem; }

  /* footer 整體留白縮減 */
  .footer-grid { gap: 24px; }
  .footer-col h4 { margin-bottom: 12px; }
}

/* 13.35 Footer：聯絡資訊圖標對齊 + 純文字行可讀（修地址看不到的問題） */
.footer-col li {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  line-height: 1.7;
}
.footer-contact .fc-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .fc-item a {
  display: inline-flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,.55);
}
.footer-contact .fc-item a:hover { color: #fff; padding-left: 0; }
.footer-contact .fc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Social 圓鈕：精緻化（圓形 + SVG 置中 + hover 微跳） */
.social-btn {
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0;
  transition: background .2s, color .2s, transform .2s;
}
.social-btn:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}
.social-btn svg { display: block; }

/* 13.4 防止 iOS 點擊高亮閃藍 */
a, button, [role="button"] { -webkit-tap-highlight-color: rgba(249,115,22,.18); }

/* 13.5 安全區（瀏海/底部 home indicator） */
@supports (padding: max(0px)) {
  .footer { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
  .navbar { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}

/* ============================================================
 * 14. 資深顧問模組（Senior Consultant）
 *     - 卡片：折角金色緞帶 + 姓名旁小皇冠
 *     - Modal：玻璃擬態 + 大皇冠（pop-up 中央才用大皇冠）
 * ============================================================ */

/* ── 14.1 首頁卡片 button 化 ───────────────────────────── */
.tc-card.tc-card--senior {
  position: relative;
  border: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  width: 100%;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.tc-card.tc-card--senior:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

/* ── 14.2 折角金色緞帶（Corner Ribbon）共用 ─────────────── */
.tc-card .tc-crown,
.tpm-card .tpm-crown {
  /* 隱藏舊的大皇冠（保留 markup 但不顯示） */
  display: none !important;
}

.gold-ribbon {
  position: absolute;
  top: 14px;
  right: -38px;
  width: 158px;
  transform: rotate(38deg);
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(180, 83, 9, .35));
}
.gold-ribbon .gr-band {
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.42) 0%,
      rgba(255,255,255,.05) 22%,
      rgba(0,0,0,0) 50%,
      rgba(120,53,15,.18) 100%),
    linear-gradient(135deg,
      #92400e 0%,
      #d97706 22%,
      #fbbf24 50%,
      #f59e0b 78%,
      #92400e 100%);
  color: #fffbe5;
  text-align: center;
  padding: 6px 0 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .3em;
  text-indent: .3em;
  border-top: 1px solid rgba(255, 248, 220, .55);
  border-bottom: 1px solid rgba(120, 53, 15, .55);
  text-shadow: 0 1px 1px rgba(120, 53, 15, .5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.gold-ribbon .gr-band::before,
.gold-ribbon .gr-band::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 248, 220, .7);
  box-shadow: 0 0 4px rgba(255, 248, 220, .8);
}
.gold-ribbon .gr-text { white-space: nowrap; line-height: 1; }
.gold-ribbon .gr-mini-crown {
  width: 12px; height: 12px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(120,53,15,.6));
}
/* 折角陰影（緞帶尾端的折疊）*/
.gold-ribbon::before,
.gold-ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 0; height: 0;
  border-style: solid;
}
.gold-ribbon::before {
  left: 0;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #78350f;
}
.gold-ribbon::after {
  right: 0;
  border-width: 8px 8px 0 0;
  border-color: #78350f transparent transparent transparent;
}

/* hover 微互動 */
.tc-card.tc-card--senior:hover .gold-ribbon,
.tpm-card.tpm-card--senior:hover .gold-ribbon {
  filter: drop-shadow(0 6px 12px rgba(217, 119, 6, .5)) brightness(1.05);
  transition: filter .3s ease;
}

/* ── 14.3 卡片標題旁的小皇冠 ──────────────────────────── */
.sr-name-crown {
  display: inline-flex;
  vertical-align: -3px;
  margin-right: 5px;
  width: 17px; height: 17px;
  filter: drop-shadow(0 1px 2px rgba(180,83,9,.45));
}

/* ── 14.4 首頁卡片下方查看 CTA ──────────────────────────── */
.tcc-view-cta {
  margin-top: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(245,158,11,.08));
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 8px;
  color: #c2410c;
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
  letter-spacing: .03em;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.tc-card.tc-card--senior:hover .tcc-view-cta {
  background: linear-gradient(135deg, var(--orange), #fbbf24);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245,158,11,.32);
}

/* ── 14.5 /team 卡片資深 CTA ─────────────────────────── */
.tpm-cta--senior {
  background: linear-gradient(135deg, var(--orange, #f97316), #fbbf24) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  font: inherit;
  width: 100%;
  letter-spacing: .03em;
}
.tpm-cta--senior:hover {
  background: linear-gradient(135deg, #c2410c, var(--orange, #f97316)) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245,158,11,.4);
}

/* ── 14.6 Modal Pop-up ─────────────────────────────── */
.senior-modal {
  position: fixed; inset: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.senior-modal[aria-hidden="false"] { display: block; opacity: 1; }
.senior-modal .sm-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(15,23,42,.78), rgba(2,6,23,.92));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}
.senior-modal .sm-dialog {
  position: relative;
  margin: 5vh auto;
  width: min(960px, 92vw);
  max-height: 90vh;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(2,6,23,.5),
    0 0 0 1px rgba(255,255,255,.5) inset,
    0 0 60px rgba(251,191,36,.18);
  transform: translateY(20px) scale(.97);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1.05), opacity .35s ease;
}
.senior-modal[aria-hidden="false"] .sm-dialog { transform: translateY(0) scale(1); opacity: 1; }
.senior-modal .sm-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(15,23,42,.08);
  color: #1e293b;
  border: none;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, transform .2s, color .2s;
}
.senior-modal .sm-close:hover {
  background: var(--orange, #f97316);
  color: #fff;
  transform: rotate(90deg);
}

.sm-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  max-height: 90vh;
}
.sm-grid > * { overflow-y: auto; max-height: 90vh; }

.sm-photo {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  color: #fff;
  padding: 40px 28px 28px;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.sm-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(251,191,36,.18), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(59,130,246,.15), transparent 50%);
  pointer-events: none;
}
.sm-photo > * { position: relative; z-index: 1; }
.sm-photo-frame {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  padding: 4px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3), 0 0 0 4px rgba(251,191,36,.18);
}
.sm-photo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.4), transparent 70%);
  filter: blur(15px);
  z-index: -1;
  animation: smGlow 3s ease-in-out infinite alternate;
}
@keyframes smGlow {
  0% { opacity: .4; transform: scale(.95); }
  100% { opacity: .7; transform: scale(1.05); }
}
.sm-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #1e293b;
}
.sm-crown {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  filter: drop-shadow(0 6px 14px rgba(217, 119, 6, .55));
  animation: smCrownFloat 3.5s ease-in-out infinite;
}
.sm-crown svg { width: 100%; height: 100%; }
@keyframes smCrownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-3deg); }
  50% { transform: translateX(-50%) translateY(-4px) rotate(3deg); }
}

.sm-name-block { margin-bottom: 18px; }
.sm-honor {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 6px;
  padding: 2px 10px;
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 99px;
}
.sm-honor:empty { display: none; }
.sm-name {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: .05em;
  color: #fff;
}
.sm-role {
  font-size: .95rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 8px;
  font-weight: 500;
}
.sm-tagline {
  font-size: .82rem;
  color: rgba(251,191,36,.85);
  font-style: italic;
  line-height: 1.5;
  padding: 0 6px;
}
.sm-tagline:empty { display: none; }
.sm-quick-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.sm-quick-meta .qm-pill {
  font-size: 11.5px;
  padding: 4px 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  color: rgba(255,255,255,.92);
  letter-spacing: .03em;
}
.sm-quick-meta .qm-pill.qm-years {
  background: linear-gradient(135deg, rgba(251,191,36,.25), rgba(245,158,11,.18));
  border-color: rgba(251,191,36,.4);
  color: #fde68a;
  font-weight: 700;
}

.sm-detail { padding: 32px 32px 0; background: #fafbff; }
.sm-block { margin-bottom: 26px; }
.sm-block:last-child { margin-bottom: 0; }
.sm-block-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}
.sm-block-title::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 2px;
}
.sm-block-title svg { color: #f59e0b; flex-shrink: 0; }

.sm-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sm-contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sm-contact-item:hover { border-color: var(--orange, #f97316); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
.sm-contact-item .ci-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  color: #c2410c;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sm-contact-item .ci-text { min-width: 0; flex: 1; }
.sm-contact-item .ci-label { font-size: 11px; color: #94a3b8; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 2px; }
.sm-contact-item .ci-value { font-size: 14px; font-weight: 700; color: #0f172a; word-break: break-all; line-height: 1.4; }

.sm-profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 16px; }
.sm-profile-grid .pg-item { padding: 10px 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.sm-profile-grid .pg-label { font-size: 11px; color: #94a3b8; letter-spacing: .1em; margin-bottom: 4px; }
.sm-profile-grid .pg-value { font-size: 14px; font-weight: 700; color: #1e293b; line-height: 1.4; }
.sm-bio {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  padding: 14px 16px;
  background: #fff;
  border-left: 3px solid var(--orange, #f97316);
  border-radius: 8px;
}
.sm-bio:empty { display: none; }
.sm-bio p { margin: 0 0 8px; }
.sm-bio p:last-child { margin: 0; }

.sm-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.sm-timeline::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px; left: 7px;
  width: 2px;
  background: linear-gradient(180deg, #fbbf24, #f59e0b 50%, transparent);
  border-radius: 2px;
}
.sm-timeline li { position: relative; padding: 0 0 16px 28px; }
.sm-timeline li::before {
  content: "";
  position: absolute;
  top: 7px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 0 3px #fafbff, 0 0 0 4px rgba(251,191,36,.3);
}
.sm-timeline li:last-child { padding-bottom: 0; }
.sm-timeline .ach-year { font-size: 13px; font-weight: 800; color: #c2410c; letter-spacing: .05em; margin-bottom: 2px; }
.sm-timeline .ach-title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; line-height: 1.45; }
.sm-timeline .ach-desc { font-size: 13px; color: #64748b; line-height: 1.7; }
.sm-ach-block .empty-ach { text-align: center; padding: 20px; color: #94a3b8; font-size: 13px; background: #fff; border-radius: 10px; border: 1px dashed #e5e7eb; }

.sm-cta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px dashed #e5e7eb;
  position: sticky;
  bottom: 0;
  background: #fafbff;
  z-index: 2;
}
.sm-cta a {
  flex: 1 1 140px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.sm-cta .cta-call { background: linear-gradient(135deg, var(--orange, #f97316), #fbbf24); color: #fff; }
.sm-cta .cta-call:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(245,158,11,.4); }
.sm-cta .cta-mail { background: #1e293b; color: #fff; }
.sm-cta .cta-mail:hover { background: #0f172a; transform: translateY(-2px); }
.sm-cta .cta-line { background: #06c755; color: #fff; }
.sm-cta .cta-line:hover { background: #05a648; transform: translateY(-2px); }

@media (max-width: 768px) {
  .sm-grid { grid-template-columns: 1fr; }
  .sm-photo { padding: 36px 22px 24px; }
  .sm-photo-frame { width: 150px; height: 150px; }
  .sm-crown { width: 50px; height: 50px; top: -16px; }
  .sm-name { font-size: 1.5rem; }
  .sm-detail { padding: 24px 20px 0; }
  .sm-contact-grid, .sm-profile-grid { grid-template-columns: 1fr; }
  .senior-modal .sm-dialog { margin: 2vh auto; max-height: 96vh; width: 96vw; border-radius: 18px; }
  .sm-cta a { flex: 1 1 100%; }
  .gold-ribbon { width: 130px; right: -34px; top: 12px; }
  .gold-ribbon .gr-band { font-size: 10.5px; padding: 5px 0 6px; }
}

body.sm-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .sm-photo-glow, .sm-crown { animation: none; }
  .senior-modal, .senior-modal .sm-dialog { transition: none; }
}

/* ============================================================
   ── 15. Team 專業顧問群（is_star=0） ──
   5 列一排，比明星顧問小一號；無皇冠、無金緞帶、無 modal CTA
   ============================================================ */
.section-header--sub {
  margin-top: clamp(48px, 8vw, 80px);
  text-align: center;
}
.section-header--sub .section-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.tpm-grid.tpm-grid--pro {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .tpm-grid.tpm-grid--pro { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tpm-grid.tpm-grid--pro { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 480px) {
  .tpm-grid.tpm-grid--pro { grid-template-columns: 1fr; }
}

.tpm-card--pro {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out);
  display: flex; flex-direction: column;
}
.tpm-card--pro:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--orange-lt);
}
.tpm-card--pro .tpm-img-wrap {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.tpm-card--pro .tpm-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.tpm-card--pro:hover .tpm-img-wrap img { transform: scale(1.06); }
.tpm-card--pro .tpm-body {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.tpm-card--pro .tpm-name {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin: 0; line-height: 1.4;
}
.tpm-card--pro .tpm-role {
  font-size: .78rem; font-weight: 600; color: var(--orange-dk);
  letter-spacing: .02em;
}
.tpm-pro-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.tpm-pro-meta span {
  display: inline-block;
  padding: 2px 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 500;
}
.tpm-pro-spec {
  font-size: .78rem; color: var(--gray-600);
  line-height: 1.55;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 16. Modal tier 切換：專業顧問版本（隱藏皇冠 + 微調色彩） ── */
.senior-modal[data-tier="pro"] .sm-crown { display: none; }
.senior-modal[data-tier="pro"] .sm-photo {
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 65%, #112651 100%);
}
.senior-modal[data-tier="pro"] .sm-photo-glow {
  background: radial-gradient(circle, rgba(59,130,246,.45), transparent 70%);
}
.senior-modal[data-tier="pro"] .sm-honor::before { display: none; }

/* 專業顧問卡片可點擊 + hover 上浮 */
.tpm-card--pro[role="button"] { cursor: pointer; }
.tpm-card--pro:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.tpm-pro-cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  padding: 6px 12px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
  align-self: flex-start;
}
.tpm-card--pro:hover .tpm-pro-cta {
  background: var(--orange);
  color: #fff;
  transform: translateX(2px);
}

/* ============================================================
   ── 17. Page Sections 動態區塊樣板（CMS Block Builder） ──
   6 種：text / cta / two_col / cards / video / quote
   ============================================================ */
.page-section { position: relative; }
.page-section + .page-section { border-top: 1px solid var(--gray-100); }

/* 17.1 text 已沿用既有 .section-title / .section-subtitle / .page-section-image / .page-section-body */
.page-section--text .page-section-body { max-width: 760px; margin: 0 auto; line-height: 1.85; color: var(--gray-700); }
.page-section--text .page-section-body p { margin-bottom: 1em; }

/* 17.1b 當 text section 的內容含有表格時，放寬閱讀寬度上限到 1200px，呈現 16:9 橫式比例 */
.page-section--text:has(.page-section-body table) .page-section-body {
  max-width: 1200px !important;
}

/* 17.1a 內嵌表格 RWD — body_html 內 <div class="table-responsive"><table>... */
.page-section-body .table-responsive {
  width: 100%;
  margin: 1.25rem 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
}
.page-section-body .table-responsive > table,
.page-section-body table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.page-section-body table.table th,
.page-section-body table.table td {
  padding: 12px 14px;
  border: 1px solid var(--gray-200, #e5e7eb);
  vertical-align: top;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}
.page-section-body table.table-striped tbody tr:nth-child(odd) {
  background: #fafafa;
}

/* 手機板 — 通用：表格改為「卡片堆疊」式，每列獨立成卡片 */
@media (max-width: 720px) {
  .page-section-body .table-responsive { box-shadow: none !important; overflow: visible !important; }
  .page-section-body .table-responsive table,
  .page-section-body table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .page-section-body .table-responsive table thead,
  .page-section-body table thead { display: none !important; }
  .page-section-body .table-responsive table tbody,
  .page-section-body table tbody { display: block !important; width: 100% !important; }
  .page-section-body .table-responsive table tr,
  .page-section-body table tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 14px !important;
    border: 1px solid var(--gray-200, #e5e7eb) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }
  .page-section-body .table-responsive table td,
  .page-section-body table td {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    border-bottom: 1px dashed var(--gray-100, #f1f5f9) !important;
    padding: 12px 14px !important;
    font-size: .9rem !important;
    line-height: 1.65 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .page-section-body .table-responsive table tr td:last-child,
  .page-section-body table tr td:last-child { border-bottom: 0 !important; }
  /* 第一個 td（每列標題）：深色橫幅 */
  .page-section-body .table-responsive table tr td:first-child,
  .page-section-body table tr td:first-child {
    background: linear-gradient(135deg, #0f2040, #1e4d8c) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 10px 14px !important;
  }
  .page-section-body .table-responsive table tr td:first-child strong,
  .page-section-body table tr td:first-child strong { color: #fff !important; }
}

/* 手機板 — trust 頁面「工業地 vs 農地」比較表專屬：欄位加上對比 badge */
@media (max-width: 720px) {
  [data-section-key="client_compare_table"] .page-section-body table tr td:nth-child(2)::before,
  [data-section-key="client_compare_table"] .page-section-body table tr td:nth-child(3)::before {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    letter-spacing: .02em;
  }
  [data-section-key="client_compare_table"] .page-section-body table tr td:nth-child(2)::before {
    content: '✓ 工業地工廠（合法）';
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
  }
  [data-section-key="client_compare_table"] .page-section-body table tr td:nth-child(3)::before {
    content: '⚠ 農地工廠（特登）';
    background: #fed7aa;
    color: #c2410c;
    border: 1px solid #fdba74;
  }
  [data-section-key="client_compare_table"] .page-section-body table tr td:nth-child(2) {
    background: #f8fafc !important;
  }
}

/* 17.2 CTA 區塊 */
.page-section--cta {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  text-align: center;
}
.page-section--cta .ps-cta__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--orange-lt);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-section--cta .ps-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.page-section--cta .ps-cta__desc {
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
}
.page-section--cta .ps-cta__actions {
  display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

/* 17.3 兩欄圖文 */
.ps-twocol {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.ps-twocol--reverse { grid-template-columns: 1.2fr 1fr; }
.ps-twocol--reverse .ps-twocol__media { order: 2; }
.ps-twocol__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3;
}
.ps-twocol__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.ps-twocol:hover .ps-twocol__media img { transform: scale(1.04); }
.ps-twocol__content .section-label { display: inline-block; }
.ps-twocol__body { line-height: 1.85; color: var(--gray-700); margin: 16px 0 24px; }
.ps-twocol__body p { margin-bottom: .8em; }
@media (max-width: 768px) {
  .ps-twocol, .ps-twocol--reverse { grid-template-columns: 1fr; }
  .ps-twocol--reverse .ps-twocol__media { order: 0; }
}

/* 17.4 三卡網格 */
.ps-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.ps-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 32px 24px;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out);
}
.ps-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--orange-lt);
}
.ps-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
  margin-bottom: 20px;
  font-size: 28px;
}
.ps-card__icon svg { width: 28px; height: 28px; }
.ps-card__title { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.ps-card__desc { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* 17.5 影片區塊 */
.ps-video-wrap {
  margin-top: 40px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 16 / 9;
  background: #000;
}
.ps-video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 17.6 引言 */
.page-section--quote { background: var(--off); }
.ps-quote {
  max-width: 800px; margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 24px 16px;
}
.ps-quote__mark {
  width: 48px; height: 48px;
  color: var(--orange-lt);
  opacity: .5;
  margin-bottom: 16px;
  display: inline-block;
}
.ps-quote__text {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.ps-quote__author {
  font-size: .95rem;
  color: var(--gray-500);
  font-style: normal;
  letter-spacing: .04em;
}

/* ============================================================
   ── 18. Utility classes（取代 inline style，符合 VI Manual） ──
   ============================================================ */
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-40 { margin-top: 40px; }
.u-mt-48 { margin-top: 48px; }
.u-mt-64 { margin-top: 64px; }
.u-text-center { text-align: center; }
.u-mx-auto { margin-left: auto; margin-right: auto; }
.u-max-w-720 { max-width: 720px; }
.u-flex-center-wrap {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
}
.u-grid-1col { grid-template-columns: 1fr !important; }

/* 圖片占位 / placeholder（取代 inline gradient 寫死） */
.img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}
.img-placeholder--square { aspect-ratio: 1 / 1; }
.img-placeholder--16x10 { aspect-ratio: 16 / 10; }
.img-placeholder--16x9  { aspect-ratio: 16 / 9; }

/* search/view 提示 */
.pdt-hint { font-size: .8rem; color: var(--gray-500); margin-top: 10px; }

/* honeypot 隱藏（取代 inline left:-9999px） */
.hp-field-hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .u-mt-48 { margin-top: 32px; }
  .u-mt-64 { margin-top: 40px; }
  .u-mt-40 { margin-top: 28px; }
}

/* footer 補充 utility（取代 inline） */
.footer-nav-logo { margin-bottom: 20px; }
.footer-lt-main { color: var(--white); }


/* ============================================================
   ── 19. 產業趨勢 / Insights（部落格模組） ──
   ============================================================ */

.ins-hero {
  position: relative;
  min-height: clamp(280px, 38vh, 400px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--blue-900);
}
.ins-hero-bg { position: absolute; inset: 0; z-index: 1; }
.ins-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ins-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.65) 60%, rgba(8,145,178,.55) 100%);
}
.ins-hero-inner { position: relative; z-index: 2; color: #fff; padding: 60px 0 40px; }
.ins-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 14px 0 12px;
  letter-spacing: -.02em;
}
.ins-hero-desc {
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.78);
  max-width: 720px;
  line-height: 1.75;
}

.ins-filter { padding: 32px 0 16px; background: var(--off); }
.ins-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.ins-cat-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: #fff;
  text-decoration: none;
  transition: all var(--t-base) var(--ease-out);
}
.ins-cat-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  transform: translateY(-1px);
}
.ins-cat-btn.active {
  background: var(--blue-900);
  color: #fff;
  border-color: var(--blue-900);
}
.ins-cat-count {
  background: rgba(0,0,0,.1);
  padding: 1px 8px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
}
.ins-cat-btn.active .ins-cat-count { background: rgba(255,255,255,.2); }

.ins-grid {
  display: grid;
  /* 桌機固定 3 欄上限（避免單篇撐滿全寬）*/
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  /* 卡片數少於 3 時置左不撐大 */
  justify-content: start;
}
@media (max-width: 991px) and (min-width: 600px) {
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .ins-grid { grid-template-columns: 1fr; }
}
/* 卡片：限制單張最大寬度，避免少於 3 篇時被強制撐大 */
.ins-grid .ins-card { max-width: 380px; width: 100%; }
@media (min-width: 992px) {
  .ins-grid .ins-card { justify-self: start; }
}

.ins-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out);
  position: relative;
}
.ins-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--orange-lt);
}
.ins-card--pinned {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(249,115,22,.18);
}
.ins-card--pinned::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(249,115,22,.4);
}
.ins-pin-flag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: 0 4px 12px rgba(249,115,22,.4);
}
.ins-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}
.ins-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.ins-card:hover .ins-card-img img { transform: scale(1.06); }
.ins-card-img-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.ins-card-cat {
  position: absolute;
  bottom: 12px; left: 12px;
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.ins-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.ins-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ins-card-excerpt {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ins-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem;
  color: var(--gray-500);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.ins-card-meta i { margin-right: 3px; }

.ins-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-500);
}
.ins-empty svg { color: var(--gray-300); margin-bottom: 16px; }
.ins-empty p { font-size: 1rem; margin-bottom: 20px; }

.ins-pagination {
  display: flex; gap: 6px; justify-content: center; margin-top: 48px;
}
.ins-pagination .pg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-sm);
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--t-base);
}
.ins-pagination .pg-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}
.ins-pagination .pg-btn.active {
  background: var(--blue-900);
  color: #fff;
  border-color: var(--blue-900);
}

.insshow-hero {
  position: relative;
  min-height: clamp(360px, 48vh, 540px);
  overflow: hidden;
  display: flex; align-items: center;
}
.insshow-hero-bg { position: absolute; inset: 0; z-index: 1; }
.insshow-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.insshow-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.65) 0%, rgba(10,22,40,.85) 100%);
}
.insshow-hero-inner { position: relative; z-index: 2; color: #fff; padding: 80px 0 60px; }
.insshow-cat-pill {
  display: inline-block;
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 18px 0 14px;
}
.insshow-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.4;
  max-width: 900px;
  letter-spacing: -.01em;
}
.insshow-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: .9rem;
  color: rgba(255,255,255,.78);
}
.insshow-meta i { margin-right: 5px; }
.insshow-pin {
  color: #fbbf24;
  font-weight: 700;
}

.insshow-content {
  max-width: 820px;
  margin: -60px auto 0;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 48px 56px;
  box-shadow: var(--sh-md);
  position: relative;
  z-index: 2;
}
.insshow-excerpt {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.8;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  font-style: italic;
}
.insshow-html {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-800);
}
.insshow-html h2 { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 32px 0 16px; }
.insshow-html h3 { font-size: 1.25rem; font-weight: 700; color: var(--blue-700); margin: 28px 0 14px; }
.insshow-html h4 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 12px; }
.insshow-html p { margin: 14px 0; }
.insshow-html ul, .insshow-html ol { margin: 16px 0; padding-left: 28px; }
.insshow-html li { margin: 6px 0; }
.insshow-html strong { color: var(--ink); }
.insshow-html a { color: var(--orange); text-decoration: underline; }
.insshow-html a:hover { color: var(--orange-dk); }
.insshow-html img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 20px 0; }
.insshow-html table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.insshow-html table th, .insshow-html table td {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
}
.insshow-html table th { background: var(--gray-100); font-weight: 700; }
.insshow-html blockquote {
  border-left: 4px solid var(--orange);
  background: #fef3c7;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
}
.insshow-html hr { border: 0; border-top: 1px solid var(--gray-200); margin: 32px 0; }

.insshow-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.insshow-tag {
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 500;
}

.insshow-share {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: .9rem;
  color: var(--gray-700);
}
.ins-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px;
  width: 36px; height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform var(--t-base);
}
.ins-share-btn:hover { transform: translateY(-2px); }
.ins-share-fb { background: #1877f2; color: #fff; }
.ins-share-line { background: #06c755; color: #fff; }
.ins-share-mail { background: #64748b; color: #fff; }

.insshow-related .ins-grid { margin-top: 32px; }

@media (max-width: 768px) {
  .ins-grid { grid-template-columns: 1fr; gap: 20px; }
  .ins-cat-btn { font-size: .8rem; padding: 6px 12px; }
  .insshow-content { margin: -40px 16px 0; padding: 28px 24px; border-radius: var(--r-md); }
  .insshow-html h2 { font-size: 1.3rem; }
  .insshow-html h3 { font-size: 1.1rem; }
  .insshow-meta { gap: 12px; font-size: .85rem; }
}

.section-pad-sm { padding: 24px 0; }

/* ============================================================
   ── 20. Insights Fallback 升級：品牌色 + 編輯式 watermark ──
   取代舊的 flat 色塊，改用深藍/橘金 雙色品牌調 + 細格紋光暈
   ============================================================ */

/* 重設 fallback 結構 */
.ins-card-img-fallback {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  width: 100%;
  height: 100%;
}

/* 各分類用 data-cat 套用品牌色（嚴守深藍 × 橘金）*/
.ins-card[data-cat="industry_trend"] .ins-card-img-fallback {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 55%, #1e4d8c 100%);
}
.ins-card[data-cat="weekly_report"] .ins-card-img-fallback {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 55%, #f97316 100%);
}
.ins-card[data-cat="regulations"] .ins-card-img-fallback {
  background: linear-gradient(135deg, #1a3a6b 0%, #112651 50%, #c2410c 105%);
}
.ins-card[data-cat="industrial_knowledge"] .ins-card-img-fallback {
  background: linear-gradient(135deg, #0f2040 0%, #1a3a6b 50%, #2563eb 110%);
}
.ins-card[data-cat="case_study"] .ins-card-img-fallback {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 55%, #fbbf24 110%);
}
.ins-card[data-cat="policy_news"] .ins-card-img-fallback {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 60%, #0891b2 110%);
}

/* 1) Aurora 光暈（雙球體柔光）*/
.ins-card-img-fallback::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 25%, rgba(255,255,255,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255,200,120,.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* 2) 細格紋（金融/科技質感）*/
.ins-card-img-fallback::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 2;
  pointer-events: none;
}

/* 3) 7+1 品牌單字（左上小印記）*/
.ins-fb-monogram {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.ins-fb-monogram span {
  font-size: .65em;
  margin: 0 1px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* 4) Watermark 大字（中央，分類名）*/
.ins-fb-watermark {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.015em;
  color: rgba(255,255,255,.16);
  text-align: center;
  padding: 0 16px;
  line-height: 1.1;
  user-select: none;
}

/* 5) 右下金色細線 corner accent */
.ins-fb-corner {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, #f97316);
  z-index: 4;
  border-radius: 1px;
}

/* hover：增加光暈活力 */
.ins-card:hover .ins-card-img-fallback::before {
  background:
    radial-gradient(ellipse 70% 60% at 30% 25%, rgba(255,255,255,.28) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 80% 80%, rgba(255,200,120,.22) 0%, transparent 70%);
  transition: all var(--t-mid) var(--ease-out);
}
.ins-card:hover .ins-fb-watermark {
  color: rgba(255,255,255,.22);
  transition: color var(--t-mid) var(--ease-out);
}

/* ── Bonus：分類 pill 質感升級（漸層 + 陰影）── */
.ins-card-cat {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900)) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .68rem;
  padding: 5px 12px;
}
/* 各分類 pill 用品牌色覆蓋（覆寫 inline style 用 !important）*/
.ins-card[data-cat="industry_trend"] .ins-card-cat   { background: linear-gradient(135deg, #1a3a6b, #0a1628) !important; }
.ins-card[data-cat="weekly_report"] .ins-card-cat    { background: linear-gradient(135deg, #ea580c, #9a3412) !important; }
.ins-card[data-cat="regulations"] .ins-card-cat      { background: linear-gradient(135deg, #c2410c, #1a3a6b) !important; }
.ins-card[data-cat="industrial_knowledge"] .ins-card-cat { background: linear-gradient(135deg, #1e4d8c, #0a1628) !important; }
.ins-card[data-cat="case_study"] .ins-card-cat       { background: linear-gradient(135deg, #fbbf24, #c2410c) !important; }
.ins-card[data-cat="policy_news"] .ins-card-cat      { background: linear-gradient(135deg, #1a3a6b, #0891b2) !important; }

/* ── 卡片陰影更精緻 ── */
.ins-card {
  box-shadow: 0 1px 3px rgba(15,32,64,.04), 0 4px 12px rgba(15,32,64,.06);
}
.ins-card:hover {
  box-shadow: 0 12px 36px rgba(15,32,64,.18), 0 4px 12px rgba(249,115,22,.1);
}


/* ============================================================
   ── 21. Nav Dropdown（2 層下拉選單）品牌玻璃擬態風格
   ============================================================ */

/* 父項 wrapper：作為 hover 觸發區 */
.nav-links .nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* 父項加 caret 箭頭 */
.nav-links .nav-item-wrap > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links .nav-caret {
  margin-left: 2px;
  opacity: .65;
  transition: transform .25s var(--ease-out), opacity .25s;
  flex-shrink: 0;
}
.nav-links .nav-item-wrap:hover .nav-caret,
.nav-links .nav-item-wrap.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── 下拉面板 ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: rgba(15, 22, 40, .92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 8px;
  box-shadow:
    0 24px 48px rgba(10, 22, 40, .35),
    0 8px 16px rgba(10, 22, 40, .2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s var(--ease-out),
    visibility .22s,
    transform .28s var(--ease-out);
  z-index: 100;
}

/* 在面板上方加一個透明三角箭頭，提示來源 */
.nav-dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: rgba(15, 22, 40, .92);
}

/* 為了避免 hover 在父項與面板之間斷開，加無形連接區 */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

/* hover / focus / 滑鼠進入面板 → 顯示 */
.nav-links .nav-item-wrap:hover > .nav-dropdown,
.nav-links .nav-item-wrap.has-dropdown:focus-within > .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 子項目列表 */
.nav-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-dropdown li {
  margin: 0;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition:
    background .2s var(--ease-out),
    color .2s,
    transform .2s,
    padding-left .25s;
  position: relative;
}
.nav-dropdown a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--orange-lt), var(--orange-dk));
  border-radius: 0 3px 3px 0;
  transition: height .25s var(--ease-out);
}
.nav-dropdown a:hover {
  background: linear-gradient(90deg, rgba(249, 115, 22, .18), rgba(249, 115, 22, 0));
  color: #fff;
  padding-left: 18px;
}
.nav-dropdown a:hover::before {
  height: 60%;
}
.nav-dropdown a.active {
  background: linear-gradient(90deg, rgba(249, 115, 22, .25), rgba(249, 115, 22, .05));
  color: var(--orange-lt);
  font-weight: 600;
}
.nav-dropdown a.active::before {
  height: 70%;
}

/* 子項 icon 圓圓的小徽章 */
.nav-dropdown .nav-dd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  font-size: 14px;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.nav-dropdown a:hover .nav-dd-icon {
  background: linear-gradient(135deg, var(--orange-lt), var(--orange-dk));
  transform: scale(1.08);
}
.nav-dropdown .nav-dd-label {
  flex: 1;
  white-space: nowrap;
}

/* 滾動到頁面中間時 navbar 變白底，下拉維持深色（科技感反差） */
.navbar.scrolled .nav-dropdown {
  /* 維持深色面板，但加更明顯陰影 */
  box-shadow:
    0 24px 48px rgba(10, 22, 40, .25),
    0 8px 16px rgba(10, 22, 40, .12),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* ────────────────────────────────────────
   RWD：漢堡選單裡子項目用「縮排顯示」
   ────────────────────────────────────────*/
@media (max-width: 768px) {
  .nav-links .nav-item-wrap {
    display: block;
    width: 100%;
  }
  .nav-links .nav-item-wrap > a {
    width: 100%;
    justify-content: flex-start;
  }
  /* 父項 caret 改為手機可旋轉的箭頭 */
  .nav-links .nav-item-wrap.has-dropdown > a {
    position: relative;
  }
  .nav-links .nav-item-wrap.has-dropdown > a .nav-caret {
    margin-left: auto;
    transform: rotate(0);
  }
  .nav-links .nav-item-wrap.has-dropdown.expanded > a .nav-caret {
    transform: rotate(180deg);
  }

  /* 手機版下拉：純展開 / 收合（不 absolute）*/
  .nav-dropdown {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    background: rgba(248, 250, 252, .85);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .06);
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height .32s var(--ease-out);
  }
  .nav-dropdown::before,
  .nav-dropdown::after { display: none; }
  .nav-links .nav-item-wrap.expanded > .nav-dropdown {
    max-height: 500px;
  }

  .nav-dropdown ul { padding: 4px 0; }
  .nav-dropdown a {
    padding: 10px 24px 10px 56px;
    color: var(--gray-700);
    font-size: .88rem;
    border-radius: 0;
  }
  .nav-dropdown a:hover {
    background: rgba(249, 115, 22, .06);
    color: var(--orange);
    padding-left: 60px;
  }
  .nav-dropdown a.active {
    background: linear-gradient(90deg, rgba(249, 115, 22, .1), transparent);
    color: var(--orange);
  }
  .nav-dropdown a::before {
    left: 32px;
    background: var(--orange);
  }
  .nav-dropdown .nav-dd-icon {
    background: rgba(0, 0, 0, .04);
    color: var(--gray-700);
    font-size: 13px;
    width: 22px;
    height: 22px;
  }
}

/* ============================================================
   首頁 v2 — 客戶指定架構（hv2-* 命名空間）2026-04-30
   ============================================================ */

:root {
  --hv2-cream:    #fffbf7;
  --hv2-orange-lt:#fff5ee;
  --hv2-orange-pale:#fff8f3;
  --hv2-green:    #22c55e;
  --hv2-radius-sm:8px;
  --hv2-radius:   16px;
  --hv2-radius-lg:24px;
  --hv2-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --hv2-shadow:    0 4px 16px rgba(0,0,0,.08);
  --hv2-shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --hv2-shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --hv2-shadow-orange: 0 8px 24px rgba(249,115,22,.30);
  --hv2-transition: .3s cubic-bezier(.4,0,.2,1);
}
.hv2-section-pad { padding: 96px 0; }
@media (max-width: 768px) { .hv2-section-pad { padding: 64px 0; } }

.hv2-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px;
  font-size: .95rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; border: 2px solid transparent;
  transition: var(--hv2-transition); white-space: nowrap;
  text-decoration: none;
}
.hv2-btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.hv2-btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-2px); box-shadow: var(--hv2-shadow-orange); }
.hv2-btn-ghost { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.hv2-btn-ghost:hover { background: rgba(255,255,255,.28); border-color: #fff; transform: translateY(-2px); }
.hv2-btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.hv2-btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-2px); box-shadow: var(--hv2-shadow-orange); }
.hv2-btn-full { width: 100%; justify-content: center; }

/* === 1. HERO === */
.hv2-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-direction: column;
}
.hv2-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hv2-hero-img { width: 100%; height: 100%; object-fit: cover; }
.hv2-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.78) 0%, rgba(30,58,95,.62) 50%, rgba(249,115,22,.45) 100%);
}
.hv2-htb {
  position: absolute; top: calc(var(--nav-h, 72px) + 8px); left: 0; right: 0;
  padding: 8px 0; z-index: 2;
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15);
}
.hv2-htb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  font-size: .8rem; color: rgba(255,255,255,.85); letter-spacing: .04em;
}
.hv2-htb-dot { color: rgba(255,255,255,.45); }
.hv2-htb-item { font-weight: 500; }

.hv2-hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px; }
.hv2-eyebrow {
  display: inline-block; padding: 8px 20px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
  color: #fff; font-size: .82rem; font-weight: 500; letter-spacing: .12em;
  margin-bottom: 24px;
}
.hv2-hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; }
.hv2-ht-line { display: block; }
.hv2-ht-main { color: #fff; }
.hv2-ht-accent {
  background: linear-gradient(120deg, var(--orange-lt) 0%, var(--orange) 50%, #fbbf24 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hv2-hero-sub { font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(255,255,255,.85); margin-bottom: 16px; letter-spacing: .15em; font-weight: 500; }
.hv2-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.8); line-height: 1.85; margin-bottom: 36px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hv2-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hv2-hero-stats {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 28px; align-items: center;
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  padding: 22px 38px; border-radius: 18px; box-shadow: var(--hv2-shadow-lg);
  flex-wrap: nowrap;
}
.hv2-hs-item { text-align: center; }
.hv2-hs-num { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.hv2-hs-unit { font-size: 1.05rem; font-weight: 700; color: var(--orange); margin-left: 2px; }
.hv2-hs-item p { font-size: .78rem; color: var(--gray-600); margin-top: 6px; font-weight: 500; }
.hv2-hs-div { width: 1px; height: 36px; background: var(--gray-200); }

.hv2-hero-scroll {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .25em; text-decoration: none;
}
.hv2-hero-scroll .hs-line { width: 1px; height: 26px; background: rgba(255,255,255,.6); animation: hv2ScrollLine 2s infinite; }
@keyframes hv2ScrollLine { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

@media (max-width: 768px) {
  .hv2-htb-inner { font-size: .72rem; gap: 8px; }
  .hv2-hero-stats { padding: 14px 18px; gap: 14px; bottom: 80px; }
  .hv2-hs-num { font-size: 1.5rem; }
  .hv2-hs-div { height: 24px; }
}

/* === 2. ABOUT === */
.hv2-about { background: var(--white); }
.hv2-about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .hv2-about-layout { grid-template-columns: 1fr; gap: 48px; } }

.hv2-about-visual { position: relative; }
.hv2-av-main { border-radius: var(--hv2-radius-lg); overflow: hidden; box-shadow: var(--hv2-shadow-lg); aspect-ratio: 4/5; }
.hv2-av-main img { width: 100%; height: 100%; object-fit: cover; }
.hv2-av-float {
  position: absolute; bottom: -20px; left: -20px;
  background: #fff; border-radius: var(--hv2-radius);
  padding: 16px 22px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--hv2-shadow-md);
}
.hv2-avf-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-lt), var(--orange));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.hv2-avf-text strong { display: block; font-size: .92rem; color: var(--ink); }
.hv2-avf-text span  { display: block; font-size: .75rem; color: var(--gray-500); margin-top: 2px; }
.hv2-av-year {
  position: absolute; top: -16px; right: -16px;
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #fff; box-shadow: var(--hv2-shadow-orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hv2-ayb-num { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.hv2-ayb-text { font-size: .68rem; line-height: 1.3; margin-top: 4px; text-align: center; opacity: .92; }

.hv2-about-content .section-label,
.hv2-about-content .section-title { text-align: left; }
.hv2-about-content .section-title { margin-bottom: 24px; }
.hv2-about-lead { font-size: 1.08rem; color: var(--gray-700); line-height: 1.85; margin-bottom: 16px; font-weight: 500; }
.hv2-about-body { color: var(--gray-600); line-height: 1.9; margin-bottom: 28px; }

.hv2-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hv2-vp { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 50px; font-size: .88rem; font-weight: 600; }
.hv2-vp-orange { background: var(--orange-lt, #fff5ee); color: #fff; }
.hv2-vp-blue   { background: #e0f2fe; color: #0369a1; }
.hv2-vp-green  { background: #d1fae5; color: #065f46; }
.hv2-vp-teal   { background: #ccfbf1; color: #115e59; }
.hv2-vpi-icon { display: inline-flex; }

.hv2-features { list-style: none; padding: 0; margin: 0 0 28px; }
.hv2-features li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.hv2-af-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: #f0fdf4; color: var(--hv2-green);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.hv2-af-text { color: var(--gray-700); line-height: 1.7; }
.hv2-af-text strong { color: var(--ink); }

/* === 3. FOUNDER === */
.hv2-founder { background: var(--off, #f8fafc); }
.hv2-founder-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .hv2-founder-layout { grid-template-columns: 1fr; gap: 40px; } }

.hv2-fv-img { position: relative; border-radius: var(--hv2-radius-lg); overflow: hidden; box-shadow: var(--hv2-shadow-lg); aspect-ratio: 3/4; }
.hv2-fv-img img { width: 100%; height: 100%; object-fit: cover; }
.hv2-fv-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: rgba(255,255,255,.4); font-size: 8rem; font-weight: 900;
}
.hv2-fv-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff;
}
.hv2-fvo-name { font-size: 1.5rem; font-weight: 900; margin-bottom: 4px; }
.hv2-fvo-title { font-size: .9rem; opacity: .9; }

.hv2-fs-quote { position: relative; padding: 28px 24px 28px 64px; background: #fff; border-radius: var(--hv2-radius); box-shadow: var(--hv2-shadow); margin-bottom: 28px; }
.hv2-fsq-mark { position: absolute; top: 4px; left: 16px; font-size: 5rem; line-height: 1; color: var(--orange-lt); font-family: var(--font-serif); font-weight: 700; opacity: .6; }
.hv2-fsq-text { font-size: 1.1rem; color: var(--gray-700); line-height: 1.85; font-style: italic; margin: 0; padding: 0; border: none; }
.hv2-fsq-author { margin-top: 14px; color: var(--orange); font-size: .88rem; font-weight: 700; }

.hv2-fs-story { color: var(--gray-700); line-height: 1.95; margin-bottom: 28px; }
.hv2-fs-story p { margin-bottom: 12px; }

.hv2-ft { display: grid; gap: 0; padding-left: 12px; border-left: 2px solid var(--gray-200); }
.hv2-fti { position: relative; padding: 14px 0 14px 28px; }
.hv2-fti-year { position: absolute; left: -32px; top: 16px; font-size: .8rem; font-weight: 700; color: var(--orange); }
.hv2-fti-dot { position: absolute; left: -19px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--orange); }
.hv2-fti-text { color: var(--gray-700); line-height: 1.6; padding-left: 60px; }

@media (max-width: 600px) {
  .hv2-fti-text { padding-left: 0; }
  .hv2-fti-year { position: static; display: block; margin-bottom: 4px; }
}

/* === 4. TEAM === */
.hv2-team { background: var(--hv2-cream); }
.hv2-team-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
@media (max-width: 900px) { .hv2-team-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hv2-team-cards { grid-template-columns: 1fr; } }

.hv2-tc {
  background: #fff; border-radius: var(--hv2-radius); overflow: hidden;
  box-shadow: var(--hv2-shadow); transition: var(--hv2-transition); cursor: pointer;
}
.hv2-tc:hover { transform: translateY(-6px); box-shadow: var(--hv2-shadow-lg); }
.hv2-tcc-img { aspect-ratio: 4/5; overflow: hidden; }
.hv2-tcc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hv2-tc:hover .hv2-tcc-img img { transform: scale(1.06); }
.hv2-tcc-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: rgba(255,255,255,.4); font-size: 4rem; font-weight: 900;
}
.hv2-tcc-body { padding: 22px 18px; }
.hv2-tcc-body h4 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.hv2-tcc-role { color: var(--orange); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.hv2-tcc-spec { color: var(--gray-600); font-size: .82rem; line-height: 1.6; margin-bottom: 10px; }
.hv2-tcc-exp { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .76rem; color: var(--gray-500); margin-bottom: 12px; }
.hv2-tcc-tag { background: var(--orange-lt, #fff5ee); color: var(--orange-dk); padding: 3px 10px; border-radius: 4px; font-weight: 600; }
.hv2-tcc-bio { color: var(--gray-600); font-size: .82rem; line-height: 1.7; margin-bottom: 14px; }
.hv2-tcc-actions { display: flex; gap: 8px; }
.hv2-tcc-btn {
  flex: 1; padding: 8px 12px; text-align: center; font-size: .78rem;
  background: var(--gray-100); color: var(--gray-700); border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: var(--hv2-transition);
  border: none; cursor: pointer;
}
.hv2-tcc-btn:hover { background: var(--orange); color: #fff; }
.hv2-team-cta { text-align: center; }

/* === 5. SERVICES === */
.hv2-services { background: var(--off); padding: 96px 0 0; }
.hv2-services-header { text-align: center; max-width: 800px; margin: 0 auto 48px; padding: 0 24px; }
.hv2-services-strip { display: grid; grid-template-columns: repeat(5, 1fr); min-height: 480px; }
@media (max-width: 900px) { .hv2-services-strip { grid-template-columns: repeat(2, 1fr); min-height: auto; } }
@media (max-width: 480px) { .hv2-services-strip { grid-template-columns: 1fr; } }

.hv2-sp {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  min-height: 480px;
  transition: var(--hv2-transition);
  cursor: pointer;
}
.hv2-sp-overlay { position: absolute; inset: 0; transition: opacity .35s; }
.hv2-sp:hover .hv2-sp-overlay { opacity: .8; }
.hv2-sp-content {
  position: absolute; inset: 0; padding: 32px 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; z-index: 1;
}
.hv2-sp-num { font-size: 2.6rem; font-weight: 900; opacity: .55; margin-bottom: 8px; }
.hv2-sp-content h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin: 0 0 12px; }
.hv2-sp-content p { font-size: .88rem; line-height: 1.7; opacity: .9; margin-bottom: 16px; }
.hv2-sp-link { color: var(--orange-lt); font-size: .88rem; font-weight: 700; text-decoration: none; transition: gap .25s; display: inline-flex; align-items: center; gap: 4px; }
.hv2-sp:hover .hv2-sp-link { gap: 10px; }

/* === 6. CASES === */
.hv2-cases { background: #fff; }
.hv2-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
@media (max-width: 900px) { .hv2-cases-grid { grid-template-columns: 1fr; } }

.hv2-cc {
  background: #fff; border-radius: var(--hv2-radius);
  overflow: hidden; box-shadow: var(--hv2-shadow);
  transition: var(--hv2-transition);
  border: 1px solid var(--gray-200);
}
.hv2-cc:hover { transform: translateY(-6px); box-shadow: var(--hv2-shadow-lg); }
.hv2-cc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.hv2-cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hv2-cc:hover .hv2-cc-img img { transform: scale(1.06); }
.hv2-cc-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--gray-200), var(--gray-300)); }
.hv2-cc-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: #fff; padding: 6px 16px;
  border-radius: 50px; font-size: 1.2rem; font-weight: 900; letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(10,22,40,.22);
}
.hv2-cc-body { padding: 22px; }
.hv2-cc-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: .75rem; color: var(--gray-500); }
.hv2-cc-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.hv2-cc-body h4 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.hv2-cc-body p { color: var(--gray-600); font-size: .88rem; line-height: 1.7; margin-bottom: 14px; }
.hv2-cc-result {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
}
.hv2-cr-label { font-size: .76rem; color: var(--gray-500); font-weight: 500; }
.hv2-cr-value { font-size: .98rem; color: var(--orange); font-weight: 800; }
.hv2-cases-cta { text-align: center; }
.hv2-cases-cta p { color: var(--gray-600); margin-bottom: 12px; }

/* === 7. LOCATIONS === */
.hv2-locations { background: var(--hv2-cream); }
.hv2-loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .hv2-loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hv2-loc-grid { grid-template-columns: 1fr; } }

.hv2-lc {
  background: #fff; padding: 26px 22px;
  border-radius: var(--hv2-radius); box-shadow: var(--hv2-shadow);
  transition: var(--hv2-transition);
  border: 1px solid var(--gray-100);
}
.hv2-lc:hover { transform: translateY(-4px); box-shadow: var(--hv2-shadow-lg); }
.hv2-lc-main {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: #fff; border-color: transparent;
}
.hv2-lc-main h4, .hv2-lc-main .hv2-lc-addr, .hv2-lc-main .hv2-lci-row span { color: #fff; }
.hv2-lc-main .hv2-lc-addr, .hv2-lc-main .hv2-lci-row { opacity: .92; }
.hv2-lc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hv2-lc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--orange-lt, #fff5ee); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.hv2-lc-main .hv2-lc-icon { background: rgba(249,115,22,.2); color: #fff; }
.hv2-lc-badge { padding: 4px 12px; background: var(--gray-100); color: var(--gray-700); border-radius: 50px; font-size: .72rem; font-weight: 700; }
.hv2-lc-badge-main { background: var(--orange); color: #fff; }
.hv2-lc h4 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.hv2-lc-addr { font-size: .88rem; color: var(--gray-600); margin-bottom: 14px; line-height: 1.6; }
.hv2-lc-info { margin-bottom: 16px; }
.hv2-lci-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .82rem; color: var(--gray-600); }
.hv2-lci-row svg { flex-shrink: 0; color: var(--orange); }
.hv2-lc-main .hv2-lci-row svg { color: rgba(255,255,255,.7); }
.hv2-lc-btn {
  display: block; width: 100%; padding: 10px 0; text-align: center;
  background: var(--orange-lt, #fff5ee); color: var(--orange);
  border-radius: 10px; font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: var(--hv2-transition);
}
.hv2-lc-btn:hover { background: var(--orange); color: #fff; }
.hv2-lc-btn-main { background: var(--orange); color: #fff; }
.hv2-lc-btn-main:hover { background: var(--orange-dk); }

/* === 8. CONTACT === */
.hv2-contact { background: #fff; }
.hv2-contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .hv2-contact-layout { grid-template-columns: 1fr; gap: 40px; } }

.hv2-ci .section-label, .hv2-ci .section-title { text-align: left; }
.hv2-contact-desc { color: var(--gray-600); line-height: 1.85; margin-bottom: 28px; }
.hv2-cc-cards { display: grid; gap: 14px; margin-bottom: 24px; }
.hv2-cc-item {
  display: flex; gap: 14px; padding: 16px 18px;
  background: var(--off); border-radius: 12px; align-items: flex-start;
}
.hv2-cci-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-lt), var(--orange));
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hv2-cci-content strong { display: block; color: var(--ink); font-size: .92rem; margin-bottom: 4px; }
.hv2-cci-content a { display: block; color: var(--gray-600); font-size: .85rem; padding: 2px 0; text-decoration: none; transition: color .2s; }
.hv2-cci-content a:hover { color: var(--orange); }

.hv2-contact-social { display: flex; gap: 10px; }
.hv2-cs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  text-decoration: none; color: #fff; transition: var(--hv2-transition);
}
.hv2-cs-fb { background: #1877f2; }
.hv2-cs-fb:hover { background: #1465d3; }
.hv2-cs-line { background: #06c755; }
.hv2-cs-line:hover { background: #05a548; }

.hv2-cf-wrap {
  background: #fff; border-radius: var(--hv2-radius-lg);
  padding: 36px 32px; box-shadow: var(--hv2-shadow-lg);
  border: 1px solid var(--gray-200);
}
.hv2-cfw-header { margin-bottom: 22px; }
.hv2-cfw-header h3 { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.hv2-cfw-header p { color: var(--gray-500); font-size: .88rem; margin: 0; }
.hv2-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 480px) { .hv2-form-row { grid-template-columns: 1fr; } }
.hv2-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.hv2-form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.hv2-form-group label span { color: var(--orange); }
.hv2-form-group input,
.hv2-form-group select,
.hv2-form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-size: .92rem; font-family: var(--font);
  color: var(--gray-700); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.hv2-form-group input:focus,
.hv2-form-group select:focus,
.hv2-form-group textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
}
.hv2-form-group textarea { resize: vertical; min-height: 100px; }
.hv2-form-note { color: var(--gray-500); font-size: .78rem; text-align: center; margin-top: 12px; line-height: 1.7; }

/* === 首頁 v2 補強：創辦人徽章 + 團隊文化 (2026-05-02) === */
.hv2-founder-badges {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.hv2-fb-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--hv2-radius);
  padding: 14px 18px; box-shadow: var(--hv2-shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--hv2-transition);
}
.hv2-fb-item:hover { transform: translateX(4px); border-color: var(--orange); box-shadow: var(--hv2-shadow); }
.hv2-fbi-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-lt), var(--orange));
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hv2-fbi-text strong { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 2px; }
.hv2-fbi-text span { display: block; font-size: .76rem; color: var(--gray-500); }

.hv2-team-culture {
  background: #fff; border-radius: var(--hv2-radius-lg);
  padding: 32px 36px; margin-bottom: 36px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--hv2-shadow-sm);
}
.hv2-tcu-title {
  font-size: 1.1rem; font-weight: 800; color: var(--ink);
  margin-bottom: 20px; text-align: center;
  letter-spacing: .04em;
}
.hv2-tcu-items {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 900px) { .hv2-tcu-items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hv2-tcu-items { grid-template-columns: 1fr; } }
.hv2-tcu-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
}
.hv2-tcui-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--orange-lt, #fff5ee); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hv2-tcui-content strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: 4px; }
.hv2-tcui-content p { font-size: .82rem; color: var(--gray-600); line-height: 1.7; margin: 0; }

/* ============================================================
   首頁 v4 視覺覆蓋層（index5 明亮風 + 專案 token）2026-05-03
   覆蓋 hv2-* 規則中的深色背景，改為白底/奶油色明亮風格
   ============================================================ */

/* === Hero === */
.hv2-hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(15,22,40,.58) 0%,
    rgba(15,22,40,.32) 45%,
    rgba(249,115,22,.18) 100%
  ) !important;
}
.hv2-htb {
  background: rgba(255,255,255,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  border-top: none !important;
}
.hv2-eyebrow {
  background: rgba(249,115,22,.15) !important;
  border: 1px solid rgba(249,115,22,.32) !important;
  color: var(--orange-lt) !important;
  letter-spacing: .25em !important;
  font-weight: 700 !important;
  font-size: .72rem !important;
}
.hv2-hero-stats {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--orange) !important;
  border-radius: 0 !important;
  /* 改回 index5 全寬底部 bar，但 items 平均分布 */
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  padding: 24px 0 !important;
  box-shadow: var(--sh-md) !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  gap: 0 !important;
  flex-wrap: wrap !important;
}
.hv2-hs-item {
  flex: 1 1 0 !important;
  min-width: 140px !important;
  text-align: center !important;
  padding: 0 12px !important;
}
.hv2-hs-num {
  display: inline-block !important; /* inline 會讓 IntersectionObserver 計算不穩定 */
}
.hv2-hs-div {
  flex: 0 0 1px !important;
  height: 44px !important;
  align-self: center !important;
}
@media (max-width: 768px) {
  .hv2-hero-stats { padding: 14px 0 !important; }
  .hv2-hs-div { display: none !important; }
  .hv2-hs-item { min-width: 50% !important; padding: 8px 0 !important; }
}

/* === About — 白底為主 + 浮卡用奶油 === */
.hv2-about { background: var(--white) !important; }
.hv2-av-float {
  background: #fff !important;
  border: 1px solid var(--gray-100);
}
.hv2-av-year {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt)) !important;
}

/* === Founder — 改用奶油背景 === */
.hv2-founder { background: #FFFBF7 !important; }
.hv2-fs-quote {
  background: #FFF8F3 !important;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.hv2-fv-placeholder {
  background: linear-gradient(135deg, var(--orange-lt), var(--orange)) !important;
  color: rgba(255,255,255,.65) !important;
}

/* === Team — 改用奶油背景 === */
.hv2-team { background: #FFFBF7 !important; }
.hv2-tcc-fallback {
  background: linear-gradient(135deg, var(--orange-lt), var(--orange)) !important;
  color: rgba(255,255,255,.65) !important;
}

/* === Services 區塊 header 改白底 === */
.hv2-services { background: var(--white) !important; padding-top: 96px !important; }

/* === Cases — 白底 === */
.hv2-cases { background: var(--white) !important; }

/* === Locations — 整體奶油底 + 主卡(總部)改用橘色漸層 === */
.hv2-locations { background: #FFFBF7 !important; }
.hv2-lc-main {
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(249,115,22,.30) !important;
}
.hv2-lc-main h4,
.hv2-lc-main .hv2-lc-addr,
.hv2-lc-main .hv2-lci-row span { color: #fff !important; }
.hv2-lc-main .hv2-lc-addr,
.hv2-lc-main .hv2-lci-row { opacity: .92; }
.hv2-lc-main .hv2-lc-icon { background: rgba(255,255,255,.22) !important; color: #fff !important; }
.hv2-lc-main .hv2-lci-row svg { color: rgba(255,255,255,.78) !important; }
.hv2-lc-main .hv2-lc-btn-main {
  background: #fff !important;
  color: var(--orange) !important;
}
.hv2-lc-main .hv2-lc-btn-main:hover { background: var(--gray-100) !important; }

/* === Contact 區塊改 gray-50 === */
.hv2-contact { background: var(--gray-50, #F9FAFB) !important; }
.hv2-cf-wrap {
  border: 1px solid var(--gray-200);
  box-shadow: 0 12px 40px rgba(0,0,0,.06) !important;
}

/* === 引言 mark 改用 serif token === */
.hv2-fsq-mark {
  font-family: var(--font-serif) !important;
  color: var(--orange) !important;
  opacity: .35 !important;
  font-size: 5rem !important;
}

/* === 服務 panel overlay 統一橘色暖色系（不再深藍）=== */
.hv2-sp-overlay {
  background: linear-gradient(to top, rgba(15,23,42,.85) 0%, rgba(249,115,22,.15) 100%) !important;
}
.hv2-sp:nth-child(2) .hv2-sp-overlay {
  background: linear-gradient(to top, rgba(234,108,10,.92) 0%, rgba(249,115,22,.30) 100%) !important;
}
.hv2-sp:nth-child(4) .hv2-sp-overlay {
  background: linear-gradient(to top, rgba(234,108,10,.92) 0%, rgba(249,115,22,.30) 100%) !important;
}

/* === 圓角 / 陰影使用專案 token === */
.hv2-tc, .hv2-cc, .hv2-lc, .hv2-cf-wrap, .hv2-fb-item {
  border-radius: var(--r-md) !important;
}
.hv2-tc:hover, .hv2-cc:hover, .hv2-lc:hover {
  box-shadow: var(--sh-lg) !important;
}

/* === Team / Cases tag 與 badge 改用 orange 漸層 === */
.hv2-tcc-tag,
.hv2-cc-tag {
  background: var(--orange) !important;
  color: #fff !important;
}

/* === 響應式微調：手機端 hero stats 浮卡 === */
@media (max-width: 768px) {
  .hv2-hero-stats { padding: 14px 16px !important; }
  .hv2-hs-num { font-size: 1.5rem !important; }
}

/* ============================================================
   首頁 v5 視覺修正：客戶確認版（純漸層 hero + 獨立 stats bar）
   2026-05-03
   ============================================================ */

/* === Hero 純漸層（無背景圖）=== */
.hv2-hero.hv2-hero-clean {
  min-height: 100vh !important;
  background: linear-gradient(160deg, #4a5568 0%, #6b7280 35%, #d1d5db 70%, #e5e7eb 100%) !important;
  position: relative;
}

/* 後台有設定 Hero 背景圖時改用此類 — 圖 + 深色 overlay 確保文字可讀 */
.hv2-hero.hv2-hero-imaged {
  min-height: 100vh !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative;
}
.hv2-hero.hv2-hero-imaged .hv2-hero-bg,
.hv2-hero.hv2-hero-imaged .hv2-hero-overlay,
.hv2-hero.hv2-hero-imaged .hv2-htb,
.hv2-hero.hv2-hero-imaged .hv2-eyebrow {
  display: none !important; /* 沿用 clean 版面，僅替換背景 */
}
/* 文字在深色背景上：副標 / 描述 / SCROLL 顏色提亮 */
.hv2-hero-imaged .hv2-hero-sub,
.hv2-hero-imaged .hv2-hero-desc,
.hv2-hero-imaged .hv2-hs-text { color: rgba(255,255,255,.92) !important; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hv2-hero-imaged .hv2-hs-arrow { border-color: rgba(255,255,255,.6) !important; color: #fff !important; }
.hv2-hero.hv2-hero-clean .hv2-hero-bg,
.hv2-hero.hv2-hero-clean .hv2-hero-overlay,
.hv2-hero.hv2-hero-clean .hv2-htb,
.hv2-hero.hv2-hero-clean .hv2-eyebrow {
  display: none !important;
}

/* Hero 主標：巨大、橘色 */
.hv2-hero-clean .hv2-hero-title, .hv2-hero-imaged .hv2-hero-title {
  margin-bottom: 32px !important;
}
.hv2-hero-clean .hv2-ht-accent, .hv2-hero-imaged .hv2-ht-accent {
  font-size: clamp(3rem, 9vw, 6rem) !important;
  font-weight: 900 !important;
  color: var(--orange) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: var(--orange) !important;
  letter-spacing: .05em !important;
  line-height: 1.1 !important;
  text-shadow: 0 4px 24px rgba(0,0,0,.15);
  display: block !important;
}
.hv2-hero-clean .hv2-hero-sub, .hv2-hero-imaged .hv2-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.4rem) !important;
  color: #fff !important;
  letter-spacing: .15em !important;
  font-weight: 500 !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.hv2-hero-clean .hv2-hero-desc, .hv2-hero-imaged .hv2-hero-desc {
  color: rgba(255,255,255,.92) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  margin-bottom: 36px !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}

/* CTA 主按鈕改藍色（客戶確認版視覺） */
.hv2-btn-primary {
  background: var(--blue-500, #2563eb) !important;
  color: #fff !important;
  border-color: var(--blue-500, #2563eb) !important;
  box-shadow: 0 6px 20px rgba(37,99,235,.4) !important;
}
.hv2-btn-primary:hover {
  background: var(--blue-600, #1e4d8c) !important;
  border-color: var(--blue-600, #1e4d8c) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,99,235,.5) !important;
}
.hv2-btn-ghost {
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  backdrop-filter: blur(8px);
}
.hv2-btn-ghost:hover {
  background: rgba(255,255,255,.20) !important;
  border-color: rgba(255,255,255,.7) !important;
  transform: translateY(-2px);
}

/* SCROLL 提示置中 hero 底部 */
.hv2-hero-clean .hv2-hero-scroll, .hv2-hero-imaged .hv2-hero-scroll {
  position: absolute !important;
  bottom: 36px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
.hv2-hero-clean .hv2-hero-scroll, .hv2-hero-imaged .hv2-hero-scroll .hs-text,
.hv2-hero-clean .hv2-hero-scroll, .hv2-hero-imaged .hv2-hero-scroll .hv2-hs-text {
  color: rgba(255,255,255,.78) !important;
  font-size: .68rem !important;
  letter-spacing: .25em !important;
}

/* === 獨立 Stats Bar === */
.hv2-stats-bar {
  background: #fff;
  border-top: 4px solid var(--orange);
  padding: 38px 0;
  border-bottom: 1px solid var(--gray-100);
}
.hv2-sb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}
.hv2-sb-item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--gray-100);
}
.hv2-sb-item:last-child { border-right: none; }
.hv2-sb-num-row {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.hv2-sb-num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  display: inline-block;
}
.hv2-sb-unit {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
}
.hv2-sb-label {
  font-size: .92rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: .04em;
}
@media (max-width: 768px) {
  .hv2-sb-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hv2-sb-item { padding: 12px 4px; border-right: none; border-bottom: 1px solid var(--gray-100); }
  .hv2-sb-item:nth-child(n+3) { border-bottom: none; }
}

/* === About 特色清單膠囊化（淡灰底 + 藍色 check）=== */
.hv2-features li {
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--gray-100);
  border-radius: 50px !important;
  padding: 12px 18px !important;
  margin-bottom: 10px !important;
  align-items: center !important;
}
.hv2-features li:hover {
  background: var(--blue-50, #eff6ff);
  border-color: var(--blue-300, #93c5fd);
}
.hv2-af-check {
  background: var(--blue-500, #2563eb) !important;
  color: #fff !important;
  width: 24px !important;
  height: 24px !important;
}
.hv2-af-text { font-size: .9rem; }

/* === 移除 hero-stats 浮卡（已被獨立 stats bar 取代）=== */
.hv2-hero-stats { display: none !important; }

/* ============================================================
   首頁 v6 客戶確認版：創辦人區塊細修 2026-05-03
   ============================================================ */

/* === 創辦人區塊整體背景白底 === */
.hv2-founder { background: #fff !important; }

/* === 創辦人照片卡：底部 overlay 為深漸層白字 === */
.hv2-fv-img {
  border-radius: var(--r-lg) !important;
  box-shadow: 0 12px 40px rgba(15,23,42,.15) !important;
}
.hv2-fv-overlay {
  background: linear-gradient(to top, rgba(15,23,42,.9) 0%, rgba(15,23,42,.4) 60%, transparent 100%) !important;
  padding: 32px 24px 22px !important;
}
.hv2-fvo-name { color: #fff !important; font-size: 1.6rem !important; font-weight: 900 !important; }
.hv2-fvo-title { color: var(--orange-lt, #fb923c) !important; font-size: .9rem !important; font-weight: 600 !important; }

/* === 引言卡：深藍底 + 白色 italic 引言 + 橘色作者 === */
.hv2-fs-quote {
  background: var(--blue-900, #0a1628) !important;
  border-left: none !important;
  border-radius: var(--r-md) !important;
  padding: 36px 32px 32px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10,22,40,.2);
}
.hv2-fs-quote::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hv2-fsq-mark {
  font-family: var(--font-serif) !important;
  color: var(--orange) !important;
  opacity: 1 !important;
  font-size: 2rem !important;
  position: static !important;
  display: block !important;
  margin-bottom: 12px !important;
  letter-spacing: -.05em;
}
.hv2-fsq-text {
  color: #fff !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  font-style: italic !important;
  font-weight: 500 !important;
  margin: 0 0 18px !important;
}
.hv2-fsq-author {
  color: var(--orange) !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
}

/* === 創辦人 3 個徽章：淡藍底卡 === */
.hv2-founder-badges {
  margin-top: 24px !important;
  gap: 10px !important;
}
.hv2-fb-item {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  box-shadow: none !important;
  transition: all .25s var(--ease-out, ease) !important;
}
.hv2-fb-item:hover {
  background: #e0f2fe !important;
  border-color: #93c5fd !important;
  transform: translateX(0) !important;
}
.hv2-fbi-icon {
  background: #fff !important;
  color: var(--blue-500, #2563eb) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.hv2-fb-item:nth-child(2) .hv2-fbi-icon { color: #d97706 !important; /* 金色 (最佳經紀人) */ }
.hv2-fb-item:nth-child(3) .hv2-fbi-icon { color: var(--blue-700, #1a3a6b) !important; }
.hv2-fbi-text strong { color: var(--ink, #0f172a) !important; font-size: .94rem !important; }
.hv2-fbi-text span { color: var(--gray-500, #64748b) !important; font-size: .76rem !important; }

/* === 時間軸：橘色圓點 + 灰豎線 === */
.hv2-ft {
  margin-top: 28px !important;
  padding-left: 4px !important;
  border-left: 2px solid #e2e8f0 !important;
}
.hv2-fti {
  position: relative;
  padding: 10px 0 10px 24px !important;
}
.hv2-fti-year {
  color: var(--orange) !important;
  font-weight: 800 !important;
  font-size: .92rem !important;
  display: inline-block;
  margin-right: 14px;
  position: static !important;
  width: 50px;
}
.hv2-fti-dot {
  position: absolute !important;
  left: -8px !important;
  top: 16px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50%;
  background: var(--orange) !important;
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 2px var(--orange);
}
.hv2-fti-text {
  display: inline !important;
  color: var(--gray-700, #334155) !important;
  font-size: .92rem !important;
  padding-left: 0 !important;
  line-height: 1.7;
}

/* === 創辦人 section 標題置中 === */
.hv2-founder .section-header {
  text-align: center !important;
  margin-bottom: 56px !important;
}
.hv2-founder .section-header .section-title {
  color: var(--ink, #0f172a) !important;
  font-size: clamp(2rem, 4vw, 2.6rem) !important;
  font-weight: 900 !important;
}
.hv2-founder .section-header .section-desc {
  color: var(--gray-500, #64748b) !important;
  font-size: .95rem !important;
}

/* === 移除舊 hv2-fs-quote 殘留 ::before === */
.hv2-fs-quote::before { display: none !important; }

/* ============================================================
   首頁 v7：團隊合照 + 團隊文化深藍卡 2026-05-03
   ============================================================ */

/* === 團隊合照大卡 === */
.hv2-team-group {
  position: relative;
  border-radius: var(--r-lg, 24px);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  margin-bottom: 48px;
  aspect-ratio: 16/9;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.hv2-team-group img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hv2-tg-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 36px 24px;
  background: linear-gradient(to top, rgba(15,23,42,.88) 0%, rgba(15,23,42,.4) 60%, transparent 100%);
  color: #fff;
}
.hv2-tg-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.hv2-tg-text span {
  display: block;
  font-size: .9rem;
  opacity: .85;
  font-weight: 500;
}

/* === 團隊文化：改為深藍底大卡（4 個 inner 卡）=== */
.hv2-team-culture {
  background: var(--blue-900, #0a1628) !important;
  border-radius: var(--r-lg, 24px) !important;
  padding: 56px 40px !important;
  margin-bottom: 56px !important;
  border: none !important;
  box-shadow: 0 12px 40px rgba(10,22,40,.18) !important;
  position: relative;
  overflow: hidden;
}
.hv2-team-culture::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hv2-tcu-title {
  color: #fff !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin-bottom: 36px !important;
  letter-spacing: .04em;
  position: relative;
}
.hv2-tcu-items {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  position: relative;
}
@media (max-width: 900px) { .hv2-tcu-items { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .hv2-tcu-items { grid-template-columns: 1fr !important; } }
.hv2-tcu-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 28px 20px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: var(--r-md, 16px) !important;
  text-align: center !important;
  transition: all .3s var(--ease-out, ease) !important;
}
.hv2-tcu-item:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(249,115,22,.3) !important;
  transform: translateY(-4px) !important;
}
.hv2-tcui-icon {
  background: rgba(37,99,235,.15) !important;
  color: var(--blue-400, #3b82f6) !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hv2-tcu-item:hover .hv2-tcui-icon {
  background: rgba(249,115,22,.18) !important;
  color: var(--orange-lt, #fb923c) !important;
}
.hv2-tcui-content strong {
  display: block;
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  letter-spacing: .03em;
}
.hv2-tcui-content p {
  color: rgba(255,255,255,.6) !important;
  font-size: .82rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* === Team section 整體背景白底（覆蓋之前 v4 cream）=== */
.hv2-team { background: #fff !important; }

/* ============================================================
   首頁 v8：Services strip 特效（index5 hover-expand）2026-05-03
   ============================================================ */

/* === Services strip：hover 擴張動畫 === */
.hv2-services-strip {
  display: flex;
  min-height: 540px;
}
.hv2-services-strip > .hv2-sp {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex .65s cubic-bezier(.16, 1, .3, 1) !important;
  cursor: pointer;
  background-size: cover !important;
  background-position: center !important;
}

/* 滑鼠進入 strip 時：所有 panel 縮 */
.hv2-services-strip:hover > .hv2-sp { flex: .85; }
/* 被 hover 的單一 panel 擴張 */
.hv2-services-strip > .hv2-sp:hover { flex: 2.5; }

/* 預設第一個 panel 微擴張（提示互動）*/
.hv2-services-strip > .hv2-sp:first-child { flex: 1.3; }
.hv2-services-strip:hover > .hv2-sp:first-child:not(:hover) { flex: .85; }

/* === Panel overlay 統一橘色暖色系 === */
.hv2-sp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.85) 0%, rgba(15,23,42,.25) 60%, transparent 100%) !important;
  transition: opacity .45s ease, background .45s ease !important;
  z-index: 1;
}
.hv2-sp:hover .hv2-sp-overlay {
  background: linear-gradient(to top, rgba(15,23,42,.95) 0%, rgba(249,115,22,.45) 60%, rgba(249,115,22,.15) 100%) !important;
}

/* === Panel content === */
.hv2-sp-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1) !important;
}

.hv2-sp-num {
  font-family: var(--font-display, Georgia, serif);
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #fff !important;
  opacity: .9 !important;
  margin-bottom: 12px !important;
  letter-spacing: -.02em;
  transition: color .45s, opacity .45s;
}
.hv2-sp:hover .hv2-sp-num { color: var(--orange-lt, #fb923c) !important; }

.hv2-sp-content h3 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
  color: #fff !important;
  letter-spacing: .02em;
}

/* 描述：預設隱藏，hover 時淡入滑出 */
.hv2-sp-content p {
  font-size: .9rem !important;
  line-height: 1.75 !important;
  color: rgba(255,255,255,.92) !important;
  margin: 0 0 18px !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: max-height .5s, opacity .5s, transform .5s;
}
.hv2-sp:hover .hv2-sp-content p {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

/* CTA 「立即諮詢 →」 */
.hv2-sp-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #fff !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255,255,255,.4);
  width: max-content;
  opacity: .85;
  transition: gap .3s, opacity .3s, border-color .3s;
}
.hv2-sp:hover .hv2-sp-link {
  opacity: 1;
  gap: 10px !important;
  border-color: var(--orange-lt, #fb923c);
  color: var(--orange-lt, #fb923c) !important;
}

/* 圖片 Ken Burns 推鏡 */
.hv2-services-strip > .hv2-sp::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 1.2s ease;
}
.hv2-sp:hover {
  /* 用 background-position 製造輕微 zoom（純視覺）*/
}

/* RWD：手機端 panel 變垂直、不擴張 */
@media (max-width: 900px) {
  .hv2-services-strip {
    flex-direction: column;
    min-height: auto;
  }
  .hv2-services-strip > .hv2-sp {
    flex: none !important;
    min-height: 320px;
  }
  .hv2-services-strip > .hv2-sp:first-child { flex: none !important; }
  .hv2-sp-content p {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Services 區塊 header 顏色修正 === */
.hv2-services-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 56px;
}
.hv2-services-header .section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange) !important;
  margin-bottom: 10px;
}
.hv2-services-header .section-title {
  color: var(--ink, #0f172a) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  font-weight: 900 !important;
  margin-bottom: 14px !important;
}
.hv2-services-header .section-desc {
  color: var(--gray-500, #64748b) !important;
  max-width: 640px;
  margin: 0 auto;
  font-size: .98rem;
  line-height: 1.8;
}

/* ============================================================
   游標保險：強制可見（修「游標消失」bug）2026-05-03
   ============================================================ */
html, body { cursor: auto !important; }
a, button, [role="button"], .hv2-btn, .btn, .nav-toggle,
input[type="submit"], input[type="checkbox"], input[type="radio"],
select, label[for], .hv2-tc, .hv2-cc, .hv2-lc, .hv2-sp,
[onclick], [data-senior-open] { cursor: pointer !important; }
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], textarea { cursor: text !important; }

/* 移除 cursor-dot / cursor-ring（templates 殘留，沒對應 JS）*/
.cursor-dot, .cursor-ring { display: none !important; }

/* ============================================================
   首頁 v9：Locations 區塊（總部深藍 + 分部白底）2026-05-03
   ============================================================ */

/* === 區塊整體：淡灰背景 === */
.hv2-locations { background: #f3f4f6 !important; padding: 96px 0; }

/* === Section header：橘色標籤 + 黑色大標 === */
.hv2-locations .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.hv2-locations .section-label {
  color: var(--orange) !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .25em !important;
  display: inline-block;
  position: relative;
  padding: 0 26px;
}
.hv2-locations .section-label::before,
.hv2-locations .section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--orange);
}
.hv2-locations .section-label::before { left: 0; }
.hv2-locations .section-label::after { right: 0; }

.hv2-locations .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  font-weight: 900 !important;
  color: var(--ink, #0f172a) !important;
  margin: 14px 0 16px !important;
}
.hv2-locations .section-desc {
  color: var(--gray-500, #64748b) !important;
  font-size: .95rem;
  max-width: 580px;
  margin: 0 auto;
}

/* === 4 卡橫排 === */
.hv2-loc-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
}
@media (max-width: 900px) { .hv2-loc-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .hv2-loc-grid { grid-template-columns: 1fr !important; } }

/* === 分部卡（白底 + 藍色 icon + 灰色 badge）=== */
.hv2-lc {
  background: #fff !important;
  border-radius: var(--r-md, 16px) !important;
  padding: 28px 24px !important;
  border: 1px solid var(--gray-100, #f1f5f9) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.04) !important;
  transition: all .35s var(--ease-out, ease) !important;
  display: flex;
  flex-direction: column;
}
.hv2-lc:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 36px rgba(15,23,42,.12) !important;
  border-color: var(--blue-300, #93c5fd) !important;
}
.hv2-lc-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
}
.hv2-lc-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--blue-500, #2563eb), var(--blue-700, #1a3a6b)) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.hv2-lc-badge {
  background: var(--gray-100, #f1f5f9) !important;
  color: var(--gray-600, #64748b) !important;
  padding: 4px 14px !important;
  border-radius: 50px !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
}
.hv2-lc h4 {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: var(--ink, #0f172a) !important;
  margin: 0 0 6px !important;
}
.hv2-lc-addr {
  font-size: .82rem !important;
  color: var(--gray-500, #64748b) !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
  min-height: 38px;
}
.hv2-lc-info {
  margin-bottom: 18px !important;
  flex-grow: 1;
}
.hv2-lci-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 0 !important;
  font-size: .82rem !important;
  color: var(--gray-600, #64748b) !important;
}
.hv2-lci-row svg, .hv2-lci-row .lci-svg svg {
  flex-shrink: 0;
  color: var(--blue-500, #2563eb) !important;
}
.hv2-lc-btn {
  display: block !important;
  width: 100% !important;
  padding: 11px 0 !important;
  text-align: center !important;
  background: var(--gray-50, #f9fafb) !important;
  color: var(--gray-700, #334155) !important;
  border: 1px solid var(--gray-200, #e2e8f0) !important;
  border-radius: var(--r-sm, 10px) !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all .25s !important;
}
.hv2-lc-btn:hover {
  background: var(--blue-500, #2563eb) !important;
  color: #fff !important;
  border-color: var(--blue-500, #2563eb) !important;
}

/* === 總部卡（深藍底 + 橘色 icon + 橘色按鈕）=== */
.hv2-lc-main {
  background: linear-gradient(135deg, var(--blue-900, #0a1628) 0%, var(--blue-800, #0f2040) 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 14px 40px rgba(10,22,40,.25) !important;
  position: relative;
  overflow: hidden;
}
.hv2-lc-main::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hv2-lc-main:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 50px rgba(10,22,40,.35) !important;
  border-color: transparent !important;
}
.hv2-lc-main .hv2-lc-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt, #fb923c)) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(249,115,22,.4) !important;
}
.hv2-lc-main .hv2-lc-badge,
.hv2-lc-main .hv2-lc-badge-main {
  background: var(--orange) !important;
  color: #fff !important;
}
.hv2-lc-main h4 { color: #fff !important; }
.hv2-lc-main .hv2-lc-addr { color: rgba(255,255,255,.72) !important; }
.hv2-lc-main .hv2-lci-row {
  color: rgba(255,255,255,.85) !important;
}
.hv2-lc-main .hv2-lci-row svg,
.hv2-lc-main .hv2-lci-row .lci-svg svg {
  color: var(--orange-lt, #fb923c) !important;
}
.hv2-lc-main .hv2-lc-btn,
.hv2-lc-main .hv2-lc-btn-main {
  background: var(--orange) !important;
  color: #fff !important;
  border-color: var(--orange) !important;
  box-shadow: 0 6px 18px rgba(249,115,22,.35);
}
.hv2-lc-main .hv2-lc-btn:hover,
.hv2-lc-main .hv2-lc-btn-main:hover {
  background: var(--orange-dk, #ea580c) !important;
  border-color: var(--orange-dk, #ea580c) !important;
  transform: translateY(-1px);
}

/* ============================================================================
   ▒▒▒  Phase 2 — 內頁統一視覺規範（基於首頁 v9 設計語言）  2026-05-03  ▒▒▒
   ============================================================================
   套用範圍：about / cases / contact / founder / market / services /
            team / trust / insights / search 10 個內頁
   設計語彙（一律使用 token）：
     • 主背景：#fff（白）/ #f3f4f6（淡灰副）/ #FFFBF7（奶油）/ var(--blue-900)（深藍卡）
     • 主色：var(--orange) 橘色（accent / 標籤 / 數字）
     • 次色：var(--blue-500) 藍色（CTA / icon）
     • 字色：var(--ink) 黑字主標 / var(--gray-700) 內文 / var(--gray-500) 副字
     • 字體：var(--font) / var(--font-display) / var(--font-serif) / var(--font-mono)
     • 圓角：var(--r-sm/md/lg)
     • 陰影：var(--sh-sm/md/lg/xl)
   ============================================================================ */

/* ──────────────────────────────────────────
   1) 內頁 Hero — 統一深漸層背景 + 暖橘 accent
   套用：.ap-hero / .fp-hero / .cas-hero / .tp-hero / .tru-hero
        .sch-hero / .srv-hero / .mkt-hero / .con-hero
   ────────────────────────────────────────── */
.ap-hero, .fp-hero, .cas-hero, .tp-hero, .tru-hero,
.sch-hero, .srv-hero, .mkt-hero, .con-hero {
  background: linear-gradient(160deg, var(--blue-900, #0a1628) 0%, var(--blue-700, #1a3a6b) 60%, rgba(249,115,22,.20) 100%);
  position: relative;
  overflow: hidden;
}

/* 內頁 hero overlay — 統一輕度暗化（2026-05-17 客戶要求恢復遮罩但保持照片清晰）
   先前 2026-05-11 改為 transparent，但只覆蓋 overlay div 的頁面，::after 偽元素的
   頁面未被影響，造成 10 個頁面 3 個沒遮罩、7 個有遮罩的不一致狀態。
   現統一改為：上 20% / 下 40% 的垂直漸層，文字可讀又不糊圖；首頁另外更輕（見下）。 */

/* 內頁（overlay div 實作：about / founder / cases / insights）*/
.ap-hero-overlay, .fp-hero-overlay, .cas-hero-overlay, .tp-hero-overlay, .tru-hero-overlay,
.sch-hero-overlay, .srv-hero-overlay, .mkt-hero-overlay, .con-hero-overlay,
.ins-hero-overlay {
  background: linear-gradient(180deg, rgba(10,22,40,.20) 0%, rgba(10,22,40,.40) 100%) !important;
}

/* 人才招募 hero — 比照首頁採用「更輕」的遮罩：
   本頁 Banner 是明亮的設計海報（標題文字已畫在圖上），不需靠遮罩襯托白字；
   套用其他內頁的 .20→.40 會讓整張圖明顯發灰發霧，故降到與首頁相同的 .08→.20。 */
.careers-hero-overlay {
  background: linear-gradient(180deg, rgba(10,22,40,.08) 0%, rgba(10,22,40,.20) 100%) !important;
}

/* 內頁（::after 偽元素實作：team / services / trust / search / contact）
   覆蓋它們原本各自定義中過重的暗化（.85→.55 / .92→.5 等） */
.tp-hero-bg::after, .srv-hero-bg::after, .tru-hero-bg::after,
.sch-hero-bg::after, .con-hero-bg::after {
  background: linear-gradient(180deg, rgba(10,22,40,.20) 0%, rgba(10,22,40,.40) 100%) !important;
}

/* 首頁 hero — 比內頁更輕（客戶特別要求清晰明亮） */
.hv2-hero-overlay {
  background: linear-gradient(180deg, rgba(10,22,40,.08) 0%, rgba(10,22,40,.20) 100%) !important;
}

/* 內頁 hero 主標 — 白色 + 橘色 accent */
.ap-hero-title, .fp-hero-name, .cas-hero-title, .tp-hero-title, .tru-hero-title,
.sch-hero-title, .srv-hero-title, .mkt-hero-title, .con-hero-title {
  color: #fff !important;
  font-family: var(--font);
}
.ap-hero-title .text-accent, .cas-hero-title .text-accent,
.tp-hero-title .text-accent, .tru-hero-title .text-accent,
.srv-hero-title .text-accent, .mkt-hero-title .text-accent,
.con-hero-title .text-accent, .sch-hero-title .text-accent {
  color: var(--orange) !important;
}

/* ──────────────────────────────────────────
   2) Section Header — 橘色 label / 黑色標題 / 灰副標
   ────────────────────────────────────────── */
.ap-stats .section-label,
.cas-grid .section-label,
.tpc-section .section-label,
.tpm-section .section-label,
.srv-grid .section-label,
.mkt-articles .section-label,
.fp-career .section-label,
.tru-cards-grid .section-label {
  color: var(--orange) !important;
  letter-spacing: .25em;
  font-weight: 700;
}

/* ──────────────────────────────────────────
   3) 主 CTA 按鈕 — 統一藍色（與首頁 hv2-btn-primary 一致）
   ────────────────────────────────────────── */
.btn-cta-primary,
.btn-hero-primary,
.btn-submit,
.cta-phone-btn {
  background: var(--blue-500, #2563eb) !important;
  color: #fff !important;
  border: 2px solid var(--blue-500, #2563eb) !important;
  box-shadow: 0 6px 20px rgba(37,99,235,.32);
  font-family: var(--font);
}
.btn-cta-primary:hover,
.btn-hero-primary:hover,
.btn-submit:hover,
.cta-phone-btn:hover {
  background: var(--blue-600, #1e4d8c) !important;
  border-color: var(--blue-600, #1e4d8c) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,99,235,.45);
}

/* Ghost 按鈕（hero 內次按鈕）保持透明白邊 */
.btn-cta-ghost,
.btn-hero-ghost {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.4) !important;
  backdrop-filter: blur(8px);
}
.btn-cta-ghost:hover,
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: #fff !important;
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────
   4) 內頁卡片家族 — 白底 + 圓角 + hover 浮起
   ────────────────────────────────────────── */
.cas-card, .tpc-card, .tpm-card, .tru-card, .srv-card,
.loc-card, .mkt-article-card, .fpci-card {
  background: #fff;
  border: 1px solid var(--gray-100, #f1f5f9) !important;
  border-radius: var(--r-md, 16px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .35s var(--ease-out, ease);
}
.cas-card:hover, .tpc-card:hover, .tpm-card:hover, .tru-card:hover, .srv-card:hover,
.loc-card:hover, .mkt-article-card:hover, .fpci-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(15,23,42,.12);
  border-color: var(--blue-300, #93c5fd) !important;
}

/* ──────────────────────────────────────────
   5) Section 背景階層 — 統一白/淡灰交替
   ────────────────────────────────────────── */
.section-pad.bg-light,
.tpm-section,
.tpc-section.bg-light,
.tru-cards-grid.bg-light {
  background: #f3f4f6 !important;
}

/* 奶油色區塊（柔和對比） */
.fp-letter-section,
.ap-story.bg-cream,
.con-form-section.bg-cream {
  background: #FFFBF7 !important;
}

/* ──────────────────────────────────────────
   6) 引言 Quote 卡 — 深藍底 + 白字 italic + 橘色作者
   ────────────────────────────────────────── */
.fp-letter-quote,
.fp-deep-quote {
  background: var(--blue-900, #0a1628) !important;
  color: #fff !important;
  border-radius: var(--r-md, 16px);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.fp-letter-quote::after,
.fp-deep-quote::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.fp-letter-quote .quote-text,
.fp-deep-quote .quote-text { color: #fff !important; font-style: italic; }
.fp-letter-quote .quote-author,
.fp-deep-quote .quote-author { color: var(--orange) !important; font-weight: 700; }

/* ──────────────────────────────────────────
   7) 表單欄位 — 藍色 focus
   ────────────────────────────────────────── */
.con-form input,
.con-form select,
.con-form textarea,
.sch-form-input,
.sca-input {
  font-family: var(--font);
  border-color: var(--gray-200, #e2e8f0) !important;
}
.con-form input:focus,
.con-form select:focus,
.con-form textarea:focus,
.sch-form-input:focus,
.sca-input:focus {
  border-color: var(--blue-500, #2563eb) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.18) !important;
  outline: none !important;
}

/* ──────────────────────────────────────────
   8) text-accent 橘色強調
   ────────────────────────────────────────── */
.text-accent { color: var(--orange) !important; }

/* ──────────────────────────────────────────
   9) Insights 文章列表 — 同首頁卡片視覺
   ────────────────────────────────────────── */
.ins-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  border-radius: var(--r-md, 16px);
  font-family: var(--font);
  transition: all .35s var(--ease-out, ease);
}
.ins-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(15,23,42,.12);
  border-color: var(--blue-300) !important;
}

/* ──────────────────────────────────────────
  10) Search 物件卡 — 沿用首頁 prop-card 風格
   ────────────────────────────────────────── */
.prop-card .prop-price,
.prop-card .prop-addr-link {
  color: var(--orange);
  font-family: var(--font);
}
.prop-type-tag {
  font-family: var(--font);
  background: rgba(255,255,255,.95);
}

/* ──────────────────────────────────────────
  11) Page CTA / Service CTA — 統一深藍漸層
   ────────────────────────────────────────── */
.page-cta {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%) !important;
}
.srv-cta {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, rgba(249,115,22,.25) 100%) !important;
}

/* ──────────────────────────────────────────
  12) 麵包屑 — 橘色 hover + 灰色分隔符
   ────────────────────────────────────────── */
.breadcrumb a:hover { color: var(--orange) !important; }
.breadcrumb__sep { color: var(--gray-400); }
.breadcrumb [aria-current="page"] { color: var(--orange); font-weight: 600; }

/* ──────────────────────────────────────────
  13) Trust 頁核心保證卡 — 預設藍 icon、hover 變橘
   ────────────────────────────────────────── */
.tru-card {
  background: #fff !important;
  border-color: var(--gray-100) !important;
}
.tru-card .tru-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
}
.tru-card:hover .tru-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt, #fb923c)) !important;
}

/* ──────────────────────────────────────────
  14) Founder 頁 timeline / 引言 — 與首頁同款
   ────────────────────────────────────────── */
.fp-career-item .fci-year,
.fp-career-item .fci-marker { color: var(--orange) !important; background: var(--orange) !important; }
.fp-career-item .fci-marker { background: var(--orange) !important; }

/* ──────────────────────────────────────────
  15) Team 頁部門色票 — 沿用 Phase 2 主次色
   ────────────────────────────────────────── */
.tpd-card .tpd-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
}

/* ==============================================================================
   ▒▒▒  Phase 3 — 內頁精緻化（line icon + 大氣質感）2026-05-03  ▒▒▒
   ==============================================================================
   範圍：trust / team / services / contact / cases / search
   配色守則：
     • 主色 var(--orange) — accent / hover / 強調
     • 次色 var(--blue-500) — icon 主色 / 連結
     • 深底 var(--blue-900) — 區塊背景對比
     • 卡片：白底 + 圓角 var(--r-md) + 陰影 var(--sh-sm) + hover 升級
     • icon：stroke 1.6、漸層底、currentColor 控色
   ============================================================================== */

/* ──────────────────────────────────────────
   1) Trust 頁 — 4 個核心保證卡精緻化
   ────────────────────────────────────────── */
.tru-card {
  background: #fff !important;
  border: 1px solid var(--gray-100, #f1f5f9) !important;
  border-radius: var(--r-md, 16px) !important;
  padding: 36px 28px !important;
  text-align: center;
  transition: all .4s var(--ease-out, ease) !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  position: relative;
  overflow: hidden;
}
.tru-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out, ease);
}
.tru-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 48px rgba(15,23,42,.14) !important;
  border-color: transparent !important;
}
.tru-card:hover::before { transform: scaleX(1); }

.tru-card-icon {
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 22px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: var(--blue-600, #1e4d8c) !important;
  position: relative;
  transition: all .4s var(--ease-out, ease);
}
.tru-card-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-500), var(--orange));
  opacity: 0;
  z-index: -1;
  transition: opacity .4s;
}
.tru-card-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
  transition: transform .4s var(--ease-out, ease);
}
.tru-card:hover .tru-card-icon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-lt, #fb923c) 100%) !important;
  color: #fff !important;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 32px rgba(249,115,22,.32);
}
.tru-card:hover .tru-card-icon svg { transform: rotate(6deg); }
.tru-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin: 0 0 12px;
  letter-spacing: .02em;
}
.tru-card-desc {
  color: var(--gray-600, #64748b);
  font-size: .92rem;
  line-height: 1.85;
  margin: 0;
}

/* 蓋掉舊版 tru-bg-* 純色背景（避免和新精緻 icon 衝突）*/
.tru-bg-blue, .tru-bg-orange, .tru-bg-blue-deep, .tru-bg-orange-deep,
.tru-bg-rose, .tru-bg-purple, .tru-bg-green {
  background: transparent !important;
}

/* ──────────────────────────────────────────
   2) Team 頁 — 部門卡 / 文化卡精緻化
   ────────────────────────────────────────── */

/* 4 部門卡 */
.tpd-card {
  background: #fff !important;
  border: 1px solid var(--gray-100) !important;
  border-radius: var(--r-md, 16px) !important;
  padding: 32px 24px !important;
  text-align: center;
  transition: all .4s var(--ease-out, ease) !important;
  position: relative;
  overflow: hidden;
}
.tpd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s;
}
.tpd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
}
.tpd-card:hover::before { transform: scaleX(1); }

.tpd-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
  color: var(--blue-600) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .4s var(--ease-out, ease);
}
.tpd-icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
.tpd-card:hover .tpd-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt)) !important;
  color: #fff !important;
  transform: scale(1.08);
}

/* 部門名 / 數字 */
.tpd-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

/* 4 個團隊文化 icon container（tpc-icon-* 已存在） */
.tpc-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all .4s var(--ease-out, ease);
}
.tpc-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.tpc-icon-blue   { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--blue-600); }
.tpc-icon-orange { background: linear-gradient(135deg, #fff5ee, #fed7aa); color: var(--orange-dk); }
.tpc-icon-green  { background: linear-gradient(135deg, #f0fdf4, #d1fae5); color: #059669; }
.tpc-icon-rose   { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: #dc2626; }

.tpc-card:hover .tpc-icon { transform: rotate(-5deg) scale(1.08); }

/* ──────────────────────────────────────────
   3) Services 頁（內頁，非首頁 services strip）
   ────────────────────────────────────────── */

/* 5 大服務交替式 layout 的 icon 容器 */
.sic-icon, .ps-icon {
  width: 80px !important;
  height: 80px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .4s var(--ease-out, ease);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--blue-600);
}
.sic-icon svg, .ps-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.6;
}
/* 5 種色票（依序循環）*/
.sic-icon-blue   { background: linear-gradient(135deg, #eff6ff, #dbeafe) !important; color: var(--blue-600) !important; }
.sic-icon-orange { background: linear-gradient(135deg, #fff5ee, #fed7aa) !important; color: var(--orange-dk) !important; }
.sic-icon-green  { background: linear-gradient(135deg, #f0fdf4, #d1fae5) !important; color: #059669 !important; }
.sic-icon-purple { background: linear-gradient(135deg, #f5f3ff, #e9d5ff) !important; color: #7c3aed !important; }
.sic-icon-rose   { background: linear-gradient(135deg, #fef2f2, #fee2e2) !important; color: #dc2626 !important; }

.srv-card:hover .sic-icon,
.srv-row:hover .sic-icon,
.ps-card:hover .ps-icon {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

/* ──────────────────────────────────────────
   4) Cases 頁 — 案例卡精緻化
   ────────────────────────────────────────── */
.cas-card {
  background: #fff !important;
  border: 1px solid var(--gray-100) !important;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  transition: all .4s var(--ease-out, ease) !important;
}
.cas-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15,23,42,.16) !important;
  border-color: transparent !important;
}
.cas-card .cas-img,
.cas-card .cac-img {
  position: relative;
  overflow: hidden;
}
.cas-card .cas-img img,
.cas-card .cac-img img {
  transition: transform .8s ease;
}
.cas-card:hover .cas-img img,
.cas-card:hover .cac-img img {
  transform: scale(1.08);
}

/* 分類標籤改用品牌 token 漸層 */
.cas-tag, .cac-tag {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt, #fb923c)) !important;
  color: #fff !important;
  border: none !important;
  padding: 7px 18px !important;
  border-radius: 50px !important;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(249,115,22,.32);
}

/* 篩選按鈕 */
.cas-filter-btn {
  background: #fff !important;
  border: 1.5px solid var(--gray-200) !important;
  color: var(--gray-700) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600;
  transition: all .25s !important;
}
.cas-filter-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.cas-filter-btn.active {
  background: var(--blue-500) !important;
  border-color: var(--blue-500) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(37,99,235,.32);
}

/* ──────────────────────────────────────────
   5) Contact 頁 — 表單 + icon 精緻化
   ────────────────────────────────────────── */

/* 聯絡方式 icon 容器 */
.ci-icon, .cci-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--blue-600) !important;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.18);
  transition: all .4s var(--ease-out, ease);
}
.ci-icon svg, .cci-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.ci-icon-blue { background: linear-gradient(135deg, #eff6ff, #dbeafe) !important; color: var(--blue-600) !important; }
.ci-icon-green { background: linear-gradient(135deg, #f0fdf4, #d1fae5) !important; color: #059669 !important; }
.ci-icon:hover, .cci-icon:hover {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--orange), var(--orange-lt)) !important;
  color: #fff !important;
}

/* 分店卡 - 已在 Phase 2 處理，這裡微調 */
.con-loc-card {
  border-radius: var(--r-md) !important;
  border: 1px solid var(--gray-100) !important;
  transition: all .35s var(--ease-out) !important;
}
.con-loc-card:hover {
  border-color: var(--blue-300) !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.12);
  transform: translateY(-4px);
}

/* ──────────────────────────────────────────
   6) Search 頁 — 搜尋條 / 物件卡精緻化
   ────────────────────────────────────────── */

/* 搜尋表單 */
.sch-form, .sca-form, .sfr-form {
  background: #fff;
  border-radius: var(--r-lg, 24px) !important;
  border: 1px solid var(--gray-100) !important;
  box-shadow: 0 12px 40px rgba(15,23,42,.08) !important;
  padding: 28px !important;
}

/* 搜尋按鈕 */
.sch-search-btn, .sca-submit, .sfr-submit {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(37,99,235,.32) !important;
  transition: all .25s !important;
}
.sch-search-btn:hover, .sca-submit:hover, .sfr-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,99,235,.45) !important;
}

/* 物件卡 hover */
.prop-card {
  border-radius: var(--r-md) !important;
  border: 1px solid var(--gray-100) !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition: all .35s var(--ease-out) !important;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(15,23,42,.14) !important;
  border-color: var(--blue-300) !important;
}

/* ──────────────────────────────────────────
   7) About 頁 — 數字成就強化 + 故事區
   ────────────────────────────────────────── */
.apv-num {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

/* About 數據 stats 容器 hover */
.apst-item { transition: all .35s var(--ease-out); }
.apst-item:hover {
  transform: translateY(-4px);
}
.apst-num {
  background: linear-gradient(135deg, var(--orange), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* ──────────────────────────────────────────
   8) Founder 頁 — 章魚 / 簽名 / 引言精緻化
   ────────────────────────────────────────── */
.fpci-icon, .fp-deco-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(249,115,22,.32);
}
.fpci-icon svg { width: 30px; height: 30px; stroke-width: 1.6; }

/* ──────────────────────────────────────────
   9) Insights 文章卡 — 與首頁一致
   ────────────────────────────────────────── */
.ins-card .ins-cat-tag {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ============================================================
   v11：navbar 兩階下拉子項對比優化（emoji + 文字清晰可讀）
   2026-05-03
   ============================================================ */

/* 子項文字提亮為近全白 */
.nav-dropdown a {
  color: #fff !important;
  opacity: 0.92;
}
.nav-dropdown a:hover {
  opacity: 1;
  color: #fff !important;
}
.nav-dropdown a.active {
  color: var(--orange-lt, #fb923c) !important;
  opacity: 1;
}

/* emoji 圖示底色加強 — 從 6% 白底提升至 18%，並用淡橘漸層讓 emoji 浮起 */
.nav-dropdown .nav-dd-icon {
  background: linear-gradient(135deg, rgba(249,115,22,.20), rgba(255,255,255,.08)) !important;
  border: 1px solid rgba(255,255,255,.12);
  width: 32px !important;
  height: 32px !important;
  font-size: 16px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* hover 時 icon 完全亮起 */
.nav-dropdown a:hover .nav-dd-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt, #fb923c)) !important;
  border-color: var(--orange-lt, #fb923c);
  box-shadow: 0 4px 12px rgba(249,115,22,.40);
}

/* active 子項 icon */
.nav-dropdown a.active .nav-dd-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt, #fb923c)) !important;
  border-color: var(--orange-lt, #fb923c);
}

/* 整個下拉面板背景加深 + 加邊框 → 強化深色獨立感 */
.nav-dropdown {
  background: rgba(10, 17, 30, .96) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 24px 48px rgba(0,0,0,.45),
    0 8px 16px rgba(0,0,0,.30) !important;
}

/* 子項間加細分隔線 */
.nav-dropdown li + li a {
  position: relative;
}
.nav-dropdown li + li a::after {
  content: '';
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 1px;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

/* ============================================================
   v12：Insights 文章內容 typography 統一規範 2026-05-03
   覆蓋舊文章的 inline-style 雜色 + 為新文章提供乾淨 class
   ============================================================ */

/* === 文章內容容器整體 === */
.insshow-html {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.95;
  font-family: var(--font);
}

/* === 標題層級 === */
.insshow-html h2,
.insshow-html h3,
.insshow-html h4 {
  color: var(--ink, #0f172a);
  font-weight: 800;
  margin: 32px 0 14px;
  letter-spacing: .02em;
}
.insshow-html h2 { font-size: 1.6rem; }
.insshow-html h3 { font-size: 1.3rem; color: var(--blue-700, #1a3a6b) !important; }
.insshow-html h4 { font-size: 1.1rem; }

.insshow-html p { margin: 0 0 16px; }
.insshow-html strong { color: var(--ink); }
.insshow-html em { color: var(--orange); font-style: normal; font-weight: 700; }

.insshow-html ul,
.insshow-html ol { margin: 12px 0 20px; padding-left: 22px; }
.insshow-html li { margin-bottom: 8px; }

.insshow-html hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  margin: 32px 0;
}

/* === 表格統一 === */
.insshow-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: .94rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.insshow-html thead { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.insshow-html thead th { color: #fff; padding: 12px 14px; text-align: left; font-weight: 700; }
.insshow-html tbody td { padding: 10px 14px; border-top: 1px solid var(--gray-100); }
.insshow-html tbody tr:nth-child(even) { background: var(--gray-50, #f9fafb); }

/* === 重點區塊 callout（藍底淡卡片）=== */
.ih-callout {
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
  border: 1px solid var(--blue-100, #dbeafe);
  border-left: 4px solid var(--blue-500, #2563eb);
  border-radius: var(--r-md, 16px);
  padding: 24px 28px;
  margin: 28px 0;
}
.ih-callout > h4:first-child {
  color: var(--blue-700, #1a3a6b) !important;
  margin-top: 0 !important;
  font-size: 1.05rem !important;
  border-bottom: 1px solid var(--blue-100);
  padding-bottom: 10px;
}

/* === 重點 tile（藍 / 橘兩色，取代舊紅黃綠雜色）=== */
.ih-tile {
  background: #fff;
  border-radius: var(--r-sm, 10px);
  padding: 14px 18px;
  margin: 12px 0;
  border-left: 3px solid var(--blue-500);
  box-shadow: 0 2px 6px rgba(15,23,42,.04);
}
.ih-tile strong:first-child {
  display: block;
  color: var(--blue-700, #1a3a6b);
  font-weight: 700;
  margin-bottom: 6px;
  font-size: .98rem;
}
.ih-tile p { margin: 6px 0 0; font-size: .92rem; line-height: 1.8; }
.ih-tile-blue { border-left-color: var(--blue-500); background: #f0f7ff; }
.ih-tile-blue strong:first-child { color: var(--blue-700); }
.ih-tile-orange { border-left-color: var(--orange); background: #fff8f3; }
.ih-tile-orange strong:first-child { color: var(--orange-dk, #ea580c); }

/* === 文章內 CTA 按鈕 === */
.ih-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(37,99,235,.32);
}
.ih-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,99,235,.45);
}

/* === 蓋掉舊文章 inline-style 雜色背景 === */
/* 用 attribute selector + inline style 不能直接蓋，但能對特定模式強制 */
.insshow-html div[style*="#fff3cd"],
.insshow-html div[style*="#cfe2ff"],
.insshow-html div[style*="#f8d7da"],
.insshow-html div[style*="background:#fff"],
.insshow-html div[style*="background: #fff"] {
  background: #f0f7ff !important;
  border-left: 3px solid var(--blue-500);
  border-radius: var(--r-sm, 10px);
  padding: 14px 18px;
  margin: 12px 0;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

/* ============================================================
   v13：手機版二階下拉視覺修正（延續後台 menu_items 動態渲染）
   2026-05-03
   ============================================================
   桌機保留 v11 的深色玻璃下拉；
   手機版（≤768px）改用淡底+深字，與漢堡抽屜白底協調
   後台 /admin/menus 維持原本動態渲染邏輯，不動 markup
   ============================================================ */

@media (max-width: 768px) {
  /* 整個下拉面板：白底 + 細左邊條 */
  .nav-dropdown {
    background: #fff !important;
    border: none !important;
    border-left: 3px solid var(--orange) !important;
    border-radius: 0 !important;
    box-shadow: inset 0 1px 0 rgba(0,0,0,.04), inset 0 -1px 0 rgba(0,0,0,.04) !important;
    padding: 4px 0 !important;
    margin: 0 16px 8px !important;  /* 與漢堡項目左右對齊 */
  }

  /* 子項：深色字 + 對齊縮排 */
  .nav-dropdown a {
    color: var(--gray-700, #334155) !important;
    opacity: 1 !important;
    padding: 12px 24px 12px 20px !important;
    font-size: .9rem !important;
    border-radius: 8px !important;
  }
  .nav-dropdown a:hover,
  .nav-dropdown a:active {
    background: var(--orange-lt, #fff5ee) !important;
    color: var(--orange-dk, #ea580c) !important;
    padding-left: 24px !important;
  }
  .nav-dropdown a.active {
    background: linear-gradient(90deg, rgba(249,115,22,.12), transparent) !important;
    color: var(--orange-dk, #ea580c) !important;
    font-weight: 700;
  }

  /* emoji 圖示徽章：淡橘底，與淡色背景對比 */
  .nav-dropdown .nav-dd-icon {
    background: linear-gradient(135deg, #fff5ee, #fed7aa) !important;
    border: 1px solid rgba(249,115,22,.20) !important;
    color: var(--orange-dk) !important;
    width: 30px !important;
    height: 30px !important;
    box-shadow: none !important;
  }
  .nav-dropdown a:hover .nav-dd-icon,
  .nav-dropdown a.active .nav-dd-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-lt, #fb923c)) !important;
    border-color: transparent !important;
    transform: scale(1.06);
  }

  /* 移除桌機的子項分隔線（手機改用 padding 區隔即可）*/
  .nav-dropdown li + li a::after { display: none !important; }

  /* 父選單項（含 caret）— hover 時不要繼承藍色，改橘 */
  .nav-item-wrap.has-dropdown.expanded > a {
    color: var(--orange) !important;
  }
  .nav-item-wrap.has-dropdown.expanded > a .nav-caret {
    color: var(--orange);
  }
}

/* ============================================================
   v14：about 頁核心理念 5 卡橫排（含響應式降階）
   ============================================================ */
@media (max-width: 1100px) {
  .ap-values-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  .ap-values-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .ap-values-grid { grid-template-columns: 1fr !important; }
}

/* 5 卡時內距收緊一點，避免擠 */
.ap-values-grid .apv-item {
  padding: 28px 20px;
}
.ap-values-grid .apv-num {
  font-size: 2.2rem;
}
.ap-values-grid .apv-item h3 {
  font-size: 1rem;
}
.ap-values-grid .apv-item p {
  font-size: .82rem;
  line-height: 1.8;
}

/* ============================================================
   v15：team 部門卡精緻化（取代舊深藍方塊 icon）2026-05-03
   ============================================================ */

/* 部門卡容器 */
.team .tpd-card,
section .tpd-card {
  background: #fff !important;
  border: 1px solid var(--gray-100, #f1f5f9) !important;
  border-radius: var(--r-md, 16px) !important;
  padding: 36px 24px 28px !important;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15,23,42,.04) !important;
  transition: all .4s var(--ease-out, ease) !important;
  position: relative;
  overflow: hidden;
}
.team .tpd-card::before,
section .tpd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s var(--ease-out, ease);
}
.team .tpd-card:hover,
section .tpd-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.14) !important;
  border-color: transparent !important;
}
.team .tpd-card:hover::before,
section .tpd-card:hover::before { transform: scaleX(1); }

/* Icon 容器：淡藍漸層底 + 大尺寸 + 線條深藍 stroke */
.team .tpd-icon,
section .tpd-card .tpd-icon {
  width: 76px !important;
  height: 76px !important;
  padding: 0 !important;
  margin: 0 auto 22px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: var(--blue-700, #1a3a6b) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .4s var(--ease-out, ease) !important;
  border: 1px solid rgba(37,99,235,.12);
}
.team .tpd-icon svg,
section .tpd-card .tpd-icon svg {
  width: 38px !important;
  height: 38px !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
  fill: none !important;
  transition: transform .4s var(--ease-out, ease);
}
.team .tpd-card:hover .tpd-icon,
section .tpd-card:hover .tpd-icon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-lt, #fb923c) 100%) !important;
  color: #fff !important;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 32px rgba(249,115,22,.32);
  border-color: transparent;
}
.team .tpd-card:hover .tpd-icon svg,
section .tpd-card:hover .tpd-icon svg { transform: rotate(6deg); }

/* 部門編號數字 — 大字體、橘藍漸層 */
.team .tpd-num,
section .tpd-card .tpd-num {
  font-size: 2.6rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  background: linear-gradient(135deg, var(--orange), var(--blue-500)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
  font-family: var(--font-display, var(--font));
}

/* 部門名稱 */
.team .tpd-body h3,
section .tpd-card h3 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--ink, #0f172a) !important;
  margin: 4px 0 10px !important;
}
.team .tpd-body p,
section .tpd-card .tpd-body > p {
  font-size: .85rem !important;
  color: var(--gray-600, #64748b) !important;
  line-height: 1.85 !important;
  margin: 0 0 16px !important;
}

/* 業務類別清單（橘色點 + 灰字） */
.team .tpd-tags,
section .tpd-card .tpd-tags {
  list-style: none;
  padding: 14px 0 0 !important;
  margin: 0 !important;
  border-top: 1px dashed var(--gray-200, #e2e8f0);
  display: flex;
  flex-direction: column;
  gap: 6px !important;
}
.team .tpd-tags li,
section .tpd-card .tpd-tags li {
  font-size: .82rem !important;
  color: var(--gray-700, #334155) !important;
  padding: 3px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: left;
  justify-content: center;
}
.team .tpd-tags li::before,
section .tpd-card .tpd-tags li::before {
  content: '' !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--orange) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

/* ============================================================
   v16：page_sections cards 區塊 emoji icon 精緻化
   2026-05-03
   套用：trust / about / 任何用 page_sections type=cards 的頁面
   ============================================================ */

/* 卡片整體 — 跟首頁卡片風格一致（白底 + 圓角 + hover 浮起） */
.ps-card {
  background: #fff !important;
  border: 1px solid var(--gray-100, #f1f5f9) !important;
  border-radius: var(--r-md, 16px) !important;
  padding: 36px 26px 28px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease-out, ease) !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.ps-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s var(--ease-out, ease);
}
.ps-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(15,23,42,.14) !important;
  border-color: transparent !important;
}
.ps-card:hover::before { transform: scaleX(1); }

/* Icon 容器 — emoji 顯示放大、淡藍漸層底取代深藍 */
.ps-card__icon {
  width: 76px !important;
  height: 76px !important;
  margin: 0 auto 20px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;          /* emoji 放大 */
  line-height: 1 !important;
  color: var(--blue-700, #1a3a6b) !important;
  border: 1px solid rgba(37,99,235,.10);
  transition: all .4s var(--ease-out, ease) !important;
  box-shadow: 0 4px 12px rgba(37,99,235,.10);
}
.ps-card__icon svg {
  width: 38px !important;
  height: 38px !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
  fill: none !important;
}
.ps-card:hover .ps-card__icon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-lt, #fb923c) 100%) !important;
  color: #fff !important;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 28px rgba(249,115,22,.32) !important;
  border-color: transparent !important;
}

/* 卡片標題 / 描述 */
.ps-card__title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--ink, #0f172a) !important;
  margin: 0 0 10px !important;
  letter-spacing: .02em;
}
.ps-card__desc {
  font-size: .86rem !important;
  color: var(--gray-600, #64748b) !important;
  line-height: 1.85 !important;
  margin: 0 !important;
}
.ps-card__desc a {
  color: var(--blue-500) !important;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.ps-card__desc a:hover { color: var(--orange) !important; }

/* 連結卡（整張卡可點，例：常用法規查詢連結） */
a.ps-card--link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}
a.ps-card--link .ps-card__title { transition: color .25s var(--ease-out, ease); }
a.ps-card--link:hover .ps-card__title { color: var(--orange, #f97316) !important; }
.ps-card__ext { color: var(--blue-500, #2563eb); font-weight: 700; }
a.ps-card--link:hover .ps-card__ext { color: var(--orange, #f97316); }

/* 數字型 icon（如 "01" "02"）— 用品牌漸層大字 */
.ps-card__icon:where(:not(:has(svg))) {
  /* emoji / 純文字維持上面樣式即可 */
}

/* 預設 4 卡橫排 */
.ps-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin-top: 32px !important;
}

/* RWD — 提高 specificity 以蓋過後續所有 .ps-cards-grid 規則（含 :has 5 欄規則） */
@media (max-width: 1024px) {
  .page-section--cards .ps-cards-grid,
  .ps-cards-grid.ps-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .page-section--cards .ps-cards-grid,
  .ps-cards-grid.ps-cards-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   v17：page_sections cards 依區塊內容調整欄數
   2026-05-03
   ============================================================ */

/* 興辦事業計畫 5 階段審查流程 — 一排 5 個 */
[data-section-key="client_xingban_process"] .ps-cards-grid {
  grid-template-columns: repeat(5, 1fr) !important;
}

/* 常用法規查詢 9 個連結 — 3x3 比較整齊 */
[data-section-key="client_external_links"] .ps-cards-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* 通用：當卡片數 ≤ 5 時自動 5 欄；6 時 3 欄 ；其他保持 4 欄 */
.ps-cards-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(5, 1fr) !important;
}

/* RWD：5 欄手機端降級 */
@media (max-width: 1100px) {
  [data-section-key="client_xingban_process"] .ps-cards-grid,
  .ps-cards-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  [data-section-key="client_external_links"] .ps-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  [data-section-key="client_xingban_process"] .ps-cards-grid,
  [data-section-key="client_external_links"] .ps-cards-grid,
  .ps-cards-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  [data-section-key="client_xingban_process"] .ps-cards-grid,
  [data-section-key="client_external_links"] .ps-cards-grid,
  .ps-cards-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: 1fr !important;
  }
}

/* 5 卡時內距收緊一點以免擠 */
[data-section-key="client_xingban_process"] .ps-card {
  padding: 28px 18px 22px !important;
}
[data-section-key="client_xingban_process"] .ps-card__icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}
[data-section-key="client_xingban_process"] .ps-card__title {
  font-size: 1rem !important;
}
[data-section-key="client_xingban_process"] .ps-card__desc {
  font-size: .82rem !important;
}

/* ============================================================
   v18：cases / insights 文章內容 typography 補強 2026-05-03
   ============================================================ */

/* 章節小標籤（取代散亂 emoji + h5） */
.ih-section-label {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #fff5ee, #fed7aa);
  color: var(--orange-dk, #ea580c);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 24px 0 16px;
}

/* 標籤 hashtag 列 */
.ih-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--gray-200);
}
.ih-tags span {
  font-size: .82rem;
  color: var(--gray-600);
  background: var(--gray-50, #f9fafb);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid var(--gray-100);
  transition: all .25s;
}
.ih-tags span:hover {
  background: var(--orange-lt, #fff5ee);
  color: var(--orange-dk);
  border-color: rgba(249,115,22,.30);
}

/* page_sections 內含 body_html（trust / cases / about 等）的內容應用 ih-* 樣式 */
.page-section .ih-callout,
.page-section .ih-tile,
.page-section .ih-tags,
.page-section .ih-section-label,
.page-section .ih-cta {
  /* 規則繼承自 v12 .insshow-html，這裡多複用 */
}

/* 在 page_sections 內也支援 ih-callout */
.page-section section,
.page-section article {
  font-family: var(--font);
}

/* ============================================================
   2026-05 行動版選單修補（v2）：
   問題：服務項目展開後子項出現「半寬白底空白行 / 文字不顯示」
   原因：
     1) 桌機 .nav-dropdown 為 position:absolute / 固定 width / transform → 影響行動版
     2) 早期加的 color:#fff !important 殘留，子項文字被染白
     3) li 的 display: list-item 預設可能遺留 marker，且 a 沒設 width:100%
   修法：以最高 specificity + !important 一次鎖定整個行動版下拉版面
   ============================================================ */

/* === 桌機限定：避免行動版被影響 === */
@media (min-width: 901px) {
  /* 桌機保持原樣（已有 5258 起始的規則）*/
}

/* === 行動版（≤900px）：完整覆寫所有可能干擾子項顯示的屬性 === */
@media (max-width: 900px) {

  /* 1. 整個下拉容器 — 強制全寬、in-flow、白底 */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: none !important;
    border-left: 3px solid var(--orange, #f97316) !important;
    border-radius: 0 !important;
    box-shadow: inset 0 1px 0 rgba(0,0,0,.04), inset 0 -1px 0 rgba(0,0,0,.04) !important;
    margin: 0 16px 8px !important;
    padding: 6px 0 !important;
    backdrop-filter: none !important;
  }

  /* 2. 預設折疊 / 展開時 max-height 撐開 */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease-out;
  }
  body .nav-links .nav-item-wrap.has-dropdown.expanded > .nav-dropdown {
    max-height: 1000px !important;
    overflow: visible !important;
  }

  /* 3. ul / li — 移除 list 樣式、強制全寬 */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    width: 100% !important;
    display: block !important;
  }
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown li {
    list-style: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown li::before,
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown li::after {
    display: none !important;
  }

  /* 4. 子項 <a> — 全寬 flex / 深色字 */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    color: #334155 !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* 5. 子項 hover / active */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a:hover,
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a:active,
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a.active {
    background: linear-gradient(90deg, rgba(249,115,22,.10), rgba(249,115,22,.02)) !important;
    color: #ea580c !important;
  }
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a.active {
    font-weight: 700 !important;
  }

  /* 6. icon 徽章 — 淡橘底，深橘 emoji */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a .nav-dd-icon {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #fff5ee, #fed7aa) !important;
    border: 1px solid rgba(249,115,22,.20) !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    color: #ea580c !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a:hover .nav-dd-icon,
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a.active .nav-dd-icon {
    background: linear-gradient(135deg, #f97316, #fb923c) !important;
    border-color: transparent !important;
    color: #fff !important;
  }

  /* 7. label — 強制可見、繼承父 a 顏色 */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a .nav-dd-label {
    flex: 1 !important;
    color: inherit !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: normal !important;
    text-align: left !important;
  }
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a:hover .nav-dd-label,
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a.active .nav-dd-label {
    font-weight: 700 !important;
  }

  /* 8. 移除可能的 ::before / ::after 偽元素 */
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a::before,
  body .nav-links .nav-item-wrap.has-dropdown > .nav-dropdown a::after {
    display: none !important;
    content: none !important;
  }
}

/* ============================================================
   2026-05 修補：founder 頁右側白底卡的「📞 撥打電話」按鈕看不到文字
   原因：line 7052 .btn-cta-ghost 用 color:#fff !important（為 hero 深底設計）
        在 .fp-letter-cta 白色卡片裡 → 白字白底全消失
   ============================================================ */
.fp-letter-cta .btn-cta-ghost,
.fp-letter-aside .btn-cta-ghost {
  background: rgba(249, 115, 22, .08) !important;
  color: var(--orange-dk, #ea580c) !important;
  border: 1.5px solid rgba(249, 115, 22, .35) !important;
  backdrop-filter: none !important;
}
.fp-letter-cta .btn-cta-ghost:hover,
.fp-letter-aside .btn-cta-ghost:hover {
  background: rgba(249, 115, 22, .15) !important;
  border-color: var(--orange, #f97316) !important;
  color: var(--orange-dk, #ea580c) !important;
}

/* ============================================================
   2026-05 後台上傳的 logo 圖（取代「7+1」文字徽章）
   ============================================================ */
.logo-emblem--img {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
}
.logo-emblem--img img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-emblem--img,
  .logo-emblem--img img { height: 44px !important; }
}

/* ============================================================
   2026-05 修補：top 選單最右側「撥打電話」按鈕貼邊 / 切到問題
   原因：原本只有 ≤768px 一個斷點，769~1280px 中型螢幕仍顯示完整電話文字，
        加上 .nav-inner padding:28px 與其他 9 個選單項擠在一起，靠右容易切。
   修法：3 級漸進式縮減（1280 / 1100 / 900）+ 加 safe-area-inset 防 notch 切邊。
   ============================================================ */

/* 3.0 安全區（iPhone notch / 摺疊機等保留實體邊距）*/
.nav-inner {
  padding-left:  max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
}

/* 3.1 中等螢幕（1281px 以下，桌機略小～小筆電）— 縮內距與項目間距 */
@media (max-width: 1280px) {
  .nav-inner {
    padding-left:  max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    gap: 16px;
  }
  .nav-links { gap: 4px; }
  .nav-links a { font-size: 1.02rem; padding: 8px 12px; }
}

/* 3.2 小筆電 / 大平板（1100px 以下）— 進一步縮、電話按鈕變緊湊 */
@media (max-width: 1100px) {
  .nav-inner {
    padding-left:  max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    gap: 12px;
  }
  .nav-links a { font-size: .98rem; padding: 8px 10px; letter-spacing: .02em; }
  .nav-phone {
    padding: 7px 14px;
    font-size: .76rem;
    margin-right: 4px;  /* 多 4px 安全邊距 */
  }
  .nav-phone .np-text { font-size: .82rem; }
  .nav-phone .np-icon svg { width: 14px; height: 14px; }
}

/* 3.3 大平板 / 直立平板（900px 以下，但仍非手機 nav）— 電話文字隱藏，提早變圓鈕 */
@media (max-width: 900px) and (min-width: 769px) {
  .nav-inner {
    padding-left:  max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    gap: 8px;
  }
  /* nav-phone 提早改成圓鈕（避免文字被切）*/
  .nav-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    margin-right: 0;
    flex-shrink: 0;
  }
  .nav-phone .np-text { display: none !important; }
  .nav-phone .np-icon svg { width: 18px; height: 18px; }
}

/* 3.4 手機（≤768px）— 原本就是圓鈕，這裡加 padding-right 防切邊 */
@media (max-width: 768px) {
  .nav-inner {
    padding-right: max(14px, env(safe-area-inset-right, 0px)) !important;
  }
  .nav-phone { margin-right: 0 !important; }
}

/* 3.5 極小手機（≤375px，舊 iPhone SE 等）— 再緊縮 */
@media (max-width: 375px) {
  .nav-inner {
    padding-left:  max(10px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(10px, env(safe-area-inset-right, 0px)) !important;
    gap: 6px;
  }
  .nav-phone, .nav-toggle { width: 40px !important; height: 40px !important; }
}

/* 3.6 修補：窄螢幕手機（如三星 S25 = 360px）漢堡選單被壓扁／切掉
   問題診斷（實測 2026-07）：
     手機版頁首為 flex 排列，各元素實際寬度為
       內距16 + logo 269 + 間距12 + 電話鈕42 + 間距12 + 漢堡 + 內距14
     其中 logo 的 269px 由「logo 圖 70px + 圖旁品牌文字 .logo-text 189px」組成
     （後台設定 logo_keep_text_with_image 開啟時才會顯示該文字）。
     而 .nav-logo 為 flex-shrink:0 不可壓縮，於是 flexbox 只能壓縮「唯一可縮」的漢堡：
       • iPhone 16（393px）→ 勉強塞下，漢堡被壓成 26px
       • 三星 S25（360px）→ 塞不下，漢堡被壓成 22px 甚至溢出 → 看起來就是「顯示不完全」
     這也解釋了為何本機正常、正式站異常：本機未開啟該設定，logo 僅 70px。
   修法：
     ① 漢堡與電話鈕永不被壓縮（flex-shrink:0），確保 40px 完整觸控區
     ② 手機（≤480px）隱藏 logo 圖旁的品牌文字 —— logo 圖本身已含品牌名稱，
        該文字在小螢幕屬重複資訊，隱藏後可讓出 189px。
   實測結果（正式站）：360px 餘裕 10px、393px 餘裕 14px，漢堡皆完整顯示。 */
@media (max-width: 480px) {
  .nav-toggle,
  .nav-phone { flex-shrink: 0; }
  .nav-logo .logo-text { display: none; }
}

/* ============================================================
   首頁 Team 區團隊合照 ─ 多圖輪播(2026-05-16)
   單圖時不啟用輪播樣式,沿用原本的 .hv2-team-group img 規則
============================================================ */
.hv2-tg-carousel .hv2-tg-slides {
  position: absolute; inset: 0; z-index: 0;
}
.hv2-tg-carousel .hv2-tg-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .6s ease-in-out; pointer-events: none;
}
.hv2-tg-carousel .hv2-tg-slide.is-active { opacity: 1; pointer-events: auto; }
.hv2-tg-carousel .hv2-tg-overlay { z-index: 2; }
.hv2-tg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(15,23,42,.55); color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center;
  transition: background .2s; backdrop-filter: blur(4px);
}
.hv2-tg-arrow:hover { background: rgba(249,115,22,.92); }
.hv2-tg-prev { left: 16px; }
.hv2-tg-next { right: 16px; }
.hv2-tg-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hv2-tg-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.45); cursor: pointer; transition: all .2s;
  padding: 0;
}
.hv2-tg-dot:hover { background: rgba(255,255,255,.75); }
.hv2-tg-dot.is-active { background: #f97316; width: 24px; border-radius: 6px; }
@media (max-width: 600px) {
  .hv2-tg-arrow { width: 36px; height: 36px; font-size: 22px; }
  .hv2-tg-prev { left: 8px; }
  .hv2-tg-next { right: 8px; }
}


/* ============================================================
   人才招募 /careers — 整套樣式  (2026-05-27)
   ============================================================ */

/* — Hero — */
.careers-main { background: var(--white); }
.careers-hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.careers-hero-bg { position: absolute; inset: 0; z-index: 0; }
.careers-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.careers-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.45) 0%, rgba(30,77,140,.40) 50%, rgba(249,115,22,.30) 100%);
}
.careers-hero-content { position: relative; z-index: 1; color: #fff; max-width: 900px; }
/* 麵包屑：正常排版流，置於英文小標上方（與全站一致） */
.careers-hero-content .breadcrumb {
  margin-bottom: 16px;
  color: rgba(255,255,255,.85);
}
.careers-hero-content .breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.careers-hero-content .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.careers-hero-content .breadcrumb .breadcrumb__sep { margin: 0 8px; opacity: .55; }
@media (max-width: 991px) {
  /* 手機 / 平板：改回正常流排在主標題上方，避免絕對定位壓到 Hero 大標 */
  .careers-hero-content .breadcrumb {
    position: static;
    top: auto;
    left: auto;
    font-size: .85rem;
    margin-bottom: 14px;
  }
}
.careers-hero-content .section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: .78rem; letter-spacing: .25em; font-weight: 700;
  color: #fef3c7;
  margin-bottom: 24px;
}
.careers-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}
.careers-hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255,255,255,.92);
  max-width: 720px;
  margin: 0 0 36px;
}
.careers-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.careers-hero-cta .btn-hero-primary {
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #fff; padding: 16px 36px; font-size: 1rem; border-radius: 100px;
  box-shadow: 0 10px 32px rgba(249,115,22,.45);
}
.careers-hero-cta .btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(249,115,22,.55); }
.careers-hero-cta .btn-hero-ghost {
  background: rgba(255,255,255,.1); color: #fff; padding: 16px 36px; font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 100px;
  backdrop-filter: blur(6px);
}
.careers-hero-cta .btn-hero-ghost:hover { background: rgba(255,255,255,.2); }

/* — 相簿 grid — */
.careers-gallery .careers-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.careers-gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 12px rgba(15,23,42,.08);
  transition: transform .35s var(--ease-out, ease), box-shadow .35s var(--ease-out, ease);
}
.careers-gallery-item:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,.18); }
.careers-gallery-item a { display: block; }
.careers-gallery-item img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.careers-gallery-item:hover img { transform: scale(1.06); }
.careers-gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-size: .85rem; font-weight: 600;
  pointer-events: none;
}

/* — 應徵表單 — */
.careers-apply { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.careers-form {
  max-width: 880px; margin: 32px auto 0;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(15,23,42,.06);
}
.careers-form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.careers-field { display: flex; flex-direction: column; }
.careers-field--full { grid-column: 1 / -1; }
.careers-field--photo { grid-column: 1 / -1; }
.careers-label {
  font-size: .9rem; font-weight: 700; color: var(--ink, #0f172a);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.careers-label .req { color: #ef4444; font-weight: 700; margin-left: 2px; }
.careers-input {
  width: 100%;
  padding: 12px 14px;
  font-size: .95rem;
  font-family: inherit;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #0f172a);
  transition: border-color .2s, box-shadow .2s;
}
.careers-input:focus {
  outline: none;
  border-color: var(--orange, #f97316);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
textarea.careers-input { resize: vertical; min-height: 96px; line-height: 1.7; }

/* 照片上傳區 */
.careers-photo-drop { position: relative; }
.careers-photo-drop input[type=file] { position: absolute; opacity: 0; pointer-events: none; }
.careers-photo-label {
  display: flex; align-items: center; gap: 20px;
  padding: 20px;
  background: #f8fafc;
  border: 2px dashed var(--gray-300, #cbd5e1);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.careers-photo-label:hover {
  border-color: var(--orange, #f97316);
  background: #fff7ed;
}
.careers-photo-preview {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400, #94a3b8);
  flex-shrink: 0;
  overflow: hidden;
}
.careers-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.careers-photo-text { font-size: .9rem; color: var(--gray-700, #334155); line-height: 1.6; }
.careers-photo-text small { color: var(--gray-500, #64748b); }

.careers-form-submit { text-align: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-100, #f1f5f9); }
.careers-submit-btn {
  padding: 16px 48px; font-size: 1.05rem; font-weight: 700;
  background: linear-gradient(135deg, var(--orange, #f97316), #fb923c);
  color: #fff; border: 0; border-radius: 100px;
  box-shadow: 0 10px 32px rgba(249,115,22,.35);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.careers-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(249,115,22,.5); }
.careers-form-note { color: var(--gray-500, #64748b); font-size: .85rem; margin: 14px 0 0; }

/* Alert 訊息 */
.careers-alert {
  max-width: 880px; margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: .95rem;
}
.careers-alert--ok { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.careers-alert--err { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

/* RWD */
@media (max-width: 720px) {
  .careers-hero { min-height: 64vh; padding: 100px 0 60px; }
  .careers-form { padding: 20px; border-radius: 14px; }
  .careers-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .careers-photo-label { flex-direction: column; text-align: center; gap: 12px; padding: 18px; }
  .careers-hero-cta .btn-hero-primary,
  .careers-hero-cta .btn-hero-ghost { padding: 14px 28px; font-size: .95rem; }
}


/* ============================================================
   聯絡我們：送出諮詢表單 — 成功提示 + 送出中 loading  (2026-05-27)
   ============================================================ */

/* 表單區內的成功訊息（送出後顯眼提示） */
.contact-form-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 28px 26px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16,185,129,.18);
  animation: contactSuccessPop .55s cubic-bezier(.34,1.56,.64,1);
}
.contact-form-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(16,185,129,.4);
}
.contact-form-success__icon svg { width: 32px; height: 32px; }
.contact-form-success h3 {
  color: #065f46;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.contact-form-success p {
  color: #047857;
  margin: 0 0 6px;
  line-height: 1.7;
}
.contact-form-success p strong { color: #064e3b; }
.contact-form-success__sub {
  font-size: .92rem;
  opacity: .9;
  margin-top: 12px !important;
}
.contact-form-success__sub a { color: #047857; text-decoration: none; }
.contact-form-success__sub a:hover { text-decoration: underline; }

@keyframes contactSuccessPop {
  0%   { opacity: 0; transform: translateY(-20px) scale(.92); }
  60%  { opacity: 1; transform: translateY(4px)  scale(1.02); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

/* 送出按鈕 — disabled / loading 狀態 */
.btn-submit:disabled,
.btn-submit.is-loading {
  opacity: .85;
  cursor: wait !important;
  pointer-events: none;
}
.btn-submit__loading {
  display: none;
  align-items: center;
  gap: 8px;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }


/* ════════════════════════════════════════════════════════════
   首頁「團隊榮譽精選」區塊 (2026-05-28)
   ════════════════════════════════════════════════════════════ */
.hv2-honors-head { text-align: center; margin: 8px 0 32px; }
.hv2-honors-eyebrow {
  display: inline-block; padding: 6px 18px;
  background: linear-gradient(135deg, rgba(251,191,36,.15), rgba(245,158,11,.1));
  border: 1px solid rgba(252,211,77,.5);
  border-radius: 999px;
  font-size: .72rem; letter-spacing: .25em; font-weight: 700;
  color: #b45309; margin-bottom: 12px;
}
.hv2-honors-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--ink, #0f172a); margin: 0; }

.hv2-honors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px;
}
.hv2-honor {
  position: relative; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-200, #e5e7eb);
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.hv2-honor::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706); z-index: 2; }
.hv2-honor::after { content: ""; position: absolute; top: 0; left: -100%; right: 0; bottom: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transition: left .8s ease; pointer-events: none; z-index: 3; }
.hv2-honor:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(15,23,42,.18); }
.hv2-honor:hover::after { left: 100%; }
.hv2-honor__ribbon {
  position: absolute; top: 12px; right: -32px; padding: 5px 36px;
  background: linear-gradient(135deg, #fbbf24, #d97706); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  transform: rotate(35deg); box-shadow: 0 2px 8px rgba(217,119,6,.4); z-index: 2;
}
.hv2-honor__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #fef3c7, #fde68a); }
.hv2-honor__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hv2-honor:hover .hv2-honor__media img { transform: scale(1.08); }
.hv2-honor__media--placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.hv2-honor__body { padding: 22px 18px 20px; position: relative; }
.hv2-honor__year {
  position: absolute; top: -20px; left: 18px; width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--ink, #0f172a), #1e293b); color: #fde68a;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  font-size: .82rem; font-weight: 800; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.hv2-honor__name { font-size: 1rem; font-weight: 800; color: var(--ink, #0f172a); margin: 16px 0 6px; line-height: 1.4; }
.hv2-honor__org { font-size: .82rem; color: var(--gray-500, #64748b); font-weight: 600; }
@media (max-width: 980px) { .hv2-honors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hv2-honors-grid { grid-template-columns: 1fr; } }


/* ════════════════════════════════════════════════════════════
   首頁「本月之星」區塊（黃冠呈現） (2026-05-28)
   ════════════════════════════════════════════════════════════ */
.hv2-stars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px; margin: 44px 0 40px;
}
.hv2-star {
  position: relative; background: #fff; border-radius: 18px;
  padding: 50px 18px 24px; text-align: center;
  border: 1px solid var(--gray-200, #e5e7eb);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.hv2-star:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(245,158,11,.26); }
.hv2-star__crown {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 46px;
  filter: drop-shadow(0 4px 9px rgba(245,158,11,.45));
  animation: hvCrownFloat 3s ease-in-out infinite;
}
.hv2-star__crown svg { width: 100%; height: 100%; }
@keyframes hvCrownFloat {
  0%,100% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
  50%     { transform: translateX(-50%) translateY(-5px) rotate(2deg); }
}
.hv2-star__rank {
  display: inline-block; padding: 4px 14px; margin-bottom: 14px;
  border-radius: 999px; font-size: .76rem; font-weight: 800; color: #fff;
}
.hv2-star__avatar {
  width: 104px; height: 104px; margin: 0 auto 14px;
  border-radius: 50%; overflow: hidden; border: 4px solid #fff;
  box-shadow: 0 0 0 4px transparent, 0 8px 20px rgba(0,0,0,.15);
}
.hv2-star__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hv2-star__avatar-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.hv2-star__name { font-size: 1.15rem; font-weight: 900; color: var(--ink, #0f172a); margin: 0 0 4px; }
.hv2-star__role { font-size: .8rem; color: var(--gray-500, #64748b); margin-bottom: 12px; }
.hv2-star__ach {
  display: inline-block; padding: 6px 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e; font-weight: 800; font-size: .85rem; border-radius: 9px;
}
.hv2-star--gold   { border-color: #fcd34d; }
.hv2-star--gold .hv2-star__rank   { background: linear-gradient(135deg, #f59e0b, #d97706); }
.hv2-star--gold .hv2-star__avatar { box-shadow: 0 0 0 4px #fbbf24, 0 10px 24px rgba(245,158,11,.4); }
.hv2-star--silver { border-color: #cbd5e1; }
.hv2-star--silver .hv2-star__rank   { background: linear-gradient(135deg, #94a3b8, #64748b); }
.hv2-star--silver .hv2-star__avatar { box-shadow: 0 0 0 4px #cbd5e1, 0 10px 24px rgba(100,116,139,.35); }
.hv2-star--bronze { border-color: #fdba74; }
.hv2-star--bronze .hv2-star__rank   { background: linear-gradient(135deg, #d97706, #b45309); }
.hv2-star--bronze .hv2-star__avatar { box-shadow: 0 0 0 4px #fdba74, 0 10px 24px rgba(180,83,9,.3); }
.hv2-star--king { border-color: #c4b5fd; background: linear-gradient(180deg, #faf5ff 0%, #fff 60%); }
.hv2-star--king .hv2-star__rank   { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.hv2-star--king .hv2-star__avatar { box-shadow: 0 0 0 4px #a78bfa, 0 10px 24px rgba(124,58,237,.35); }
.hv2-star--king .hv2-star__crown svg path,
.hv2-star--king .hv2-star__crown svg rect { fill: #a78bfa; }
@media (max-width: 980px) { .hv2-stars-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; } }
@media (max-width: 520px) { .hv2-stars-grid { grid-template-columns: 1fr; gap: 44px; } }


/* ════════════════════════════════════════════════════════════
   冠軍灑花效果（首頁 + /team 共用） (2026-05-28)
   ════════════════════════════════════════════════════════════ */
.star-confetti {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; border-radius: inherit; z-index: 4;
}
.star-confetti i {
  position: absolute; top: -14%;
  width: 8px; height: 14px; border-radius: 2px;
  opacity: 0;
  animation: confettiFall linear infinite;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translateY(420px) rotate(540deg); opacity: 0; }
}
.star-confetti i:nth-child(1)  { left: 6%;  background: #fbbf24; animation-duration: 3.0s; animation-delay: 0s;   }
.star-confetti i:nth-child(2)  { left: 16%; background: #f97316; animation-duration: 3.6s; animation-delay: .4s;  width: 7px; height: 11px; }
.star-confetti i:nth-child(3)  { left: 26%; background: #ef4444; animation-duration: 2.8s; animation-delay: .9s;  }
.star-confetti i:nth-child(4)  { left: 36%; background: #fde047; animation-duration: 3.4s; animation-delay: .2s;  border-radius: 50%; width: 9px; height: 9px; }
.star-confetti i:nth-child(5)  { left: 46%; background: #ec4899; animation-duration: 3.1s; animation-delay: 1.2s; }
.star-confetti i:nth-child(6)  { left: 55%; background: #fbbf24; animation-duration: 3.8s; animation-delay: .6s;  width: 7px; height: 13px; }
.star-confetti i:nth-child(7)  { left: 64%; background: #f59e0b; animation-duration: 2.9s; animation-delay: 1.5s; border-radius: 50%; width: 8px; height: 8px; }
.star-confetti i:nth-child(8)  { left: 72%; background: #ef4444; animation-duration: 3.5s; animation-delay: .3s;  }
.star-confetti i:nth-child(9)  { left: 80%; background: #fde047; animation-duration: 3.2s; animation-delay: 1.0s; width: 7px; height: 12px; }
.star-confetti i:nth-child(10) { left: 88%; background: #f97316; animation-duration: 2.7s; animation-delay: .7s;  border-radius: 50%; width: 9px; height: 9px; }
.star-confetti i:nth-child(11) { left: 94%; background: #ec4899; animation-duration: 3.7s; animation-delay: 1.3s; }
.star-confetti i:nth-child(12) { left: 40%; background: #fbbf24; animation-duration: 3.3s; animation-delay: 1.8s; width: 7px; height: 11px; }

/* 第一名卡片金色光暈脈動 + 微微放大 */
.th-star--gold, .hv2-star--gold {
  animation: goldGlow 2.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(245,158,11,.30); }
  50%      { box-shadow: 0 12px 48px rgba(245,158,11,.62); }
}
.th-star--gold:hover, .hv2-star--gold:hover { animation: none; }


/* ════════════════════════════════════════════════════════════
   冠軍徽章 ✨ CHAMPION（首頁 + /team 共用） (2026-05-28)
   ════════════════════════════════════════════════════════════ */
.star-champion {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 5px 18px; margin-bottom: 10px;
  background: linear-gradient(100deg, #d97706 0%, #fbbf24 25%, #fffbeb 50%, #fbbf24 75%, #d97706 100%);
  background-size: 220% auto;
  color: #7c2d12; font-weight: 900; font-size: .74rem;
  letter-spacing: .18em;
  border-radius: 999px;
  border: 1px solid #fcd34d;
  box-shadow: 0 4px 16px rgba(245,158,11,.55);
  text-shadow: 0 1px 1px rgba(255,255,255,.4);
  animation: champShimmer 2.8s linear infinite;
  position: relative; z-index: 5;
}
@keyframes champShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* 首頁榮譽榜第 4 名以後（防呆,首頁通常只顯示前三+進案王） */
.hv2-star--rank { border-color: #bfdbfe; }
.hv2-star--rank .hv2-star__rank   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.hv2-star--rank .hv2-star__avatar { box-shadow: 0 0 0 4px #bfdbfe, 0 10px 24px rgba(37,99,235,.3); }


/* ════════════════════════════════════════════════════════════
   首頁榮譽榜卡片 v3：淺色協調 + 大人物照（同步 /team 風格） 2026-05-28
   ════════════════════════════════════════════════════════════ */
.hv2-star {
  position: relative; background: #fff; border-radius: 20px; padding: 0;
  overflow: visible; border: 1px solid var(--gray-200,#e5e7eb);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
  text-align: center;
}
.hv2-star::before {
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: var(--accent-grad, linear-gradient(90deg,#fbbf24,#f59e0b));
  border-radius: 20px 20px 0 0; z-index:4;
}
.hv2-star:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(15,23,42,.16); }
.hv2-star__crown {
  position:absolute; top:-24px; left:50%; transform:translateX(-50%);
  width:58px; height:44px; z-index:6;
  filter: drop-shadow(0 4px 9px rgba(245,158,11,.45));
  animation: hvCrownFloat 3s ease-in-out infinite;
}
.hv2-star__crown svg { width:100%; height:100%; }
.hv2-star__photo {
  position:relative; aspect-ratio:4/5; border-radius:20px 20px 0 0;
  overflow:hidden; background:linear-gradient(135deg,#eef2f7,#e2e8f0);
}
.hv2-star__photo img { width:100%; height:100%; object-fit:cover; object-position:top center; transition:transform .6s ease; }
.hv2-star:hover .hv2-star__photo img { transform:scale(1.05); }
.hv2-star__photo-fallback {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-size:4rem; font-weight:900; color:#fff;
  background: var(--accent-grad, linear-gradient(135deg,#fbbf24,#f59e0b));
}
.hv2-star__photo::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:42%;
  background:linear-gradient(transparent, rgba(15,23,42,.6)); pointer-events:none;
}
.hv2-star__badge {
  position:absolute; left:12px; bottom:12px; z-index:3;
  padding:4px 14px; border-radius:999px; font-size:.78rem; font-weight:800; color:#fff;
  background: var(--accent-grad, linear-gradient(135deg,#fbbf24,#f59e0b));
  box-shadow:0 3px 10px rgba(0,0,0,.3);
}
.hv2-star__info { padding:18px 16px 22px; }
.hv2-star__info .star-champion { position:static; transform:none; display:inline-flex; margin:0 0 10px; }
.hv2-star__name { font-size:1.3rem; font-weight:900; color:var(--ink,#0f172a); margin:0 0 4px; letter-spacing:.02em; }
.hv2-star__role { font-size:.82rem; color:var(--gray-500,#64748b); margin-bottom:14px; }
.hv2-star__stats { display:flex; gap:6px; }
.hv2-star__stat {
  flex:1; padding:9px 6px; border-radius:9px; white-space:nowrap;
  background: var(--accent-soft,#fff7ed); color: var(--accent-text,#b45309);
  font-weight:800; font-size:.76rem; line-height:1.3;
}
.hv2-star--gold   { --accent-grad:linear-gradient(135deg,#fbbf24,#f59e0b); --accent-soft:#fff7ed; --accent-text:#b45309; }
.hv2-star--silver { --accent-grad:linear-gradient(135deg,#cbd5e1,#94a3b8); --accent-soft:#f1f5f9; --accent-text:#475569; }
.hv2-star--bronze { --accent-grad:linear-gradient(135deg,#fb923c,#c2410c); --accent-soft:#fff7ed; --accent-text:#c2410c; }
.hv2-star--king   { --accent-grad:linear-gradient(135deg,#a78bfa,#7c3aed); --accent-soft:#f5f3ff; --accent-text:#6d28d9; }
.hv2-star--honor  { --accent-grad:linear-gradient(135deg,#60a5fa,#2563eb); --accent-soft:#eff6ff; --accent-text:#1d4ed8; }
.hv2-star--gold { animation: thGoldSoft 3s ease-in-out infinite; }
.hv2-star--gold:hover { animation: none; }
@keyframes hvCrownFloat { 0%,100%{transform:translateX(-50%) translateY(0) rotate(-2deg);} 50%{transform:translateX(-50%) translateY(-5px) rotate(2deg);} }

/* ── 11.18b 內頁 Banner 統一尺寸（桌機） ───────────────────────────
   做法：鎖定 1920:820 的長寬比（--inner-hero-ratio），而非綁定 vh。
   為什麼：
     Banner 寬度一律滿版(100vw)，若高度綁 vh，框的比例會隨「瀏覽器視窗高度」
     浮動；而背景圖是 object-fit:cover，框比例 ≠ 圖比例時就會被裁切
     （視窗越矮，圖被上下裁掉越多，例如 1920×900 視窗會上下各裁 65px）。
     改為鎖定比例後，框比例永遠等於圖比例 → 1920×820 的圖 100% 完整顯示、永不裁切，
     後台的「建議尺寸 1920×820」也才真正精準。
   附帶效果：
     1) 所有內頁 Banner 同一比例 → 設計師只需製作一種尺寸。
     2) 高度由寬度換算（與內容無關）→ 有／無主副標題都不會改變 Banner 高度。
   注意：必須放在檔案最末，才能覆蓋前面各頁自己的 min-height
        （.careers-hero 78vh、.ins-hero clamp、.fp-hero clamp 等）。
   首頁 .hv2-hero 維持 100vh 滿版，不納入統一。
   ───────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  .ap-hero, .cas-hero, .con-hero, .srv-hero, .tp-hero, .tru-hero,
  .sch-hero, .mkt-hero, .careers-hero, .ins-hero, .fp-hero, .th-hero {
    aspect-ratio: var(--inner-hero-ratio);
    height: auto;
    /* 視窗較窄時（約 <1265px），純比例換算的高度會不足以容納 Banner 內容，
       故給一個下限；此時圖改為左右微裁，內容仍完整顯示。 */
    min-height: var(--inner-hero-min-h);
  }
  /* 內距收斂：本頁 Banner 內容較多（標題＋按鈕），原內距在小筆電（如 1280×720）
     會使內容超出 Banner 而被裁切；收斂後在各尺寸螢幕都能完整顯示。
     （團隊榮譽 .th-hero 的同類調整在 team-honors.css，因該檔在本檔之後載入） */
  .careers-hero { padding-top: 100px; padding-bottom: 50px; }
}
