/* ==========================================================================
   朝安科技 www.chauran.tw — 全站樣式
   定位：複合材料精密加工／切割代工（ZUND 設備為技術背書，非主軸）
   對比度：所有文字色組合實測 >= 4.5:1（WCAG AA）
   寬度系統：--shell 外框 / --wide 圖文區塊 / --read 內文閱讀行寬
   ========================================================================== */

:root {
  /* 工業藍主色階 */
  --deep: #123a5a;          /* 11.81:1 on #fff — 深色區塊底 */
  --deep-2: #0d2c46;        /* 更深，用於 footer 與疊層 */
  --brand: #1769aa;         /*  5.77:1 on #fff — 淺底連結／強調 */
  --brand-dark: #125b8f;    /*  7.19:1 on #fff — 需要更強對比時 */
  --bright: #2d8bcb;        /*  裝飾用，勿當淺底文字 */

  /* 行動色（橘） */
  --cta: #f28c28;           /*  只當底色；在 --deep 上 4.81:1 才可當文字 */
  --cta-ink: #b35400;       /*  5.02:1 on #fff / 4.67:1 on --paper — 淺底橘字 */
  --cta-hover: #ffa34d;

  /* 中性色 */
  --ink: #202830;           /* 14.92:1 on #fff */
  --muted: #5b6772;         /*  5.79:1 on #fff / 5.39:1 on --paper */
  --paper: #f5f7f9;
  --paper-2: #eaeff4;
  --line: #dde3e8;
  --line-soft: #e8edf1;
  --white: #fff;

  /* 深底上的文字 */
  --on-deep: #b9cbdb;       /*  7.10:1 on --deep */
  --on-deep-dim: #93a9bd;   /*  4.86:1 on --deep */

  --warn: #9c4a02;
  --warn-bg: #fdf3e6;

  /* 寬度系統（沿用廣薪比例） */
  --shell: 1360px;          /* header／全幅區塊外框 */
  --wide: 1120px;           /* 圖文並排區塊 */
  --read: 880px;            /* 內文閱讀行寬 */

  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 2px 14px rgba(18, 58, 90, .08);
  --shadow-lg: 0 18px 48px rgba(18, 58, 90, .18);

  --font: "PingFang TC", "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --head-h: 84px;
  --rail-h: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* <picture> 必須不產生排版盒，否則 object-fit / aspect-ratio 會對它計算而非對圖片 */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.42; font-weight: 700; }
p, ul, ol, dl, figure, table { margin: 0; }
button { font: inherit; }

.container { width: min(var(--shell), calc(100% - 56px)); margin-inline: auto; }
.wide { width: min(var(--wide), calc(100% - 56px)); margin-inline: auto; }
.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;
}
:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px;
}

/* ==========================================================================
   1. 頁首：資訊列 + 主導覽 + 服務快捷列
   ========================================================================== */
.topline {
  background: var(--deep-2); color: var(--on-deep);
  font-size: 12.5px; letter-spacing: .02em;
}
.topline .container { height: 34px; display: flex; align-items: center; gap: 24px; }
.topline .tl-push { margin-left: auto; }
.topline a { color: var(--cta); font-weight: 700; }
.topline a:hover { color: var(--cta-hover); }

.site-head { position: sticky; top: 0; z-index: 60; }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--head-h); display: flex; align-items: center; gap: 30px; }
.logo { flex: 0 0 auto; }
.logo-img { width: 232px; height: auto; }

