* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, "Microsoft JhengHei", "微軟正黑體", sans-serif;
  overflow-x: hidden; /* 防止水平捲軸跑版 */
}

/* Header 基本樣式 */
.main-header {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out; 
  border-bottom: 3px solid transparent; 
}

/* Header Container */
.header-container {
  max-width: 1400px; 
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px; /* 正常高度 */
  transition: height 0.3s ease-in-out;
}

/* Logo */
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: font-size 0.3s ease-in-out;
}

.logo-accent {
  color: #007b8a;
}

/* 滾動後的 Header 狀態 (.scrolled) */
.main-header.scrolled {
  border-bottom-color: #007b8a; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

.main-header.scrolled .header-container {
  height: 55px; /* 縮小後的高度 */
}

.main-header.scrolled .logo {
  font-size: 20px; /* Logo 稍微縮小 */
}


/* 桌面版導航 */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: #fff;
  color: #007b8a;
  box-shadow: 0 2px 8px rgba(0, 123, 138, 0.15);
  transform: translateY(-1px);
}

.nav-link.active {
  background: #fff;
  color: #007b8a;
  box-shadow: 0 2px 8px rgba(0, 123, 138, 0.2);
}

.chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.nav-item:hover .chevron {
  transform: rotate(45deg) translateY(-2px);
}

/* Mega Menu */
.mega-menu {
  position: fixed; 
  top: 70px; /* 初始貼合 Header 底部 */
  
  width: 100vw; 
  left: 50%; 
  transform: translateX(-50%); 
  
  background: #FAFAFA;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 0; 
  padding: 32px 0;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease-in-out, opacity 0.3s, visibility 0.3s;
}

.main-header.scrolled .mega-menu { 
  /* ( mega-menu 在 .main-header 內部) */
  top: 55px; /* 縮小後 Header 高度 */
}
/* ===================================== */


.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

/* 內容居中與對齊 */
.mega-menu-grid {
  max-width: 1400px; 
  margin: 0 auto;
  padding: 0 40px; 
  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


.mega-menu-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #007b8a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-menu-links a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.mega-menu-links a:hover {
  background: #fff;
  color: #007b8a;
  transform: translateX(4px);
  box-shadow: 0 2px 6px rgba(0, 123, 138, 0.15);
}

.mega-menu-links a.featured {
  color: #007b8a;
  font-weight: 600;
  background: rgba(0, 123, 138, 0.05);
}

.mega-menu-links a.featured:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 123, 138, 0.2);
}

/* 手機版選單按鈕 */
.mobile-menu-btn {
  display: none; /* 預設在桌面版隱藏 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative; 
  flex-shrink: 0; /* 防止被擠壓 */
  z-index: 1001;
}

.mobile-menu-btn:hover {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 123, 138, 0.15);
}

.hamburger {
  width: 24px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
  right: 0;
}

.mobile-menu-btn:hover .hamburger span {
  background: #007b8a;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* 手機版導航 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; /* 初始貼合 Header 底部 */
  left: 0;
  right: 0;
  bottom: 0;
  background: #FAFAFA;
  overflow-y: auto;
  padding: 20px;
}

.main-header.scrolled .mobile-nav {
  top: 55px;
}
/* ===================================== */


.mobile-nav.active {
  display: block;
}

/* ... (後續手機版樣式保持不變) ... */
.mobile-nav-item {
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  padding: 0 8px;
  margin-bottom: 4px;
}

.mobile-nav-item:hover {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 123, 138, 0.1);
  border-bottom-color: transparent;
}

.mobile-nav-item.active {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 138, 0.15);
  border-bottom-color: transparent;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.mobile-nav-header:hover {
  color: #007b8a;
}

.mobile-nav-header span {
  font-size: 20px;
  font-weight: 500;
  color: inherit;
}

.mobile-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.mobile-nav-item.active .mobile-chevron {
  transform: rotate(-135deg);
}

.mobile-nav-item.active .mobile-nav-header {
  color: #007b8a;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav-item.active .mobile-submenu {
  max-height: 1000px;
}

.mobile-submenu-content {
  padding: 12px 0 20px 16px;
}

.mobile-submenu-section {
  margin-bottom: 20px;
}

.mobile-submenu-section h4 {
  font-size: 18px;
  color: #007b8a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.mobile-submenu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-submenu-links a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.mobile-submenu-links a:hover {
  background: #fff;
  color: #007b8a;
  box-shadow: 0 2px 6px rgba(0, 123, 138, 0.15);
}

.mobile-submenu-links a.featured {
  color: #007b8a;
  font-weight: 600;
  background: rgba(0, 123, 138, 0.05);
}

.mobile-submenu-links a.featured:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 123, 138, 0.2);
}

.search-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
}

