/* ==========================================================================
   Company site — global stylesheet
   Static site. No external fonts, no CDN, no build step.
   Sections: 1 tokens / 2 base / 3 layout / 4 header / 5 hero / 6 sections
             7 cards / 8 tables / 9 contact / 10 footer / 11 responsive
   ========================================================================== */

/* 1 tokens ---------------------------------------------------------------- */
:root {
  --navy: #0e2436;
  --navy-soft: #16354d;
  --ink: #16232e;
  --muted: #5d6f7f;
  --line: #e3e9f0;
  --soft: #f6f8fa;
  --accent: #14639b;
  --accent-dark: #0f4d79;
  --radius: 6px;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: .95rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

strong { font-weight: 600; }

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

/* 3 layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 56px 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: .4em; }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Chinese pages: wide tracking looks wrong on CJK text */
html[lang="zh-CN"] .eyebrow { letter-spacing: .08em; }
html[lang="zh-CN"] .site-nav .lang { letter-spacing: .02em; }

/* 4 header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }

.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: .7rem; color: var(--muted); letter-spacing: .06em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--ink);
  font-size: .925rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.site-nav .lang {
  color: var(--muted);
  font-size: .85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 10px;
  border-bottom: 1px solid var(--line);
}
.site-nav .lang:hover { color: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

/* 5 hero ------------------------------------------------------------------ */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 68px 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: .35em; }
.hero .lead { font-size: 1.05rem; color: var(--muted); max-width: 34em; }
.hero-media img { border-radius: 8px; box-shadow: 0 14px 34px rgba(14, 36, 54, .13); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: .925rem;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: #fff; color: var(--accent); border-color: var(--line); }
.btn--ghost:hover { background: #fff; color: var(--accent-dark); border-color: var(--accent); }

/* page title band for inner pages */
.page-head { padding: 56px 0 44px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }
.page-head p { max-width: 42em; color: var(--muted); margin: 0; }

/* 6 sections -------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split--media-left { grid-template-columns: .95fr 1.05fr; }
.split img { border-radius: 8px; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.note {
  margin-top: 28px;
  padding: 16px 18px;
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  color: var(--muted);
  font-size: .9rem;
}

/* 7 cards ----------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .925rem; margin: 0; }

.card-icon { width: 30px; height: 30px; margin-bottom: 16px; color: var(--accent); }

.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
}
.cat-card:hover { text-decoration: none; border-color: #cfdae4; box-shadow: 0 10px 24px rgba(14, 36, 54, .07); }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-card .cat-body { padding: 20px 22px 24px; }
.cat-card h3 { margin-bottom: .3em; color: var(--ink); }
.cat-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.cta-band { background: var(--navy); color: #dbe5ee; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b6c6d4; margin-bottom: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--navy); }
.cta-band .btn:hover { background: #e8eef4; border-color: #e8eef4; color: var(--navy); }

/* 8 tables ---------------------------------------------------------------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.spec-table th,
.spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 34%; color: var(--muted); font-weight: 500; background: var(--soft); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* 9 contact --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list .label {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.info-list .value { font-size: 1rem; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 6px; font-size: .875rem; color: var(--muted); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid rgba(20, 99, 155, .25); border-color: var(--accent); }
.form-field textarea { min-height: 130px; resize: vertical; }

/* 10 footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #a9bccc; padding: 56px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #a9bccc; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand { color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #7e93a6;
  font-size: .82rem;
}

/* 11 responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .split--media-left,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .hero-media { order: -1; }
}

@media (max-width: 720px) {
  .section { padding: 52px 0; }
  h1 { font-size: 1.75rem; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 1.85rem; }
  .grid-3,
  .grid-2,
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.is-active { border-bottom-color: var(--line); }
  .site-nav .lang { margin-top: 10px; border-bottom: 1px solid var(--line); }
}
