/* LINXFORD 領仕科 — 全站共用樣式 */

:root {
  --bg: #F6F1E8;
  --white: #FFFFFF;
  --mist: #E4EBE3;
  --sage: #A9B8A3;
  --olive: #3F4B40;
  --olive-hover: #2F3A31;
  --text: #1F2420;
  --text-2: #535B52;
  --text-3: #5E665C;
  --line: #DDD9CE;
  --sand: #EDE6D8;
  --line-sand: #D3CBBB;
  --accent: #A83F24;
  --accent-hover: #8C321C;
  --shadow-sm: 0 1px 2px rgba(31, 36, 32, 0.06), 0 2px 8px rgba(31, 36, 32, 0.05);
  --shadow-md: 0 1px 2px rgba(31, 36, 32, 0.06), 0 10px 28px rgba(31, 36, 32, 0.09);
  --radius: 8px;
  --font-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-en: "Host Grotesk", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-zh);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sage); color: var(--text); }

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

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--olive); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 排版 ---------- */
h1, h2, h3 { font-weight: 500; line-height: 1.35; color: var(--text); }

h1 {
  text-wrap: balance;
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h2 { font-size: 36px; line-height: 1.3; letter-spacing: -0.005em; }
h3 { font-size: 22px; }

p { color: var(--text-2); max-width: 36em; }
p + p { margin-top: 14px; }

.eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: 1px;
}

.todo {
  display: inline;
  font-size: 0.875em;
  color: var(--text-2);
  border: 1px dashed #7C8A78;
  border-radius: 4px;
  padding: 0 6px;
  white-space: nowrap;
}

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--accent); color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.4;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: var(--white); color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: #F8EBE6; color: var(--accent-hover); border-color: var(--accent-hover); }
.btn--sm { padding: 8px 20px; font-size: 15px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 頁首 ---------- */
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { font-family: var(--font-en); font-weight: 600; font-size: 20px; letter-spacing: 0.02em; color: var(--text); }
.logo span { font-family: var(--font-zh); font-weight: 500; margin-left: 6px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 16px; color: var(--text); padding: 6px 0; background: linear-gradient(var(--olive), var(--olive)) left bottom / 0 1.5px no-repeat; transition: background-size .25s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background-size: 100% 1.5px; }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-en); font-size: 14px; font-weight: 500; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; transition: color .2s ease, border-color .2s ease; }
.lang-switch .icon { width: 16px; height: 16px; }
.lang-switch:hover { color: var(--text); border-color: var(--olive); }
.lang-switch[lang="zh-Hant-TW"] { font-family: var(--font-zh); }
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; }
html[lang="en"] [lang="zh-Hant-TW"] { font-family: var(--font-zh); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--olive); background: transparent; color: var(--olive); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 區塊共用 ---------- */
.band { padding: 60px 0 40px; }
.band--white { background: var(--white); }
.band--sand { background: var(--sand); }
.band--mist { background: var(--mist); }

.band-head { margin-bottom: 30px; }

/* ---------- 第一屏 ---------- */
.hero { padding: 40px 0 48px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 24px; font-size: 18px; max-width: 30em; }
.hero-art { justify-self: end; width: 100%; max-width: 360px; color: var(--sage); }

.entries { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.entry {
  background: var(--white); border: 1px solid var(--olive); border-top: 4px solid var(--accent); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: var(--shadow-md);
}
.entry-title { font-size: 28px; }
.lead-gap { margin-top: 20px; }
.legal-gap { margin-top: 6px; }
.cta-band { padding-bottom: 60px; }
.steps { list-style: none; }
.entry-icon { color: var(--olive); margin-bottom: 14px; }
.entry-icon .icon { width: 28px; height: 28px; }
.entry p { margin: 6px 0 18px; }
.entry .btn { margin-top: auto; }

/* ---------- 我們的做法 ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }

.frame {
  background: var(--mist); border-radius: var(--radius); aspect-ratio: 4 / 3;
  position: relative; overflow: hidden; color: var(--sage);
}
.frame svg { width: 100%; height: 100%; }
.frame figcaption {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  font-size: 13px; color: var(--text-2);
}

/* ---------- 服務項目 ---------- */
.service-list { border-top: 1px solid var(--line-sand); }
.service { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-sand); align-items: start; }
.service-num { font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--accent); padding-top: 6px; letter-spacing: 0.04em; }
.service p { max-width: none; }
.service .btn { margin-top: 14px; }

