:root {
  --navy: #0b2545;
  --navy-2: #123457;
  --ink: #1b2a3a;
  --muted: #5c6b7a;
  --line: #dde4eb;
  --paper: #f5f8fa;
  --white: #ffffff;
  --amber: #e8a33d;
  --amber-dark: #c9862a;
  --teal: #1f9e8f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.07);
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #241704; }
.btn-primary:hover { background: var(--amber-dark); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border: 1px solid var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.brand-text strong { display: block; font-size: 17px; color: var(--navy); letter-spacing: -.02em; }
.brand-text small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--teal); }
.nav .nav-cta { color: var(--navy); border: 1px solid var(--line); padding: 8px 14px; border-radius: 7px; }
.nav .nav-cta:hover { border-color: var(--navy); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lang a.active { color: var(--navy); font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 88px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.035em; margin-bottom: 22px; }
.hero .lead { color: #c8d6e5; font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: 13px; color: #a9bdd2; }
.hero-points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 9px; vertical-align: middle; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 480px; }
/* 照片背景首屏 */
.hero-photo { background: var(--navy) url('/assets/img/hero-changhai.webp') center/cover no-repeat; padding: 104px 0 96px; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,49,.95) 0%, rgba(7,26,49,.88) 40%, rgba(7,26,49,.45) 78%, rgba(7,26,49,.25) 100%); pointer-events: none; }
.hero-photo .hero-grid { grid-template-columns: 1fr; }
.hero-photo .hero-copy { max-width: 700px; }
.hero-photo .lead { color: #dbe6f0; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.hero-photo .hero-points li { color: #c3d3e3; }

/* Stats */
.stats { background: var(--navy-2); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 30px; color: var(--amber); letter-spacing: -.02em; }
.stat span { display: block; font-size: 13px; color: #b9c9d9; margin-top: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid h3 { font-size: 21px; margin-bottom: 16px; }
.about-grid p { color: var(--muted); }
.about-list { margin-top: 18px; }
.about-list li { position: relative; padding-left: 20px; color: var(--muted); margin-bottom: 10px; }
.about-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.fact-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.fact-box h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 20px; }
.fact-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fact-row:last-child { border-bottom: 0; }
.fact-row span:first-child { color: var(--muted); }
.fact-row span:last-child { text-align: right; font-weight: 500; }

/* Generic cards */
.card-grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--amber-dark); }
.card h3 { font-size: 18px; margin: 12px 0 10px; color: var(--navy); }
.card p { color: var(--muted); font-size: 14px; }
.card ul { margin-top: 14px; }
.card ul li { position: relative; padding-left: 17px; color: var(--muted); font-size: 14px; margin-bottom: 7px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.card-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #eef6f5; color: var(--teal); margin-bottom: 6px; }
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.step { padding: 30px 28px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; }
.step h3 { font-size: 17px; margin: 16px 0 8px; }
.step p { font-size: 14px; color: var(--muted); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-5 .step { padding: 22px 18px; }
.steps-5 h3 { font-size: 14px; margin: 12px 0 6px; }
.steps-5 p { font-size: 12px; }

/* Solutions */
.solution { border-top: 3px solid var(--teal); }
.solution:nth-child(2) { border-top-color: var(--amber); }
.solution:nth-child(3) { border-top-color: var(--navy); }
.spec-pill { display: inline-block; background: #eef6f5; color: var(--teal); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; margin: 4px 6px 0 0; }

/* Regions */
.region { background: var(--navy); color: #fff; border-color: rgba(255,255,255,.12); }
.region h3 { color: #fff; font-size: 20px; }
.region p, .region li { color: #c2d1e0 !important; }
.region ul li::before { background: var(--amber); }
.region .card-num { color: var(--amber); }

/* Projects */
.project-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.project-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.project-thumb { width: 84px; height: 58px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.project-item span:last-child { color: var(--teal); font-weight: 600; white-space: nowrap; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-grid-second { margin-top: 16px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 20px; overflow: hidden; }
.case-photo { width: 100%; aspect-ratio: 3/2; overflow: hidden; background: #e8eef3; margin-bottom: 18px; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.case:hover .case-photo img { transform: scale(1.04); }
.case .tag { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 20px; }
.case h3, .case .metric, .case p { padding-left: 20px; padding-right: 20px; }
.case h3 { font-size: 16px; margin: 10px 0 6px; color: var(--navy); }
.case .metric { font-size: 24px; color: var(--amber-dark); font-weight: 600; letter-spacing: -.02em; }
.case p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Partner logos */
.partner-strip { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.partner-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 20px; }
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.partner img { height: 56px; width: auto; max-width: 200px; object-fit: contain; }
.partner span { font-size: 12px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(31,158,143,.25); border-color: var(--teal); }
.field textarea { min-height: 120px; resize: vertical; }
.form-status { margin-top: 12px; font-size: 13px; color: var(--teal); min-height: 20px; }
.form-status[data-kind="error"] { color: #c2410c; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }
.contact-form button[disabled] { opacity: .6; cursor: not-allowed; }
.contact-info h3 { font-size: 19px; margin-bottom: 18px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-line svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-line span { font-size: 14px; color: var(--muted); }
.contact-line a { color: var(--navy); font-weight: 600; }
.contact-line a:hover { text-decoration: underline; }
.note { background: #eef6f5; border-left: 3px solid var(--teal); padding: 14px 16px; border-radius: 0 8px 8px 0; font-size: 13px; color: #35544f; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c9d9; padding: 56px 0 26px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid .brand-text strong { color: #fff; }
.footer-grid .brand-text small { color: #8fa6bd; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: #7f96ad; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { display: none; }
  .hero-photo { background-position: 60% center; }
  .hero-photo::before { background: linear-gradient(90deg, rgba(7,26,49,.96) 0%, rgba(7,26,49,.9) 60%, rgba(7,26,49,.55) 100%); }
  .grid-4, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .steps-5 .step { border-right: 1px solid var(--line); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .section { padding: 64px 0; }
  .header-inner { height: 64px; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; text-align: center; }
  .menu-toggle { display: block; }
  .brand-text small { display: none; }
  .grid-2, .grid-4, .case-grid, .project-list, .field-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps-5 { grid-template-columns: 1fr; }
  .steps-5 .step { border-right: 0; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 64px 0; }
  .hero-photo { padding: 72px 0; background-position: 65% center; }
  .partner img { height: 44px; }
}
