/* ============================================================
   上禾禾融資 — 公開站台樣式（依設計稿重寫）
   品牌綠：#3FBA90
   ============================================================ */

:root {
  --brand:        #3FBA90;
  --brand-dark:   #2EA078;
  --brand-soft:   #E5F3EE;
  --brand-line:   #B7DDD0;          /* 區塊上下細線 */
  --brand-tag:    #6BC9A6;          /* 略淺，給 tag 分隔線/標籤 */
  --brand-deep:   #3CB98C;          /* footer 深綠 */

  --text:         #4A4A4A;
  --text-soft:    #6E7474;
  --text-mute:    #9AA0A0;
  --heading:      #2D2D2D;

  --bg:           #FFFFFF;
  --bg-soft:      #F5F8F8;
  --bg-cream:     #FBF6EE;          /* 應備文件、CTA 卡片底色 */
  --line-soft:    #E8EFEC;

  --shadow-card:   0 6px 22px rgba(63, 186, 144, .12);
  --shadow-soft:   0 4px 18px rgba(0,0,0,.06);

  --max-w: 1480px;
  --radius: 6px;
}

/* 螢幕報讀器專用（視覺隱藏，SEO/a11y 用 h1 等元素） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* 防止橫向溢出（只放在 html 上，避免破壞 .site-header 的 sticky 定位）。
   clip 不會建立新的 scroll container，所以 sticky 還能正常吸頂；
   舊瀏覽器 fallback 到 hidden */
html { overflow-x: hidden; overflow-x: clip; }

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體",
               "PingFang TC", "Heiti TC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.5; font-weight: 700; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Header / 主選單
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.05); }

.header-row {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 34px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: var(--brand);
  font-family: "Noto Sans TC", sans-serif;
}

.primary-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.primary-nav > ul {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin: 0; padding: 0;
  list-style: none;
}
.primary-nav .nav-link {
  display: inline-block;
  padding: 8px 4px;
  font-size: 17px;
  color: var(--text);
  font-weight: 800;
  position: relative;
  white-space: nowrap;
}
.primary-nav .nav-link:hover,
.primary-nav .nav-link.is-active { color: var(--brand); }

/* 次選單 */
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-tap-open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.sub-menu li a:hover,
.sub-menu li a.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}

/* 立即免費諮詢按鈕 */
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand);
  color: #fff;
  align-self: stretch;
  justify-content: center;
  min-width: 230px;
  padding: 0 30px;
  border-radius: 0;
  font-weight: 600;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.cta-phone:hover { background: var(--brand-dark); color: #fff; }
.cta-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
}
.cta-phone-icon img { width: 100%; height: 100%; }
.cta-phone-text { display: flex; flex-direction: column; line-height: 1.2; }
.cta-phone-label { font-size: 16px; opacity: .95; font-weight: 700; }
.cta-phone-num   { font-size: 22px; font-weight: 800; letter-spacing: .4px; }

/* hamburger */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 7px 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin: 4px auto;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   手機抽屜選單
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}
.mobile-menu.is-open { pointer-events: auto; }

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu.is-open .mobile-menu-overlay { opacity: 1; }

.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  max-width: 86vw;
  height: 100%;
  background: #fff;
  padding: 60px 0 30px;
  box-shadow: -4px 0 20px rgba(0,0,0,.08);
  transform: translateX(100%);
  transition: transform .3s;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }

.mobile-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
}

.mobile-menu-panel ul {
  margin: 0; padding: 0;
  list-style: none;
}
.mobile-menu-panel li a {
  display: block;
  padding: 14px 28px;
  font-size: 16px;
  color: var(--heading);
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu-panel li:first-child a { border-top: 1px solid var(--line-soft); }
.mobile-menu-panel li a:hover,
.mobile-menu-panel li a.is-active { color: var(--brand); }

/* ============================================================
   Hero / 版頭輪播
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  background: #EEF1F4;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }

/* 圖片右側白色漸層：人物在左、文字在右，右側白底守住文字對比 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,.55) 58%,
    rgba(255,255,255,.85) 80%,
    rgba(255,255,255,.92) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 2;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-text {
  text-align: right;
  max-width: 540px;
  padding-right: 12px;
}

.hero-brand {
  font-size: 44px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 2px;
  margin: 0 0 16px;
  line-height: 1.2;
}
.hero-slogan {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 16px;
  letter-spacing: 1px;
}
.hero-bullets {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 25px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 16px;
}
.hero-bullets .check {
  color: var(--brand);
  font-weight: 700;
  margin-right: 2px;
  font-size: 27px;
}
.hero-bullets strong { font-weight: 700; }
.hero-tag {
  font-size: 20px;
  color: #414141;
  margin: 0;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ============================================================
   區塊標題（兩條細線中間放標題）
   ============================================================ */
.section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--heading);
  position: relative;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: none;
  width: 100%;
}
.section-heading::before,
.section-heading::after {
  content: '';
  flex: 1;
  height: 6px;
  background: #DDF3EC;
  max-width: none;
}
.section-heading span {
  white-space: nowrap;
  padding: 0 10px;
}

.section-sub {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 30px;
}
.section-sub.center { text-align: center; }
.num-accent {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
  margin: 0 2px;
}

/* ============================================================
   按鈕
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .5px;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn .arr {
  font-size: 18px;
  line-height: 1;
  margin-left: 4px;
  transform: translateY(-1px);
}

/* ============================================================
   首頁 — 介紹區塊
   ============================================================ */
.intro-section {
  padding: 58px 0 42px;
  position: relative;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 60px;
  align-items: center;
  min-height: 0;
  position: relative;
}
.intro-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: url('/assets/img/intro-home.jpg') center/cover no-repeat;
  border-radius: 2px;
}
.intro-text {
  max-width: 560px;
  padding-top: 0;
}
.intro-text h2 {
  font-size: 30px;
  color: var(--brand);
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.5;
  letter-spacing: .3px;
}
.intro-text .tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--heading);
  font-weight: 800;
  font-size: 22px;
}
.intro-text .tags span { white-space: nowrap; }
.intro-text .tag-sep {
  color: var(--brand);
  font-weight: 700;
}
.intro-text p {
  font-size: 17px;
  color: #4A4A4A;
  font-weight: 400;
  margin: 0 0 26px;
  line-height: 2.05;
  letter-spacing: .2px;
}
.intro-text .actions { margin-top: 18px; }

/* FINANCING 直書浮水印 */
.financing-watermark {
  position: absolute;
  right: -34px;
  top: 2px;
  display: flex;
  align-items: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 10px;
  color: rgba(63, 186, 144, .08);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   服務項目格（3 卡片）
   ============================================================ */
.services-grid-section {
  padding: 50px 0 70px;
}
.page-index .services-grid-section .section-heading {
  max-width: none;
  width: 100%;
  gap: 24px;
}
.page-index .services-grid-section .section-heading::before,
.page-index .services-grid-section .section-heading::after {
  height: 5px;
  max-width: none;
  background: #DDF3EC;
}
.page-index .services-grid-section .section-heading span {
  padding: 0 8px;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.svc-card {
  display: block;
  color: var(--text);
  text-align: center;
  transition: transform .25s;
}
.svc-card:hover { transform: translateY(-3px); color: inherit; }
.svc-card-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  margin-bottom: 14px;
}
.svc-img-check    { background-image: url('/assets/img/svc-check.jpg'); }
.svc-img-personal { background-image: url('/assets/img/svc-personal.jpg'); }
.svc-img-sme      { background-image: url('/assets/img/svc-sme.jpg'); }

.svc-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 10px;
}
.svc-card-desc {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0;
  line-height: 2.05;
}

