:root {
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --crimson: #9b2433;
  --crimson-deep: #6f1824;
  --gold: #b8925a;
  --gold-soft: #e8d7b8;
  --sand: #faf8f5;
  --paper: #ffffff;
  --card: #ffffff;
  --line: #ebe4da;
  --muted: #6b7280;
  --shadow: 0 16px 40px rgba(26, 35, 50, 0.07);
  --max: 1120px;
  --serif: "Noto Serif TC", "Songti TC", "PingFang HK", serif;
  --sans: "Noto Sans TC", "PingFang HK", "Source Sans 3", sans-serif;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--crimson); }
button, input, select, textarea { font-family: inherit; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--crimson); color: #fff;
  padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
body.lang-th, body.lang-th button, body.lang-th input, body.lang-th select, body.lang-th textarea {
  font-family: "Noto Sans Thai", "Noto Sans", var(--sans);
}
body.lang-ru, body.lang-fr, body.lang-es, body.lang-vi, body.lang-en {
  font-family: "Noto Sans", var(--sans);
}
body.lang-ru h1, body.lang-ru h2, body.lang-ru h3, body.lang-ru h4,
body.lang-fr h1, body.lang-fr h2, body.lang-fr h3, body.lang-fr h4,
body.lang-es h1, body.lang-es h2, body.lang-es h3, body.lang-es h4,
body.lang-vi h1, body.lang-vi h2, body.lang-vi h3, body.lang-vi h4,
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en h4,
body.lang-th h1, body.lang-th h2, body.lang-th h3, body.lang-th h4 {
  font-family: "Noto Sans", "Noto Sans Thai", var(--serif);
}


/* multilingual: zh (default) | en | fr | vi | th | ru | es
   CSS alone hides non-zh; JS only switches body.lang-* .
   !important so layout rules (.service strong, .meta b, label, etc.) cannot un-hide. */
.en, .fr, .vi, .th, .ru, .es,
.en-inline, .fr-inline, .vi-inline, .th-inline, .ru-inline, .es-inline {
  display: none !important;
}
.zh-inline { display: inline; }

/* Active language: hide every other language (incl. zh), show only the active one */
body.lang-en .zh, body.lang-en .zh-inline,
body.lang-en .fr, body.lang-en .fr-inline,
body.lang-en .vi, body.lang-en .vi-inline,
body.lang-en .th, body.lang-en .th-inline,
body.lang-en .ru, body.lang-en .ru-inline,
body.lang-en .es, body.lang-en .es-inline { display: none !important; }

body.lang-fr .zh, body.lang-fr .zh-inline,
body.lang-fr .en, body.lang-fr .en-inline,
body.lang-fr .vi, body.lang-fr .vi-inline,
body.lang-fr .th, body.lang-fr .th-inline,
body.lang-fr .ru, body.lang-fr .ru-inline,
body.lang-fr .es, body.lang-fr .es-inline { display: none !important; }

body.lang-vi .zh, body.lang-vi .zh-inline,
body.lang-vi .en, body.lang-vi .en-inline,
body.lang-vi .fr, body.lang-vi .fr-inline,
body.lang-vi .th, body.lang-vi .th-inline,
body.lang-vi .ru, body.lang-vi .ru-inline,
body.lang-vi .es, body.lang-vi .es-inline { display: none !important; }

body.lang-th .zh, body.lang-th .zh-inline,
body.lang-th .en, body.lang-th .en-inline,
body.lang-th .fr, body.lang-th .fr-inline,
body.lang-th .vi, body.lang-th .vi-inline,
body.lang-th .ru, body.lang-th .ru-inline,
body.lang-th .es, body.lang-th .es-inline { display: none !important; }

body.lang-ru .zh, body.lang-ru .zh-inline,
body.lang-ru .en, body.lang-ru .en-inline,
body.lang-ru .fr, body.lang-ru .fr-inline,
body.lang-ru .vi, body.lang-ru .vi-inline,
body.lang-ru .th, body.lang-ru .th-inline,
body.lang-ru .es, body.lang-ru .es-inline { display: none !important; }

body.lang-es .zh, body.lang-es .zh-inline,
body.lang-es .en, body.lang-es .en-inline,
body.lang-es .fr, body.lang-es .fr-inline,
body.lang-es .vi, body.lang-es .vi-inline,
body.lang-es .th, body.lang-es .th-inline,
body.lang-es .ru, body.lang-es .ru-inline { display: none !important; }