.search-icon:hover {
  color: #007b8a;
  transform: scale(1.1);
}


/* 響應式設計 */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  /* === 關鍵：在這裡顯示漢堡包按鈕 === */
  .mobile-menu-btn {
    display: block; 
  }
  /* ================================== */
}

@media (max-width: 768px) {
  .header-container {
    height: 60px; /* 手機版正常高度 */
    padding: 0 16px;
  }

  .logo {
    font-size: 20px;
  }
  
  .main-header.scrolled .header-container {
    height: 48px; /* 手機版縮小後的高度 */
  }

  .mobile-nav {
    top: 60px; /* 手機版初始貼合高度 */
  }
  
  /* === 修正：使用子代選擇器 ( ) 而非 (~) === */
  .main-header.scrolled .mobile-nav {
    top: 48px; /* 手機版滾動後貼合高度 */
  }
  /* ===================================== */
  
  .mega-menu {
    top: 60px; /* 手機版 Mega Menu 初始貼合高度 */
  }
  
  /* === 修正：使用子代選擇器 ( ) 而非 (~) === */
  .main-header.scrolled .mega-menu {
    top: 48px; /* 手機版 Mega Menu 滾動後貼合高度 */
  }
  /* ===================================== */
}

/* ===== 手機版選單高度修正：確保 submenu 在視窗內完整顯示 ===== */
@media (max-width: 768px) {
  /* mobile nav 以視窗高度為基準，保留 header 高度 */
  .mobile-nav {
    /* 保持與 header 對齊（現有的 top:60px 對應） */
    top: 60px;
    left: 0;
    right: 0;
    /* 用 calc() 明確限制高度，避免固定 bottom 導致意外截斷 */
    height: calc(100vh - 60px);
    box-sizing: border-box;
    display: none; /* 保持原邏輯：透過 .active 顯示 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); /* 支援 iPhone safe area */
  }

  .mobile-nav.active { display: block; }

  /* submenu 預設收合（保留動畫） */
  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(.4,0,.2,1);
  }

  /* 展開時：允許 submenu 最大高度以視窗為基準（header + buffer） */
  .mobile-nav-item.active .mobile-submenu {
    /* 160px = header (60) + 大約 80~100px 的 buffer（其他項目 + padding）；
       若你的 header 實際高度不同或想更保守可改成 140px / 180px */
    max-height: calc(100vh - 160px);
  }

  /* 內容區塊仍可滾動（如果 submenu 本身過長） */
  .mobile-submenu-content {
    max-height: calc(100vh - 220px); /* 讓內層也能在必要時滾動 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* 統一「標題」與原本 nav-link 外觀 */
.nav-title {
  display: block;
  font-size: 1rem;            /* 或依你的網站原字級 */
  font-weight: 600;
  color: #333;
  padding: 10px 15px;
  cursor: default;            /* 滑鼠游標顯示為一般文字 */
}

/* 若要保持 hover 效果或動畫也可以 */
.nav-title:hover {
  color: #000;
}

/* 手機版可維持一致 */
@media (max-width: 768px) {
  .nav-title {
    padding: 12px 20px;
  }
}


/* 1. 桌面版 - 子標題 (h3) 樣式 */
.desktop-nav .mega-menu-header {
  padding-left: 18px; /* 為 icon 留出空間 */
  position: relative;   /* 讓 ::before 偽元素可以定位 */

  /* 確保標題和分隔線之間有足夠間距 */
  margin-bottom: 12px; 
  padding-bottom: 4px; /* 標題文字與下方分隔線的距離 */
  
  /* 根據您的範例圖片，標題是深灰色粗體 */
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

/* 2. 桌面版 - 在子標題左側加入 Icon */
.desktop-nav .mega-menu-header::before {
  content: '●'; 
  color: #0089A7;
  position: absolute;
  left: 0;
  top: 35%; /* 垂直置中 */
  transform: translateY(-50%);
  font-size: 18px; /* 範例 icon 較小 */
  line-height: 1;
}

/* 3. 桌面版 - 加入分隔線 (h3 的下一個同層元素 nav.mega-menu-links) */
.desktop-nav .mega-menu-header + .mega-menu-links {
  border-top: 1px solid #e0e0e0; /* 分隔線樣式 */
  padding-top: 12px; /* 分隔線與第一個選項的間距 */
  
  /* 抵銷 h3 的 margin-bottom，讓線條緊貼標題下方 */
  margin-top: -12px; 
}

/* * === 手機版選單 (Mobile) ===
 * 目標：.mobile-nav 內的 h4
 */
@media (max-width: 992px) {
  
  /* 1. 手機版 - 子標題 (h4) 樣式 */
  .mobile-nav .mobile-submenu-section h4 {
    padding-left: 18px;
    position: relative;
    margin-bottom: 12px;
    padding-bottom: 4px;
    
    /* 統一風格 */
    font-size: 16px;
    font-weight: 700;
    color: #333;
  }
  
  /* 2. 手機版 - 在子標題左側加入 Icon */
  .mobile-nav .mobile-submenu-section h4::before {
    content: '●';
    color: #0089A7;
    position: absolute;
    left: 0;
    top: 35%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
  }

  /* 3. 手機版 - 加入分隔線 (h4 的下一個同層元素 nav) */
  .mobile-nav .mobile-submenu-section h4 + nav {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
    margin-top: -12px;
  }
}

/* --- 導覽列「資訊卡片」樣式 (紅框區域) --- */

/* 1. 卡片的外層容器 (用來添加左側分隔線) */
.mega-menu-info {
  /* 加上左側分隔線，使其與選單連結分離 */
  border-left: 1px solid #e0e0e0;
  
  /* 讓卡片和分隔線之間有足夠間距 */
  padding-left: 40px; 
  
  /* 確保在 grid 佈局中能正確對齊 */
  display: flex;
  align-items: flex-start; /* 讓卡片從頂部開始對齊 */
}

/* 2. 資訊卡片 (.info-card) 本體 */
.info-card {
  /* 淺灰色底，使其與 #FAFAFA 的選單底色有區隔 */
  background: #f5f5f5; 
  border-radius: 8px;
  padding: 24px;
  
  /* 給一個淡淡的邊框 */
  border: 1px solid #e9e9e9;
  
  /* 確保卡片填滿容器 */
  width: 100%;
  
  /* Hover 動畫 */
  transition: all 0.3s ease-in-out;
}

/* 3. 滑鼠 Hover 效果 (陰影 + 變白) */
.info-card:hover {
  background: #ffffff; /* Hover 時變白 */
  border-color: transparent; /* 隱藏邊框 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px); /* 輕微上浮 */
}

/* 4. 卡片內部內容 - 標題 h4 */
.info-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333; /* 標題顏色 */
  margin-bottom: 12px;
}

/* 5. 卡片內部內容 - 段落 p */
.info-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 6. 卡片內的按鈕樣式 (使用您 HTML 中的 .btn-primary) */
.info-card .btn-primary {
  display: inline-block;
  background-color: #007b8a; /* 您的網站主題色 */
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* 7. 按鈕的 Hover 效果 */
.info-card .btn-primary:hover {
  background-color: #005f6b; /* 主題色加深 */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 123, 138, 0.2);
}

/* ===== MOVED FROM navigator.js ===== */
/* --- 資訊卡片內的縮圖樣式 --- */

.info-card-image {
  width: 100%;  /* 圖片寬度自動填滿卡片 (會扣除卡片 Paddiing) */
  height: auto; /* 圖片高度依比例自動縮放 */
  
  /* 讓圖片本身也有圓角，更符合卡片風格 */
  border-radius: 6px; 
  
  /* 圖片與下方的標題 (h4) 保持 16px 的間距 */
  margin-bottom: 16px; 
  
  /* 確保圖片是區塊元素，寬高和 margin 才能正確運作 */
  display: block; 
}

/* (微調) 修正標題的上邊距，避免圖片加入後間距過大 */
.info-card h4 {
  margin-top: 0; /* 確保標題緊鄰圖片下方的間距 (由 .info-card-image 的 margin-bottom 控制) */
}

/* ========== Header & Desktop Nav 改良：品牌飾條、靠攏 Logo、右側 CTA ========== */

/* 1) 宣告品牌顏色變數（如你有專用變數可移除） */
:root {
  --brand-color: #007b8a; /* 若你的品牌色不同，請改這裡 */
  --brand-color-dark: #006662;
}

/* 2) 讓 header container 更可控（縮小 logo 與 nav 的間距） */
.header-container {
  gap: 12px;                /* Logo 與 nav 的最小間距 */
  align-items: center;
  /* 確保內部子元素不會被 flex 拉伸成滿幅（nav 只占內容寬度） */
}

/* 讓 desktop-nav 以內容寬度呈現，不會被推向中央 */
.desktop-nav {
  display: flex;
  gap: 20px;                /* menu item 間距，可微調 */
  flex: 0 0 auto;           /* 不讓 nav 撐開剩餘空間 */
  align-items: center;
  margin-left: 6px;         /* 跟 logo 更靠近 */
}

/* 若你改了主選單為 .nav-title 或保留 .nav-link，下面同時支援 */
.desktop-nav .nav-link,
.desktop-nav .nav-title {
  position: relative;
  padding-bottom: 12px;     /* 給下方裝飾線的位置 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

/* 3) Hover 下方飾線（置中、從 0 到全寬的動畫） - 桌機生效 */
@media (min-width: 769px) {
  .desktop-nav .nav-link::after,
  .desktop-nav .nav-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    bottom: 6px;               /* 距離文字底部（可調） */
    width: 100px;               /* 飾條長度（可改為 100% 或更長） */
    height: 3px;               /* 飾條厚度 */
    border-radius: 3px;
    background: var(--brand-color);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(.2,.9,.2,1), opacity 0.22s ease;
  }

  /* hover / focus / 跟隨滑鼠開啟 mega menu 的狀態都觸發飾條 */
  .desktop-nav .nav-item:hover > .nav-link::after,
  .desktop-nav .nav-item:hover > .nav-title::after,
  .desktop-nav .nav-link:focus::after,
  .desktop-nav .nav-item:focus-within > .nav-link::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }
}

/* 4) CTA 樣式（放 header 右側）——使用品牌色、白字、稍微的陰影 */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--brand-color);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 123, 138, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