/* ============================================================
   流程區（首頁版本：四卡片 + 背景）
   ============================================================ */
.process-section {
  padding: 60px 0 70px;
  position: relative;
}
.process-section.process-home {
  background:
    linear-gradient(rgba(251, 246, 238, .36), rgba(251, 246, 238, .52)),
    url('/assets/img/process-bg.jpg') center bottom/100% auto no-repeat;
  padding: 46px 0 64px;
}
.process-home .section-heading {
  font-size: 28px;
  margin-bottom: 14px;
}
.process-home .section-heading::before,
.process-home .section-heading::after {
  display: block;
  height: 6px;
  background: #DDF3EC;
  max-width: none;
}
.process-home .section-sub {
  font-size: 17px;
  line-height: 1.95;
  margin-bottom: 26px;
  font-weight: 400;
}
.process-home .process-sub-strong {
  font-weight: 700;
}
.process-home .proc-cards {
  max-width: 1040px;
  margin: 0 auto;
  gap: 28px;
}
.process-home .proc-card {
  min-height: 210px;
  padding: 32px 22px 26px;
  background: rgba(255,255,255,.96);
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,.09);
}
.process-home .proc-icon {
  height: 68px;
  margin-bottom: 16px;
}
.process-home .proc-icon img {
  width: 58px;
  height: 58px;
}
.process-home .proc-num-row {
  font-size: 20px;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--brand);
}
.process-home .proc-no {
  font-size: 20px;
  color: var(--brand);
}
.process-home .proc-bar,
.process-home .proc-title {
  color: var(--brand);
}
.process-home .proc-desc {
  font-size: 16px;
  line-height: 1.95;
}
.process-home .proc-cta {
  margin-top: 30px;
}
.process-home .proc-cta .btn-primary {
  min-width: 110px;
  min-height: 35px;
  padding: 8px 24px 9px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .4px;
}
.process-home .proc-cta .btn-primary .arr {
  font-size: 22px;
  margin-left: 10px;
}
.process-section.process-service {
  background: #fff;
  padding: 16px 0 50px;
}
/* 服務頁的流程卡片：白底 + 薄荷細邊框（與 about 頁四大優勢同配色） */
.process-service .proc-card {
  background: #fff;
  border: 2px solid var(--brand-line);
  border-radius: 0;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process-service .proc-card:hover {
  transform: translateY(-4px);
  border-color: #B9E6D4;
  box-shadow: 0 14px 32px -16px rgba(29,158,117,.28);
}
.process-section .section-heading,
.process-section .section-sub { color: var(--heading); }
.process-section .section-heading::before,
.process-section .section-heading::after { background: var(--brand-line); }

.proc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.proc-card {
  background: #fff;
  border-radius: 0;
  padding: 28px 18px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .25s;
}
.proc-card:hover { transform: translateY(-3px); }
.proc-icon {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.proc-icon img { width: 56px; height: 56px; }
.proc-num-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}
.proc-no { color: var(--brand); font-size: 22px; font-weight: 700; }
.proc-bar { color: var(--brand-tag); font-weight: 400; }
.proc-title { color: var(--brand); }

.proc-desc {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.9;
}

.proc-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* 服務頁中的 4 卡片無背景上方標題 */
.process-service .svc-process-heading {
  text-align: center;
  font-size: 22px;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 8px;
}
.process-service .svc-process-call {
  text-align: center;
  color: var(--brand);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 24px;
}
.process-service .svc-process-call .bar { color: var(--brand); margin: 0 6px; }

/* ============================================================
   流程詳情頁（兩欄詳細卡片）
   ============================================================ */
.process-detail {
  padding: 50px 0 60px;
  background: #fff;
}
.proc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.proc-detail-card {
  border: 1px solid var(--brand-line);
  border-radius: 4px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.proc-detail-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.proc-detail-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4FBF8;
}
.proc-detail-icon img { width: 76px; height: 76px; }
.proc-detail-body { flex: 1; min-width: 0; }
.proc-detail-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.proc-detail-title .proc-no { color: var(--brand); font-size: 18px; }
.proc-detail-title .proc-bar { color: var(--brand-tag); font-weight: 400; }
.proc-detail-body p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.95;
}

/* ============================================================
   首頁 — 底部 CTA Banner
   ============================================================ */
.cta-section {
  padding: 60px 0 70px;
}
.cta-section .container {
  max-width: var(--max-w);
}
.cta-banner {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
  min-height: 440px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #FFFFFF;
}
.cta-banner-image {
  flex: 0 0 560px;
  min-width: 0;
  background: url('/assets/img/cta-home.jpg') center center / cover no-repeat;
}
.cta-banner .cta-text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  padding: 48px 40px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1200px) {
  .cta-banner .cta-text p:last-of-type {
    white-space: nowrap;
  }
}
.cta-banner .cta-text h2 {
  color: var(--brand);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: .4px;
  margin: 0 0 16px;
}
.cta-banner .cta-text .cta-tags {
  color: var(--heading);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: .6px;
}
.cta-banner .cta-text p {
  color: var(--text);
  font-size: 17px;
  line-height: 2;
  margin: 0 0 10px;
}
.cta-banner .cta-text p:last-of-type {
  margin-bottom: 20px;
}
.cta-banner .cta-text .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-banner .actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 130px;
  min-height: 0;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  border-width: 1px;
  transition: all .2s ease;
}
.cta-banner .actions .btn .arr {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  opacity: .9;
  margin-left: 0;
  transform: none;
}
.cta-banner .actions .btn-primary {
  background: #1D9E75;
  border-color: #1D9E75;
  color: #fff;
}
.cta-banner .actions .btn-primary:hover {
  background: #0F6E56;
  border-color: #0F6E56;
  color: #fff;
}
.cta-banner .actions .btn-outline {
  background: transparent;
  border-color: #1D9E75;
  color: #1D9E75;
}
.cta-banner .actions .btn-outline:hover {
  background: #1D9E75;
  border-color: #1D9E75;
  color: #fff;
}

@media (max-width: 768px) {
  .cta-banner {
    flex-direction: column;
    min-height: auto;
    background: #FFFFFF;
  }
  .cta-banner-image {
    flex: 0 0 220px;
    width: 100%;
    background-position: center 35%;
  }
  .cta-banner .cta-text h2 br,
  .cta-banner .cta-text p br { display: none; }
  .cta-banner .cta-text { padding: 28px 0 32px; max-width: none; flex: 1 1 auto; }
  .cta-banner .cta-text h2 { font-size: 20px; }
  .cta-banner .cta-text .cta-tags { font-size: 15px; }
  .cta-banner .actions { gap: 10px; }
  .cta-banner .actions .btn {
    flex: 1 1 0;
    min-width: 0;
    gap: 10px;
    padding: 12px 18px;
    white-space: nowrap;
    justify-content: space-between;
  }
  .cta-banner .actions .btn .arr { flex-shrink: 0; }
}

/* ============================================================
   關於我們 (about.php)
   ============================================================ */
.about-section { padding: 60px 0 70px; }
.about-section .section-heading {
  max-width: none;
  width: 100%;
  gap: 24px;
}
.about-section .section-heading::before,
.about-section .section-heading::after {
  height: 6px;
  max-width: none;
  background: #DDF3EC;
}
.about-section .section-heading span {
  padding: 0 8px;
}
.about-intro {
  text-align: center;
  color: var(--text);
  font-size: 18px;
  line-height: 2;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* 四大優勢 */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 40px 0 60px;
}
.adv-card {
  position: relative;
  border: 5px solid #DDF3EC;
  border-radius: 0;
  padding: 44px 20px 40px;
  text-align: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -16px rgba(29,158,117,.28);
  border-color: #B9E6D4;
}
.adv-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.adv-icon img { width: 110px; height: 110px; }
.adv-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
  letter-spacing: 1px;
}

