/* ============================================================
   上海万邦合序新材料有限公司 官网样式
   风格：简约大气 · 深海军蓝 + 青色点缀
   ============================================================ */

:root {
  --navy: #0B2545;
  --navy-deep: #081B34;
  --navy-soft: #13315C;
  --accent: #0FA3C2;
  --accent-light: #E3F4F8;
  --ink: #1A2B3C;
  --ink-2: #52657A;
  --line: #E4EAF0;
  --bg-alt: #F5F8FB;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: 1px;
  flex-shrink: 0;
}

.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.brand-en { font-size: 11px; color: var(--ink-2); letter-spacing: 2.5px; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 8px; }

.main-nav a {
  display: block;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover { color: var(--accent); background: var(--accent-light); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 3px; width: 22px;
  margin: 2px auto 0;
  border-radius: 2px;
  background: var(--accent);
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-banner.jpg") center / cover no-repeat;
  opacity: 0.85;
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 27, 52, 0.92) 0%, rgba(8, 27, 52, 0.55) 55%, rgba(8, 27, 52, 0.15) 100%);
}

.hero-inner { position: relative; z-index: 2; padding: 140px 0 120px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #BFE7F0;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
  max-width: 720px;
}

.hero h1 em { font-style: normal; color: #56D4EC; }

.hero-desc {
  margin-top: 24px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(15, 163, 194, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 163, 194, 0.5); background: #0c93b0; }

.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------- 内页页头 ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 163, 194, 0.35) 0%, transparent 70%);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: -80px; bottom: -160px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 212, 236, 0.18) 0%, transparent 70%);
}

.page-hero-inner { position: relative; z-index: 2; }