/* Show helpers — block by default; inline / table-cell / list-item where needed */
body.lang-en .en { display: block !important; }
body.lang-en td.en, body.lang-en th.en { display: table-cell !important; }
body.lang-en span.en, body.lang-en a.en, body.lang-en label.en,
body.lang-en em.en, body.lang-en small.en, body.lang-en button.en { display: inline !important; }
body.lang-en li.en, body.lang-en summary.en { display: list-item !important; }
body.lang-en .en-inline, body.lang-en span.en-inline, body.lang-en .pill.en-inline { display: inline !important; }
body.lang-en option.en { display: block !important; }

body.lang-fr .fr { display: block !important; }
body.lang-fr td.fr, body.lang-fr th.fr { display: table-cell !important; }
body.lang-fr span.fr, body.lang-fr a.fr, body.lang-fr label.fr,
body.lang-fr em.fr, body.lang-fr small.fr, body.lang-fr button.fr { display: inline !important; }
body.lang-fr li.fr, body.lang-fr summary.fr { display: list-item !important; }
body.lang-fr .fr-inline, body.lang-fr span.fr-inline, body.lang-fr .pill.fr-inline { display: inline !important; }
body.lang-fr option.fr { display: block !important; }

body.lang-vi .vi { display: block !important; }
body.lang-vi td.vi, body.lang-vi th.vi { display: table-cell !important; }
body.lang-vi span.vi, body.lang-vi a.vi, body.lang-vi label.vi,
body.lang-vi em.vi, body.lang-vi small.vi, body.lang-vi button.vi { display: inline !important; }
body.lang-vi li.vi, body.lang-vi summary.vi { display: list-item !important; }
body.lang-vi .vi-inline, body.lang-vi span.vi-inline, body.lang-vi .pill.vi-inline { display: inline !important; }
body.lang-vi option.vi { display: block !important; }

body.lang-th .th { display: block !important; }
body.lang-th td.th, body.lang-th th.th { display: table-cell !important; }
body.lang-th span.th, body.lang-th a.th, body.lang-th label.th,
body.lang-th em.th, body.lang-th small.th, body.lang-th button.th { display: inline !important; }
body.lang-th li.th, body.lang-th summary.th { display: list-item !important; }
body.lang-th .th-inline, body.lang-th span.th-inline, body.lang-th .pill.th-inline { display: inline !important; }
body.lang-th option.th { display: block !important; }
body.lang-th { line-height: 1.85; }

body.lang-ru .ru { display: block !important; }
body.lang-ru td.ru, body.lang-ru th.ru { display: table-cell !important; }
body.lang-ru span.ru, body.lang-ru a.ru, body.lang-ru label.ru,
body.lang-ru em.ru, body.lang-ru small.ru, body.lang-ru button.ru { display: inline !important; }
body.lang-ru li.ru, body.lang-ru summary.ru { display: list-item !important; }
body.lang-ru .ru-inline, body.lang-ru span.ru-inline, body.lang-ru .pill.ru-inline { display: inline !important; }
body.lang-ru option.ru { display: block !important; }

body.lang-es .es { display: block !important; }
body.lang-es td.es, body.lang-es th.es { display: table-cell !important; }
body.lang-es span.es, body.lang-es a.es, body.lang-es label.es,
body.lang-es em.es, body.lang-es small.es, body.lang-es button.es { display: inline !important; }
body.lang-es li.es, body.lang-es summary.es { display: list-item !important; }
body.lang-es .es-inline, body.lang-es span.es-inline, body.lang-es .pill.es-inline { display: inline !important; }
body.lang-es option.es { display: block !important; }

/* strong/b keep block when lang-tagged (service titles, meta) */
body.lang-en strong.en, body.lang-en b.en,
body.lang-fr strong.fr, body.lang-fr b.fr,
body.lang-vi strong.vi, body.lang-vi b.vi,
body.lang-th strong.th, body.lang-th b.th,
body.lang-ru strong.ru, body.lang-ru b.ru,
body.lang-es strong.es, body.lang-es b.es { display: block !important; }


.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 760px; }

.topbar {
  background: var(--ink);
  color: #f3efe8;
  font-size: 13px;
}
.topbar-inner {
  display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; align-items: center;
}
.topbar a { color: #f3efe8; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-links { display: flex; gap: 14px; flex-wrap: wrap; }

header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; flex: 1 1 auto; max-width: min(280px, 52%);
  text-decoration: none; color: inherit;
}
.brand .logo-mark {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
}
.brand .logo { height: 52px; width: auto; } /* legacy wide header PNG, unused */
.brand-text {
  display: flex; flex-direction: column; line-height: 1.15; min-width: 0;
}
.brand-name {
  font-weight: 700; font-size: 15px; color: var(--ink);
  letter-spacing: 0.02em; white-space: nowrap;
}
.brand-sub {
  font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 1px;
}
.brand-en {
  font-size: 10px; color: var(--muted); font-weight: 500;
  letter-spacing: 0.01em; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}