/* 兩段式介紹 */
.about-block {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}
.about-block.reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.about-block-text h3 {
  color: var(--brand);
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.6;
  letter-spacing: .4px;
}
.about-block-text p {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 2;
}
.about-block-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.about-block:not(.reverse) .about-block-image { background-image: url('/assets/img/about-block-1.jpg'); }
.about-block.reverse .about-block-image     { background-image: url('/assets/img/about-block-2.jpg'); }

/* about-cta 橫幅 — 大型薄荷色卡片：背景圖鋪滿 + 文字浮層 + 漸層遮罩 + 四周淡薄荷邊框 */
.about-cta {
  position: relative;
  margin-top: 50px;
  min-height: 300px;
  background:
    /* 文字區後方薄荷→透明漸層遮罩 */
    linear-gradient(90deg,
      rgba(235,247,242,1)   0%,
      rgba(235,247,242,1)   50%,
      rgba(235,247,242,.75) 58%,
      rgba(235,247,242,.3)  66%,
      rgba(235,247,242,0)   75%
    ),
    /* 背景圖貼齊高度、寬度等比、靠右切齊 */
    url('/assets/img/about-cta.jpg') right center/auto 100% no-repeat #EBF7F2;
  /* 四周一致的淡薄荷邊框（無圓弧） */
  border: 4px solid #DDF3EC;
  border-radius: 0;
  padding: 48px 56px 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* (7) 文字浮在圖片上方 */
.about-cta-text {
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.about-cta-text h3 {
  color: var(--brand);
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.65;
  letter-spacing: .4px;
}
.about-cta-text p {
  color: var(--text);
  font-size: 17px;
  margin: 0 0 24px;
  line-height: 2;
}

/* (9) 按鈕：圓角膠囊，綠底白字 + 白底綠框 */
.about-cta-text .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.about-cta-text .actions .btn {
  min-width: 132px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
}
.about-cta-text .actions .btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.about-cta-text .actions .btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* 已不需要：圖片改為背景，移除舊的圖片 div */
.about-cta-image { display: none; }

/* ============================================================
   服務項目詳情頁（支票 / 個人 / 中小）
   ============================================================ */
.service-detail { padding: 60px 0 16px; }

.svc-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 50px;
  align-items: start;
  margin-bottom: 50px;
}
.svc-hero-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.page-service-check    .svc-hero-image { background-image: url('/assets/img/svc-hero-check.jpg'); }
.page-service-personal .svc-hero-image { background-image: url('/assets/img/svc-hero-personal.jpg'); }
.page-service-sme      .svc-hero-image { background-image: url('/assets/img/svc-hero-sme.jpg'); }

.svc-hero-text h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 16px;
  line-height: 1.5;
}
.svc-hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px;
  color: var(--heading);
  font-size: 19px;
  font-weight: 700;
}
.svc-hero-tags .check { color: var(--brand); margin-right: 4px; font-weight: 700; }
.svc-hero-text p {
  font-size: 17.5px;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 2;
}
.svc-features {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
}
.svc-features p {
  font-size: 17.5px;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.95;
}
.svc-features b { color: var(--brand); font-weight: 700; margin-right: 2px; }

/* 應備文件 */
.docs-needed {
  background: #EFF8F4;
  border: none;
  border-radius: 0;
  padding: 22px 30px 28px;
  margin: 40px 0 20px;
  position: relative;
}
.docs-needed h3 {
  text-align: center;
  font-size: 20px;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brand-line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.docs-needed h3::before,
.docs-needed h3::after {
  content: none;
}
.docs-needed h3 .doc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 4px;
}
.docs-needed h3 .doc-mark img,
.docs-needed h3 .doc-mark svg {
  width: 22px;
  height: 22px;
}
.docs-needed-list {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}
.doc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  font-size: 17px;
  color: var(--text);
  padding: 5px 0;
}
.doc-row .doc-label { color: var(--brand); font-weight: 700; min-width: 56px; }
.doc-row > span:not(.doc-label) { white-space: nowrap; }

/* 服務頁底部 call line（fallback when not used in process-steps include） */
.svc-call {
  text-align: center;
  margin: 30px 0;
}
.svc-call .lead {
  color: var(--brand);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}
.svc-call .tel {
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  position: relative;
}
.svc-call .tel::before,
.svc-call .tel::after {
  content: '|';
  color: var(--brand);
  margin: 0 12px;
  font-weight: 400;
}

/* ============================================================
   服務流程頁（process.php）下半部
   ============================================================ */
.process-advantages {
  text-align: center;
  margin: 30px auto 50px;
}
.process-advantages h3 {
  font-size: 22px;
  color: var(--heading);
  font-weight: 700;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.process-advantages h3::before,
.process-advantages h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--brand-line);
  max-width: 220px;
}
.process-advantages .pts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  font-size: 17px;
}
.process-advantages .check { color: var(--brand); margin-right: 4px; }

