/* 華聯國際人力：手機優先、系統字型（不載外部字型＝最快）、無框架 */
:root {
  --brand: #0E5A6B; --brand-d: #0A4351; --brand-dd: #072F39; --brand-l: #E4F0F1; --brand-ll: #F1F7F7;
  --accent: #B4501C; --accent-d: #923F14; --accent-l: #FBEDE3; --gold: #F0A35E;
  --line-green: #0B9D4A; --line-green-d: #087F3B;
  --bg: #F7F5F0; --surface: #FFFFFF; --ink: #1D2A30; --muted: #4F5D63; --line: #E2DED5;
  --radius: 14px; --shadow: 0 1px 2px rgba(7,47,57,.06), 0 8px 24px rgba(7,47,57,.08);
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.8; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-d); }
h1, h2, h3 { line-height: 1.35; color: var(--brand-dd); letter-spacing: .01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 2em 0 .7em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: .92em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- 按鈕 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); color: #fff; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-l); }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: .8em 1.6em; }
.btn.is-todo { outline: 2px dashed rgba(255,255,255,.8); outline-offset: -6px; cursor: default; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 .4em; }

/* ---------- 頁首 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-dd); }
.logo img { width: 40px; height: 40px; }
.logo strong { display: block; font-size: 1.12rem; line-height: 1.2; }
.logo small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a { display: block; padding: .5em .7em; color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 600; border-radius: 8px; white-space: nowrap; }
.logo small { white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-ll); }
.site-nav .nav-cta a { color: #fff; margin-left: 6px; }
.site-nav .nav-cta a:hover { background: var(--accent-d); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--brand-dd); margin: 5px 0; border-radius: 2px; transition: .2s; }
/* 選單 10 項：1180px 以下改漢堡選單，避免文字擠成兩行 */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .site-nav a { padding: .8em .6em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .nav-cta a { margin: 12px 0 0; border-radius: 999px; text-align: center; border: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 麵包屑 ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 14px 16px 0; font-size: .86rem; color: var(--muted); }
.crumbs { padding: 0; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #9aa5a9; }
.crumbs a { color: var(--muted); }

/* ---------- 首頁主視覺 ---------- */
.home-hero { background: linear-gradient(180deg, var(--brand-ll), var(--bg)); padding: 36px 0 48px; }
.home-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.home-hero h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.home-hero .lead { font-size: 1.12rem; color: var(--muted); }
.home-hero-img img, .home-hero-img .img-ph { border-radius: 20px; box-shadow: var(--shadow); }
.trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.2em 0 0; }
.trust li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .9rem; font-weight: 600; color: var(--brand-d); }
.trust svg { width: 16px; height: 16px; color: var(--brand); }
.kicker { display: inline-block; font-size: .88rem; font-weight: 700; color: var(--brand); background: var(--brand-l); border-radius: 999px; padding: .25em .9em; margin: 0 0 .4em; }
@media (max-width: 860px) { .home-hero-in { grid-template-columns: 1fr; gap: 24px; } .home-hero-img { order: -1; } .home-hero { padding-top: 20px; } }