.desktop-nav { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.desktop-nav > li { position: relative; }
.desktop-nav > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: var(--radius-s);
  font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.desktop-nav > li > a:hover,
.desktop-nav > li:hover > a { background: var(--paper); color: var(--brand-dark); }
.desktop-nav .caret { font-size: 9px; color: var(--muted); }

.mega {
  position: absolute; top: 100%; left: 0; z-index: 5;
  display: none; gap: 30px; padding: 26px 28px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.desktop-nav > li:hover .mega, .desktop-nav > li:focus-within .mega { display: grid; }
.mega-2 { grid-template-columns: repeat(2, minmax(210px, 1fr)); }
.mega-3 { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
.mega-col h4 {
  font-size: 11px; letter-spacing: .16em; color: var(--muted);
  padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid var(--line-soft);
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li + li { margin-top: 3px; }
.mega-col a {
  display: block; padding: 8px 10px; border-radius: var(--radius-s);
  font-size: 15px; font-weight: 700; line-height: 1.5;
}
.mega-col a:hover { background: var(--paper); color: var(--brand-dark); }
.mega-col small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }

.header-cta {
  margin-left: auto; flex: 0 0 auto;
  padding: 12px 22px; border-radius: 999px;
  background: var(--cta); color: var(--deep);
  font-size: 15px; font-weight: 700; white-space: nowrap;
}
.header-cta:hover { background: var(--deep); color: var(--white); }

/* 服務快捷列：把主要加工服務永遠放在首屏可見處 */
.service-rail { background: var(--deep); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.rail-inner {
  height: var(--rail-h); display: flex; align-items: center; gap: 22px;
  list-style: none; padding: 0; margin: 0; overflow-x: auto; scrollbar-width: none;
}
.rail-inner::-webkit-scrollbar { display: none; }
.rail-label {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; color: var(--on-deep-dim);
}
.rail-inner a {
  flex: 0 0 auto; font-size: 14px; font-weight: 700;
  color: var(--on-deep); white-space: nowrap;
}
.rail-inner a:hover, .rail-inner a[aria-current] { color: var(--cta); }

/* 行動選單預設一律隱藏。這條必須放在基礎樣式而非 media query 內，
   否則桌機寬度下 .mobile-nav 會變成可見的一般清單。 */
.menu-toggle, .menu-button, .mobile-nav { display: none; }

/* ==========================================================================
   2. 首頁 Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--white); }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 22% 20%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 22% 20%, #000 30%, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px;
  align-items: center; padding: 70px 0 62px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--cta); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cta); flex: 0 0 auto; }
.eyebrow.dark { color: var(--cta-ink); }
.eyebrow.dark::before { background: var(--cta-ink); }

.hero h1 { font-size: clamp(2rem, 4.3vw, 3.05rem); line-height: 1.26; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--cta); }
.hero-copy > p {
  margin: 22px 0 30px; max-width: 52ch; font-size: 17.5px;
  color: var(--on-deep); line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-cta { background: var(--cta); color: var(--deep); }
.btn-cta:hover { background: var(--white); }
.btn-solid { background: var(--brand); color: var(--white); }
.btn-solid:hover { background: var(--deep); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .32); color: var(--white); }
.btn-ghost:hover { border-color: var(--cta); color: var(--cta); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--brand); color: var(--brand-dark); }
.text-link { font-size: 15px; font-weight: 700; color: var(--on-deep); }
.text-link:hover { color: var(--cta); }
.text-link.dark { color: var(--brand); }
.text-link.dark:hover { color: var(--cta-ink); }

.hero-visual { position: relative; }
.hero-stats { display: flex; gap: 10px; margin-top: 16px; }
.hero-stats div {
  flex: 1; padding: 14px 16px; border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats b { display: block; font-size: 1.5rem; color: var(--cta); line-height: 1.2; }
.hero-stats span { font-size: 12.5px; color: var(--on-deep-dim); }

/* 影片卡：先放縮圖，點擊後才載入 iframe，避免首屏被 YouTube 拖慢 */
.video-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--deep-2);
  box-shadow: var(--shadow-lg);
}
.video-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.vc-play {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(242, 140, 40, .94); color: var(--deep);
  font-size: 24px; cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.video-frame:hover .vc-play { transform: scale(1.08); background: var(--cta); }
.video-cap { padding: 12px 16px 14px; font-size: 13.5px; color: var(--on-deep); }

/* ==========================================================================
   3. 通用區塊
   ========================================================================== */
.section { padding: 74px 0; }
.section.tight { padding: 54px 0; }
.section.on-paper { background: var(--paper); }
.section.on-deep { background: var(--deep); color: var(--white); }
.section.on-deep h2, .section.on-deep h3 { color: var(--white); }
.section.on-deep p { color: var(--on-deep); }

.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.section-head > p { margin-top: 12px; max-width: 62ch; color: var(--muted); font-size: 16.5px; }
.section.on-deep .section-head > p { color: var(--on-deep); }
.section-head.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: end; }

/* 服務卡：材料 × 加工 */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--shadow); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 17px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-no { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--cta-ink); margin-bottom: 8px; }
.svc-card h3 { font-size: 17px; margin-bottom: 8px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.svc-go { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.svc-card:hover .svc-go { color: var(--cta-ink); }

/* 材料清單 */
.mat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.mat-list a, .mat-list span {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-radius: var(--radius-s);
  background: var(--white); border: 1px solid var(--line);
  font-size: 15px; font-weight: 700;
}
.mat-list a:hover { border-color: var(--brand); color: var(--brand-dark); }
.mat-list i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }

/* 流程步驟 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; padding: 0; }
.steps li {
  padding: 22px 20px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--cta);
}
.steps span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--cta-ink); margin-bottom: 9px; }
.steps b { display: block; font-size: 16.5px; margin-bottom: 7px; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* 數據帶 */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.figures div { padding: 24px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.figures b { display: block; font-size: 2.1rem; color: var(--cta); line-height: 1.15; }
.figures span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-deep); }
.figures small { display: block; margin-top: 4px; font-size: 12px; color: var(--on-deep-dim); }

