/* =========================================================
   亞洲國際徵信 — 全站共用樣式 v4「晴空藍」
   明亮藍 × 白 × 琥珀金 CTA,編輯式排版
   手機優先,99% 行動流量
   ========================================================= */

:root {
  --blue-800: #0e3a80;
  --blue-700: #0d4fb2;
  --blue-600: #1565d8;
  --blue-500: #2f7ce8;
  --blue-400: #5b9bf0;
  --blue-100: #d7e7fb;
  --blue-50: #ecf4fd;
  --sky-bg: #f6f9fd;
  --white: #ffffff;
  --ink-900: #152238;
  --ink-700: #3e4d63;
  --ink-500: #64748b;
  --line: #dde6f0;
  --line-blue: rgba(255, 255, 255, 0.22);
  --amber-500: #f5a623;
  --amber-600: #e08e0b;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", "PMingLiU", serif;
  --shadow-card: 0 4px 18px rgba(21, 101, 216, 0.08);
  --shadow-lift: 0 12px 32px rgba(14, 58, 128, 0.14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--sky-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- 編輯式區塊標頭 ---------- */
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 16px;
  border-top: 2px solid var(--blue-600);
  padding-top: 18px;
  margin-bottom: 40px;
}
.sec-head .sec-no { font-family: var(--font-serif); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue-600); }
.sec-head .sec-label { font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase; justify-self: end; color: var(--ink-500); }
.sec-title { grid-column: 1 / -1; font-family: var(--font-serif); font-weight: 900; font-size: 30px; line-height: 1.35; margin-top: 10px; letter-spacing: 0.02em; }
.sec-lead { grid-column: 1 / -1; color: var(--ink-500); max-width: 540px; font-size: 14.5px; margin-top: 12px; }

.section { padding: 72px 0; }
.section-blue { background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); color: rgba(255,255,255,0.95); }
.section-blue .sec-head { border-top-color: rgba(255,255,255,0.5); }
.section-blue .sec-head .sec-no, .section-blue .sec-head .sec-label { color: rgba(255,255,255,0.75); }
.section-blue .sec-title { color: var(--white); }
.section-blue .sec-lead { color: rgba(255,255,255,0.75); }
.section-white { background: var(--white); }

/* 舊版子頁標頭(相容) */
.section-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.35em; color: var(--blue-600); margin-bottom: 12px; }
.section-title { font-family: var(--font-serif); font-weight: 900; font-size: 27px; line-height: 1.4; margin-bottom: 16px; }
.section-lead { color: var(--ink-500); max-width: 620px; margin-bottom: 32px; }
.section-navy { background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); color: rgba(255,255,255,0.95); }
.section-navy .section-title { color: var(--white); }
.section-navy .section-lead { color: rgba(255,255,255,0.75); }
.section-navy .section-kicker { color: rgba(255,255,255,0.8); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.12em;
  border: 1px solid transparent; border-radius: 4px;
  cursor: pointer; transition: all 0.25s ease; text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(240, 158, 20, 0.35);
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(21, 101, 216, 0.3); }
.btn-blue:hover { background: var(--blue-700); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-50); }
.btn-block { width: 100%; }

