/* Cayman-Hong Kong Corporate Services — steel blue theme */
:root {
  --steel: #4682b4;
  --steel-dark: #2e5f85;
  --steel-deep: #1f4460;
  --steel-light: #a8c6dd;
  --steel-pale: #eef4f9;
  --ink: #24313c;
  --ink-soft: #51616f;
  --line: #d5e2ec;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16.5px;
}

img { max-width: 100%; display: block; }

a { color: var(--steel-dark); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Language toggle ---------- */
.lang-zh { display: none; }
body.zh .lang-zh { display: revert; }
body.zh .lang-en { display: none; }

.lang-switch {
  border: 1px solid var(--steel-light);
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
  background: var(--white);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 5px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--steel-dark);
  font-family: inherit;
}
.lang-switch button.active {
  background: var(--steel);
  color: var(--white);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--steel-deep);
  color: #cfe0ee;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}

header.site {
  background: var(--white);
  border-bottom: 3px solid var(--steel);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(31, 68, 96, 0.08);
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }

nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 13px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
nav.main a:hover { background: var(--steel-pale); color: var(--steel-dark); }
nav.main a.current { background: var(--steel); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--steel-deep) url("../images/hero-bg.svg") center / cover no-repeat;
  color: var(--white);
  padding: 84px 0 92px;
  text-align: center;
}
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  color: var(--steel-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}
.hero p.sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  color: #dcE9f4;
}
.hero .cta {
  display: inline-block;
  margin-top: 34px;
  background: var(--white);
  color: var(--steel-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero .cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }

/* Page hero (interior pages) */
.page-hero {
  background: var(--steel-deep) url("../images/page-hero-bg.svg") center / cover no-repeat;
  color: var(--white);
  padding: 52px 0;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: 0.03em; }
.page-hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: var(--steel-light);
  margin-bottom: 8px;
}

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt {
  background: var(--steel-pale) url("../images/pattern-light.svg") repeat;
  background-size: 140px 140px;
}

h2.section {
  font-size: 26px;
  color: var(--steel-deep);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.rule {
  width: 56px;
  height: 4px;
  background: var(--steel);
  border-radius: 2px;
  margin: 0 0 26px;
}
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

.prose p { margin-bottom: 18px; color: var(--ink); }
.prose h3 { color: var(--steel-dark); margin: 26px 0 8px; font-size: 19px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 12px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--steel);
  border-radius: 8px;
  padding: 28px 26px;
  box-shadow: 0 2px 10px rgba(31, 68, 96, 0.06);
}
.card h3 { color: var(--steel-deep); font-size: 18px; margin-bottom: 10px; letter-spacing: 0.02em; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--steel);
}
.card .more:hover { color: var(--steel-deep); }

/* ---------- Feature list (services) ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pill {
  background: var(--white);
  border: 1px solid var(--steel-light);
  color: var(--steel-deep);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(31, 68, 96, 0.06);
  margin: 20px 0;
}
table.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  font-size: 14px;
  background: var(--white);
}
table.compare th, table.compare td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
table.compare thead th {
  background: var(--steel-deep);
  color: var(--white);
  letter-spacing: 0.03em;
  font-size: 13.5px;
  white-space: nowrap;
}
table.compare td:first-child, table.compare th:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--steel-deep);
  background: var(--steel-pale);
  min-width: 220px;
}
table.compare thead th:first-child { background: var(--steel-deep); color: var(--white); }
table.compare tbody tr:nth-child(even) td:not(:first-child) { background: #f7fafc; }
.table-note { font-size: 13.5px; color: var(--ink-soft); margin-top: -8px; }

/* ---------- People ---------- */
.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel);
  border-radius: 8px;
  padding: 24px 26px;
  box-shadow: 0 2px 10px rgba(31, 68, 96, 0.06);
}
.person h3 { color: var(--steel-deep); font-size: 19px; }
.person .role {
  color: var(--steel);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.person p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Article ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article .meta {
  color: var(--steel);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.back-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--steel);
}
.back-link:hover { color: var(--steel-deep); }

/* ---------- Strip / CTA band ---------- */
.band {
  background: var(--steel) url("../images/band-bg.svg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 48px 0;
}
.band h2 { font-size: 24px; letter-spacing: 0.04em; margin-bottom: 8px; }
.band p { color: #e2eef7; max-width: 680px; margin: 0 auto; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--steel-deep) url("../images/footer-bg.svg") center bottom / cover no-repeat;
  color: #b9cfe1;
  padding: 44px 0 28px;
  font-size: 14px;
}
footer.site .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 30px;
}
footer.site h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
footer.site a { color: #cfe0ee; text-decoration: none; }
footer.site a:hover { color: var(--white); text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 7px; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8fabc3;
}

@media (max-width: 720px) {
  .hero { padding: 60px 0 66px; }
  header.site .container { justify-content: center; }
  nav.main { justify-content: center; }
}