.process-cta {
  position: relative;
  min-height: 260px;
  background: #EBF7F2;
  border: 4px solid #DDF3EC;
  border-radius: 0;
  padding: 36px 48px 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 46px;
}
.process-cta::before {
  /* 圖片自身漸進透明 → 沒有亮帶、沒有接縫，只有純粹的淡出感 */
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/process-cta.jpg') right center / auto 150% no-repeat;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 55%,
    rgba(0,0,0,.15) 64%,
    rgba(0,0,0,.5)  72%,
    rgba(0,0,0,.85) 82%,
    #000 90%);
  mask-image: linear-gradient(90deg,
    transparent 55%,
    rgba(0,0,0,.15) 64%,
    rgba(0,0,0,.5)  72%,
    rgba(0,0,0,.85) 82%,
    #000 90%);
  pointer-events: none;
  z-index: 0;
}
.process-cta > * { position: relative; z-index: 1; }
.process-cta-image { display: none; }
.process-cta-text h3 {
  color: var(--brand);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 12px;
}
.process-cta-text .sub-tags {
  color: var(--brand);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.process-cta-text p {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 2;
}
.process-cta-text .tel-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 17px;
  margin-top: 12px;
}

/* 服務流程頁依 03-服務流程設計稿調整 */
body.page-process .site-header .container,
body.page-process .hero .container,
body.page-process .process-detail .container,
body.page-process > .container {
  max-width: 1500px;
}

body.page-process .cta-phone {
  min-width: 180px;
}

body.page-process .hero {
  min-height: 530px;
}

body.page-process .hero-body {
  min-height: 530px;
}

body.page-process .hero-text {
  max-width: 620px;
  padding-right: 22px;
}

body.page-process .process-detail {
  padding: 64px 0 46px;
}

body.page-process .process-detail .section-heading {
  max-width: 1500px;
  margin-bottom: 20px;
  font-size: 22px;
}

body.page-process .process-detail .section-heading::before,
body.page-process .process-detail .section-heading::after {
  max-width: none;
  height: 6px;
  background: #DDF3EC;
}

body.page-process .process-detail .section-sub {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 38px;
}

body.page-process .proc-detail-grid {
  gap: 26px 28px;
  margin-top: 0;
}

body.page-process .proc-detail-card {
  min-height: 188px;
  padding: 26px 34px;
  gap: 24px;
  align-items: center;
  border: 2px solid #DDF3EC;
  border-radius: 3px;
  box-shadow: none;
}

body.page-process .proc-detail-card:hover {
  box-shadow: none;
  transform: none;
}

body.page-process .proc-detail-icon {
  width: 126px;
  height: 126px;
  background: #F4FBF8;
}

body.page-process .proc-detail-icon img {
  width: 74px;
  height: 74px;
}

body.page-process .proc-detail-title {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
  gap: 10px;
}

body.page-process .proc-detail-title .proc-no {
  font-size: 20px;
  color: var(--brand);
}

body.page-process .proc-detail-body p {
  font-size: 15px;
  line-height: 1.95;
  color: #606060;
}

body.page-process .process-advantages {
  margin: 42px auto 42px;
}

body.page-process .process-advantages h3 {
  color: var(--brand);
  font-size: 23px;
  margin-bottom: 16px;
}

body.page-process .process-advantages h3::before,
body.page-process .process-advantages h3::after {
  display: none;
}

body.page-process .process-advantages .pts {
  font-size: 18px;
  gap: 8px 18px;
}

body.page-process .process-cta {
  min-height: 300px;
  margin-bottom: 64px;
}

body.page-process .process-cta-text h3 {
  font-size: 21px;
  line-height: 1.45;
  margin-bottom: 12px;
}

body.page-process .process-cta-text .sub-tags {
  font-size: 18px;
  gap: 8px;
  margin-bottom: 16px;
}

body.page-process .process-cta-text p {
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 8px;
}

body.page-process .process-cta-text .tel-line {
  font-size: 18px;
  margin-top: 22px;
  letter-spacing: 1px;
}

/* ============================================================
   服務流程 + 聯絡我們：共用 footer 樣式
   （兩頁的 footer 設計幾乎完全相同；用逗號 selector 合併共用部分，
    僅有差異的屬性放到各自專屬區塊）
   ============================================================ */
/* (page-process / page-contact 使用與其他頁面相同的頁尾設計 — 統一一致) */
body.page-process .footer-tel-num,
body.page-contact .footer-tel-num {
  color: #e0ffb0;
}

/* ============================================================
   聯絡我們 (contact.php)
   ============================================================ */
.contact-section { padding: 60px 0 70px; }
.contact-intro {
  text-align: center;
  margin: 0 0 40px;
}
.contact-intro .lead {
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}
.contact-intro p {
  color: var(--text);
  font-size: 16px;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: stretch;
}
.contact-image {
  width: 100%;
  aspect-ratio: 7 / 5;
  background: url('/assets/img/contact.jpg') center/cover no-repeat;
  border-radius: 2px;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.qr-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
}
.qr-row img { width: 130px; height: 130px; border-radius: 4px; }
.qr-row ul {
  margin: 0; padding: 0;
  list-style: none;
  font-size: 16px;
  color: var(--text);
  line-height: 2.05;
}
.qr-row ul li { display: flex; align-items: baseline; gap: 4px; }
.qr-row ul li.static-info { font-weight: 700; }
.qr-row ul li.static-info .static-label { color: var(--brand); }
.qr-row ul li.static-info .static-value { color: var(--heading); }
.qr-row ul .check { color: var(--brand); font-weight: 700; }

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 2.5px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  transition: all .2s;
  letter-spacing: 0.5px;
}
.contact-btn:hover {
  background: #EAF7F1;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 18px -8px rgba(29,158,117,.35);
  transform: translateY(-1px);
}

.contact-btn .ic-line,
.contact-btn .ic-phone {
  width: 36px; height: 36px;
  background: transparent;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}
.contact-btn .ic-line {
  background: #3fba50;
  border-radius: 50%;
}
.contact-btn .ic-line img,
.contact-btn .ic-phone img { width: 26px; height: 26px; }
.contact-btn .ic-line img { width: 22px; height: 22px; }

.contact-final {
  text-align: center;
  color: var(--brand);
  font-weight: 700;
  font-size: 17px;
  margin-top: 8px;
}
.contact-final .deco { color: var(--brand); margin: 0 6px; }

/* 聯絡我們頁依設計稿調整 */
body.page-contact .site-header .container,
body.page-contact .hero .container,
body.page-contact .contact-section .container {
  max-width: 1600px;
}

body.page-contact .cta-phone {
  min-width: 180px;
}

body.page-contact .hero,
body.page-contact .hero-body {
  min-height: 540px;
}

body.page-contact .hero-text {
  max-width: 640px;
  padding-right: 24px;
}

body.page-contact .contact-section {
  padding: 70px 0 80px;
}

body.page-contact .contact-section .section-heading {
  max-width: 1600px;
  font-size: 28px;
  margin-bottom: 34px;
}

body.page-contact .contact-section .section-heading::before,
body.page-contact .contact-section .section-heading::after {
  max-width: none;
  height: 6px;
  background: #DDF3EC;
}

body.page-contact .contact-intro {
  margin-bottom: 48px;
}

body.page-contact .contact-intro .lead {
  font-size: 24px;
}

body.page-contact .contact-intro p {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
}

body.page-contact .contact-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: 58px;
  align-items: center;
}

body.page-contact .contact-image {
  aspect-ratio: 700 / 500;
}

body.page-contact .contact-info {
  gap: 26px;
}

body.page-contact .qr-row {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
}

body.page-contact .qr-row img {
  width: 210px;
  height: 210px;
}

body.page-contact .qr-row ul {
  font-size: 17px;
  line-height: 2.05;
}

body.page-contact .qr-row ul li.static-info {
  letter-spacing: .6px;
}

body.page-contact .contact-buttons {
  gap: 24px;
}

body.page-contact .contact-btn {
  min-height: 78px;
  justify-content: center;
  gap: 22px;
  padding: 16px 42px;
  border: 3px solid var(--brand);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}

body.page-contact .contact-btn .ic-line,
body.page-contact .contact-btn .ic-phone {
  width: 44px;
  height: 44px;
  background: transparent;
}

body.page-contact .contact-btn .ic-line img {
  width: 28px;
  height: 28px;
}

body.page-contact .contact-btn .ic-phone img {
  width: 30px;
  height: 30px;
}

body.page-contact .contact-final {
  font-size: 24px;
  margin-top: 18px;
  letter-spacing: 1px;
}

/* 服務流程、聯絡我們：比例統一回隱私權政策的標準內頁尺度 */
body.page-process .site-header .container,
body.page-process .hero .container,
body.page-process .process-detail .container,
body.page-process > .container,
body.page-contact .site-header .container,
body.page-contact .hero .container,
body.page-contact .contact-section .container {
  max-width: var(--max-w);
}

body.page-process .hero,
body.page-process .hero-body,
body.page-contact .hero,
body.page-contact .hero-body {
  min-height: 540px;
}

body.page-process .hero-text,
body.page-contact .hero-text {
  max-width: 540px;
  padding-right: 12px;
}

/* 版頭文字大小所有頁面統一使用 .hero-* 預設值，不再依 page-process / page-contact 個別覆寫 */

body.page-process .process-detail {
  padding: 60px 0 20px;
}

body.page-process .process-detail .section-heading {
  max-width: var(--max-w);
  font-size: 28px;
  margin-bottom: 24px;
}

body.page-process .process-detail .section-heading::before,
body.page-process .process-detail .section-heading::after,
body.page-contact .contact-section .section-heading::before,
body.page-contact .contact-section .section-heading::after {
  height: 6px;
  background: #DDF3EC;
}

body.page-process .process-detail .section-sub {
  font-size: 17px;
  line-height: 1.95;
  margin-bottom: 34px;
}

body.page-process .proc-detail-grid {
  gap: 22px;
}

