:root {
  --ink: #1f2933;
  --body: #4a5560;
  --muted: #7b8794;
  --line: #e6e9ed;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --brand: #1e3a5f;
  --brand-soft: #eef3f8;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--ink); text-decoration: none; }
.topbar .contacts { display: flex; gap: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; display: block; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  position: relative;
  color: var(--body);
  font-size: 15px;
  padding: 24px 0;
}
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 88px;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero h1 {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.2;
}
.hero p { margin: 0; max-width: 640px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--brand);
  transition: background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #16304f; }
.btn-ghost { background: #fff; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }

/* ---------- Sections ---------- */
section { padding: 88px 0; scroll-margin-top: 72px; }
.section-line { border-top: 1px solid var(--line); }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.3; }
h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 16px;
  background: var(--brand);
}
h3 { margin: 0 0 8px; font-size: 18px; }
.lead { margin: 0; font-size: 17px; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.about p { margin: 0 0 16px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; font-size: 15px; text-align: right; }

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.card { padding: 36px 28px; border-right: 1px solid var(--line); }
.card:last-child { border-right: 0; }
.card p { margin: 0; font-size: 15px; }
.num {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brand);
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { padding-top: 20px; border-top: 2px solid var(--line); }
.steps li::before {
  counter-increment: step;
  content: "Step " counter(step);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.steps li:first-child { border-top-color: var(--brand); }
.steps p { margin: 0; font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.contact-table th,
.contact-table td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.contact-table th { width: 120px; padding-right: 16px; color: var(--muted); font-size: 14px; font-weight: 500; }
.contact-table td { color: var(--ink); font-size: 16px; }

/* ---------- Legal pages ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 56px 0 48px; }
.page-head .wrap { max-width: 820px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 36px); }
.page-head p { margin: 0; color: var(--muted); font-size: 15px; }
.legal { padding: 48px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 19px; margin: 36px 0 8px; }
.legal h2::after { display: none; }
.legal p { margin: 0 0 14px; }
.legal address { font-style: normal; padding: 18px 22px; border-left: 2px solid var(--brand); background: var(--bg-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-cols h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.footer-cols p { margin: 0 0 6px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 6px; }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--brand); }
.site-footer .brand { margin-bottom: 12px; font-size: 17px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom p { margin: 0; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(2) { border-right: 0; }
  .card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .topbar .location { display: none; }
  .site-header .wrap { height: 60px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; padding: 18px 0; }
  .nav .hide-sm { display: none; }
  .brand { font-size: 17px; }
  .brand img { width: 26px; height: 26px; }
  .hero { padding: 64px 0 56px; }
  .hero p { font-size: 16px; }
  section { padding: 60px 0; scroll-margin-top: 60px; }
  .section-head { margin-bottom: 32px; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 22px; }
  .card:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .contact-table th { width: 84px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
}
