/* ==========================================================================
   Company website — 中英繁三语
   无外部依赖：不加载任何第三方字体/图标/CDN，保证速度、隐私与稳定性。
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #123a63;
  --ink: #16202b;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --accent: #1868db;
  --accent-dark: #12509f;
  --radius: 12px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          "PingFang HK", "PingFang SC", "Hiragino Sans", "Microsoft JhengHei",
          "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .4em; }

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

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 36px; width: auto; }
.brand-initials {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; letter-spacing: .01em; }
.brand-text small { color: var(--muted); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--ink); font-size: .94rem; font-weight: 500; padding: 6px 0;
  border-bottom: 2px solid transparent; text-decoration: none;
}
.nav-links a:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
.nav-links a.is-active { color: var(--navy); border-bottom-color: var(--navy); }

.lang-switch { display: flex; gap: 4px; padding-left: 20px; border-left: 1px solid var(--line); }
.lang-switch a {
  display: inline-block; min-width: 34px; text-align: center; padding: 4px 8px; border-radius: 6px;
  font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.lang-switch a:hover { background: var(--soft); color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; padding: 10px 9px;
  background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #0b2545 0%, #123a63 52%, #17436f 100%);
  padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 9vw, 104px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 340px at 88% 8%, rgba(70, 150, 255, .26), transparent 62%),
    radial-gradient(560px 300px at 4% 96%, rgba(255, 255, 255, .09), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 20em; }
.hero .eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.hero .lead { color: rgba(255, 255, 255, .87); font-size: clamp(1rem, 1.6vw, 1.16rem); max-width: 42em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ------------------------------------------------------------------ 通用块 */

.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); font-size: 1.04rem; max-width: 46em; margin-top: -.3em; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; transition: transform .12s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border-color: currentColor; color: inherit; }
.hero .btn.ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: #eef3f9; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 34px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); border-color: #cfd9e4; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .tag {
  display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}

.split { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stat-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 30px; }
.stat { border-left: 3px solid var(--accent); padding-left: 16px; }
.stat b { display: block; font-size: clamp(1.15rem, 1.5vw, 1.7rem); color: var(--navy); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .9rem; }

.timeline { list-style: none; padding: 0; margin: 26px 0 0; }
.timeline li { position: relative; padding: 0 0 22px 28px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff;
}
.timeline b { color: var(--navy); }

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: 16px; padding: clamp(30px, 5vw, 52px); margin: 8px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 22px; }

.notice {
  border-left: 4px solid #d9a406; background: #fffaf0; padding: 14px 18px; border-radius: 8px;
  font-size: .93rem; color: #6b5200;
}

/* -------------------------------------------------------------------- 表格 */

table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--navy); font-weight: 700; }

/* -------------------------------------------------------------------- 表单 */

.contact-grid { display: grid; gap: clamp(30px, 4vw, 56px); grid-template-columns: 1fr 1.1fr; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .96rem; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(24, 104, 219, .14); }
.field textarea { min-height: 140px; resize: vertical; }
.field .req { color: #c0392b; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-notice { border-left: 4px solid #d9a406; background: #fffaf0; padding: 12px 16px; border-radius: 8px; font-size: .9rem; }
.form-hint { font-size: .85rem; color: var(--muted); }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list b { display: block; color: var(--navy); font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); margin-top: 0; padding: 56px 0 26px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.site-footer a:hover { color: #fff; }
.f-brand { color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; margin-bottom: 6px; }
.f-legal { margin: 0 0 8px; font-size: .9rem; color: rgba(255, 255, 255, .62); }
.f-muted { color: rgba(255, 255, 255, .58); font-size: .9rem; }
.f-nav a { display: inline-block; margin-right: 14px; }
.f-social { margin-top: 10px; font-size: .9rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .84rem; color: rgba(255, 255, 255, .6);
}
.f-lang a { margin-left: 12px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  background: #25d366; color: #06331a !important; font-weight: 700; font-size: .9rem;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  text-decoration: none !important;
}

/* ------------------------------------------------------------------ 移动端 */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
    box-shadow: 0 18px 30px rgba(11, 37, 69, .12);
  }
  html.nav-open .site-nav { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a.is-active { border-bottom-color: var(--line); color: var(--accent); }
  .lang-switch { border-left: 0; padding: 14px 0 0; gap: 8px; }
  .lang-switch a { border: 1px solid var(--line); }
  .brand-text small { display: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .hero-cta { display: none; }
  body { color: #000; }
}