body.page-process .proc-detail-card {
  min-height: 0;
  padding: 26px 30px;
  gap: 24px;
  align-items: center;
  border: 2.5px solid #DDF3EC;
  border-radius: 0;
}

body.page-process .proc-detail-icon {
  width: 110px;
  height: 110px;
  background: #EFF8F4;
  border-radius: 0;
}

body.page-process .proc-detail-icon img {
  width: 70px;
  height: 70px;
}

body.page-process .proc-detail-title,
body.page-process .proc-detail-title .proc-no {
  font-size: 21px;
}
body.page-process .proc-detail-title { color: var(--brand); }

body.page-process .proc-detail-body p {
  font-size: 16px;
  line-height: 1.95;
}

body.page-process .process-advantages {
  margin: 26px auto 38px;
}

body.page-process .process-advantages h3 {
  font-size: 23px;
  margin-bottom: 20px;
}

body.page-process .process-advantages .pts {
  font-size: 18px;
  gap: 12px 28px;
}

body.page-process .process-cta {
  margin-bottom: 46px;
  border: 5px solid #DDF3EC;
  border-radius: 0;
}

body.page-process .process-cta-text h3 {
  font-size: 22px;
}

body.page-process .process-cta-text .sub-tags {
  font-size: 18px;
}

body.page-process .process-cta-text p {
  font-size: 16px;
  line-height: 1.95;
}

body.page-process .process-cta-text .tel-line {
  font-size: 18px;
  margin-top: 14px;
}

body.page-contact .contact-section {
  padding: 60px 0 70px;
}

body.page-contact .contact-section .section-heading {
  max-width: var(--max-w);
  font-size: 28px;
  margin-bottom: 36px;
}

body.page-contact .contact-intro {
  margin-bottom: 40px;
}

body.page-contact .contact-intro .lead {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand);
}

body.page-contact .contact-intro p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

body.page-contact .contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: stretch;
}

body.page-contact .contact-image {
  aspect-ratio: 7 / 5;
}

body.page-contact .contact-info {
  gap: 18px;
}

body.page-contact .qr-row {
  grid-template-columns: 130px 1fr;
  gap: 22px;
}

body.page-contact .qr-row img {
  width: 130px;
  height: 130px;
}

body.page-contact .qr-row ul {
  font-size: 16.5px;
  line-height: 2;
}

body.page-contact .contact-buttons {
  gap: 14px;
}

body.page-contact .contact-btn {
  min-height: 0;
  gap: 14px;
  padding: 15px 26px;
  border-width: 2.5px;
  font-size: 18px;
  font-weight: 800;
}

body.page-contact .contact-btn .ic-line,
body.page-contact .contact-btn .ic-phone {
  width: 34px;
  height: 34px;
  background: transparent;
}

body.page-contact .contact-btn .ic-line img {
  width: 28px;
  height: 28px;
}

body.page-contact .contact-btn .ic-phone img {
  width: 34px;
  height: 34px;
}

body.page-contact .contact-final {
  font-size: 18px;
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* Header 維持設計稿寬度；內文區塊才使用隱私權政策的標準比例 */
.site-header > .container.header-row,
body.page-process .site-header > .container.header-row,
body.page-contact .site-header > .container.header-row {
  max-width: 1480px;
}

/* ============================================================
   隱私權政策 (privacy.php)
   ============================================================ */
.privacy-section { padding: 60px 0 70px; }
.privacy-section .section-heading { margin-bottom: 36px; }

.privacy-intro,
.privacy-second-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}
.privacy-second-row {
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr);
  align-items: stretch;
  margin-top: 14px;
}
.privacy-image {
  width: 100%;
  aspect-ratio: 6 / 7;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
/* 第二排圖片不固定比例，跟著文字高度伸長 */
.privacy-second-row .privacy-image {
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 600px;
}
.privacy-intro       .privacy-image { background-image: url('/assets/img/privacy-1.jpg'); }
.privacy-second-row  .privacy-image { background-image: url('/assets/img/privacy-2.jpg'); }

.privacy-content h3 {
  color: var(--heading);
  font-size: 20px;
  font-weight: 700;
  margin: 22px 0 12px;
}
.privacy-content p {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 2.05;
}
.privacy-content > p:first-of-type { margin-top: 0; }

.privacy-closing {
  text-align: center;
  margin: 40px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--brand-line);
}
.privacy-closing p {
  color: var(--brand);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 6px;
}
.privacy-closing .tel-bar {
  display: inline-block;
  position: relative;
  margin-top: 8px;
}
.privacy-closing .tel-bar::before,
.privacy-closing .tel-bar::after {
  content: '|';
  color: var(--brand);
  margin: 0 12px;
  font-weight: 400;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #3FBA90;
  color: rgba(255,255,255,.95);
  padding: 34px 0 28px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  border-top: 6px solid #DDF3EC;
}
.site-footer > .container {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.footer-grid::before {
  /* 左側深綠色帶（包住 QR 區，延伸至視窗左緣） */
  content: "";
  position: absolute;
  top: -34px;
  bottom: -28px;
  left: calc(50% - 50vw);
  width: calc(50vw - 50% + 280px);
  background: #18B57F;
  z-index: 0;
}

/* Footer QR card */
.footer-qr {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 18px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-qr::before {
  content: "";
  position: absolute;
  display: none;
}
.footer-qr-img {
  width: 100px;
  height: 100px;
  background: #fff;
  padding: 5px;
  border-radius: 2px;
  margin: 0 auto 10px;
  display: block;
}
.footer-qr-caption {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.footer-qr-caption .qr-deco { margin: 0 4px; }
.footer-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 160px;
  min-height: 42px;
  padding: 7px 18px 8px 16px;
  background: #3fba50;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.98);
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
  letter-spacing: 1px;
  box-shadow: 0 5px 10px rgba(0,0,0,.18);
  transition: background .2s, color .2s, transform .2s;
}
.footer-line-btn:hover {
  background: #2EA63E;
  color: #fff;
  transform: translateY(-1px);
}
.footer-line-id {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.3;
  margin-bottom: 14px;
  white-space: nowrap;
}
.footer-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  flex: 0 0 24px;
}
.footer-line-icon img {
  width: 13px;
  height: 13px;
}

/* Footer info column */
.footer-info {
  color: #fff;
  max-width: none;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
}

/* 上半：左品牌 + 右電話/服務項目 */
.footer-top {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px 48px;
  margin-bottom: 30px;
}
.footer-top-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 1px;
}
.footer-brand {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.2px;
  line-height: 1;
}
.footer-tagline {
  color: rgba(255,255,255,.95);
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
}

.footer-tel-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  white-space: nowrap;
}
.footer-tel-row img {
  width: 30px;
  height: 30px;
}
.footer-tel-label {
  font-weight: 800;
  font-size: 18px;
}
.footer-tel-num {
  color: #e0ffb0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-shadow: none;
}
.footer-tel-num:hover,
.footer-tel-num:focus {
  color: #e0ffb0;
}

.footer-services-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 11px;
  grid-column: 2 / 3;
  font-size: 17px;
  line-height: 1.45;
  color: #fff;
  white-space: nowrap;
}
.footer-services-row .footer-svc-icon {
  width: 30px;
  height: 30px;
  margin-right: 1px;
}
.footer-services-row .footer-svc-label { font-weight: 700; font-size: 18px; }
.footer-services-row a { color: #fff; font-weight: 800; }
.footer-services-row a:hover,
.footer-services-row a:focus { color: #fff; opacity: .85; }
.footer-services-row .sep { color: rgba(255,255,255,.7); }

/* 中間細線 */
.footer-hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.5);
  margin: auto 0 18px;            /* 把 hr 與下方版權列推到底部對齊左欄 */
}