/* 信任列 */
.trust { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 17px 0; font-size: 14.5px; }
.trust p { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.trust span { font-weight: 700; color: var(--ink); }

/* 影片牆。一律配深底，所以文字色必須寫死，不能靠 .on-deep 繼承——
   影片牆也會出現在 .prose 裡（見加工實績頁），那裡沒有 .on-deep。 */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vid-grid .video-frame { box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.vid-grid h3 {
  font-size: 15.5px; line-height: 1.55; padding: 14px 16px 16px;
  color: var(--white);
}
.vid-grid p, .vid-grid .video-cap { color: var(--on-deep); }

/* 在淺色版面中嵌入影片牆時，自帶深色底 */
.vid-panel {
  background: var(--deep); padding: 20px; border-radius: var(--radius);
}
.prose > .vid-panel { margin-top: 26px; }

/* 案例／文章卡 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--shadow); }
.post-card .pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--cta-ink); margin-bottom: 9px; }
.post-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 9px; }
.post-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; flex: 1; }
.post-card time { margin-top: 13px; font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   4. 內文頁：麵包屑 + 標題區 + 閱讀行寬
   ========================================================================== */
.crumbs { background: var(--paper); border-bottom: 1px solid var(--line); }
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
  padding: 12px 0; margin: 0; font-size: 13px; color: var(--muted);
}
.crumbs a { color: var(--brand); font-weight: 700; }
.crumbs a:hover { color: var(--cta-ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

.page-head { background: var(--deep); color: var(--white); padding: 52px 0 46px; }
.page-head .wide { max-width: var(--read); }
.page-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); line-height: 1.34; }
.page-head .lede { margin-top: 18px; font-size: 17px; color: var(--on-deep); line-height: 1.85; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 13px; color: var(--on-deep-dim); }
.page-meta b { color: var(--cta); font-weight: 700; }

.prose { width: min(var(--read), calc(100% - 48px)); margin: 0 auto; padding: 52px 0 20px; }
.prose > * + * { margin-top: 26px; }
.prose h2 { font-size: 1.42rem; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.14rem; margin-top: 34px; }
.prose p { font-size: 17.5px; line-height: 1.95; }
.prose a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--cta-ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 9px; }
.prose li { font-size: 17px; line-height: 1.9; }
.prose strong { font-weight: 700; color: var(--deep); }
.prose figure { margin-top: 34px; margin-bottom: 34px; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.prose > .video-frame { margin-top: 34px; margin-bottom: 34px; }

/* 答案先行摘要框（AI 引用與精選摘要用） */
.answer { padding: 24px 26px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--cta); }
.answer p { font-size: 17px; line-height: 1.9; }
.answer p + p { margin-top: 14px; }
.answer .a-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--cta-ink); margin-bottom: 10px; }

/* 規格／對照表 */
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose thead th { text-align: left; padding: 12px 14px; background: var(--deep); color: var(--white); font-size: 14px; letter-spacing: .02em; }
.prose tbody td, .prose tbody th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.75; }
.prose tbody tr:nth-child(even) { background: var(--paper); }
.table-scroll { overflow-x: auto; }

