/* 英駿 Preference — site styles. Design notes: DESIGN.md */
:root {
  --lacquer: #152033;
  --lacquer-2: #22304a;
  --lacquer-line: #34435e;
  --gold: #d2a13a;
  --gold-hover: #e2b452;
  --gold-ink: #8a6419;
  --gold-tint: #f6eedb;
  --porcelain: #f2f4f6;
  --rule: #dce1e7;
  --ink: #152033;
  --slate: #465263;
  --muted: #6b7686;
  --on-dark: #e8ecf1;
  --on-dark-muted: #a9b4c2;
  --white: #ffffff;
  --wa: #1d9e52;
  --wa-hover: #17853f;
  --danger: #b03a2e;
  --radius: 4px;
  --max: 1160px;
  --sans: "Chiron Hei HK", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  --serif: "Chiron Sung HK", "PMingLiU", "Songti TC", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--slate);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.35; letter-spacing: .02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.25; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.soft { background: var(--porcelain); }
.section.dark { background: var(--lacquer); color: var(--on-dark); }
.section.dark h2, .section.dark h3, .section.dark strong { color: var(--white); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.dark .lead { color: var(--on-dark-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--lacquer); color: var(--on-dark-muted); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar .facts { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar .lang a { border: 1px solid var(--lacquer-line); border-radius: var(--radius); padding: 1px 10px; margin-left: 14px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: .03em; }
.brand-text small { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--slate); text-decoration: none; padding: 8px 12px; font-size: 15.5px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.nav .btn { margin-left: 14px; border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--gold-ink); }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 16px; line-height: 1.4;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--lacquer); }
.btn-gold:hover { background: var(--gold-hover); color: var(--lacquer); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-hover); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.dark .btn-outline, .hero .btn-outline, .cta-band .btn-outline, .promo .btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.dark .btn-outline:hover, .hero .btn-outline:hover, .cta-band .btn-outline:hover, .promo .btn-outline:hover { background: var(--white); color: var(--lacquer); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Home hero ---------- */
.hero { background: var(--lacquer); color: var(--on-dark); padding: 88px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 54px); }
.nb { white-space: nowrap; }
/* keeps a short sentence on one row by shrinking it on narrow screens */
.one-line { white-space: nowrap; font-size: clamp(12px, 3.4vw, 1em); font-size: max(12px, min(1em, 3.55cqi)); }
p:has(> .one-line) { container-type: inline-size; }
.hero .sub { font-size: 19px; color: var(--on-dark-muted); max-width: 26em; margin-bottom: 32px; }
.hero-facts { list-style: none; margin: 80px 0 0; padding: 22px 0; border-top: 1px solid var(--lacquer-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; font-size: 15px; color: var(--on-dark-muted); }
.hero-facts strong { display: block; color: var(--white); font-family: var(--serif); font-size: 19px; font-weight: 700; }

.ask { background: var(--white); color: var(--slate); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(4, 10, 20, .35); }
.ask-head { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 26px 6px; }
.ask-head h2 { font-size: 24px; margin: 0; }
.ask-step { font-size: 14px; color: var(--muted); white-space: nowrap; }
.ask-options { list-style: none; margin: 0; padding: 10px 0; }
.ask-icon { width: 36px; height: 36px; grid-row: span 2; align-self: center; }
.ask-options a { display: grid; grid-template-columns: 36px 1fr; grid-auto-flow: row; gap: 0 16px; align-items: center; padding: 15px 26px; text-decoration: none; color: inherit; border-left: 3px solid transparent; }
.ask-options li + li a { border-top: 1px solid var(--rule); }
.ask-options a:hover, .ask-options a:focus-visible { background: var(--porcelain); border-left-color: var(--gold); outline: none; }
.ask-options .name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
.ask-options .desc { font-size: 15px; color: var(--muted); }
.ask-foot { padding: 14px 26px 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .ask { animation: settle .6s cubic-bezier(.2, .7, .2, 1) .15s both; }
  @keyframes settle { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Inner page head ---------- */
.page-hero { background: var(--lacquer); color: var(--on-dark); padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 46px); }
.page-hero p { color: var(--on-dark-muted); max-width: 34em; font-size: 18px; margin: 0; }
.page-hero a { color: var(--gold); }
.page-hero .container:has(.page-art) { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 56px; align-items: center; }
.page-hero .container:has(.page-art) > :not(.page-art) { grid-column: 1; }
.page-art { grid-column: 2; grid-row: 1 / span 4; width: 300px; height: auto; }
.page-hero p.aside-link { margin-top: 14px; font-size: 15.5px; padding-left: 12px; border-left: 2px solid var(--gold); }
.svc-art { width: 100%; max-width: 360px; height: auto; margin-top: 28px; }
.type-icon { width: 40px; height: 40px; margin-bottom: 12px; }
@media (max-width: 760px) {
  .page-hero .container:has(.page-art) { grid-template-columns: 1fr; }
  .page-art { grid-column: 1; grid-row: auto; width: 220px; margin-top: 28px; }
}
.crumbs { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 16px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Services (definition list) ---------- */
.svc { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.svc-intro { position: sticky; top: 110px; }
.svc-list { margin: 0; border-top: 1px solid var(--rule); }
.svc-list div { display: grid; grid-template-columns: 11em 1fr; gap: 6px 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.svc-list dt { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.svc-list dd { margin: 0; }

.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--ink); }
.types a { display: block; padding: 22px 24px 26px 0; text-decoration: none; color: var(--slate); }
.types a + a { padding-left: 24px; border-left: 1px solid var(--rule); }
.types .name { display: block; font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.types a:hover .name { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.types span:last-child { font-size: 15px; color: var(--muted); }

/* ---------- Pricing table ---------- */
.tariff-wrap { overflow-x: auto; }
.tariff { width: 100%; border-collapse: collapse; min-width: 560px; }
.tariff th, .tariff td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--lacquer-line); vertical-align: top; }
.tariff thead th { font-family: var(--serif); font-size: 21px; color: var(--white); border-bottom: 1px solid var(--gold); }
.tariff thead th small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--gold); }
.tariff tbody th { font-weight: 400; color: var(--on-dark-muted); width: 22%; }
.tariff td { color: var(--on-dark); }
.tariff .price td { font-family: var(--serif); font-size: 30px; color: var(--gold); white-space: nowrap; }
.tariff .price td small { font-family: var(--sans); font-size: 15px; color: var(--on-dark-muted); }
.tariff .rec { background: var(--lacquer-2); }

/* ---------- Process (a real sequence) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; background: var(--gold); }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--porcelain); border: 1px solid var(--gold); color: var(--ink); font-family: var(--serif); font-weight: 700; margin-bottom: 18px; position: relative;
}
.section:not(.soft) .steps li::before { background: var(--white); }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ---------- Generic blocks used on inner pages ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s; }
a.card:hover { border-color: var(--ink); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; font-weight: 700; color: var(--gold-ink); font-size: 15px; }
.icon { font-size: 26px; line-height: 1; margin-bottom: 14px; }
.icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.panel { background: var(--porcelain); border-radius: var(--radius); padding: 30px; }
.section.soft .panel { background: var(--white); border: 1px solid var(--rule); }
.panel h3 { font-size: 20px; }
.prose { max-width: 36em; }
.prose h2 { font-size: 27px; margin-top: 1.7em; }
.prose ul { padding-left: 1.2em; }
.note { background: var(--gold-tint); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; }

.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.check li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.dark .check li { color: var(--on-dark); }
/* Two matching lists side by side: every item is a title line + a one-line note, so rows line up */
.list-head { display: flex; align-items: center; gap: 12px; font-size: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.list-head img { width: 36px; height: 36px; flex: none; }
.pair-list li { display: flex; flex-direction: column; min-height: 4.1em; justify-content: center; margin: 0; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.pair-list li:last-child { border-bottom: 0; }
.pair-list li::before { top: 1.25em; }
.pair-list strong { line-height: 1.5; }
.pair-list span { font-size: 15px; color: var(--muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .pair-list span { white-space: normal; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0 0 1em; }
.chips li { border: 1px solid var(--rule); color: var(--ink); border-radius: var(--radius); padding: 3px 12px; font-size: 14.5px; background: var(--white); }
.chips.small li { font-size: 13px; padding: 1px 8px; }

.job { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.job h3 { font-size: 19px; margin-bottom: 2px; }
.job .meta { font-size: 15px; color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: 13px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 0 8px; margin-right: 6px; color: var(--ink); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); padding: 20px 36px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { color: var(--slate); padding-bottom: 8px; }

.cta-band { background: var(--lacquer); color: var(--on-dark); border-radius: var(--radius); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--on-dark-muted); }

/* ---------- Articles ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-body { max-width: 40em; min-width: 0; }
.article-body h2 { font-size: 27px; margin-top: 1.8em; }
.article-side { position: sticky; top: 110px; }
.article-side .btn { margin-top: 4px; }
.table-wrap { overflow-x: auto; margin: 8px 0 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
table.data thead th { font-family: var(--serif); color: var(--ink); border-bottom: 1px solid var(--ink); }
table.data tbody th { color: var(--ink); white-space: nowrap; }
table.data td:nth-child(2) { font-family: var(--serif); font-weight: 700; color: var(--ink); white-space: nowrap; }
.sources { padding-left: 1.2em; font-size: 15px; }
.sources li { margin-bottom: 4px; }
.article .faq { margin-top: 8px; }
@media (max-width: 1020px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-side { position: static; }
}

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.form label .req { color: var(--danger); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c3cbd5; border-radius: var(--radius); font: inherit; font-size: 16px; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { font-size: 14.5px; color: var(--muted); }
.form-msg { min-height: 1.5em; font-weight: 700; color: var(--gold-ink); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px; color: var(--muted) !important; }
.consent input { width: auto; margin-top: 7px; accent-color: var(--gold); }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c3cbd5; border-radius: var(--radius); padding: 6px 14px; cursor: pointer; font-weight: 400; margin: 0; background: var(--white); color: var(--slate); }
.pills input { width: auto; margin: 0; accent-color: var(--gold); }
.pills label:has(input:checked) { border-color: var(--ink); color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); }
.form-section { font-size: 24px; display: flex; align-items: center; gap: 12px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.form-section span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 16px; }
.form input[type=file] { padding: 9px; background: var(--porcelain); }
.photo-preview { max-height: 110px; border-radius: var(--radius); margin-top: 8px; border: 1px solid var(--rule); }
.history-row { border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.history-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.link-btn { background: none; border: 0; color: var(--danger); cursor: pointer; font: inherit; font-size: 14px; text-decoration: underline; }
label.inline { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 400 !important; margin-top: 6px; }
label.inline input { width: auto; }
.promo { background: var(--lacquer); color: var(--on-dark); border-radius: var(--radius); padding: 32px 34px; }
.promo h2 { color: var(--white); font-size: 26px; }
.promo ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.promo li { padding-left: 22px; position: relative; color: var(--on-dark); }
.promo li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 8px; background: var(--gold); }
.promo strong { color: var(--gold); }
.success-box { padding: 48px 32px; border: 1px solid var(--rule); border-top: 3px solid var(--gold); border-radius: var(--radius); }

/* ---------- Contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.info-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.info-list .k { min-width: 6em; font-weight: 700; color: var(--ink); }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* ---------- Matching questionnaire ---------- */
.finder { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.finder-head { display: flex; align-items: center; gap: 18px; padding: 20px 28px; border-bottom: 1px solid var(--rule); }
.finder-bar { flex: 1; display: flex; gap: 4px; }
.finder-bar span { flex: 1; height: 3px; background: var(--rule); }
.finder-bar span.done { background: var(--ink); }
.finder-bar span.active { background: var(--gold); }
.finder-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.finder-body { padding: 30px 28px 14px; }
.finder-foot { display: flex; justify-content: space-between; padding: 18px 28px 26px; gap: 12px; }
.finder-foot .btn-gold { margin-left: auto; }
.step-title { display: flex; align-items: baseline; gap: 12px; font-size: 26px; margin-bottom: 4px; }
.snum { font-size: 15px; color: var(--gold-ink); font-family: var(--sans); font-weight: 700; }
.step-hint { color: var(--muted); font-size: 15.5px; margin: 0 0 20px; }
.field-label { font-weight: 700; font-size: 15px; color: var(--ink); margin: 22px 0 10px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px; border: 1px solid #c3cbd5; border-radius: var(--radius); background: var(--white); cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); text-align: left; }
.opt:hover { border-color: var(--ink); }
.opt.sel { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); background: var(--porcelain); }
.opt-icon { display: none; }
.opt-img { width: 36px; height: 36px; margin-bottom: 8px; }
.opt-sub { font-size: 14px; color: var(--muted); font-weight: 400; line-height: 1.5; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #c3cbd5; border-radius: var(--radius); padding: 8px 18px; background: var(--white); cursor: pointer; font: inherit; font-size: 16px; color: var(--slate); }
.chip.sel { border-color: var(--ink); color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); background: var(--porcelain); }
.tog-row { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.tog { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; font: inherit; text-align: left; }
.tog-label { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.tog-label small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.tog-check { width: 22px; height: 22px; border-radius: var(--radius); border: 1px solid #a9b3bf; color: transparent; display: grid; place-items: center; font-size: 13px; flex: none; }
.tog.sel .tog-check { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.salary-card { background: var(--lacquer); color: var(--white); border-radius: var(--radius); padding: 30px 32px; margin-bottom: 18px; }
.salary-label { color: var(--on-dark-muted); font-size: 15px; }
.salary-amount { font-family: var(--serif); font-size: clamp(38px, 6vw, 54px); color: var(--gold); font-weight: 700; line-height: 1.25; }
.salary-range { color: var(--on-dark-muted); font-size: 15px; }
.driver-card .driver-code { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink); }
.driver-card .meta { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.plans .plan { position: relative; display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; background: var(--white); border: 1px solid #c3cbd5; border-radius: var(--radius); padding: 26px; cursor: pointer; }
.plans .plan:hover { border-color: var(--ink); }
.plans .plan.sel { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--gold); }
.plan-badge { position: absolute; top: 26px; right: 26px; font-size: 13px; font-weight: 700; color: var(--gold-ink); }
.plan-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); }
.plan-price { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--ink); margin: 4px 0 12px; }
.plan-price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 400; }
.plan-price .was { font-size: 16px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.plan-list li { display: flex; gap: 10px; }
.plan-list li span { color: var(--wa); font-weight: 700; width: 14px; flex: none; }
.plan-list li.no span { color: var(--danger); }

/* ---------- Footer ---------- */
.footer { background: #0e1726; color: var(--on-dark-muted); padding: 64px 0 26px; font-size: 15px; }
.footer h4 { color: var(--white); font-size: 16px; margin: 0 0 12px; font-family: var(--serif); }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer-logo { width: 52px; height: 52px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-bottom { border-top: 1px solid var(--lacquer-line); margin-top: 44px; padding-top: 18px; font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--wa); color: var(--white); text-decoration: none; font-weight: 700; border-radius: 99px; padding: 12px 20px 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.wa-float:hover { background: var(--wa-hover); color: var(--white); }
.wa-float svg { width: 24px; height: 24px; fill: var(--white); }

/* ---------- Preview-only marker for unconfirmed content ---------- */
.stats { text-align: left; }
.stats strong { display: block; font-family: var(--serif); font-size: 40px; color: var(--ink); }
.stats span { color: var(--muted); }
.unverified { outline: 2px dashed #c0392b; outline-offset: -2px; position: relative; }
.unverified::before { content: "待確認內容：只在預覽顯示，正式網站不會出現"; position: absolute; top: 6px; left: 6px; z-index: 2; background: #c0392b; color: #fff; font-size: 12px; padding: 2px 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 64px; }
  .hero-facts { margin-top: 56px; grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .svc-intro { position: static; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .types a:nth-child(3) { padding-left: 0; border-left: 0; }
  .types a:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 1px; height: auto; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding-bottom: 26px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .form { grid-template-columns: 1fr; }
  .svc-list div { grid-template-columns: 1fr; }
  .types { grid-template-columns: 1fr; }
  .types a, .types a + a { padding-left: 0; border-left: 0; }
  .types a + a { border-top: 1px solid var(--rule); }
  .ask-options a { padding: 14px 20px; }
  .ask-head, .ask-foot { padding-left: 20px; padding-right: 20px; }
  .cta-band { padding: 32px 22px; }
  .finder-body { padding: 24px 18px 10px; }
  .finder-head, .finder-foot { padding-left: 18px; padding-right: 18px; }
  .promo { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .topbar .lang a { margin-left: 0; }
}

/* Confirmation pop-up after an employer form is sent (layout.html #thanks, main.js PRA.thanks) */
.thanks { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 0; border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 36px 32px 28px; background: var(--white); color: var(--ink); text-align: center; box-shadow: 0 24px 60px rgba(21, 32, 51, .28); }
.thanks::backdrop { background: rgba(21, 32, 51, .62); }
.thanks-mark { width: 52px; height: 52px; margin: 0 auto 16px; display: block; fill: none; stroke: var(--gold-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thanks-mark circle { stroke: var(--gold); }
.thanks h2 { font-family: var(--serif); font-size: 23px; line-height: 1.45; margin: 0 0 10px; }
.thanks-lead { color: var(--gold-ink); font-weight: 600; margin: 0 0 12px; }
.thanks p { margin: 0 0 12px; color: var(--slate); }
.thanks-ref strong { color: var(--ink); letter-spacing: .04em; }
.thanks-help { font-size: 14px; color: var(--muted); padding-top: 14px; margin-top: 18px !important; border-top: 1px solid var(--rule); }
.thanks .btn { margin-top: 10px; min-width: 140px; }
@media (max-width: 480px) { .thanks { padding: 28px 20px 22px; } .thanks h2 { font-size: 20px; } }
.tariff-note { margin-top: 20px; max-width: 46em; color: var(--on-dark-muted); font-size: 15.5px; }
.plans-note { margin: 0 0 32px; padding: 14px 16px; background: var(--gold-tint); border-left: 3px solid var(--gold); border-radius: var(--radius); color: var(--slate); font-size: 15px; }
/* 英駿服務承諾: a company-wide promise shown above the plans, not a plan feature */
.promise { margin: 0 0 24px; padding: 18px 22px; border: 1px solid var(--gold); border-left-width: 4px; border-radius: var(--radius); background: rgba(210, 161, 58, .10); }
.promise strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--gold); margin-bottom: 6px; }
.promise p { margin: 0; color: var(--on-dark); }
.promise.light { background: var(--gold-tint); margin-top: 16px; }
.promise.light strong { color: var(--gold-ink); }
.promise.light p { color: var(--ink); }
.tariff-note strong { color: var(--gold); }