/* 下半：人氣計數 + 版權 */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: rgba(255,255,255,.9);
}
.footer-counter {
  display: flex;
  gap: 58px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.footer-copyright {
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 4px;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.footer-copyright .copy-lock {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}
.footer-copyright .footer-credit {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}
.footer-copyright .footer-credit:hover,
.footer-copyright .footer-credit:focus {
  opacity: .75;
  text-decoration: underline;
}

/* ============================================================
   Floating actions (right-side)
   ============================================================ */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  transition: transform .2s, background .2s;
}
.fab:hover { transform: translateY(-2px); background: var(--brand-dark); color: #fff; }
.fab img { width: 34px; height: 34px; }
.fab-phone img { width: 36px; height: 36px; }
.fab-line {
  background: #3fba50;
}
.fab-line:hover { background: #2EA63E; color: #fff; }
.fab-line img { width: 36px; height: 36px; }

.fab-top {
  background: rgba(120,120,120,.85);
  border: 2px solid #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .2s, background .2s;
}
.fab-top.show { opacity: 1; visibility: visible; }
.fab-top:hover { background: rgba(80,80,80,.95); }

/* ============================================================
   RWD：平板 ≤ 1099px
   ============================================================ */
@media (max-width: 1099px) {
  .container { padding: 0 20px; }

  .primary-nav > ul { gap: 26px; }
  .primary-nav .nav-link { font-size: 15px; }

  .hero-brand   { font-size: 36px; }
  .hero-slogan  { font-size: 24px; }
  .hero-bullets { font-size: 22px; }
  .hero-bullets .check { font-size: 24px; }
  .hero-tag     { font-size: 18px; color: #414141; }

  .section-heading { font-size: 24px; gap: 18px; }
  .section-heading::before,
  .section-heading::after { height: 5px; }

  .cta-phone { min-width: 200px; padding: 0 22px; }
  .cta-phone-label { font-size: 14px; }
  .cta-phone-num   { font-size: 19px; }
  .cta-phone-icon { width: 28px; height: 28px; }

  .intro-grid,
  .about-block,
  .about-block.reverse,
  .about-cta,
  .svc-hero-row,
  .process-cta {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-cta { padding: 28px; }
  .about-cta-image, .process-cta-image { height: 260px; }
  .financing-watermark { display: none; }

  .privacy-intro,
  .privacy-second-row { grid-template-columns: 1fr; gap: 30px; }
  .privacy-image { aspect-ratio: 16 / 10; }
  /* 手機：privacy 第二排圖移除 600px 強制高度，使用標準比例 */
  .privacy-second-row .privacy-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  /* 手機：圖文順序統一改成「文先圖後」，符合閱讀流 */
  .about-block.reverse .about-block-image { order: 2; }
  .about-block.reverse .about-block-text { order: 1; }
  .privacy-intro .privacy-image { order: 2; }
  .privacy-intro .privacy-content { order: 1; }
  .privacy-second-row .privacy-image { order: 2; }
  .privacy-second-row .privacy-content { order: 1; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-image { aspect-ratio: 16 / 9; max-width: 600px; margin: 0 auto; }

  /* 流程詳細頁 ─ 兩欄 → 一欄 */
  .proc-detail-grid { grid-template-columns: 1fr; }

  .site-footer > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-grid {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 42px;
  }
  .footer-qr::before {
    left: -20px;
  }
  .footer-info {
    padding-top: 16px;
  }
  .footer-top {
    gap: 14px 36px;
  }
  .footer-brand {
    font-size: 25px;
  }
  .footer-tagline,
  .footer-tel-row,
  .footer-services-row {
    font-size: 13px;
  }
  .footer-tel-num {
    font-size: 22px;
  }
}

/* ============================================================
   RWD：手機 ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .container { padding: 0 16px; }

  /* Header：隱藏 nav + CTA，顯示漢堡 */
  .header-row { height: 60px; gap: 12px; }
  .logo-text { font-size: 20px; }
  .primary-nav { display: none; }
  .cta-phone   { display: none; }
  .hamburger   { display: block; margin-left: auto; }

  /* Hero — 行動版：主體圖在上半，文字置於下半（置中、滿版） */
  .hero { min-height: 460px; }
  .hero-body {
    min-height: 460px;
    padding: 0 0 26px;
    align-items: flex-end;          /* 把文字推到底部 */
  }
  .hero-slide {
    background-position: center 22% !important;  /* 把人物/主體推到上半 */
  }
  .hero-text {
    text-align: center;
    max-width: none;
    width: 100%;
    padding: 0 16px;
  }
  .hero-brand { font-size: 26px; margin-bottom: 8px; letter-spacing: 1px; }
  .hero-slogan {
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;            /* 強制不斷行 */
  }
  .hero-bullets {
    font-size: 14px;
    gap: 4px 10px;
    margin-bottom: 8px;
    justify-content: center;
    flex-wrap: nowrap;              /* 三個項目擠一行 */
    white-space: nowrap;
  }
  .hero-bullets .check { font-size: 15px; }
  .hero-tag { font-size: 13px; color: #414141; }

  /* 漸層改成從上到下：上半透明（讓圖片露出），下半白底（讓文字清楚）*/
  .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 50%,
      rgba(255,255,255,.6) 65%,
      rgba(255,255,255,.92) 80%,
      rgba(255,255,255,.96) 100%
    );
  }

  /* Sections */
  .section-heading { font-size: 19px; gap: 10px; }
  .section-heading::before,
  .section-heading::after { max-width: 80px; height: 3px; }
  .section-sub { font-size: 14px; }

  /* Intro */
  .intro-section { padding: 40px 0 20px; }
  .intro-text h2 { font-size: 22px; }
  .intro-text .tags { font-size: 17px; gap: 8px; }
  .intro-text p { font-size: 15px; }

  /* Services grid: 3 → 1 column on phone */
  .services-grid-section { padding: 30px 0 50px; }
  .svc-cards { grid-template-columns: 1fr; gap: 22px; }
  .svc-card-image { aspect-ratio: 5 / 3; }
  .svc-card-title { font-size: 17px; }
  .svc-card-desc { font-size: 14px; }

  /* Process cards: 4 → 2 columns on phone */
  .process-section { padding: 40px 0 50px; }
  .proc-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .proc-card { padding: 18px 12px; border-radius: 0; }
  .proc-icon { height: 56px; }
  .proc-icon img { width: 44px; height: 44px; }
  .proc-num-row { font-size: 16px; }
  .proc-no { font-size: 17px; }
  .proc-desc { font-size: 13.5px; line-height: 1.75; }

  /* Process detail page: stay single column */
  .proc-detail-card { padding: 20px; gap: 16px; }
  .proc-detail-icon { width: 60px; height: 60px; }
  .proc-detail-icon img { width: 50px; height: 50px; }
  .proc-detail-title { font-size: 16px; }
  .proc-detail-body p { font-size: 13px; }

  /* Service process variant */
  .process-service .svc-process-heading { font-size: 16px; }
  .process-service .svc-process-call { font-size: 14px; }

  /* CTA banner */
  .cta-section { padding: 40px 0 50px; }
  .cta-section .container { padding-left: 24px; padding-right: 24px; }
  .cta-banner { border-radius: 0; }
  .cta-banner .cta-text h2 { font-size: 20px; }
  .cta-banner .cta-text p { font-size: 14.5px; }

  /* About */
  .about-section { padding: 40px 0 50px; }
  .about-intro { font-size: 14.5px; }
  .advantages { grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0 40px; }
  .adv-card { padding: 30px 14px 26px; border-width: 4px; border-radius: 0; }
  .adv-icon { height: 80px; margin-bottom: 14px; }
  .adv-icon img { width: 72px; height: 72px; }
  .adv-title { font-size: 20px; letter-spacing: .5px; }
  .about-block-text h3,
  .about-cta-text h3 { font-size: 17px; }
  .about-block-text p { font-size: 14.5px; }
  .about-cta {
    min-height: auto;
    border-width: 2px;
    border-radius: 0;
    padding: 130px 22px 28px;
    background:
      linear-gradient(180deg,
        rgba(235,247,242,0)   0%,
        rgba(235,247,242,.6)  30%,
        rgba(235,247,242,1)   55%,
        rgba(235,247,242,1)   100%
      ),
      url('/assets/img/about-cta.jpg') right 35% / cover no-repeat #EBF7F2;
  }
  .about-cta-text { max-width: none; }
  .about-cta-text h3 br,
  .about-cta-text p br { display: none; }
  .about-cta-text p { font-size: 14.5px; }

  /* Service detail */
  .service-detail { padding: 40px 0 30px; }
  .svc-hero-text h2 { font-size: 19px; }
  .svc-hero-tags { font-size: 15px; gap: 12px; }
  .svc-hero-text p { font-size: 14.5px; }
  .svc-features p { font-size: 14.5px; }
  .docs-needed { padding: 18px 16px; }
  .docs-needed h3 { font-size: 16px; }
  .docs-needed-list { width: 100%; padding: 0; }
  .doc-row { font-size: 14px; gap: 4px 10px; justify-content: flex-start; }

  /* Process detail page */
  .process-advantages h3 { font-size: 17px; }
  .process-advantages h3::before,
  .process-advantages h3::after { max-width: 60px; }
  .process-advantages .pts { font-size: 15px; gap: 8px 16px; }
  .process-cta {
    flex-direction: column;
    min-height: auto;
    border-width: 2px;
    border-radius: 0;
    padding: 0 0 28px;
    background: #EBF7F2;
  }
  /* 桌機版用 ::before 渲染圖片並 mask；手機版改用獨立 .process-cta-image 元素，把 ::before 關掉避免覆蓋下方文字 */
  .process-cta::before { display: none; }
  /* 行動版把原本隱藏的 .process-cta-image 拿出來當頂部圖片，順序用 order 推到最前 */
  .process-cta .process-cta-image {
    display: block;
    order: -1;                       /* 圖在文字上方 */
    width: 100%;
    height: 280px;
    background:
      linear-gradient(to bottom,
        rgba(235,247,242,0)    0%,
        rgba(235,247,242,0)    35%,
        rgba(235,247,242,.55)  60%,
        rgba(235,247,242,.92)  82%,
        rgba(235,247,242,1)    95%),
      url('/assets/img/process-cta.jpg') center top / cover no-repeat;
    flex: 0 0 280px;
    margin-bottom: -28px;             /* 讓淡出區與下方文字底色銜接 */
  }
  .process-cta-text { max-width: none; padding: 24px 22px 0; position: relative; }
  .process-cta-text h3 { font-size: 18px; }
  .process-cta-text p { font-size: 14.5px; }
  .process-cta-text h3 br,
  .process-cta-text p br { display: none; }

  /* Contact */
  .contact-section { padding: 40px 0 50px; }
  .contact-intro .lead { font-size: 19px; }
  .contact-intro p { font-size: 14.5px; }
  .qr-row { grid-template-columns: 100px 1fr; gap: 14px; }
  .qr-row img { width: 100px; height: 100px; }
  .qr-row ul { font-size: 14.5px; }
  .contact-btn { font-size: 15px; padding: 13px 20px; border-width: 2px; }
  .contact-final { font-size: 15px; }

  /* Privacy */
  .privacy-section { padding: 40px 0 50px; }
  .privacy-section .section-heading { justify-content: center; text-align: center; }
  .privacy-section .section-heading::before { display: flex; }
  .privacy-content h3 { font-size: 16px; }
  .privacy-content p { font-size: 14.5px; }
  .privacy-closing p { font-size: 15px; }

  /* Footer */
  .site-footer { padding: 0 0 22px; }
  .site-footer > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-grid,
  body.page-process .footer-grid,
  body.page-contact .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
    justify-items: center;
  }
  /* 手機版單欄堆疊時不需要左側深綠裝飾色帶，
     否則 ::before 會疊在 .footer-info 之上把左側內容切掉 */
  .footer-grid::before { display: none; }
  .footer-qr {
    padding: 22px 0 18px;
    width: 100%;
  }
  .footer-qr::before {
    top: 0;
    bottom: 0;
    left: -16px;
    right: -16px;
  }
  .footer-qr-img {
    width: 104px;
    height: 104px;
  }
  .footer-info {
    padding-top: 0;
    text-align: center;
    width: 100%;
    max-width: 480px;
  }
  /* 手機版底部上半部分改成單欄堆疊、置中 */
  .footer-top { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; align-items: center; }
  .footer-top-left,
  .footer-tel-row,
  .footer-services-row { justify-content: center; flex-wrap: wrap; }
  .footer-brand { font-size: 24px; }
  .footer-tagline { font-size: 13px; }
  .footer-tel-row { font-size: 14px; }
  .footer-tel-label { font-size: 14px; }
  .footer-tel-num,
  body.page-process .footer-tel-num,
  body.page-contact .footer-tel-num { font-size: 20px; color: #e0ffb0; }
  .footer-services-row { grid-column: auto; font-size: 14px; white-space: normal; }
  .footer-services-row .footer-svc-label { font-size: 14px; }
  .footer-bottom { font-size: 11px; flex-direction: column; gap: 8px; align-items: center; }
  .footer-copyright,
  body.page-process .footer-copyright,
  body.page-contact .footer-copyright {
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
    white-space: normal;
    display: block;
    word-break: break-word;
  }
  .footer-copyright .copy-lock {
    vertical-align: middle;
  }
  .footer-counter { gap: 20px; font-size: 12px; justify-content: center; }

  /* Floating actions */
  .floating-actions { right: 10px; bottom: 70px; gap: 8px; }
  .fab { width: 48px; height: 48px; border-width: 2px; }
  .fab img { width: 24px; height: 24px; }
  .fab-line img { width: 28px; height: 28px; }
}

/* ============================================================
   設計稿一致化補充規則
   ============================================================ */

/* 桌機版：內頁只顯示 LINE 浮動按鈕，電話 fab 只在首頁出現（內頁上方已有顯眼的電話 widget） */
@media (min-width: 769px) {
  body:not(.page-index) .fab-phone { display: none; }
  body.page-process .fab-phone { display: none !important; }
}

/* 服務詳情頁底部的「更多專業服務項目」標題：與其他內頁標題相同（含兩側粗綠線） */
body:not(.page-index) .services-grid-section .section-heading {
  margin-bottom: 30px;
}

/* 服務流程頁 CTA 文字寬度上限 */
.process-cta-text {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 540px;
}

/* 應備文件標題：加上小圖示 */
.docs-needed h3 .doc-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  margin: 0 4px 0 -4px;
}

@media (max-width: 1099px) {
  body.page-process .site-header .container,
  body.page-process .hero .container,
  body.page-process .process-detail .container,
  body.page-process > .container {
    max-width: var(--max-w);
  }

  body.page-process .process-cta {
    min-height: auto;
  }

  body.page-process .footer-grid,
  body.page-contact .footer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    justify-items: center;
  }

  .site-footer,
  body.page-process .site-footer {
    background: #3FBA90;
  }

  body.page-contact .site-header .container,
  body.page-contact .hero .container,
  body.page-contact .contact-section .container {
    max-width: var(--max-w);
  }

  body.page-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.page-contact .site-footer {
    background: #3FBA90;
  }
}

@media (max-width: 768px) {
  body.page-process .logo-text {
    font-size: 20px;
  }

  body.page-process .hero,
  body.page-process .hero-body {
    min-height: 360px;
  }

  body.page-process .process-detail {
    padding: 40px 0 40px;
  }

  body.page-process .process-detail .section-heading {
    font-size: 18px;
  }

  body.page-process .process-detail .section-heading::before,
  body.page-process .process-detail .section-heading::after {
    height: 1px;
  }

  body.page-process .proc-detail-card {
    min-height: 0;
    padding: 20px;
    align-items: flex-start;
  }

  body.page-process .proc-detail-icon {
    width: 60px;
    height: 60px;
  }

  body.page-process .proc-detail-icon img {
    width: 50px;
    height: 50px;
  }

  body.page-process .proc-detail-title,
  body.page-process .proc-detail-title .proc-no {
    font-size: 16px;
  }

  body.page-process .proc-detail-body p {
    font-size: 13px;
  }

  body.page-process .process-advantages h3 {
    font-size: 22px;
  }

  body.page-process .process-advantages .pts {
    font-size: 20px;
  }

  body.page-process .process-cta {
    margin-bottom: 46px;
  }

  body.page-process .process-cta-text h3 {
    font-size: 17px;
  }

  body.page-process .process-cta-text .sub-tags,
  body.page-process .process-cta-text .tel-line {
    font-size: 15px;
  }

  body.page-process .process-cta-text p {
    font-size: 13px;
  }

  body.page-process .process-cta-image {
    height: 190px;
  }

  body.page-process .site-footer {
    padding: 0 0 22px;
  }

  body.page-process .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.page-process .footer-qr::before {
    top: 0;
    bottom: 0;
  }

  body.page-process .footer-qr-img {
    width: 104px;
    height: 104px;
  }

  body.page-process .footer-info {
    padding-top: 0;
  }

  body.page-contact .logo-text {
    font-size: 20px;
  }

  body.page-contact .hero,
  body.page-contact .hero-body {
    min-height: 360px;
  }

  body.page-contact .contact-section {
    padding: 40px 0 50px;
  }

  body.page-contact .contact-section .section-heading {
    font-size: 18px;
  }

  body.page-contact .contact-section .section-heading::before,
  body.page-contact .contact-section .section-heading::after {
    height: 1px;
  }

  body.page-contact .contact-intro .lead {
    font-size: 16px;
  }

  body.page-contact .contact-intro p {
    font-size: 13px;
  }

  body.page-contact .qr-row {
    grid-template-columns: 100px 1fr;
    gap: 14px;
  }

  body.page-contact .qr-row img {
    width: 100px;
    height: 100px;
  }

  body.page-contact .qr-row ul {
    font-size: 13px;
  }

  body.page-contact .contact-btn {
    min-height: 52px;
    font-size: 15px;
    border-width: 2px;
    padding: 10px 20px;
  }

  body.page-contact .contact-btn .ic-line,
  body.page-contact .contact-btn .ic-phone {
    width: 32px;
    height: 32px;
  }

  body.page-contact .contact-final {
    font-size: 15px;
  }

  body.page-contact .site-footer {
    padding: 0 0 22px;
  }

  body.page-contact .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.page-contact .footer-qr::before {
    display: block;
  }

  body.page-contact .footer-info {
    padding-top: 0;
  }
}

/* ============================================================
   超小手機 ≤ 380px：再壓一點 hero
   ============================================================ */
@media (max-width: 380px) {
  .hero-text { padding: 0 12px; }
  .hero-brand { font-size: 22px; }
  .hero-slogan { font-size: 13.5px; }
  .hero-bullets { font-size: 12.5px; gap: 3px 7px; }
  .hero-bullets .check { font-size: 13px; }
  .hero-tag { font-size: 11px; }
  .proc-cards { gap: 10px; }
  .advantages { gap: 10px; }
}

/* ============================================================
   滾動進場動畫 + 平滑捲動（參考 inqiyi.com）
   ============================================================ */

/* 平滑捲動 */
html { scroll-behavior: smooth; }

/* 區塊滾入時淡入並上滑 */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1),
              transform .85s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 多個子元素依序出現（stagger） */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1),
              transform .75s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .12s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .24s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .36s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .48s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .60s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: .72s; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: .84s; }