/* ---------- 頂部聯絡列 ---------- */
.topbar { background: var(--blue-700); font-size: 13px; color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar-note { color: rgba(255,255,255,0.75); letter-spacing: 0.05em; display: none; }
.topbar-tel { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; letter-spacing: 0.05em; }
.topbar-tel svg { width: 14px; height: 14px; }

/* ---------- 導覽列(白底) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(14, 58, 128, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-crest { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: var(--ink-900); font-size: 17px; letter-spacing: 0.12em; font-family: var(--font-serif); }
.brand-text small { color: var(--ink-500); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }

.site-nav {
  position: fixed; inset: 0; top: 104px;
  background: var(--white);
  display: flex; flex-direction: column;
  padding: 24px 20px; gap: 4px;
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path 0.3s ease, visibility 0.3s;
  z-index: 99;
  border-top: 1px solid var(--line);
}
.site-nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
.site-nav > a {
  color: var(--ink-900); font-size: 17px; font-weight: 500;
  padding: 15px 8px; border-bottom: 1px solid var(--line); letter-spacing: 0.1em;
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateX(18px);
}
.site-nav > a:not(.nav-cta)::after { content: "›"; color: var(--blue-400); font-size: 20px; font-weight: 400; }
.site-nav.open > a { opacity: 1; transform: translateX(0); transition: opacity 0.35s ease, transform 0.35s ease; }
.site-nav.open > a:nth-child(1) { transition-delay: 0.04s; }
.site-nav.open > a:nth-child(2) { transition-delay: 0.08s; }
.site-nav.open > a:nth-child(3) { transition-delay: 0.12s; }
.site-nav.open > a:nth-child(4) { transition-delay: 0.16s; }
.site-nav.open > a:nth-child(5) { transition-delay: 0.2s; }
.site-nav.open > a:nth-child(6) { transition-delay: 0.24s; }
.site-nav.open > a:nth-child(7) { transition-delay: 0.28s; }
.site-nav > a:hover { color: var(--blue-600); }
.site-nav > a:active { background: var(--blue-50); }
.site-nav .nav-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #fff; font-weight: 700; justify-content: center; border: none; border-radius: 6px;
}

/* 抽屜底部快速聯絡(JS 注入,桌機隱藏) */
.nav-contact { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; opacity: 0; transition: opacity 0.35s ease 0.3s; }
.site-nav.open .nav-contact { opacity: 1; }
.nav-contact a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 0; border-radius: 6px; font-weight: 700; font-size: 14.5px; letter-spacing: 0.06em;
}
.nav-contact a svg { width: 16px; height: 16px; }
.nav-contact .nc-tel { background: var(--blue-600); color: #fff; }
.nav-contact .nc-line { background: #05a54e; color: #fff; }
.nav-contact-note { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--ink-500); letter-spacing: 0.08em; }

.nav-toggle { width: 40px; height: 40px; background: none; border: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); transition: all 0.25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首頁主視覺(明亮) ---------- */
.hero { position: relative; background: linear-gradient(165deg, #ffffff 0%, var(--blue-50) 55%, var(--blue-100) 100%); overflow: hidden; }
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 100%;
  opacity: 0.3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; filter: saturate(0.9) brightness(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,249,253,0.95) 0%, rgba(246,249,253,0.4) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 76px; padding-bottom: 56px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: 0.32em;
  color: var(--blue-700); font-weight: 700;
  margin-bottom: 28px;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--blue-600); }

.hero-title { font-family: var(--font-serif); font-weight: 900; line-height: 1.28; letter-spacing: 0.02em; margin-bottom: 24px; color: var(--ink-900); }
.hero-title .t1 { display: block; font-size: 52px; }
.hero-title .t2 { display: block; font-size: 23px; margin-top: 6px; }
.hero-title em { font-style: normal; color: var(--blue-600); }

.hero-sub {
  color: var(--ink-700); font-size: 14.5px; max-width: 480px;
  margin-bottom: 32px;
  border-left: 3px solid var(--blue-500); padding-left: 16px;
}

.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 52px; }

.hero-stats { position: relative; z-index: 1; border-top: 1px solid var(--line); background: rgba(255,255,255,0.8); backdrop-filter: blur(4px); }
.hero-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.hero-stat { padding: 18px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stat:nth-child(2n) { border-right: none; }
.hero-stat strong { display: block; font-family: var(--font-serif); font-size: 26px; font-weight: 900; color: var(--blue-600); line-height: 1.15; }
.hero-stat span { font-size: 11.5px; letter-spacing: 0.14em; color: var(--ink-500); }

.hero-vertical {
  display: none;
  position: absolute; right: 44px; top: 96px;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 14px; letter-spacing: 0.7em;
  color: var(--blue-400);
  border-right: 1px solid var(--blue-100);
  padding-right: 16px;
  z-index: 1;
}

/* ---------- 跑馬燈 ---------- */
.marquee { background: var(--blue-700); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-serif); font-size: 15px; font-weight: 700; letter-spacing: 0.35em; color: rgba(255,255,255,0.5); white-space: nowrap; padding-right: 56px; }
.marquee span i { font-style: normal; color: rgba(255,255,255,0.85); padding-right: 56px; font-size: 11px; vertical-align: 2px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 服務目錄列 ---------- */
.svc-list { border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr 98px;
  gap: 6px 16px; align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.svc-row:hover { background: var(--blue-50); padding-left: 10px; }
.svc-num { grid-row: 1 / 3; font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--blue-600); align-self: start; padding-top: 5px; }
.svc-row h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 900; letter-spacing: 0.06em; line-height: 1.3; }
.svc-row h3 small { font-family: var(--font-sans); font-size: 10px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-500); margin-left: 10px; }
.svc-row p { grid-column: 2; font-size: 13px; color: var(--ink-500); line-height: 1.6; }
.svc-thumb { grid-row: 1 / 3; grid-column: 3; width: 98px; height: 72px; position: relative; overflow: hidden; border-radius: 6px; background: var(--blue-100); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); transition: transform 0.4s ease; }
.svc-row:hover .svc-thumb img { transform: scale(1.08); }
.svc-arrow { display: none; }
.svc-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.svc-foot p { font-size: 14px; color: var(--ink-500); }

