:root {
  --brand: #17677F;
  --brand-deep: #0E4A5C;
  --brand-light: #EAF4F7;
  --gold: #C9972F;
  --gold-light: #F7EBD3;
  --ink: #1C2B33;
  --muted: #5E6E76;
  --bg: #FFFFFF;
  --bg-alt: #F4F8F9;
  --border: #E2E9EC;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(14, 74, 92, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name b { color: var(--brand); font-size: 16px; letter-spacing: 1px; }
.brand-name i { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { font-size: 14px; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; transition: 0.2s; }
.menu a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: 8px; }

/* language slider */
.lang-slider { position: relative; width: 84px; height: 30px; border-radius: 15px; background: var(--brand); border: none; cursor: pointer; display: flex; }
.lang-opt { flex: 1; text-align: center; line-height: 30px; font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 500; z-index: 1; transition: color 0.25s; }
.lang-slider.active .lang-opt[data-v="en"], .lang-slider:not(.active) .lang-opt[data-v="zh"] { color: #fff; }
.lang-knob { position: absolute; top: 3px; left: 3px; width: 39px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); transition: transform 0.25s; }
.lang-slider.active .lang-knob { transform: translateX(39px); }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--brand); display: block; }

/* ===== buttons ===== */
.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer; border: none; transition: 0.2s; text-align: center; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 44px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ===== hero ===== */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; background: url("../assets/hero_port.png") center/cover no-repeat var(--brand-deep); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,44,55,0.88) 0%, rgba(14,74,92,0.62) 55%, rgba(14,74,92,0.35) 100%); }
.hero-inner { position: relative; padding: 90px 24px; width: 100%; }
.hero-badge { display: inline-block; font-size: 12px; letter-spacing: 2px; padding: 5px 14px; border: 1px solid rgba(255,255,255,0.4); border-radius: 20px; margin-bottom: 22px; color: var(--gold-light); }
.hero h1 { font-size: 40px; letter-spacing: 3px; margin-bottom: 12px; }
.hero h2 { font-size: 20px; font-weight: 400; color: #DCEBF0; margin-bottom: 16px; }
.hero-desc { max-width: 640px; color: #C4D9E0; font-size: 15px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 56px; }
.stat b { font-size: 30px; color: var(--gold); display: block; }
.stat span { font-size: 13px; color: #C4D9E0; }

/* ===== sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.tag { color: var(--gold); font-size: 13px; letter-spacing: 2px; font-weight: 500; margin-bottom: 10px; }
.tag-light { color: var(--gold-light); }
.sec-title { font-size: 30px; color: var(--ink); margin-bottom: 16px; }
.sec-desc { color: var(--muted); max-width: 820px; margin-bottom: 44px; }
.section-dark { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); color: #fff; }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-desc { color: #CFE3EA; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.about-policies h3 { font-size: 18px; margin-bottom: 18px; color: var(--brand-deep); }
.policy-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.policy-card b { color: var(--brand-deep); font-size: 15px; display: block; margin-bottom: 4px; }
.policy-card span { font-size: 13px; color: var(--muted); }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
.addr-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 18px 22px; margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.addr-card b { color: var(--gold-light); font-size: 13px; letter-spacing: 1px; }
.addr-card span { font-size: 14px; }

/* culture */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.culture-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.culture-card .no { font-size: 15px; color: var(--gold); letter-spacing: 2px; }
.culture-card h3 { font-size: 22px; margin: 8px 0 2px; color: var(--brand-deep); }
.culture-card .en { font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; }
.culture-card p { font-size: 14px; color: var(--muted); }

/* business */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: 0.2s; display: flex; flex-direction: column; }
.biz-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.biz-card h3 { font-size: 19px; color: var(--brand-deep); margin-bottom: 8px; }
.biz-card .sub { font-size: 13px; color: var(--gold); margin-bottom: 14px; }
.biz-card ul { list-style: none; flex: 1; }
.biz-card li { font-size: 13px; color: var(--muted); padding: 5px 0 5px 16px; position: relative; }
.biz-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.biz-card .biz-cta { margin-top: 16px; font-size: 13px; color: var(--brand); font-weight: 500; }
.biz-card .biz-cta:hover { color: var(--brand-deep); }

/* form */
.form-wrap { max-width: 780px; }
.inquiry-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 18px; flex-wrap: wrap; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--brand-deep); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--bg); transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; }
.inquiry-form .btn { width: 100%; }
.form-err { color: #B23B3B; font-size: 13px; margin-top: 12px; }
.form-ok { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 34px; box-shadow: var(--shadow); text-align: center; }
.ok-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 30px; line-height: 64px; margin: 0 auto 18px; }
.form-ok h3 { color: var(--brand-deep); margin-bottom: 8px; }
.form-ok p { color: var(--muted); font-size: 14px; }
.ok-no { font-size: 24px !important; font-weight: 600; color: var(--gold) !important; letter-spacing: 2px; margin: 14px 0; font-family: Consolas, monospace; }
.ok-next { margin-top: 6px; }

/* track */
.track-wrap { max-width: 640px; }
.track-bar { display: flex; gap: 12px; margin-bottom: 24px; }
.track-bar input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: Consolas, monospace; letter-spacing: 1px; }
.track-bar input:focus { outline: none; border-color: var(--brand); }
.track-result { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.track-result h3 { color: var(--brand-deep); font-size: 16px; margin-bottom: 22px; }
.stepper { display: flex; justify-content: space-between; position: relative; }
.stepper::before { content: ""; position: absolute; top: 15px; left: 20px; right: 20px; height: 2px; background: var(--border); }
.step { position: relative; z-index: 1; text-align: center; flex: 1; }
.step .dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--border); color: var(--muted); font-size: 13px; line-height: 28px; margin: 0 auto 8px; }
.step.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.step span { font-size: 12px; color: var(--muted); display: block; padding: 0 4px; }
.step.done span { color: var(--brand-deep); font-weight: 500; }
.track-err { color: #B23B3B; font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 34px; }
.contact-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.cc-icon { font-size: 26px; margin-bottom: 10px; }
.contact-card b { display: block; font-size: 14px; color: var(--gold-light); margin-bottom: 8px; }
.cc-val { font-size: 14px; color: #EAF4F7; word-break: break-all; }
.cc-note { font-size: 12px; color: #B9D2DA; display: block; margin-top: 6px; }
.qr-box { width: 96px; height: 96px; margin: 4px auto 6px; background: #fff; border-radius: 8px; padding: 6px; }
.qr-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.contact-addr { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.contact-addr b { font-size: 15px; }
.contact-addr span { font-size: 13px; color: #CFE3EA; }

/* footer */
.footer { background: #0B2731; color: #9FB8C0; padding: 34px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer b { color: #fff; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-copy { display: flex; flex-direction: column; text-align: right; }

/* responsive */
@media (max-width: 960px) {
  .menu { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: 0.25s; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
  .menu.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .about-grid, .culture-grid, .biz-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 640px) {
  .about-grid, .culture-grid, .biz-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; letter-spacing: 1px; }
  .section { padding: 56px 0; }
  .inquiry-form { padding: 24px 18px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}