/* ---------- 合作流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { border-top: 2px solid var(--olive); padding-top: 14px; }
.step-num { font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; display: block; margin-bottom: 8px; }
.step p { margin-top: 10px; }

/* ---------- 顧問經歷 ---------- */
.band--mist .eyebrow { color: #4B534A; }
.band--mist p { color: #444C43; }
.profile > div:last-child { padding-top: 40px; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }

/* ---------- 公司資訊 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.info-item { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.info-item dt { font-size: 14px; color: var(--text-3); margin-bottom: 4px; }
.info-item dd { color: var(--text); font-size: 17px; }
.info-item--wide { grid-column: span 2; }
.info-item a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sage); }
.info-item a:hover { text-decoration-color: var(--olive); }

/* ---------- 結尾行動區 ---------- */
.cta { background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-md); }
.cta .two { gap: 40px; }
.cta p { margin-top: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--olive); color: var(--bg); padding: 52px 0 32px; }
.site-footer p, .site-footer a { color: #E1E6DE; }
.site-footer .logo { color: var(--bg); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-cols h3 { font-size: 15px; font-weight: 500; color: var(--bg); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-cols li + li { margin-top: 8px; }
.footer-cols a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .25s ease; }
.footer-cols a:hover { background-size: 100% 1px; }
.footer-brand p { margin-top: 14px; font-size: 15px; }
.footer-legal { border-top: 1px solid rgba(246, 241, 232, 0.25); margin-top: 32px; padding-top: 18px; font-size: 14px; }
.footer-legal p { max-width: none; }
.site-footer :focus-visible { outline-color: var(--bg); }

/* ---------- 平板與手機 ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; display: none;
  }
  .js .nav.is-open { display: flex; }
  .js .nav-links { flex-direction: column; gap: 0; }
  .js .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .js .nav .btn { margin-top: 20px; justify-content: center; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 12px 20px; }
  html:not(.js) .nav-links { flex-wrap: wrap; gap: 8px 20px; }
  html:not(.js) .bar { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { display: none; }
  .two, .profile { grid-template-columns: 1fr; gap: 40px; }
  .profile { gap: 0; }
  .profile > div:last-child { padding-top: 14px; }
  .cta { padding: 40px 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  h1 { font-size: 32px; letter-spacing: -0.015em; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .hero-lead { font-size: 17px; }
  .band { padding: 40px 0 30px; }
  .hero { padding: 32px 0 40px; }
  .band-head { margin-bottom: 22px; }
  .entries { grid-template-columns: 1fr; margin-top: 28px; }
  .entry { padding: 20px; }
  .service { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .service-num { padding-top: 0; }
  .offer-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .offer { padding: 20px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item--wide { grid-column: auto; }
  .cta { padding: 24px 18px; }
  .cta h2 { font-size: 24px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-band { padding-bottom: 40px; }
  .site-footer { padding: 28px 0 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; gap: 20px 14px; }
  .footer-cols h3 { font-size: 14px; margin-bottom: 8px; }
  .footer-cols li + li { margin-top: 4px; }
  .footer-cols li a { font-size: 14px; }
  .footer-brand p { margin-top: 8px; font-size: 14px; line-height: 1.65; }
  .footer-legal { margin-top: 18px; padding-top: 12px; font-size: 13px; line-height: 1.6; }
  .todo { white-space: normal; }
}

/* ---------- 內頁共用 ---------- */
.page-hero { padding: 40px 0 40px; }
.page-hero .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.page-title { font-size: 44px; line-height: 1.25; letter-spacing: -0.01em; max-width: 14em; }
.page-lead { margin-top: 16px; font-size: 18px; max-width: 30em; }
.page-hero .hero-art { max-width: 280px; }

.prose p { max-width: 34em; }
.prose p + p { margin-top: 16px; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pair-item { border-top: 2px solid var(--olive); padding-top: 16px; }
.pair-item .tag { display: block; font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 10px; }
.pair-item h3 { font-size: 24px; margin-bottom: 10px; }

.method { border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.method .n { font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--accent); padding-top: 4px; }
.method h3 { font-size: 20px; margin-bottom: 6px; }
.method p { max-width: none; }
.method-result { margin-top: 20px; color: var(--text); font-weight: 500; max-width: 34em; }

.name-strip { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.name-title { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 14px; }
.name-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.name-cols dt { font-family: var(--font-en); font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.name-cols dd { font-size: 14.5px; line-height: 1.7; color: var(--text-2); }

.cta--simple { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta--simple .cta-actions { margin-top: 0; }
.cta--simple p { margin-top: 12px; }

@media (max-width: 960px) {
  .page-hero .hero-art { display: none; }
  .page-hero .hero-grid { grid-template-columns: 1fr; }
  .cta--simple { grid-template-columns: 1fr; gap: 20px; }
  .name-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 28px 0 28px; }
  .page-title { font-size: 32px; }
  .page-lead { font-size: 17px; }
  .pair { grid-template-columns: 1fr; gap: 26px; }
  .pair-item h3 { font-size: 22px; }
  .method li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
  .name-cols { grid-template-columns: 1fr; gap: 14px; }
  .name-cols dt { font-size: 20px; }
}

/* ---------- 服務項目頁 ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 44px; padding: 28px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--olive); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-head { display: flex; align-items: baseline; gap: 16px; }
.svc-head h2 { font-size: 28px; }
.svc-lead { font-size: 17px; color: var(--text); max-width: 32em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 3px 14px; font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.offer { display: flex; flex-direction: column; height: 100%; background: var(--bg); border: 1px solid var(--line-sand); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.offer-num { font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 10px; }
.offer h3 { margin-bottom: 10px; }
.offer p { max-width: none; }
.service-more { margin-top: 24px; }

@media (max-width: 960px) {
  .svc { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .svc { padding: 22px 0; }
  .svc-head h2 { font-size: 24px; }
}

/* ---------- 聯絡我們：表單 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius); }
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.field .opt, .field .req { font-weight: 400; font-size: 13px; color: var(--text-3); margin-left: 6px; }
.field .req { color: var(--accent); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--text);
  background: var(--white); border: 1px solid #858D83; border-radius: var(--radius);
  padding: 11px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--olive); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(63, 75, 64, 0.22); }
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F4B40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--accent); }
.field-error { display: none; font-size: 14px; color: var(--accent); margin-top: 6px; }
.field.has-error .field-error { display: block; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 24px; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin-top: 3px;
  border: 1px solid #858D83; border-radius: 4px; background: var(--white); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.consent input:hover { border-color: var(--olive); }
.consent input:checked {
  background-color: var(--olive); border-color: var(--olive);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 16px;
}
.consent input:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.consent label { font-size: 15px; color: var(--text-2); line-height: 1.7; margin: 0; font-weight: 400; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent-field.has-error .consent input { border-color: var(--accent); }
.consent-field .field-error { margin: -16px 0 18px 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: none; }
.form-status { display: none; border-radius: var(--radius); padding: 14px 18px; margin: 16px 0 0; font-size: 15px; line-height: 1.7; }
.form-status.is-show { display: block; }
.form-success { border: 2px solid var(--olive); background: var(--mist); border-radius: var(--radius); padding: 44px 32px; text-align: center; box-shadow: var(--shadow-sm); }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--olive); color: var(--white); margin-bottom: 18px; }
.form-success-icon .icon { width: 32px; height: 32px; stroke-width: 2.4; }
.form-success h2 { font-size: 26px; margin-bottom: 10px; }
.form-success p { max-width: none; color: var(--text); }
.form-success .form-success-sub { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.form-success .btn { margin-top: 22px; }
.form-status--ok { background: var(--mist); color: #2C3A2E; border: 1px solid #B7C4B3; }
.form-status--info { background: var(--bg); color: var(--text); border: 1px dashed #7C8A78; }
.form-status--err { background: #FBEEE9; color: #7A2D18; border: 1px solid #E3B7A8; }
.contact-info { position: sticky; top: 24px; }
.contact-info h2 { font-size: 24px; margin-bottom: 8px; }
.info-grid--one { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
.info-grid--one .info-item:first-child { border-top: 1px solid var(--olive); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { position: static; }
}
@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 16px; }
}

/* ---------- 聯絡我們：諮詢流程 ---------- */
.flow-box { position: sticky; top: 24px; padding-top: 4px; }
.flow-box h2 { font-size: 24px; margin-bottom: 24px; }
.flow { list-style: none; }
.flow li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 54px; bottom: 6px; width: 1px; background: var(--sage); }
.flow-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); border: 1px solid var(--sage); color: var(--olive); display: flex; align-items: center; justify-content: center; }
.flow-icon .icon { width: 22px; height: 22px; }
.flow-step { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 2px; }
.flow h3 { font-size: 18px; margin-bottom: 4px; }
.flow p { font-size: 15px; max-width: 24em; }

@media (max-width: 960px) {
  .flow-box { position: static; }
}

/* ---------- 人才專區 ---------- */
.facts { border-top: 1px solid var(--olive); }
.fact { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line-sand); align-items: baseline; }
.fact h3 { font-size: 18px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.note-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.note-card .icon { width: 28px; height: 28px; color: var(--olive); margin-bottom: 12px; }
.note-card h3 { font-size: 18px; margin-bottom: 8px; }
.note-card p { font-size: 15px; }
.note-card a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--olive); }
.fact p { max-width: 38em; color: var(--text-2); }
.fact a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--olive); }
@media (max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .fact { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .note-card { padding: 20px; }
}

/* ---------- 隱私權政策 ---------- */
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 24px; }
.toc-title { display: block; font-size: 14px; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 12px; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 15px; color: var(--text-2); line-height: 1.6; transition: color .2s ease, border-color .2s ease; }
.toc li a:hover { color: var(--text); border-left-color: var(--accent); }
.legal { max-width: 42em; }
.legal-intro { color: var(--text); padding-bottom: 8px; }
.legal section { scroll-margin-top: 24px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p { line-height: 1.9; max-width: none; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { list-style: none; }
.legal li { position: relative; padding-left: 20px; color: var(--text-2); line-height: 1.9; }
.legal li + li { margin-top: 6px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 8px; height: 1.5px; background: var(--accent); }
.legal strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--olive); }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { border-left: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
  .toc li a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; margin: 0; font-size: 14px; }
}

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

@media (max-width: 720px) {
  .offer-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .offer { padding: 20px; height: auto; }
}