/* ---------- 關於我們 ---------- */
.about { position: relative; background: var(--white); }
.about-vertical { display: none; position: absolute; left: 26px; top: 120px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.5em; color: var(--blue-400); }
.about-photo-wrap { position: relative; margin: 0 -22px 0 36px; }
.about-photo { position: relative; overflow: hidden; height: 320px; background: var(--blue-100); border-radius: 6px 0 0 6px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) brightness(1.02); }
.about-photo-sub { position: absolute; left: -36px; bottom: -34px; width: 52%; height: 170px; border: 5px solid var(--white); overflow: hidden; border-radius: 6px; box-shadow: var(--shadow-lift); }
.about-photo-sub img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); }
.about-badge {
  position: absolute; right: 22px; bottom: -28px;
  background: var(--blue-700); color: var(--white);
  padding: 14px 18px; border-radius: 6px;
  box-shadow: var(--shadow-lift);
}
.about-badge strong { display: block; font-family: var(--font-serif); font-size: 30px; font-weight: 900; color: #fff; line-height: 1.1; }
.about-badge span { font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.75); }

.about-body { margin-top: 70px; }
.about-body > p { margin-bottom: 16px; color: var(--ink-700); font-size: 15px; }
.about-list { margin: 26px 0; border-top: 1px solid var(--line); }
.about-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-700); }
.about-list li strong { color: var(--blue-700); font-family: var(--font-serif); letter-spacing: 0.08em; white-space: nowrap; }

.about-check { background: var(--blue-50); border: 1px solid var(--blue-100); border-top: 3px solid var(--blue-600); padding: 28px 24px; border-radius: 6px; }
.about-check h3 { font-family: var(--font-serif); font-size: 18px; color: var(--blue-700); margin-bottom: 18px; letter-spacing: 0.08em; }
.about-check ol { counter-reset: c; display: grid; gap: 16px; }
.about-check ol li { counter-increment: c; padding-left: 40px; position: relative; }
.about-check ol li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--font-serif); font-weight: 900; font-size: 16px; color: var(--blue-500); }
.about-check ol strong { display: block; font-size: 15px; color: var(--ink-900); }
.about-check ol span { font-size: 13px; color: var(--ink-500); }

/* ---------- 情境帶(亮藍) ---------- */
.feature-band { position: relative; padding: 96px 0; color: var(--white); overflow: hidden; background: var(--blue-600); }
.feature-band-bg { position: absolute; inset: 0; }
.feature-band-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.9); }
.feature-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,79,178,0.92), rgba(21,101,216,0.62)); }
.feature-band-inner { position: relative; z-index: 1; max-width: 640px; }
.feature-band-inner::before {
  content: "“";
  display: block; font-family: var(--font-serif);
  font-size: 110px; font-weight: 900;
  color: rgba(255,255,255,0.65); line-height: 0.6;
  margin-bottom: 26px;
}
.feature-band blockquote { font-family: var(--font-serif); font-size: 25px; font-weight: 700; line-height: 1.65; margin-bottom: 18px; }
.feature-band p { color: rgba(255,255,255,0.85); font-size: 14.5px; max-width: 480px; }

/* ---------- 流程(幽靈數字) ---------- */
.process-steps { counter-reset: step; }
.process-steps li { position: relative; padding: 26px 0 26px 92px; border-top: 1px solid var(--line); counter-increment: step; min-height: 96px; }
.process-steps li::before {
  content: "0" counter(step);
  position: absolute; left: 0; top: 8px;
  font-family: var(--font-serif); font-size: 64px; font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-300, #a8cbf5);
  -webkit-text-stroke-color: #a8cbf5;
}
.process-steps h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 900; letter-spacing: 0.08em; margin-bottom: 4px; }
.process-steps p { font-size: 13.5px; color: var(--ink-500); max-width: 460px; }

