/* =========================================================================
   GreenerClean V2.1 — 舊站品牌視覺系統
   綠 / 粉 / 白，清潔感、圓角卡片、泡泡與擦拭 reveal
   ========================================================================= */

:root {
  --brand: #16b98f;
  --brand-2: #f369a0;
  --brand-3: #0c8f7d;
  --brand-deep: #06382f;
  --brand-sky: #42c8d8;
  --brand-sun: #f6bf4f;
  --brand-glow: rgba(22, 185, 143, 0.22);
  --pink-glow: rgba(243, 105, 160, 0.18);
  --bg: #fbfff9;
  --bg-2: #effbf3;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --border: rgba(22, 128, 104, 0.14);
  --border-hover: rgba(22, 185, 143, 0.38);
  --text: #12342d;
  --text-muted: #333;
  --text-dim: #555;
  --radius: 24px;
  --radius-sm: 16px;
  --pill: 100px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --maxw: 1400px;
  --pad-section: 120px;
  --font: "Poppins", "Noto Sans SC", "Noto Sans TC", sans-serif;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background:
    radial-gradient(920px 540px at 82% -10%, rgba(243,105,160,0.16), transparent 58%),
    radial-gradient(780px 460px at 9% 4%, rgba(66,200,216,0.17), transparent 56%),
    radial-gradient(760px 480px at 72% 30%, rgba(246,191,79,0.10), transparent 62%),
    linear-gradient(180deg, #fffefa 0%, #fbfff9 48%, #f2fbf6 100%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--blog-wide { max-width: 1400px; }
.section { padding: var(--pad-section) 0; position: relative; }
.section--tight { padding: 80px 0; }

/* 標題系統 */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
  padding: 6px 14px; border: 1px solid var(--border-hover);
  border-radius: var(--pill); background: rgba(22, 185, 143, 0.08);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 10px var(--brand-2); }
.section-title { font-size: clamp(32px, 5vw, 56px); margin: 20px 0 16px; }
.section-lead { color: #333; font-size: 17px; font-weight: 400; line-height: 1.7; max-width: 640px; }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin: 0 auto; }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--pill);
  transition: all 0.4s var(--ease); border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #ffffff; box-shadow: 0 0 0 rgba(22,185,143,0); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px var(--brand-glow); }
.btn--ghost { border-color: var(--border); color: var(--text); background: var(--bg-glass); }
.btn--ghost:hover { border-color: var(--border-hover); color: var(--brand); }
.btn svg { width: 18px; height: 18px; }

/* ===================== Header ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid rgba(22,128,104,0.08);
  background: rgba(251, 255, 249, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__logo { width: 54px; height: 54px; object-fit: contain; border-radius: 12px; flex: none; background: #fff; }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand__name span { color: var(--brand); }
.brand__sub { font-size: 11px; color: #666; letter-spacing: 0.1em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 15px; font-weight: 600; color: #333;
  padding: 10px 16px; border-radius: var(--pill); transition: all 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: var(--bg-glass); }
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-dropdown__trigger span {
  font-size: 12px; color: var(--brand); transform: translateY(-1px);
}
.nav-dropdown__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 86vw);
  transform: translateX(-50%) translateY(8px); padding: 18px;
  border: 1px solid rgba(22,128,104,0.14); border-radius: 22px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 28px 70px rgba(6,56,47,0.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
}
.nav-dropdown__panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.main-nav .nav-dropdown__overview {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 16px; margin-bottom: 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(22,185,143,0.10), rgba(243,105,160,0.08));
  color: var(--text);
}
.nav-dropdown__overview span { font-size: 16px; font-weight: 800; }
.nav-dropdown__overview small {
  color: #333; font-size: 12px; font-weight: 600;
}
.nav-dropdown__grid {
  display: grid; grid-template-columns: 1fr 1fr 1.18fr; gap: 14px;
}
.nav-dropdown__group {
  min-width: 0; padding: 12px; border-radius: 16px;
  background: rgba(239,251,243,0.66);
}
.nav-dropdown__group strong {
  display: block; margin: 0 0 8px; color: var(--brand); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.main-nav .nav-dropdown__group a {
  display: block; padding: 7px 8px; border-radius: 10px;
  color: #333; font-size: 13.5px; font-weight: 650;
  line-height: 1.35;
}
.main-nav .nav-dropdown__group a:hover,
.main-nav .nav-dropdown__group a:focus {
  color: var(--text); background: rgba(22,185,143,0.10);
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .phone { font-size: 14px; color: #333; display: flex; align-items: center; gap: 6px; }
.header-cta .phone svg { width: 16px; height: 16px; color: var(--brand); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 12px;
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); transition: all 0.3s var(--ease); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

/* 手機選單 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: rgba(251,255,249,0.98);
  backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: 0 32px; opacity: 0; visibility: hidden; pointer-events: none;
  clip-path: inset(0 0 0 100%);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), clip-path 0.45s var(--ease);
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0); }
.mobile-nav a { font-size: 28px; font-weight: 800; color: var(--text); padding: 12px 0; letter-spacing: -0.02em; }
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }
.mobile-nav__services {
  display: grid; gap: 12px; padding: 6px 0 16px; border-bottom: 1px solid var(--border);
}
.mobile-nav__group {
  display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 16px; background: rgba(255,255,255,0.72);
}
.mobile-nav__group strong {
  color: var(--brand); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.mobile-nav .mobile-nav__group a {
  font-size: 16px; font-weight: 700; line-height: 1.35; padding: 5px 0;
  color: #333; letter-spacing: 0;
}
.mobile-nav .mobile-nav__group a:hover { color: var(--brand); }

/* ===================== Hero ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 76px;
  background:
    radial-gradient(760px 420px at 76% 18%, rgba(243,105,160,0.26), transparent 62%),
    radial-gradient(760px 460px at 14% 20%, rgba(66,200,216,0.22), transparent 62%),
    radial-gradient(660px 380px at 60% 88%, rgba(246,191,79,0.16), transparent 66%),
    linear-gradient(135deg, #fafffb 0%, #eefbf4 44%, #fff2f7 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.74; filter: saturate(1.16) contrast(1.10) brightness(0.98); }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(250,255,250,0.84) 0%, rgba(250,255,250,0.70) 40%, rgba(255,242,248,0.46) 100%),
    linear-gradient(180deg, rgba(250,255,250,0.56) 0%, rgba(250,255,250,0.10) 48%, rgba(250,255,250,0.78) 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; width: 100%; }
.hero__copy { max-width: 660px; }
.hero__title { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; text-wrap: balance; position: relative; z-index: 2; color: var(--brand-deep); text-shadow: 0 2px 0 rgba(255,255,255,0.92), 0 18px 46px rgba(6,56,47,0.20); }
.hero__title .headline-line { display: block; white-space: nowrap; }
.hero__title .accent { color: #e94d8a; }
.hero__en { display: block; font-size: clamp(16px, 2vw, 24px); font-weight: 700; color: #12342d; margin-top: 14px; letter-spacing: 0; }
.hero__lead { color: #12342d; font-size: clamp(16px, 1.5vw, 19px); margin: 28px 0 36px; max-width: 580px; font-weight: 400; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { position: relative; }

/* 浮卡（玻璃卡） */
.glass-card {
  background: rgba(255,255,255,0.90); border: 1px solid rgba(22,128,104,0.18);
  border-radius: var(--radius); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 28px; position: relative; overflow: hidden; box-shadow: 0 24px 70px rgba(6,56,47,0.10);
}
.hero__float { display: grid; gap: 18px; }
.hero__float .glass-card { transition: transform 0.5s var(--ease); }
.hero__float .glass-card:nth-child(2) { background: rgba(239,252,255,0.92); }
.hero__float .glass-card:nth-child(3) { background: rgba(255,249,235,0.94); }
.float-stat { display: flex; align-items: baseline; gap: 12px; }
.float-stat__num { font-size: 40px; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; }
.hero__float .glass-card:nth-child(2) .float-stat__num { color: var(--brand-sky); }
.hero__float .glass-card:nth-child(3) .float-stat__num { color: #e59a21; }
.float-stat__label { color: #333; font-size: 14px; }

/* 水滴 / 泡泡裝飾 */
.bubble { position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.86), rgba(22,185,143,0.16) 55%, transparent);
  border: 1px solid rgba(22,185,143,0.18); pointer-events: none; opacity: 0.62; }

/* ===================== KPI ===================== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi { text-align: center; padding: 36px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); position: relative; overflow: hidden; transition: all 0.4s var(--ease); }
.kpi::before { content: ""; position: absolute; inset: -50%; background: radial-gradient(circle, var(--brand) 0%, transparent 60%); opacity: 0; filter: blur(60px); transition: opacity 0.4s ease; }
.kpi:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.kpi:hover::before { opacity: 0.18; }
.kpi__num { font-family: Poppins, 'Noto Sans SC', 'Noto Sans TC', sans-serif; font-size: clamp(36px, 4vw, 56px); font-weight: 800; color: var(--brand); letter-spacing: -0.03em; position: relative; }
.kpi__label { color: #333; font-size: 14px; margin-top: 8px; position: relative; }

/* ===================== 卡片網格（服務 / 案例 / 文章） ===================== */
.card-grid { display: grid; gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; position: relative; transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: -50%; background: radial-gradient(circle, var(--brand) 0%, transparent 60%); opacity: 0; filter: blur(60px); transition: opacity 0.4s ease; z-index: 0; }
.card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.card:hover::before { opacity: 0.16; }
.card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 0.06em; text-transform: uppercase; }
.card__title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.card__excerpt { color: #333; font-size: 14.5px; line-height: 1.6; }
.card__link { margin-top: auto; color: var(--brand); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: "→"; transition: transform 0.3s var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* 服務圖示 */
.svc-icon { width: 48px; height: 48px; color: var(--brand); transition: transform 0.4s var(--ease); }
.card:hover .svc-icon { transform: scale(1.1); }

/* ===================== 流程 ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); position: relative; }
.step__num { font-size: 14px; font-weight: 800; color: #ffffff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step__desc { color: #333; font-size: 14px; }

/* ===================== 為何選擇 ===================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); position: relative; overflow: hidden; transition: all 0.4s var(--ease); }
.why::before { content: ""; position: absolute; inset: -50%; background: radial-gradient(circle, var(--brand) 0%, transparent 60%); opacity: 0; filter: blur(60px); transition: opacity 0.4s ease; }
.why:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.why:hover::before { opacity: 0.14; }
.why__icon { width: 44px; height: 44px; color: var(--brand); margin-bottom: 16px; position: relative; }
.why__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; position: relative; }
.why__desc { color: #000; font-size: 14.5px; position: relative; }

/* ===================== 評價 ===================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); display: flex; flex-direction: column; gap: 16px; }
.testi__stars { color: var(--brand); letter-spacing: 2px; font-size: 14px; }
.testi__text { color: #333; font-size: 15px; line-height: 1.7; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.testi__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.testi__name { font-weight: 700; font-size: 15px; }
.testi__svc { font-size: 13px; color: #666; }

/* ===================== FAQ ===================== */
.faq-group { margin-bottom: 48px; }
.faq-group__title { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: var(--brand); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--bg-card); transition: border-color 0.3s var(--ease); }
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary { padding: 20px 24px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 24px; font-weight: 400; transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 24px 22px; color: #333; font-size: 15px; line-height: 1.7; }

/* ===================== CTA 區塊 ===================== */
.cta-band { text-align: center; padding: 80px 24px; border: 1px solid var(--border-hover); border-radius: 32px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(22,185,143,0.12), transparent 70%), radial-gradient(70% 80% at 10% 10%, rgba(243,105,160,0.12), transparent 70%), var(--bg-card); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.cta-band p { color: #333; max-width: 560px; margin: 0 auto 32px; }
.cta-band .hero__actions { justify-content: center; }

/* ===================== 服務單頁 ===================== */
.svc-hero {
  padding: 150px 0 70px; position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(250,255,250,0.94) 0%, rgba(242,253,247,0.82) 48%, rgba(255,243,248,0.72) 100%),
    radial-gradient(620px 300px at 76% 12%, rgba(243,105,160,0.22), transparent 62%),
    radial-gradient(680px 320px at 15% 18%, rgba(66,200,216,0.18), transparent 62%),
    var(--svc-hero-bg, linear-gradient(135deg, rgba(22,185,143,0.10), rgba(243,105,160,0.08))) center / cover no-repeat,
    linear-gradient(135deg, #ffffff 0%, #eefbf4 55%, #fff7ed 100%);
  border-bottom: 1px solid rgba(22,128,104,0.10);
}
.svc-hero::before {
  content: ""; position: absolute; inset: auto -12% -28% -12%; height: 44%;
  background: linear-gradient(90deg, rgba(22,185,143,0.10), rgba(246,191,79,0.10), rgba(243,105,160,0.10));
  filter: blur(34px); opacity: 0.78;
}
.svc-hero > .container { position: relative; z-index: 1; }
.svc-hero__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; }
.svc-hero__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero h1 { font-size: clamp(34px, 5vw, 64px); margin: 18px 0 16px; color: var(--brand-deep); text-shadow: 0 2px 0 rgba(255,255,255,0.65); }
.svc-block { margin: 56px 0; }
.svc-block h2 { font-size: 28px; margin-bottom: 20px; }
.quick-answer { border-left: 3px solid var(--brand); padding: 20px 24px; background: var(--bg-glass); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #333; font-size: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--pill); background: var(--bg-card); font-size: 14px; color: #333; }
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.feature-list li { padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before { content: "✓"; color: var(--brand); font-weight: 800; flex: none; }

/* ===================== Footer ===================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 72px 0 32px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 18px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a, .footer-col p { color: #000; font-size: 14px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #333; }
.footer-social a:hover { border-color: var(--border-hover); color: var(--brand); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #333; font-size: 13px; }
.footer-bottom a { color: #333; }
.footer-bottom a:hover { color: var(--brand); }

/* ===================== 頁面通用 hero ===================== */
.page-hero {
  --page-hero-position: center 42%;
  padding: 150px 0 52px; text-align: center; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(246,255,250,0.78) 100%),
    radial-gradient(540px 260px at 50% 8%, rgba(22,185,143,0.18), transparent 64%),
    radial-gradient(620px 300px at 82% 24%, rgba(243,105,160,0.17), transparent 62%),
    radial-gradient(520px 260px at 18% 30%, rgba(66,200,216,0.16), transparent 64%),
    var(--page-hero-bg, linear-gradient(135deg, rgba(22,185,143,0.10), rgba(243,105,160,0.08))) var(--page-hero-position) / cover no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
  border-bottom: 1px solid rgba(22,128,104,0.10);
}
.page-hero--blog { --page-hero-position: center 34%; }
.page-hero h1 { font-size: clamp(34px, 5vw, 64px); color: var(--brand-deep); text-shadow: 0 2px 0 rgba(255,255,255,0.7); }
.page-hero p { color: #12342d; max-width: 720px; margin: 16px auto 0; font-weight: 600; }
.page-hero--404 { padding: 200px 0 120px; }
.breadcrumb { font-size: 13px; color: #666; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--brand); }

/* prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 28px; margin: 36px 0 16px; }
.prose h3 { font-size: 21px; margin: 28px 0 12px; color: var(--brand); }
.prose p { color: #333; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 0; }
.prose ul li { color: #333; padding-left: 24px; position: relative; margin-bottom: 10px; }
.prose ul li::before { content: "▸"; color: var(--brand); position: absolute; left: 0; }

.blog-hero-media {
  max-width: 980px; margin: 0 auto 42px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border); background: #effbf5;
  box-shadow: 0 28px 80px rgba(18,52,45,0.10);
}
.blog-hero-media img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.blog-single-shell { padding-top: 56px; }
.blog-content-shell--canvas { padding-top: 104px; }
.blog-single-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start;
}
.blog-single-main { min-width: 0; }
.blog-article { max-width: 1400px; }
.blog-rich-content {
  width: 100%; max-width: 1400px; margin: 0 auto; color: var(--text);
}
.blog-rich-content:not(.blog-rich-content--canvas) {
  font-size: 17px; line-height: 1.85;
}
.blog-rich-content:not(.blog-rich-content--canvas) > :where(p, ul, ol, blockquote, h2, h3, h4, figure, table, .wp-block-image, .wp-block-table, .wp-block-columns) {
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.blog-rich-content:not(.blog-rich-content--canvas) p {
  color: #333; margin-bottom: 18px;
}
.blog-rich-content:not(.blog-rich-content--canvas) h2 {
  font-size: clamp(28px, 4vw, 44px); margin: 48px auto 18px; color: var(--brand-deep);
}
.blog-rich-content:not(.blog-rich-content--canvas) h3 {
  font-size: clamp(22px, 3vw, 30px); margin: 36px auto 14px; color: var(--brand-3);
}
.blog-rich-content:not(.blog-rich-content--canvas) ul,
.blog-rich-content:not(.blog-rich-content--canvas) ol {
  margin-bottom: 22px; padding-left: 1.4em; color: #333;
}
.blog-rich-content:not(.blog-rich-content--canvas) ul { list-style: disc; }
.blog-rich-content:not(.blog-rich-content--canvas) ol { list-style: decimal; }
.blog-rich-content:not(.blog-rich-content--canvas) li { margin-bottom: 10px; }
.blog-rich-content:not(.blog-rich-content--canvas) blockquote {
  padding: 26px 30px; border-left: 4px solid var(--brand);
  border-radius: 0 22px 22px 0;
  background: linear-gradient(135deg, rgba(22,185,143,0.10), rgba(66,200,216,0.06));
}
.blog-rich-content:not(.blog-rich-content--canvas) img {
  border-radius: 22px; box-shadow: 0 22px 60px rgba(18,52,45,0.10);
}
.blog-rich-content .alignwide { max-width: 1400px; }
.blog-rich-content .alignfull {
  width: min(100vw, 1400px); max-width: min(100vw, 1400px);
  margin-left: 50%; transform: translateX(-50%);
}
.blog-single-main .blog-rich-content .alignfull {
  width: 100%; max-width: 100%; margin-left: 0; transform: none;
}
.blog-rich-content--canvas { overflow: visible; }
.blog-embedded-document { width: 100%; max-width: 100%; overflow: hidden; border-radius: 28px; }
.blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .hero {
  max-height: none;
}
.blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .article {
  width: 100%; box-sizing: border-box;
}
.blog-sidebar { position: sticky; top: 104px; min-width: 0; }
.blog-sidebar__panel,
.blog-sidebar__cta {
  border: 1px solid rgba(22,185,143,0.18);
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 20px 60px rgba(18,52,45,0.08);
  backdrop-filter: blur(14px);
}
.blog-sidebar__panel { padding: 24px; }
.blog-sidebar__eyebrow {
  display: inline-block; margin-bottom: 8px; color: var(--brand); font-size: 12px;
  font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
}
.blog-sidebar h2 { font-size: 24px; margin-bottom: 18px; color: var(--brand-deep); }
.blog-sidebar__list { display: grid; gap: 16px; }
.blog-sidebar__item {
  display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 14px; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid rgba(18,52,45,0.08);
}
.blog-sidebar__item:last-child { padding-bottom: 0; border-bottom: 0; }
.blog-sidebar__item img {
  width: 88px; height: 70px; object-fit: cover; border-radius: 16px;
  background: #eaf8f1; border: 1px solid rgba(22,185,143,0.14);
}
.blog-sidebar__item strong {
  display: block; color: var(--text); font-size: 14px; line-height: 1.35;
  transition: color 0.25s var(--ease);
}
.blog-sidebar__item:hover strong { color: var(--brand); }
.blog-sidebar__item small { display: block; margin-top: 6px; color: #666; font-size: 12px; }
.blog-sidebar__cta { margin-top: 18px; padding: 22px; }
.blog-sidebar__cta span {
  display: block; margin-bottom: 14px; color: var(--text); font-weight: 800; line-height: 1.35;
}
.blog-sidebar__cta .btn { width: 100%; justify-content: center; padding-inline: 18px; }
.blog-article__lead {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.75; color: var(--text);
  margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.blog-summary-box, .blog-cta-inline {
  margin: 34px 0; padding: 28px; border-radius: 24px;
  border: 1px solid rgba(22,185,143,0.20);
  background: linear-gradient(135deg, rgba(22,185,143,0.10), rgba(243,105,160,0.06)), #fff;
  box-shadow: 0 18px 50px rgba(18,52,45,0.07);
}
.blog-original {
  margin: 34px 0 42px; padding-bottom: 10px;
}
.blog-original > span {
  display: inline-flex; margin-bottom: 16px; color: var(--brand-3); font-weight: 900;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.blog-original h3 {
  margin: 30px 0 12px; font-size: clamp(20px, 2.4vw, 28px);
  color: var(--brand-deep); letter-spacing: -0.02em;
}
.blog-original p {
  color: #333; font-size: 17px; line-height: 1.86; margin-bottom: 18px;
}
.blog-original__list {
  margin: 10px 0 20px; padding: 20px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, rgba(22,185,143,0.08), rgba(66,200,216,0.05));
}
.blog-original__list li {
  color: #333; padding-left: 24px; position: relative; margin-bottom: 10px;
}
.blog-original__list li:last-child { margin-bottom: 0; }
.blog-original__list li::before { content: "✓"; color: var(--brand); position: absolute; left: 0; font-weight: 900; }
.blog-summary-box span, .blog-cta-inline span {
  display: inline-flex; margin-bottom: 10px; color: var(--brand); font-weight: 900;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.blog-summary-box h2, .blog-cta-inline h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 32px); }
.blog-summary-box ul, .blog-checklist { margin: 0; }
.blog-section { margin: 38px 0; }
.blog-section h2 {
  font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; color: var(--brand-deep);
}
.blog-section p { font-size: 17px; line-height: 1.8; }
.blog-checklist li::before, .blog-summary-box li::before { content: "✓"; }
.blog-cta-inline {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center;
  background: linear-gradient(135deg, rgba(5,132,112,0.12), rgba(66,200,216,0.08)), #fff;
}
.blog-cta-inline p { margin: 0; color: #333; }
.blog-service-links { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.blog-service-links a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border);
  color: var(--text); font-weight: 800; background: rgba(255,255,255,0.76);
}
.blog-service-links a:not(.btn)::after { content: "→"; color: var(--brand); }

/* ===================== V2.1：優惠 popup / 合作品牌 / 關於我們 ===================== */
.promo-popup {
  position: fixed; right: 24px; bottom: 104px; z-index: 140;
  width: min(380px, calc(100vw - 32px)); padding: 26px;
  border-radius: 28px; border: 1px solid rgba(243,105,160,0.28);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,248,252,0.96));
  box-shadow: 0 24px 70px rgba(18,52,45,0.18);
  transform: translateY(26px) scale(0.96); opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.promo-popup.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.promo-popup.is-hidden { display: none; }
.promo-popup__close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--text);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.promo-popup__badge {
  display: inline-flex; margin-bottom: 12px; padding: 6px 12px; border-radius: var(--pill);
  background: rgba(243,105,160,0.12); color: var(--brand-2); font-weight: 800; font-size: 13px;
}
.promo-popup h2 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 10px; }
.promo-popup p { color: #333; margin-bottom: 18px; }
.promo-popup strong { color: var(--brand-2); font-size: 1.2em; }
.promo-popup__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo-popup__phone { color: var(--brand-3); font-weight: 800; }

.tech-pest {
  margin-top: 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
  padding: 34px; border: 1px solid var(--border-hover); border-radius: 30px;
  background: linear-gradient(135deg, rgba(22,185,143,0.09), rgba(243,105,160,0.08)), #fff;
}
.tech-pest h3 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 10px; }
.tech-pest p { color: #333; max-width: 760px; }

.brand-proof { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(239,251,243,0.8)); }
.logo-strip, .media-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px;
}
.logo-chip {
  min-width: 148px; min-height: 72px; padding: 14px 22px; border: 1px solid var(--border);
  border-radius: 22px; background: #fff; color: var(--text); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(18,52,45,0.06);
}
.logo-chip img {
  display: block; width: auto; max-width: 100px; height: auto; max-height: 48px;
  object-fit: contain;
}
.media-strip {
  margin-top: 28px; padding: 20px; border-radius: 24px;
  background: rgba(255,255,255,0.72); border: 1px solid var(--border);
}
.media-strip span { color: var(--brand-2); font-weight: 800; margin-right: 8px; }
.media-strip strong { font-size: 18px; color: var(--text); }
.media-logo {
  min-width: 96px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.media-logo img {
  display: block; width: auto; max-width: 132px; height: auto; max-height: 34px;
  object-fit: contain;
}

.about-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 52px; align-items: center; }
.about-split--page { margin-bottom: 56px; }
.about-panel {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding: 22px; border-radius: 32px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(239,251,243,0.92));
  box-shadow: 0 26px 80px rgba(18,52,45,0.08);
}
.about-panel div {
  min-height: 128px; padding: 22px; border-radius: 22px; background: #fff;
  border: 1px solid rgba(22,128,104,0.1); display: flex; flex-direction: column; justify-content: center;
}
.about-panel strong { display: block; color: var(--brand-3); font-size: clamp(26px, 4vw, 42px); line-height: 1; margin-bottom: 8px; }
.about-panel span { color: #333; font-size: 14px; font-weight: 700; }

.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--pill);
  background: linear-gradient(135deg, #14b889, #078c76);
  color: #ffffff; font-weight: 800; font-size: 15px;
  box-shadow: 0 18px 46px rgba(7,140,118,0.28);
  border: 1px solid rgba(255,255,255,0.34);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 24px 58px rgba(7,140,118,0.34); }
.floating-whatsapp svg { width: 20px; height: 20px; flex: none; }
body.nav-open .promo-popup,
body.nav-open .floating-whatsapp {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* ===================== 進場動畫初始狀態（GSAP 接管；no-anim/reduced-motion 還原） ===================== */
.reveal { opacity: 0; transform: translateY(60px); }
html.no-anim .reveal,
body.no-anim .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ===================== 響應式 ===================== */
@media (max-width: 1024px) {
  :root { --pad-section: 88px; }
  .hero__inner, .svc-hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split, .tech-pest { grid-template-columns: 1fr; }
  .tech-pest .btn { justify-self: start; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --pad-section: 64px; }
  .container { padding: 0 18px; }
  .header-inner { height: 68px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 15px; }
  .brand__sub { display: none; }
  .main-nav, .header-cta .phone, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--text); }
  .mobile-nav { justify-content: flex-start; padding: 98px 24px 32px; overflow-y: auto; gap: 4px; }
  .mobile-nav a { font-size: 22px; padding: 10px 0; }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: 16px; }
  .card-grid--3, .card-grid--2, .card-grid--4, .kpi-grid, .why-grid, .testi-grid, .steps, .feature-list { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 104px 0 56px; }
  .hero__inner { gap: 24px; }
  .hero__title { font-size: clamp(34px, 10vw, 46px); line-height: 1.08; }
  .hero__title .headline-line { white-space: normal; }
  .hero__en { font-size: 15px; line-height: 1.35; }
  .hero__lead { font-size: 15.5px; margin: 22px 0 28px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .section-title { font-size: clamp(28px, 9vw, 38px); }
  .section-head { margin-bottom: 34px; }
  .card__body, .why, .step, .testi { padding: 22px; }
  .blog-single-shell { padding-top: 36px; }
  .blog-single-layout { grid-template-columns: 1fr; gap: 34px; }
  .blog-sidebar { position: static; }
  .blog-sidebar__panel { padding: 20px; }
  .blog-sidebar__item { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .blog-sidebar__item img { width: 76px; height: 62px; border-radius: 14px; }
  .blog-hero-media { margin-bottom: 28px; border-radius: 22px; }
  .blog-content-shell--canvas { padding-top: 84px; }
  .blog-rich-content:not(.blog-rich-content--canvas) { font-size: 16px; line-height: 1.78; }
  .blog-rich-content:not(.blog-rich-content--canvas) h2 { margin-top: 36px; }
  .blog-rich-content:not(.blog-rich-content--canvas) blockquote { padding: 20px; border-radius: 0 18px 18px 0; }
  .blog-embedded-document { border-radius: 20px; }
  .blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .hero {
    min-height: auto; padding: 76px 22px 38px;
  }
  .blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .hero-meta {
    left: 22px; right: 22px; top: 18px; gap: 10px; flex-wrap: wrap;
  }
  .blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .hero h1 {
    font-size: clamp(30px, 8vw, 42px) !important; letter-spacing: 0 !important;
  }
  .blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .hero-deck {
    font-size: 15px;
  }
  .blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .article {
    padding: 46px 18px !important;
  }
  .blog-single-main .blog-rich-content.blog-rich-content--canvas .blog-embedded-document .step-premium {
    grid-template-columns: 1fr !important;
  }
  .blog-article__lead { font-size: 17px; margin-bottom: 22px; padding-bottom: 18px; }
  .blog-summary-box, .blog-cta-inline { padding: 20px; border-radius: 20px; }
  .blog-cta-inline { grid-template-columns: 1fr; gap: 18px; }
  .blog-section { margin: 30px 0; }
  .blog-section p { font-size: 16px; }
  .about-panel { grid-template-columns: 1fr; padding: 14px; border-radius: 24px; }
  .about-panel div { min-height: 104px; padding: 18px; }
  .tech-pest { padding: 24px; border-radius: 24px; }
  .logo-chip { min-width: calc(50% - 8px); min-height: 56px; padding: 12px 14px; font-size: 13px; }
  .logo-chip img { max-width: 128px; max-height: 40px; }
  .media-strip { justify-content: flex-start; }
  .media-logo { min-width: 84px; min-height: 36px; }
  .media-logo img { max-width: 112px; max-height: 28px; }
  .promo-popup {
    left: 14px; right: 14px; bottom: 86px; width: auto; padding: 18px;
    border-radius: 22px; background: #fff; max-height: calc(100vh - 28px); overflow: auto;
  }
  .promo-popup__badge { margin-bottom: 8px; padding: 5px 10px; font-size: 12px; }
  .promo-popup h2 { font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
  .promo-popup p { font-size: 14px; margin-bottom: 12px; }
  .promo-popup .btn { width: 100%; justify-content: center; }
  .promo-popup__phone { display: block; width: 100%; text-align: center; }
  .page-hero { padding: 112px 0 32px; }
  .svc-hero { padding: 104px 0 42px; }
  .floating-whatsapp {
    right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0;
    border-radius: 50%;
  }
  .floating-whatsapp span { display: none; }
  .cta-band { padding: 48px 18px; border-radius: 24px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 10px; }
  .bubble { opacity: 0.36; }
}