.foot-mark { width: 48px; height: 48px; margin-bottom: 10px; }
.menu { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.menu a {
  padding: 8px 6px; font-size: 13px; color: var(--ink-soft); border-radius: 8px; font-weight: 500;
  white-space: nowrap;
}
.menu a:hover, .menu a.active { color: var(--crimson); background: #f8efe9; }
.nav-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
select.lang {
  appearance: auto; -webkit-appearance: menulist;
  max-width: 84px; padding: 5px 6px;
}
.lang, .menu-btn {
  border: 1px solid var(--line); background: white; border-radius: 999px;
  padding: 6px 10px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 12.5px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--crimson); color: white !important; border: 0; border-radius: 999px;
  padding: 11px 18px; font-weight: 600; cursor: pointer; font-size: 14.5px;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.06); color: white !important; }
.btn.ghost { background: transparent; color: white !important; border: 1px solid rgba(255,255,255,0.55); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }
.btn.ghost-dark { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn.line { background: white; color: var(--crimson) !important; border: 1px solid #e7cfcb; }
.btn-ghost-nav { background: #f8efe9; color: var(--crimson) !important; }
.menu-btn { display: none; }

.hero {
  position: relative; min-height: 560px; color: white;
  background: #1b2433 center/cover no-repeat;
  display: flex; align-items: center;
  padding: 56px 0 64px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(16,18,28,0.88) 0%, rgba(16,18,28,0.55) 55%, rgba(16,18,28,0.35) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: stretch;
}
.kicker, .eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  letter-spacing: 0.12em; font-size: 12px; text-transform: uppercase; font-weight: 700;
}
.hero .kicker {
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 6px 12px; color: var(--gold-soft);
}
.eyebrow { color: var(--crimson); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.28; font-weight: 700; margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 640px; margin-top: 16px; }
.hero p.lead { max-width: 560px; font-size: 17.5px; color: #f4efe8; margin: 0 0 8px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-card {
  background: rgba(255,255,255,0.96); color: var(--ink); border-radius: 20px;
  padding: 26px 24px; box-shadow: var(--shadow); align-self: center;
}
.hero-card .eyebrow { margin: 0 0 8px; }
.hero-card h2 { font-size: 22px; }
.checklist { list-style: none; padding: 0; margin: 14px 0 20px; }
.checklist li {
  padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 14.5px;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--crimson); box-shadow: inset 0 0 0 3px #f8efe9;
}

.trust-strip { margin-top: -28px; position: relative; z-index: 2; padding-bottom: 8px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.trust-grid > div, .about-stats > div { background: white; padding: 20px 16px; }
.trust-grid strong, .about-stats strong {
  display: block; font-family: var(--serif); font-size: 24px; color: var(--crimson); margin-bottom: 4px;
}
.trust-grid span, .about-stats span { color: var(--muted); font-size: 13px; }

section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.muted { color: var(--ink-soft); }

.cards { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-1 { grid-template-columns: 1fr; }
.card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.card.path { transition: border-color .15s, box-shadow .15s; }
.card.path:hover { border-color: #e7cfcb; box-shadow: var(--shadow); }
.card h3, .card h2 { font-size: 22px; }
.num { color: var(--gold); font-family: var(--serif); font-size: 13px; letter-spacing: 0.08em; margin: 0 0 8px; font-weight: 700; }
.text-link { color: var(--crimson) !important; font-weight: 600; font-size: 14.5px; display: inline-block; margin-top: 10px; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pill { background: #f3ebe3; color: var(--crimson-deep); border-radius: 999px; padding: 5px 10px; font-size: 13px; }

.band { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
a.service, .service {
  display: block; background: var(--sand); border-radius: 14px; padding: 18px; border: 1px solid transparent;
  color: inherit;
}
a.service:hover { border-color: var(--gold-soft); background: white; color: var(--ink); box-shadow: var(--shadow); }
.service strong { display: block; font-family: var(--serif); margin-bottom: 6px; font-size: 17px; }
.service span { color: var(--muted); font-size: 14px; }

.feature {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: var(--ink); color: white;
  border-radius: 22px; overflow: hidden;
}
.feature .copy { padding: 36px; }
.feature .copy p { color: #e7e1d8; }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature .kicker { color: var(--gold-soft); border-color: rgba(255,255,255,0.25); }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.meta div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px 12px; }
.meta b { display: block; color: var(--gold-soft); font-size: 13px; font-weight: 600; }

.cta-banner {
  display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap;
  background: white; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px;
  box-shadow: var(--shadow);
}
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.page-hero { padding: 48px 0 12px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }

.table { width: 100%; border-collapse: collapse; background: white; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: #faf7f2; font-weight: 650; width: 26%; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

.eight-list {
  columns: 2; gap: 28px; padding-left: 22px; margin: 18px 0 0;
}
.eight-list li { break-inside: avoid; margin-bottom: 10px; }

form.enquiry { display: grid; gap: 12px; }
.form-card { box-shadow: var(--shadow); }
label { font-size: 14px; font-weight: 650; display: block; margin-bottom: 4px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: white; font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #e7cfcb; border-color: var(--crimson); }
textarea { min-height: 120px; resize: vertical; }
.note { font-size: 13.5px; color: var(--muted); }

.faq-block details {
  background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
}
.faq-block summary { cursor: pointer; font-weight: 650; font-family: var(--serif); font-size: 17px; }
.faq-block details p { margin: 10px 0 4px; color: var(--ink-soft); }


/* pathway / case cards */
.card.case { position: relative; padding-top: 28px; }
.case-badge {
  display: inline-flex; align-items: center;
  background: #f8efe9; color: var(--crimson-deep);
  border: 1px solid #e7cfcb; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; margin-bottom: 8px;
}
.case-steps {
  list-style: none; padding: 0; margin: 14px 0;
}
.case-steps li {
  position: relative; padding: 8px 0 8px 18px;
  border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: 15px;
}
.case-steps li:last-child { border-bottom: 0; }
.case-steps li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.source-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.source-list li {
  background: white; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: 14.5px;
}
.source-list a { color: var(--crimson); font-weight: 600; }
.source-list a:hover { text-decoration: underline; }

.policy-table th, .policy-table td { white-space: nowrap; font-size: 13.5px; }
.policy-table th:first-child, .policy-table td:first-child { white-space: normal; min-width: 9em; }
.disclaimer-box {
  background: #fff8f0; border: 1px solid #f0d7b8; border-radius: 12px;
  padding: 14px 16px; margin-top: 12px; font-size: 14px; color: var(--ink-soft);
}
@media (max-width: 1100px) {
  .menu a { font-size: 13px; padding: 8px 6px; }
}

footer {
  background: #101722; color: #d9d3cb; padding: 42px 0 22px; font-size: 14.5px;
}
footer a { color: #f3efe8; }
footer a:hover { color: var(--gold-soft); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { color: #fff; font-size: 15px; }
.legal { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 26px; padding-top: 14px; color: #9aa3af; font-size: 12.5px; }

.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  background: #128C7E; color: white !important; border-radius: 999px;
  padding: 12px 16px; font-weight: 700; box-shadow: 0 10px 28px rgba(18,140,126,.35);
}
.wa:hover { filter: brightness(1.06); color: white !important; }
.map-card { background: white; border-radius: 16px; padding: 8px; border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 300px; border: 0; border-radius: 12px; }


/* FLTRP New HSK authorisation letter */
.frame.cert {
  background: #f7f3ee;
  border: 1px solid var(--line);
}
.frame.cert img {
  object-fit: contain;
  min-height: 0;
  max-height: 520px;
  width: 100%;
  height: auto;
  display: block;
  background: #f7f3ee;
}
.auth-split {
  align-items: start;
}
@media (max-width: 980px) {
  .frame.cert img { max-height: none; }
}

@media (max-width: 980px) {
  .hero-grid, .trust-grid, .cards-3, .cards-2, .service-grid, .foot, .about-stats { grid-template-columns: 1fr 1fr; }
  .split, .feature { grid-template-columns: 1fr; }
  .eight-list { columns: 1; }
  .menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: white;
    border-bottom: 1px solid var(--line); padding: 10px 18px 16px; flex-direction: column; align-items: stretch;
  }
  .menu.open { display: flex; }
  .menu-btn { display: inline-flex; }
  .nav { position: relative; }
  .btn-ghost-nav { display: none; }
}
@media (max-width: 640px) {
  .trust-grid, .cards-3, .cards-2, .service-grid, .foot, .meta, .about-stats, .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 40px 0 48px; }
  .wrap, .topbar-inner { width: min(var(--max), calc(100% - 28px)); }
  .wa span.wa-label { display: none; }
  .wa { padding: 14px; }
  .topbar-inner > span { display: none; }
  .brand { max-width: calc(100% - 120px); gap: 8px; }
  .brand .logo-mark { width: 36px; height: 36px; }
  .brand-name {
    font-size: 13.5px; white-space: normal; max-width: 11em;
    line-height: 1.2;
  }
  .brand-en { display: none; }
}