/* ---------- 服務保障(藍底白格) ---------- */
.promise-grid { display: grid; gap: 14px; }
.promise-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 26px 22px;
}
.promise-item i { font-style: normal; font-family: var(--font-serif); font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.2em; display: block; margin-bottom: 12px; }
.promise-item h3 { font-family: var(--font-serif); font-size: 19px; color: #fff; margin-bottom: 8px; letter-spacing: 0.14em; }
.promise-item p { font-size: 13.5px; color: rgba(255,255,255,0.82); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 48px 18px 22px;
  font-weight: 700; font-size: 15.5px;
  position: relative; user-select: none;
  font-family: var(--font-serif); letter-spacing: 0.04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--blue-600);
  font-family: var(--font-sans);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { padding: 16px 22px 20px; font-size: 14.5px; color: var(--ink-700); }

/* ---------- 子頁主視覺 ---------- */
.page-hero { position: relative; color: var(--white); padding: 72px 0 56px; background: var(--blue-700); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.95); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,79,178,0.93) 0%, rgba(21,101,216,0.6) 100%); }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.8); letter-spacing: 0.1em; margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span::before { content: "›"; margin-right: 8px; color: rgba(255,255,255,0.55); }
.page-hero h1 { font-family: var(--font-serif); font-weight: 900; font-size: 32px; line-height: 1.4; margin-bottom: 14px; }
.page-hero h1 small { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.35em; color: rgba(255,255,255,0.85); margin-bottom: 14px; text-transform: uppercase; }
.page-hero-sub { color: rgba(255,255,255,0.92); font-size: 15px; max-width: 560px; }

/* ---------- 子頁內容元件 ---------- */
.item-grid { display: grid; gap: 14px; }
.item-card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--blue-600); border-radius: 4px; padding: 22px 22px; box-shadow: var(--shadow-card); }
.item-card h3 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 6px; letter-spacing: 0.06em; color: var(--blue-800); }
.item-card p { font-size: 14px; color: var(--ink-700); }

.notice { margin-top: 28px; background: var(--blue-50); color: var(--ink-700); padding: 24px 24px; border-left: 3px solid var(--blue-600); border-radius: 4px; font-size: 14px; }
.notice strong { display: block; color: var(--blue-700); font-family: var(--font-serif); font-size: 16px; margin-bottom: 8px; letter-spacing: 0.08em; }

.cta-band { background: linear-gradient(150deg, var(--blue-600), var(--blue-800)); color: var(--white); text-align: center; padding: 64px 0; }
.cta-band h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; font-size: 14.5px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }

.other-services { border-top: 1px solid var(--line); background: var(--white); }
.other-grid { display: grid; gap: 10px; }
.other-grid a {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--sky-bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 16px 20px; font-weight: 700; font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.other-grid a::after { content: "→"; color: var(--blue-600); }
.other-grid a:hover { border-color: var(--blue-500); background: var(--blue-50); }

/* ---------- 服務地區卡片 ---------- */
.area-grid { display: grid; gap: 14px; }
.area-card {
  display: grid; align-content: center;
  position: relative;
  background: var(--sky-bg); border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600); border-radius: 8px;
  padding: 24px 24px; min-height: 108px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); background: var(--white); }
.area-card:active { background: var(--blue-50); }
.area-city { font-family: var(--font-serif); font-size: 22px; font-weight: 900; color: var(--blue-800); letter-spacing: 0.06em; }
.area-sub { font-size: 13.5px; color: var(--ink-500); margin-top: 4px; }
.area-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue-600); background: var(--blue-50);
  border: 1px solid var(--blue-100); border-radius: 3px; padding: 3px 10px;
}
.area-card::after { content: "→"; position: absolute; right: 22px; bottom: 18px; color: var(--blue-500); font-size: 18px; transition: transform 0.2s ease; }
.area-card:hover::after { transform: translateX(5px); }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- 文章專區 ---------- */
.article-grid { display: grid; gap: 20px; }
.article-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.article-card-photo { height: 160px; overflow: hidden; background: var(--blue-100); }
.article-card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); transition: transform 0.4s ease; }
.article-card:hover .article-card-photo img { transform: scale(1.06); }
.article-card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.article-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 3px; padding: 3px 10px; margin-bottom: 12px; align-self: flex-start; }
.article-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 900; line-height: 1.5; margin-bottom: 8px; }
.article-card p { font-size: 13.5px; color: var(--ink-500); margin-bottom: 14px; }
.article-card time { font-size: 12px; color: var(--ink-500); letter-spacing: 0.08em; margin-top: auto; }