/* hover / focus 效果 */
.header-cta:hover,
.header-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 123, 138, 0.18);
  background: var(--brand-color-dark);
}

/* 5) 小螢幕考量：若想在手機隱藏 CTA（避免擠壓），取消下面註解 */
/* 若你要在 mobile 顯示 CTA，可以把下面註解移除 */
// @media (max-width: 991px) {
//   .header-cta {
//     display: none;
//   }
// }

/* 6) 若你把主選單改為 .nav-title（非 <a>）讓它也有鍵盤可達性 */
.nav-title {
  cursor: default;
}

/* 7) 小調整：微幅收窄 menu item 內距（如果原本太寬） */
.desktop-nav .nav-item .nav-link,
.desktop-nav .nav-item .nav-title {
  padding: 8px 6px;
}

/* 8) 若需在桌機把 chevron 與文字靠在一起（視覺更緊密） */
.desktop-nav .chevron {
  margin-left: 6px;
  transition: transform 0.22s ease;
}

/* 9) 如果有 sticky / scrolled 狀態，確保 CTA 與飾條顏色一致 */
.main-header.scrolled .header-cta {
  background: var(--brand-color-dark);
}

/* ===== 強力修補：確保窄版切換成漢堡（放在檔案最底） ===== */
@media (max-width: 991px) {
  /* 1) 隱藏桌機版 nav（強制覆蓋） */
  .desktop-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* 2) 顯示漢堡按鈕（如果之前被隱藏） */
  .mobile-menu-btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 13000 !important;
  }

  /* 3) 隱藏右側 CTA（避免排版擠壓）；若你要顯示在 mobile 可改為 display:inline-block */
  .header-cta {
    display: none !important;
  }

  /* 4) mobile nav 預設隱藏 (active 時顯示) */
  .mobile-nav {
    display: none !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 60px !important;
    bottom: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 12000 !important;
  }
  .mobile-nav.active {
    display: block !important;
  }

  /* 5) 防止 header 之內的元素強制撐開 (若 header 有 flex: space-between) */
  .header-container,
  .header-inner {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
}