/* 重點提示 */
.note { padding: 18px 22px; border-radius: var(--radius-s); background: var(--warn-bg); border-left: 4px solid var(--warn); font-size: 16px; line-height: 1.85; }
.note b { color: var(--warn); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: 0 0 auto; font-size: 22px; font-weight: 400; color: var(--cta-ink); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 0 22px; font-size: 16.5px; line-height: 1.9; color: var(--muted); }
.faq .faq-a p + p { margin-top: 12px; }

/* 內鏈區（hub / spoke 互導） */
.related { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.14rem; margin-bottom: 16px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.related a {
  display: flex; align-items: baseline; gap: 11px;
  padding: 13px 16px; border-radius: var(--radius-s);
  background: var(--paper); font-size: 15.5px; font-weight: 700; line-height: 1.6;
}
.related a:hover { background: var(--paper-2); color: var(--brand-dark); }
.related a i { font-style: normal; flex: 0 0 auto; font-size: 10.5px; letter-spacing: .1em; color: var(--cta-ink); }

/* ==========================================================================
   5. 詢價／CTA 帶 + 頁尾
   ========================================================================== */
.cta-band { background: var(--deep); color: var(--white); padding: 58px 0; }
.cta-band .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.34; }
.cta-band .cta-copy p { margin-top: 14px; color: var(--on-deep); font-size: 16.5px; }
.cta-lines { display: grid; gap: 11px; }
.cta-lines a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 16px; font-weight: 700;
}
.cta-lines a:hover { background: var(--cta); color: var(--deep); border-color: var(--cta); }
.cta-lines small { display: block; font-size: 12.5px; font-weight: 400; color: var(--on-deep-dim); }
.cta-lines a:hover small { color: var(--deep); }

footer.site-foot { background: var(--deep-2); color: var(--on-deep); padding: 54px 0 26px; }
.foot-grid {
  display: grid; grid-template-columns: 1.25fr repeat(3, .92fr); gap: 34px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.foot-grid h4 { font-size: 11px; letter-spacing: .16em; color: var(--on-deep-dim); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-grid a { font-size: 14.5px; }
.foot-grid a:hover { color: var(--cta); }
.foot-brand img { width: 210px; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; line-height: 1.8; }
.foot-brand dl { margin-top: 18px; font-size: 14px; line-height: 1.85; }
.foot-brand dt { font-size: 11px; letter-spacing: .14em; color: var(--on-deep-dim); margin-top: 10px; }
.foot-brand dd { margin: 0; }
.foot-brand dd a { color: var(--cta); font-weight: 700; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  padding-top: 20px; font-size: 12.5px; color: var(--on-deep-dim);
}
.foot-base .fb-push { margin-left: auto; }

/* ==========================================================================
   6. 響應式
   ========================================================================== */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --head-h: 72px; }
  .container, .wide { width: calc(100% - 40px); }
  .desktop-nav, .header-cta { display: none; }
  .menu-button {
    display: grid; gap: 5px; margin-left: auto; padding: 10px;
    cursor: pointer; background: none; border: 0;
  }
  .menu-button i { display: block; width: 24px; height: 2px; background: var(--ink); }
  .menu-toggle:checked ~ .mobile-nav { display: block; }
  .mobile-nav {
    background: var(--white); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--head-h)); overflow-y: auto;
  }
  .mobile-nav ul { list-style: none; padding: 14px 0 22px; margin: 0; }
  .mobile-nav a {
    display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-soft);
    font-size: 16px; font-weight: 700;
  }
  .mobile-nav .mn-cta {
    margin-top: 16px; border: 0; border-radius: 999px;
    background: var(--cta); color: var(--deep); text-align: center;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 48px; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
  .cta-band .container { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .vid-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .container, .wide { width: calc(100% - 32px); }
  .topline .container { gap: 14px; font-size: 11.5px; }
  .topline .tl-hide { display: none; }
  .section { padding: 52px 0; }
  .svc-grid, .steps, .figures, .card-grid, .vid-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats div { flex: 1 1 44%; }
  .prose { width: calc(100% - 32px); padding-top: 40px; }
  .prose p, .prose li { font-size: 16.5px; }
  .prose h2 { margin-top: 42px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .vc-play { width: 60px; height: 60px; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-head, .topline, .service-rail, .cta-band, footer.site-foot, .vc-play { display: none; }
  body { font-size: 12pt; }
  .prose { width: 100%; }
}