/* 文章內頁 */
.article-hero { background: linear-gradient(160deg, var(--white), var(--blue-50)); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.article-hero .breadcrumb { color: var(--ink-500); }
.article-hero .breadcrumb a:hover { color: var(--blue-600); }
.article-hero .breadcrumb span::before { color: var(--ink-500); }
.article-hero h1 { font-family: var(--font-serif); font-weight: 900; font-size: 27px; line-height: 1.5; margin-bottom: 16px; max-width: 800px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: var(--ink-500); letter-spacing: 0.06em; }
.article-meta b { color: var(--blue-700); font-weight: 700; }

.article-layout { padding: 48px 0 72px; }
.article-body { max-width: 760px; }
.article-body > p { margin-bottom: 20px; color: var(--ink-700); font-size: 15.5px; }
.article-body h2 {
  font-family: var(--font-serif); font-weight: 900; font-size: 22px;
  margin: 44px 0 18px; padding-left: 14px;
  border-left: 4px solid var(--blue-600); line-height: 1.5;
}
.article-body h3 { font-family: var(--font-serif); font-weight: 700; font-size: 17.5px; margin: 28px 0 12px; color: var(--blue-800); }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 4px; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15px; color: var(--ink-700); }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background: var(--blue-500); border-radius: 50%; }
.article-body ol { counter-reset: art; }
.article-body ol li { counter-increment: art; padding-left: 30px; }
.article-body ol li::before { content: counter(art) "."; position: absolute; left: 4px; top: 0; font-family: var(--font-serif); font-weight: 900; color: var(--blue-600); }
.article-body blockquote {
  margin: 24px 0; padding: 18px 22px;
  background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: 4px;
  font-size: 14.5px; color: var(--ink-700);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14px; background: var(--white); display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body th, .article-body td { min-width: 108px; }
.article-body th { background: var(--blue-700); color: #fff; font-weight: 700; padding: 10px 14px; text-align: left; letter-spacing: 0.05em; }
.article-body td { border: 1px solid var(--line); padding: 10px 14px; color: var(--ink-700); }
.article-body tr:nth-child(even) td { background: var(--sky-bg); }

.toc { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; margin-bottom: 36px; box-shadow: var(--shadow-card); }
.toc strong { display: block; font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.1em; color: var(--blue-700); margin-bottom: 12px; }
.toc ol { counter-reset: toc; }
.toc ol li { counter-increment: toc; margin-bottom: 8px; }
.toc ol a { font-size: 14px; color: var(--ink-700); display: inline-flex; gap: 10px; }
.toc ol a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-serif); font-weight: 700; color: var(--blue-500); }
.toc ol a:hover { color: var(--blue-600); text-decoration: underline; }

.article-cta {
  margin: 44px 0 0; padding: 30px 26px;
  background: linear-gradient(150deg, var(--blue-600), var(--blue-800));
  color: #fff; border-radius: 8px;
}
.article-cta h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 8px; }
.article-cta p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 18px; }

.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; max-width: 760px; }
.related strong { display: block; font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.1em; margin-bottom: 14px; color: var(--blue-800); }
.related a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-700); }
.related a:hover { color: var(--blue-600); }
.related a::before { content: "›"; color: var(--blue-500); margin-right: 10px; font-weight: 700; }