/* 區塊標題的綠色橫線從中央往兩側展開 */
.section-heading::before,
.section-heading::after {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s cubic-bezier(.2,.7,.2,1) .15s;
}
[data-reveal].is-visible .section-heading::before,
[data-reveal].is-visible .section-heading::after,
.section-heading.is-visible::before,
.section-heading.is-visible::after {
  transform: scaleX(1);
}
/* 預設情況下（沒被 reveal 包住）就直接顯示 */
body:not(.has-anim) .section-heading::before,
body:not(.has-anim) .section-heading::after {
  transform: scaleX(1);
}

/* 服務卡 hover：圖片放大 + 綠色色調覆蓋 */
.svc-card-image {
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.svc-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(63,186,144,.45) 0%, rgba(24,181,127,.15) 60%, rgba(63,186,144,0) 100%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.svc-card:hover .svc-card-image {
  transform: scale(1.07);
}
.svc-card:hover .svc-card-image::after {
  opacity: 1;
}
.svc-card .svc-card-title {
  transition: color .3s ease;
}
.svc-card:hover .svc-card-title {
  color: var(--brand-dark);
}

/* 關於頁四大優勢卡 hover icon 微旋轉 */
.adv-card .adv-icon img {
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.adv-card:hover .adv-icon img {
  transform: scale(1.12) rotate(-3deg);
}

/* 流程卡 hover icon 微跳動 */
.proc-card .proc-icon img {
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.proc-card:hover .proc-icon img {
  transform: translateY(-4px) scale(1.08);
}

/* 浮動按鈕呼吸光圈（不誇張，2.4s 一次） */
@keyframes fab-pulse {
  0%   { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 0   rgba(63,186,144,.55); }
  70%  { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 12px rgba(63,186,144,0); }
  100% { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 0   rgba(63,186,144,0); }
}
@keyframes fab-pulse-line {
  0%   { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 0   rgba(63,186,80,.55); }
  70%  { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 12px rgba(63,186,80,0); }
  100% { box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 0   rgba(63,186,80,0); }
}
.fab-phone { animation: fab-pulse 2.4s ease-out infinite; }
.fab-line  { animation: fab-pulse-line 2.4s ease-out infinite 1.2s; }

/* 按鈕箭頭 hover 滑出 */
.btn .arr {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arr {
  transform: translateX(4px);
}

/* 隱私權政策內文 fade-up：每段獨立淡入 */
[data-reveal-text] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease-out, transform .65s ease-out;
}
[data-reveal-text].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-text].is-visible > *:nth-child(n+1) { transition-delay: 0s; }
[data-reveal-text].is-visible > *:nth-child(n+2) { transition-delay: .05s; }
[data-reveal-text].is-visible > *:nth-child(n+3) { transition-delay: .10s; }
[data-reveal-text].is-visible > *:nth-child(n+4) { transition-delay: .15s; }
[data-reveal-text].is-visible > *:nth-child(n+5) { transition-delay: .20s; }

/* 尊重使用者「減少動態」偏好（無障礙） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal],
  [data-reveal-stagger] > *,
  [data-reveal-text] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .section-heading::before,
  .section-heading::after {
    transform: scaleX(1) !important;
  }
}
