/* ============================================================
   甜心園藝保潔企業社 - 主樣式表
   作者：Aurora HSU
   最後更新：2025
   
   目錄：
   01. CSS 變數（顏色、字型、間距）
   02. Reset & 基礎設定
   03. 通用元件（容器、按鈕、段落標題）
   04. 導覽列（Navbar）
   05. Hero Banner
   06. 公司優勢（Features）
   07. 服務項目（Services）
   08. 收費方案（Pricing）
   09. 服務流程（Process）
   10. 客戶評價（Testimonials）
   11. 常見問題（FAQ）
   12. 聯絡區塊（Contact）
   13. 頁尾（Footer）
   14. 返回頂端按鈕
   15. 動畫（Animations）
   16. 響應式設計（RWD）
============================================================ */


/* ============================================================
   01. CSS 變數
============================================================ */
:root {
  /* 主色彩 */
  --color-navy-deep:   #0A1628;   /* 最深藍，用於背景 */
  --color-navy-mid:    #1E3A5F;   /* 中藍，用於卡片/區塊 */
  --color-navy-light:  #2A5298;   /* 亮藍，用於hover */
  --color-teal:        #2A7F8F;   /* 藍綠點綴色 */
  --color-teal-light:  #3DAFBF;   /* 亮藍綠，用於高亮 */

  /* 中性色 */
  --color-white:       #FFFFFF;
  --color-bg:          #F7F9FC;   /* 頁面背景 */
  --color-bg-alt:      #EEF2F8;   /* 交替區塊背景 */
  --color-border:      #D5E0EE;   /* 邊框顏色 */
  --color-text:        #1A2B45;   /* 主要文字 */
  --color-text-muted:  #5A7399;   /* 次要文字 */
  --color-text-light:  #8BA5C7;   /* 輕灰文字 */

  /* 字型 */
  --font-display: 'Noto Serif TC', serif;
  --font-body:    'Noto Sans TC', sans-serif;

  /* 字型大小 */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  /* 間距 */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* 圓角 */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* 陰影 */
  --shadow-sm:  0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md:  0 4px 16px rgba(10, 22, 40, 0.12);
  --shadow-lg:  0 8px 32px rgba(10, 22, 40, 0.16);
  --shadow-xl:  0 16px 48px rgba(10, 22, 40, 0.20);

  /* 轉場 */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;

  /* 容器最大寬度 */
  --container-max: 1200px;
  --container-pad: var(--space-6);

  /* 導覽列高度 */
  --navbar-height: 72px;
}


/* ============================================================
   02. Reset & 基礎設定
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* 平滑捲動 */
  scroll-behavior: smooth;
  /* 補足固定導覽列高度，避免錨點被遮住 */
  scroll-padding-top: var(--navbar-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  /* 防止水平捲動 */
  overflow-x: hidden;
}

/* 圖片預設設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 移除清單符號 */
ul, ol {
  list-style: none;
}

/* 連結基礎樣式 */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* 按鈕基礎 */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* 引用區塊 */
blockquote {
  quotes: none;
}