/* 額外：在更窄手機視窗也套用（保險） */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: block !important; }
  .header-cta { display: none !important; }
}

/* ===== Mobile: CTA 固定在選單底部（放在 navigator.css 最後） ===== */
@media (max-width: 991px) {
  /* 若 header 有桌機 CTA（.header-cta），在 mobile 隱藏它 */
  .header-cta { display: none !important; }

  /* CTA item 外層 */
  .mobile-cta-item {
    list-style: none;
    padding: 12px 16px;
    margin-top: 8px;
    box-sizing: border-box;
  }

  .mobile-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* 手機內按鈕樣式：寬度 100% */
  .mobile-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    background: var(--brand-color, #007b8a);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  }

  .mobile-cta:active,
  .mobile-cta:hover,
  .mobile-cta:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    background: var(--brand-color-dark, #006662);
    outline: none;
  }

  /* 與上方選項略分隔 */
  .mobile-nav .mobile-cta-item {
    margin-top: 12px;
  }
}

/* CTA hover / focus 字色為白色（適用 header 與 mobile CTA） */
.header-cta,
.mobile-cta {
  transition: color 0.12s ease, background 0.12s ease;
}

/* hover / focus / active 時文字變白 */
.header-cta:hover,
.header-cta:focus,
.header-cta:active,
.mobile-cta:hover,
.mobile-cta:focus,
.mobile-cta:active {
  color: #ffffff !important;
  outline: none;
}

/* 若需要同時強化可見性，可也把 icon（若有）改色 */
.header-cta svg,
.mobile-cta svg {
  transition: fill 0.12s ease;
}
.header-cta:hover svg,
.mobile-cta:hover svg,
.header-cta:focus svg,
.mobile-cta:focus svg {
  fill: #ffffff;
}