/* ---------- 聯絡區 ---------- */
.contact { position: relative; background: linear-gradient(140deg, var(--blue-600), var(--blue-800)); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; opacity: 0.16; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact .container { position: relative; z-index: 1; }
.contact-grid { display: grid; gap: 48px; }
.contact .sec-head { border-top-color: rgba(255,255,255,0.5); color: #fff; margin-bottom: 0; }
.contact .sec-head .sec-no, .contact .sec-head .sec-label { color: rgba(255,255,255,0.8); }
.contact-lead { color: rgba(255,255,255,0.85); font-size: 14.5px; margin: 18px 0 30px; max-width: 420px; }
.contact-tel-big { display: block; font-family: var(--font-serif); font-weight: 900; font-size: 40px; letter-spacing: 0.04em; color: #fff; line-height: 1.2; margin-bottom: 6px; }
.contact-tel-label { font-size: 11px; letter-spacing: 0.35em; color: rgba(255,255,255,0.7); display: block; margin-bottom: 8px; }
.contact-line-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; border: 1px solid rgba(255,255,255,0.5); border-radius: 4px;
  padding: 12px 22px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: #fff;
  transition: all 0.2s ease;
}
.contact-line-link:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.contact-note { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-top: 26px; }

.contact-form { background: var(--white); padding: 34px 26px; color: var(--ink-900); border-radius: 8px; box-shadow: var(--shadow-lift); }
.contact-form h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 22px; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-700); margin-bottom: 16px; letter-spacing: 0.04em; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 13px 14px; font-size: 16px; font-family: var(--font-sans);
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--sky-bg); color: var(--ink-900);
  transition: border-color 0.2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); }