/* 減少動畫（無障礙設定）*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   03. 通用元件
============================================================ */

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* 段落標題通用樣式 */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.section-eyebrow--light {
  color: var(--color-teal-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-title--light {
  color: var(--color-white);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- 按鈕系統 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
}

/* 主要按鈕（深色背景用）*/
.btn--primary {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.btn--primary:hover {
  background: var(--color-teal-light);
  border-color: var(--color-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 127, 143, 0.35);
}

/* 外框按鈕（深色背景用）*/
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* 卡片按鈕（淺色背景用）*/
.btn--card {
  background: transparent;
  color: var(--color-navy-mid);
  border-color: var(--color-navy-mid);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
}
.btn--card:hover {
  background: var(--color-navy-mid);
  color: var(--color-white);
}

.btn--card-primary {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
}
.btn--card-primary:hover {
  background: var(--color-teal-light);
  border-color: var(--color-teal-light);
  transform: translateY(-1px);
}

/* 定價按鈕 */
.btn--pricing {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--color-navy-mid);
  border-color: var(--color-border);
}
.btn--pricing:hover {
  background: var(--color-navy-mid);
  color: var(--color-white);
  border-color: var(--color-navy-mid);
}

.btn--pricing-primary {
  width: 100%;
  justify-content: center;
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.btn--pricing-primary:hover {
  background: var(--color-teal-light);
  border-color: var(--color-teal-light);
}

/* Hero 大型按鈕 */
.btn--hero-primary {
  background: var(--color-white);
  color: var(--color-navy-deep);
  border-color: var(--color-white);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  font-weight: 700;
}
.btn--hero-primary:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn--hero-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  font-weight: 500;
}
.btn--hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn__icon {
  font-size: 1.1em;
}


/* ============================================================
   04. 導覽列
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(10, 22, 40, 0.92);
  /* 磨砂玻璃效果 */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

/* 捲動後加強陰影 */
.navbar.is-scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* 品牌標誌 */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.brand-icon {
  color: var(--color-teal);
  font-size: var(--text-xl);
}

.brand-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

/* 桌機版導覽 */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link--cta {
  background: var(--color-teal);
  color: var(--color-white) !important;
  padding: var(--space-2) var(--space-5);
}

.nav-link--cta:hover {
  background: var(--color-teal-light) !important;
  transform: translateY(-1px);
}

/* 漢堡選單按鈕（手機版）*/
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* 漢堡→X 動畫 */
.navbar__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 手機版下拉選單 */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4) 0;
  /* 預設隱藏，JS 控制顯示 */
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.mobile-menu.is-open {
  max-height: 400px;
}

.mobile-menu__link {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  padding-left: calc(var(--space-6) + var(--space-2));
}

.mobile-menu__link--cta {
  color: var(--color-teal-light);
  font-weight: 600;
}


/* ============================================================
   05. Hero Banner
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-navy-deep) 0%,
    #122040 40%,
    #1a3060 70%,
    var(--color-navy-mid) 100%
  );
  overflow: hidden;
  padding-top: var(--navbar-height);
}

/* 背景光效裝飾 */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 招牌光掃動畫 — 品牌視覺特色 */
.hero__shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(42, 175, 191, 0.04) 40%,
    rgba(42, 175, 191, 0.08) 50%,
    rgba(42, 175, 191, 0.04) 60%,
    transparent 80%
  );
  animation: heroShine 8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heroShine {
  0%, 100% { transform: translateX(0) skewX(-15deg); opacity: 0.5; }
  50%       { transform: translateX(180%) skewX(-15deg); opacity: 1; }
}

/* 環境光球（ambient orbs）*/
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--color-teal);
  top: -10%;
  right: -5%;
  animation-duration: 15s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--color-navy-light);
  bottom: -5%;
  left: -5%;
  animation-duration: 18s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

/* Hero 內容 */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: var(--space-5);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* 斜體強調字（品牌感）*/
.hero__title em {
  font-style: normal;
  color: var(--color-teal-light);
  position: relative;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto var(--space-10);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

/* 信任指標 */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.0s forwards;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
}

.trust-item span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}


/* ============================================================
   06. 公司優勢
============================================================ */
.features {
  padding: var(--space-24) 0;
  background: var(--color-white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   07. 服務項目
============================================================ */
.services {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* 精緻版服務卡片（強調色）*/
.service-card--featured {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 1px var(--color-teal), var(--shadow-md);
}

.service-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-teal);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.service-card__icon {
  font-size: 2rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy-deep);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}

.service-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-size: var(--text-base);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy-deep);
}

.service-card__price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}


/* ============================================================
   08. 收費方案
============================================================ */
.pricing {
  padding: var(--space-24) 0;
  background: var(--color-white);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* 主推方案 */
.pricing-card--primary {
  background: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
  transform: scale(1.03);
}

.pricing-card--primary:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-card__header h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-1);
}

.pricing-card--primary .pricing-card__header h3 {
  color: var(--color-white);
}

.pricing-card__header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-card--primary .pricing-card__header p {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1;
}

.pricing-card--primary .price-amount {
  color: var(--color-white);
}

.price-unit {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.pricing-card--primary .price-unit {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-card--primary .pricing-card__features li {
  color: rgba(255, 255, 255, 0.75);
}

.pricing__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}


/* ============================================================
   09. 服務流程
============================================================ */
.process {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
  list-style: none;
}

/* 橫向連接線 */
.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-border) 10%,
    var(--color-border) 90%,
    transparent
  );
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy-deep);
  color: var(--color-teal-light);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.process-step:hover .process-step__num {
  background: var(--color-teal);
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(42, 127, 143, 0.4);
}

.process-step__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-2);
}

.process-step__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   10. 客戶評價
============================================================ */
.testimonials {
  padding: var(--space-24) 0;
  background: var(--color-white);
}