.crumbs { color: rgba(255, 255, 255, 0.55); font-size: 14px; margin-bottom: 18px; letter-spacing: 1px; }
.crumbs a:hover { color: #56D4EC; }

.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); letter-spacing: 2px; }
.page-hero p { color: rgba(255, 255, 255, 0.72); margin-top: 16px; max-width: 640px; font-size: 16.5px; }

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.sec-head { max-width: 700px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-title { font-size: clamp(26px, 3.2vw, 36px); color: var(--navy); font-weight: 700; letter-spacing: 1px; line-height: 1.4; }
.sec-desc { margin-top: 16px; color: var(--ink-2); font-size: 16px; }

/* ---------- 首页：简介 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-figure { position: relative; }
.intro-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.intro-badge {
  position: absolute;
  left: -22px; bottom: 34px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 18px 26px;
  box-shadow: var(--shadow-md);
}

.intro-badge strong { display: block; font-size: 28px; font-weight: 700; color: #56D4EC; line-height: 1.2; }
.intro-badge span { font-size: 13px; opacity: 0.85; }

.intro-body p { color: var(--ink-2); margin-bottom: 18px; }
.intro-body p strong { color: var(--ink); }

.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 26px 0 34px; }

.intro-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.intro-points svg { flex-shrink: 0; margin-top: 5px; }

/* ---------- 数字条 ---------- */
.stats-band { background: var(--navy); padding: 64px 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }

.stat strong {
  display: block;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat strong em { font-style: normal; color: #56D4EC; }
.stat span { color: rgba(255, 255, 255, 0.65); font-size: 14.5px; letter-spacing: 1px; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.svc-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.svc-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; letter-spacing: 0.5px; }
.svc-card p { color: var(--ink-2); font-size: 14.5px; }
.svc-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.svc-link:hover { text-decoration: underline; }

/* ---------- 图文特性区（计算与数智化） ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-deep);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}

.feature-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.4s, opacity 0.4s;
}

.feature-card:hover img { transform: scale(1.05); opacity: 0.62; }

.feature-body {
  position: relative;
  z-index: 2;
  padding: 30px 28px;
  width: 100%;
  background: linear-gradient(to top, rgba(8, 27, 52, 0.95) 20%, transparent);
}

.feature-body h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.feature-body p { color: rgba(255, 255, 255, 0.78); font-size: 14px; }

.feature-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #56D4EC;
  border: 1px solid rgba(86, 212, 236, 0.5);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

/* ---------- 流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }

.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  counter-increment: flow;
}

.flow-step::before {
  content: "0" counter(flow);
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.flow-step h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.flow-step p { font-size: 14px; color: var(--ink-2); }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid .sec-title { margin-bottom: 20px; }
.about-grid p { color: var(--ink-2); margin-bottom: 16px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.value-card {
  text-align: center;
  padding: 44px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #56D4EC;
  display: flex; align-items: center; justify-content: center;
}
.value-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--ink-2); }

.mv-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  border-radius: var(--radius);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.mv-band::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 163, 194, 0.3), transparent 70%);
}
.mv-item { position: relative; z-index: 2; }
.mv-item h3 { color: #56D4EC; font-size: 14px; letter-spacing: 4px; margin-bottom: 14px; }
.mv-item strong { display: block; color: #fff; font-size: 21px; margin-bottom: 12px; letter-spacing: 1px; }
.mv-item p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; }

/* ---------- 服务页：服务列表 ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail:nth-child(even) .svc-figure { order: 2; }

.svc-figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.svc-no {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.svc-detail h2 { font-size: 27px; color: var(--navy); margin-bottom: 18px; letter-spacing: 1px; }
.svc-detail .lead { color: var(--ink-2); margin-bottom: 22px; }

.svc-detail ul { display: grid; gap: 12px; }
.svc-detail ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}
.svc-detail ul svg { flex-shrink: 0; margin-top: 5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }

.contact-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 46px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-card > p { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; margin-bottom: 34px; }

.contact-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-item:first-of-type { border-top: none; }
.contact-item .ci-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(86, 212, 236, 0.14);
  color: #56D4EC;
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 13px; color: rgba(255, 255, 255, 0.55); font-weight: 500; letter-spacing: 1px; margin-bottom: 3px; }
.contact-item p { font-size: 15.5px; }

/* 微信二维码区块 */
.contact-wechat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 8px;
}

.wechat-qr-box {
  width: 148px; height: 148px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wechat-qr-box img { width: 100%; height: 100%; display: block; border-radius: 4px; }

.wechat-tip { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); line-height: 1.7; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 42px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.contact-form > p { color: var(--ink-2); font-size: 14px; margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.field label i { color: #E2574C; font-style: normal; }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 163, 194, 0.15);
  background: #fff;
}

.field textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }

/* ---------- CTA ---------- */
.cta-band {
  background:
    linear-gradient(100deg, rgba(8, 27, 52, 0.94), rgba(19, 49, 92, 0.82)),
    url("../img/hero-banner.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  padding: 78px 64px;
  text-align: center;
}

.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); letter-spacing: 1px; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 36px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 80px 0 0; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-en { color: rgba(255, 255, 255, 0.45); }
.footer-brand p { font-size: 14px; margin-top: 20px; color: rgba(255, 255, 255, 0.6); }

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(255, 255, 255, 0.65); transition: color 0.2s; }
.footer-links a:hover { color: #56D4EC; }

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: #56D4EC; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .svc-grid, .feature-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .mv-band { grid-template-columns: 1fr; padding: 52px 40px; }
  .intro-grid, .about-grid, .contact-grid, .svc-detail { grid-template-columns: 1fr; gap: 44px; }
  .svc-detail:nth-child(even) .svc-figure { order: 0; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .svc-grid, .feature-grid, .value-grid, .form-row { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: 12px 4%; gap: 2px; }
  .nav-cta { display: none; }

  .hero-inner { padding: 120px 0 90px; }
  .intro-badge { left: 12px; }
  .cta-band { padding: 56px 28px; }
  .contact-card, .contact-form { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