.contact-form .btn { margin-top: 8px; }
.form-privacy { margin-top: 14px; font-size: 12px; color: var(--ink-500); font-weight: 400; line-height: 1.6; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success strong { display: block; font-family: var(--font-serif); font-size: 20px; margin-bottom: 10px; color: var(--blue-700); }
.form-success p { font-size: 14px; color: var(--ink-500); }

/* 子頁聯絡按鈕(舊 class 相容) */
.contact-methods { display: grid; gap: 12px; margin-bottom: 20px; }
.contact-method { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; padding: 16px 20px; background: rgba(255,255,255,0.08); transition: border-color 0.2s ease; }
.contact-method:hover { border-color: #fff; }
.contact-method-label { font-size: 12px; letter-spacing: 0.2em; color: rgba(255,255,255,0.75); }
.contact-method strong { font-family: var(--font-serif); font-size: 24px; color: #fff; letter-spacing: 0.05em; }

/* ---------- 地圖 ---------- */
.map-wrap { position: relative; background: var(--blue-50); }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-card { background: var(--white); color: var(--ink-900); padding: 20px 24px; border-top: 3px solid var(--blue-600); }
.map-card strong { font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.1em; display: block; margin-bottom: 4px; color: var(--blue-800); }
.map-card p { font-size: 13.5px; color: var(--ink-500); }

/* ---------- 頁腳(深藍但不暗黑) ---------- */
.site-footer { background: var(--blue-800); color: rgba(255,255,255,0.75); font-size: 13.5px; padding: 0; overflow: hidden; }
.footer-mark { font-family: var(--font-serif); font-weight: 900; font-size: 17vw; line-height: 1; white-space: nowrap; color: rgba(255,255,255,0.06); letter-spacing: 0.06em; padding: 28px 0 0 12px; user-select: none; }
.footer-grid { display: grid; gap: 32px; padding-top: 28px; padding-bottom: 36px; }
.footer-logo { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 0.1em; }
.footer-en { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.footer-col h4 { color: #9cc4f7; font-size: 13px; letter-spacing: 0.25em; margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-bottom: 10px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; padding-bottom: 90px; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-legal p { margin-bottom: 8px; }

/* ---------- 浮動聯絡按鈕(手機) ---------- */
.float-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 20px rgba(14,58,128,0.25); padding-bottom: env(safe-area-inset-bottom); background: var(--blue-700); }
.float-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 0; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; }
.float-btn:active { filter: brightness(0.9); }
.float-btn svg { width: 18px; height: 18px; }
.float-tel { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; }
.float-line { background: #05a54e; color: var(--white); }

/* ---------- 觸控回饋(手機) ---------- */
.btn:active { transform: scale(0.975); }
.svc-row:active { background: var(--blue-100); }
.article-card:active { box-shadow: var(--shadow-card); transform: translateY(-1px); }
.other-grid a:active { background: var(--blue-100); }
.faq-item summary:active { background: var(--blue-50); }
.contact-method:active { background: rgba(255,255,255,0.18); }
a, button { -webkit-tap-highlight-color: transparent; }

/* ---------- 進場動畫 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* =========================================================
   桌機強化層
   ========================================================= */
@media (min-width: 768px) {
  .section { padding: 104px 0; }
  .sec-title { font-size: 42px; }
  .section-title { font-size: 34px; }
  .topbar-note { display: inline; }

  .nav-toggle { display: none; }
  .site-nav { position: static; clip-path: none; visibility: visible; flex-direction: row; align-items: center; background: none; padding: 0; gap: 2px; border-top: none; }
  .site-nav > a { font-size: 14.5px; padding: 8px 13px; border-bottom: none; letter-spacing: 0.06em; color: var(--ink-700); opacity: 1; transform: none; }
  .site-nav > a:not(.nav-cta)::after { content: none; }
  .site-nav > a:active { background: none; }
  .site-nav > a:hover { color: var(--blue-600); }
  .site-nav .nav-cta { margin-top: 0; margin-left: 10px; padding: 10px 22px; color: #fff; }
  .nav-contact { display: none; }

  .hero-inner { padding-top: 130px; padding-bottom: 0; }
  .hero-photo { width: 58%; opacity: 1; }
  .hero-photo::after { background: linear-gradient(90deg, var(--sky-bg) 0%, rgba(246,249,253,0.55) 45%, rgba(246,249,253,0.1) 100%); }
  .hero-title .t1 { font-size: 96px; }
  .hero-title .t2 { font-size: 52px; margin-top: 14px; }
  .hero-sub { font-size: 16px; max-width: 540px; }
  .hero-actions { flex-direction: row; margin-bottom: 100px; }
  .hero-actions .btn { min-width: 210px; }
  .hero-vertical { display: block; }
  .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { padding: 26px 28px; border-bottom: none; }
  .hero-stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .hero-stat:last-child { border-right: none; }
  .hero-stat strong { font-size: 34px; }

  .marquee span { font-size: 17px; }

  .svc-row { grid-template-columns: 90px 1.1fr 1fr 160px auto; gap: 0 28px; padding: 30px 0; align-items: center; }
  .svc-num { grid-row: auto; font-size: 17px; padding-top: 0; }
  .svc-row h3 { font-size: 26px; }
  .svc-row h3 small { display: block; margin: 4px 0 0; }
  .svc-row p { grid-column: auto; font-size: 13.5px; }
  .svc-thumb { grid-row: auto; grid-column: auto; width: 160px; height: 92px; }
  .svc-arrow { display: block; font-size: 22px; color: var(--blue-600); transition: transform 0.25s ease; }
  .svc-row:hover .svc-arrow { transform: translateX(8px); }
  .svc-foot { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 44px; }

  .about-vertical { display: block; }
  .about-grid-desktop { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
  .about-photo-wrap { margin: 0; }
  .about-photo { height: 480px; border-radius: 8px; }
  .about-photo-sub { left: -48px; bottom: -44px; height: 220px; }
  .about-badge { right: -20px; bottom: 40px; padding: 20px 24px; }
  .about-badge strong { font-size: 38px; }
  .about-body { margin-top: 0; }

  .feature-band { padding: 150px 0; }
  .feature-band blockquote { font-size: 34px; }

  .process-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
  .process-steps li { padding: 34px 0 34px 104px; }
  .process-steps li::before { font-size: 76px; }

  .promise-grid { grid-template-columns: repeat(4, 1fr); }
  .promise-item { padding: 34px 26px; }

  .page-hero { padding: 100px 0 84px; }
  .page-hero h1 { font-size: 44px; }
  .item-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cta-band { padding: 88px 0; }
  .cta-band h2 { font-size: 32px; }
  .cta-actions { flex-direction: row; justify-content: center; max-width: none; }
  .cta-actions .btn { min-width: 220px; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }

  .article-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .article-hero h1 { font-size: 36px; }
  .article-hero { padding: 76px 0 56px; }
  .article-body table { display: table; }
  .article-body th, .article-body td { min-width: 0; }

  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
  .contact-tel-big { font-size: 58px; }
  .contact-form { padding: 44px 40px; }

  .map-wrap iframe { height: 380px; }
  .map-card { position: absolute; left: 40px; bottom: 40px; max-width: 340px; border-radius: 6px; box-shadow: var(--shadow-lift); }

  .footer-mark { font-size: 11vw; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; }
  .footer-legal { padding-bottom: 28px; }

  .float-cta { display: none; }
}

@media (min-width: 1024px) {
  .item-grid { grid-template-columns: repeat(3, 1fr); }
  .other-grid { grid-template-columns: repeat(4, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}