.testimonials__carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform var(--transition-slow);
  gap: var(--space-6);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-4));
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-card__stars {
  color: #F5A623;
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
  flex: 1;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy-mid);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy-deep);
}

.testimonial-card__author span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* 輪播控制 */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy-mid);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.carousel__btn:hover {
  background: var(--color-navy-deep);
  color: var(--color-white);
  border-color: var(--color-navy-deep);
}

.carousel__dots {
  display: flex;
  gap: var(--space-2);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel__dot.is-active {
  background: var(--color-teal);
  width: 24px;
  border-radius: 4px;
}


/* ============================================================
   11. 常見問題（FAQ）
============================================================ */
.faq {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-teal);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy-deep);
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--color-teal);
}

/* FAQ 展開圖示（純CSS箭頭）*/
.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.faq-item__icon::before {
  transform: rotate(-45deg) translateX(2px);
}

.faq-item__icon::after {
  transform: rotate(45deg) translateX(-2px);
}

/* 展開狀態箭頭 */
.faq-item__question[aria-expanded="true"] .faq-item__icon {
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::before {
  background: var(--color-white);
  transform: rotate(45deg) translateX(2px);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::after {
  background: var(--color-white);
  transform: rotate(-45deg) translateX(-2px);
}

/* FAQ 答案區域（折疊動畫）*/
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  padding: 0 var(--space-6);
}

.faq-item__answer.is-open {
  max-height: 300px;
  padding: 0 var(--space-6) var(--space-5);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}


/* ============================================================
   12. 聯絡區塊
============================================================ */
.contact {
  padding: var(--space-24) 0;
  background: linear-gradient(
    145deg,
    var(--color-navy-deep) 0%,
    var(--color-navy-mid) 100%
  );
  position: relative;
  overflow: hidden;
}

/* 背景裝飾 */
.contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--color-teal);
  opacity: 0.06;
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

/* 聯絡方式 */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-method:not(.contact-method--static):hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(42, 175, 191, 0.4);
  transform: translateX(4px);
}

.contact-method__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.contact-method div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-method strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.contact-method span {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  font-family: var(--font-display);
}

.contact-method em {
  font-style: normal;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* Google Maps 預留區塊 */
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
}

.map-placeholder__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
}

.map-placeholder__pin {
  font-size: 2.5rem;
}

.map-placeholder p {
  font-size: var(--text-lg);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.map-placeholder__note {
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  text-align: center;
  line-height: 1.6;
}

/* 主要 CTA 區 */
.contact__cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   13. 頁尾
============================================================ */
.footer {
  background: #060D1A;
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.footer__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links strong,
.footer__contact strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.footer__links a,
.footer__contact a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-teal-light);
}

.footer__contact p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}


/* ============================================================
   14. 返回頂端按鈕
============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy-deep);
  color: var(--color-white);
  font-size: var(--text-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  /* 預設隱藏 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-base);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}


/* ============================================================
   15. 動畫（Animations）
============================================================ */

/* 淡入上移（Hero 區使用）*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 捲動時淡入（JS 觸發 .is-visible）*/
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 延遲版本（網格子項目使用）*/
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }


/* ============================================================
   16. 響應式設計（RWD）
============================================================ */

/* ---- 平板（≤ 1024px）---- */
@media (max-width: 1024px) {
  :root {
    --container-pad: var(--space-5);
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-card--primary {
    transform: none;
  }

  .pricing-card--primary:hover {
    transform: translateY(-4px);
  }

  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .process__steps::before {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-3));
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---- 手機（≤ 768px）---- */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--space-4);
    --navbar-height: 64px;
  }

  /* 導覽列：隱藏桌機版，顯示漢堡 */
  .navbar__nav {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__trust {
    gap: var(--space-4);
  }

  .trust-item strong {
    font-size: var(--text-xl);
  }

  /* 各區塊 padding */
  .features,
  .services,
  .pricing,
  .process,
  .testimonials,
  .faq,
  .contact {
    padding: var(--space-16) 0;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  /* 網格：手機全部單欄 */
  .features__grid {
    grid-template-columns: 1fr;
  }

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

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

  .process__steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* 評價輪播：單張顯示 */
  .testimonial-card {
    flex: 0 0 100%;
  }

  /* 聯絡區塊 */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn--hero-primary,
  .btn--hero-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* 頁尾 */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  /* 返回頂端 */
  .back-to-top {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 42px;
    height: 42px;
  }
}

/* ---- 大螢幕（≥ 1440px）---- */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }

  .hero__title {
    font-size: 4.5rem;
  }
}