/* ---------- 內頁主視覺 ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-ll), var(--bg)); padding: 18px 0 30px; }
.page-hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.page-hero-in.no-img { grid-template-columns: 1fr; max-width: 860px; }
.page-hero .lead { font-size: 1.08rem; color: var(--muted); }
.page-hero-img img, .page-hero-img .img-ph { border-radius: 18px; box-shadow: var(--shadow); }
.meta-line { font-size: .84rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .page-hero-in { grid-template-columns: 1fr; gap: 18px; } .page-hero-img { order: -1; } }
.img-ph { background: linear-gradient(135deg, var(--brand-l), var(--accent-l)); border-radius: 18px; width: 100%; }

/* ---------- 內容區 ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 28px; padding-bottom: 56px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; gap: 24px; } }
.prose { min-width: 0; }
.prose > section:first-child h2, .prose > h2:first-child { margin-top: .5em; }
.prose h2 { padding-left: 14px; border-left: 5px solid var(--brand); }
.prose ul, .prose ol:not(.steps) { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose strong { color: var(--brand-dd); }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .5em; }
.side { position: relative; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.side-cta { position: sticky; top: 88px; background: var(--brand-ll); border-color: #cfe3e5; }
.side-h { font-weight: 800; color: var(--brand-dd); margin: 0 0 .4em; }
.side-box .cta-row { flex-direction: column; margin: .6em 0 0; }
.side-box .btn { width: 100%; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 8px; padding: .45em 0; text-decoration: none; font-weight: 600; border-bottom: 1px dashed var(--line); }
.side-links svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 960px) { .side-cta { position: static; } }

.takeaways { background: var(--surface); border: 1px solid #cfe3e5; border-left: 6px solid var(--brand); border-radius: var(--radius); padding: 18px 20px 10px; margin: 0 0 1.6em; box-shadow: var(--shadow); }
.takeaways-title { font-weight: 800; color: var(--brand); margin: 0 0 .3em; }
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { position: relative; padding-left: 28px; margin: .45em 0; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

.note { border-radius: 12px; padding: 14px 18px; margin: 1.2em 0; font-size: .97rem; }
.note p:last-child { margin: 0; }
.note-info { background: var(--brand-ll); border: 1px solid #cfe3e5; }
.note-warn { background: var(--accent-l); border: 1px solid #f1cfb6; }
.note-ok { background: #EAF6EE; border: 1px solid #c4e6cf; }

.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
caption { text-align: left; font-weight: 700; padding: 12px 14px 0; color: var(--brand-dd); }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--brand); color: #fff; font-weight: 700; white-space: nowrap; }
tbody th { font-weight: 700; color: var(--brand-dd); background: var(--brand-ll); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.total th, tr.total td { background: var(--accent-l); font-weight: 800; }

.steps { list-style: none; padding: 0; margin: 1.2em 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; padding-bottom: 18px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 0; width: 2px; background: var(--line); }
.step-no { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; }
.steps h3 { margin: .45em 0 .2em; }
.steps p { margin: 0 0 .3em; }
.step-time { font-size: .88rem; color: var(--accent); font-weight: 700; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; font-weight: 700; color: var(--brand-dd); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 14px; color: var(--ink); }
.faq-a p:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 1.2em 0; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin: .4em 0 .3em; color: var(--brand-dd); }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-l); color: var(--brand); display: grid; place-items: center; }
.card-ico svg { width: 24px; height: 24px; }
.card-more { font-weight: 700; color: var(--brand); font-size: .92rem; }

/* ---------- 首頁區塊 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 0 24px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img, .split .img-ph { border-radius: 18px; box-shadow: var(--shadow); }
/* grid 子元素預設 min-width:auto，會被寬表格撐開造成手機水平捲動 */
.split > *, .home-hero-in > *, .page-hero-in > *, .compare > *, .content-grid > *, .footer-grid > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } .section { padding: 40px 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin: .55em 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5A6B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-size: 1.6rem; color: var(--accent); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.compare h3 { margin-top: 0; }

/* ---------- CTA 帶 ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-d), var(--brand)); color: #fff; padding: 40px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; border: 0; padding: 0; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .cta-row { margin: 0; }
/* 深色區塊上的外框按鈕改白色（沒有 LINE 時的「線上申請」） */
.cta-band .btn-ghost, .apply-section .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.cta-band .btn-ghost:hover, .apply-section .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- 工具（計算機） ---------- */
.tool { background: var(--surface); border: 1px solid #cfe3e5; border-radius: 18px; padding: 22px; margin: 1.4em 0 2em; box-shadow: var(--shadow); }
.tool h3 { margin-top: 0; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.tool legend { font-weight: 800; color: var(--brand-dd); margin-bottom: 8px; }
.tool label { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.tool input[type="checkbox"], .tool input[type="radio"] { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.tool select, .tool input[type="number"] { font: inherit; padding: .5em .7em; border: 1px solid #c9d3d6; border-radius: 10px; min-height: 46px; background: #fff; width: 100%; max-width: 320px; }
.counter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.counter-row span.lbl { flex: 1; }
.counter-row .pts { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.counter { display: inline-flex; align-items: center; border: 1px solid #c9d3d6; border-radius: 999px; overflow: hidden; flex: none; }
.counter button { width: 40px; height: 40px; border: 0; background: var(--brand-ll); font-size: 1.2rem; color: var(--brand); cursor: pointer; }
.counter output { width: 36px; text-align: center; font-weight: 800; }
.result { border-radius: 14px; padding: 16px 18px; margin-top: 14px; background: var(--brand-ll); border: 1px solid #cfe3e5; }
.result.ok { background: #EAF6EE; border-color: #c4e6cf; }
.result.warn { background: var(--accent-l); border-color: #f1cfb6; }
.result b.big { font-size: 1.6rem; color: var(--accent); }
.result p:last-child { margin-bottom: 0; }
.no-js-note { font-size: .9rem; color: var(--muted); }

/* ---------- 表單 ---------- */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 700; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: .65em .8em; border: 1px solid #c9d3d6; border-radius: 10px; min-height: 48px; background: #fff; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 700; }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--brand-dd); color: #d6e4e6; padding: 44px 0 20px; font-size: .94rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-name { font-weight: 800; color: #fff; font-size: 1.1rem; }
.footer-h { font-weight: 800; color: #fff; margin-bottom: .4em; }
.nap, .footer-links { list-style: none; margin: 0; padding: 0; }
.nap li { display: flex; gap: 8px; margin: .35em 0; }
.nap svg { width: 18px; height: 18px; flex: none; margin-top: .3em; color: var(--gold); }
.footer-links li { margin: .3em 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; font-size: .84rem; color: #a9c0c4; }

/* ---------- 手機固定聯絡列 ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(7,47,57,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; font-size: .8rem; font-weight: 700; color: var(--brand-dd); }
  .mobile-cta svg { width: 22px; height: 22px; }
  .mobile-cta .m-line { background: var(--line-green); color: #fff; }
}

.sources ul { font-size: .92rem; }
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.article-list a { display: grid; grid-template-columns: 160px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--ink); }
.article-list img, .article-list .img-ph { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; height: 100%; }
.article-list h3 { margin: .2em 0 .3em; color: var(--brand-dd); }
.article-list p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 560px) { .article-list a { grid-template-columns: 110px 1fr; } }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; list-style: none; padding: 0; }
.area-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 700; color: var(--brand-dd); }

/* ---------- 服務內容圖解（2026-10-16）---------- */
.svc-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; margin: 1.2em 0 1.6em; }
.svc { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.svc img, .svc .img-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.prose figure.svc { margin: 0; }
.prose figure.svc img { border-radius: 0; }
.svc figcaption, .prose .svc figcaption { padding: 12px 14px 14px; margin: 0; }
.svc figcaption b { display: block; color: var(--brand-dd); font-size: 1.04rem; margin-bottom: 2px; }
.svc figcaption span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.6; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .svc figcaption { padding: 10px; } .svc figcaption span { font-size: .84rem; } }
.cards-3 .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards-3 .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-3 .cards { grid-template-columns: 1fr; } }
.svc-tabs { display: flex; gap: 8px; margin: 0 0 4px; flex-wrap: wrap; }
.svc-tabs h3 { margin: 1.4em 0 0; display: flex; align-items: center; gap: 8px; }
.svc-tabs h3 svg { width: 22px; height: 22px; color: var(--brand); }

/* ---------- 痛點情境卡 ---------- */
.situ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .situ { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .situ { grid-template-columns: 1fr; } }
.situ-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; min-width: 0; }
.situ-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.situ-q { font-weight: 800; color: var(--brand-dd); margin: 0 0 .35em; font-size: 1.05rem; }
.situ-q::before { content: "「"; color: var(--accent); }
.situ-q::after { content: "」"; color: var(--accent); }
.situ-a { color: var(--muted); font-size: .95rem; margin: 0 0 .6em; flex: 1; }

/* ---------- 疑慮問答 ---------- */
.concerns { list-style: none; padding: 0; margin: 0; }
.concerns li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.concerns li:last-child { border-bottom: 0; }
.concerns b { display: block; color: var(--brand-dd); font-size: 1.04rem; margin-bottom: 2px; }
.concerns span { color: var(--muted); font-size: .96rem; }

/* ---------- 首頁申請表單區 ---------- */
.apply-section { background: linear-gradient(160deg, var(--brand-dd), var(--brand-d)); color: #e6f0f1; }
.apply-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.apply-in > * { min-width: 0; }
.apply-section h2 { color: #fff; margin-top: 0; }
.apply-section .checklist li::before { background-color: #fff; }
.apply-section .checklist strong { color: #fff; }
.apply-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.apply-card .form { max-width: none; }
@media (max-width: 860px) { .apply-in { grid-template-columns: 1fr; gap: 20px; } .apply-card { padding: 18px; } }
.form-radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form-radios legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.form .form-radios label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; border: 1px solid #c9d3d6; border-radius: 999px; padding: .45em .95em; cursor: pointer; background: #fff; }
.form .form-radios input { min-height: 0; width: 18px; height: 18px; padding: 0; accent-color: var(--brand); margin: 0; }
.form .form-radios label:has(input:checked) { border-color: var(--brand); background: var(--brand-ll); color: var(--brand-dd); }
.form .form-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.form .form-consent input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; flex: none; accent-color: var(--brand); }

/* ---------- 線上挑工 ---------- */
.wk-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 16px 18px; margin: 1em 0; }
.wk-filter label { display: grid; gap: 4px; padding: 0; font-weight: 700; color: var(--brand-dd); flex: 1 1 140px; }
.wk-filter select { max-width: none; }
.wk-count { margin: 0 0 10px; font-weight: 700; color: var(--accent); flex: 1 1 100%; }
.wk-grid { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.wk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.wk[hidden] { display: none; }
.wk-photo { display: block; background: #dfe9ee; }
.wk-photo img { width: 100%; aspect-ratio: 175/240; object-fit: cover; }
.prose .wk-photo img { border-radius: 0; }
.wk-info { padding: 10px 12px 6px; display: grid; gap: 1px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.wk-info b { color: var(--brand-dd); font-size: 1rem; }
.wk-act { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: auto; }
.wk-act a { text-align: center; padding: 10px 4px; font-weight: 700; font-size: .92rem; text-decoration: none; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.wk-act a + a { background: var(--accent); color: #fff; }
.wk-act a + a:hover { background: var(--accent-d); color: #fff; }
.prose .wk-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (max-width: 560px) { .wk-grid, .prose .wk-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.wk-home { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .wk-home { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wk-home .wk:nth-child(n+10) { display: none; } }
@media (max-width: 560px) { .wk-home { grid-template-columns: 1fr 1fr; } .wk-home .wk:nth-child(n+7) { display: none; } }
.wk-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }

/* ---------- 最新消息 ---------- */
.news-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.news-list a { display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; text-decoration: none; color: var(--ink); }
.news-list a:hover { box-shadow: var(--shadow); color: var(--ink); }
.news-list time { color: var(--accent); font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }
.news-list b { color: var(--brand-dd); }
.news-list span { grid-column: 2; color: var(--muted); font-size: .94rem; }
@media (max-width: 560px) { .news-list a { grid-template-columns: 1fr; } .news-list span { grid-column: 1; } }
.prose blockquote.note { margin: 1.2em 0; }

/* ---------- 桌機右側浮動聯絡 ---------- */
.side-float { display: none; }
@media (min-width: 1021px) {
  .side-float { display: flex; flex-direction: column; position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 45; background: var(--brand-dd); border-radius: 999px; padding: 10px 6px; box-shadow: 0 8px 28px rgba(7,47,57,.28); gap: 2px; }
  .side-float a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; padding: 10px 0; color: #fff; text-decoration: none; font-size: .74rem; font-weight: 700; border-radius: 999px; line-height: 1.2; text-align: center; }
  .side-float a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .side-float svg { width: 24px; height: 24px; }
  .side-float .sf-line { background: var(--line-green); }
  .side-float .sf-line:hover { background: var(--line-green-d); }
}
