/* ==========================================================================
   友富达科技 · 站点样式
   Design system: 深墨蓝 / 青铜金 / 极简留白
   ========================================================================== */

:root {
  --ink: #0b1f33;
  --ink-2: #33495f;
  --muted: #6c7f93;
  --line: #e2e8ef;
  --line-strong: #cfd8e3;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-soft-2: #eef2f6;
  --navy: #0b2a45;
  --navy-deep: #071a2c;
  --accent: #a97c3f;
  --accent-soft: #f5efe4;
  --ok: #1f7a52;
  --warn: #b06a1f;
  --danger: #b1342c;
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.04);
  --shadow-md: 0 12px 32px -18px rgba(11, 31, 51, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { margin: 0; }

::selection { background: var(--navy); color: #fff; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

[id] { scroll-margin-top: 96px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-stuck { box-shadow: 0 10px 30px -24px rgba(11, 31, 51, 0.55); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  background: var(--navy);
  display: grid;
  place-items: center;
  border-radius: 3px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.brand-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-panel { display: flex; align-items: center; flex: 1; min-width: 0; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }

.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--ink); }

.nav a.is-active { color: var(--ink); font-weight: 600; }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-tel {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: right;
}
.header-tel span:first-child { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.header-tel span:last-child { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: #123a5e; }
.btn:active { transform: translateY(1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.92;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 22, 38, 0.94) 0%,
    rgba(6, 22, 38, 0.86) 38%,
    rgba(6, 22, 38, 0.52) 72%,
    rgba(6, 22, 38, 0.32) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 132px 0 176px;
}

.hero-inner > * { max-width: 720px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.on-light { color: var(--accent); }

.hero h1 {
  margin-top: 26px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 600;
}

.hero-lead {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.hero-tel {
  margin-top: 46px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
}
.hero-tel strong { font-size: 20px; letter-spacing: 0.02em; color: #fff; font-weight: 600; }

/* ---------- Page hero (内页) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
  opacity: 0.5;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 38, 0.95), rgba(6, 22, 38, 0.62));
}
.page-hero-inner { position: relative; z-index: 2; padding: 96px 0 76px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
  margin-top: 20px;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin-top: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}
.crumb {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

/* ---------- Stats ---------- */

.stats-wrap { position: relative; z-index: 3; margin-top: -78px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.stat {
  padding: 38px 34px 34px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }

.stat-num {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-num em {
  font-style: normal;
  font-size: 0.52em;
  font-weight: 500;
  color: var(--accent);
  margin-left: 4px;
  letter-spacing: 0;
}
.stat-label { margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section.tight { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy-deep); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.section-head h2 {
  margin-top: 20px;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.section-head p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.9;
}
.section.dark .section-head p { color: rgba(255, 255, 255, 0.72); }

.section-foot { margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Capability cards ---------- */

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }

.ccard {
  background: #fff;
  padding: 38px 30px 42px;
  transition: background 0.25s ease;
  position: relative;
}
.ccard:hover { background: #fbfcfd; }

.ccard-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ccard h3 { margin-top: 26px; font-size: 19px; }
.ccard p { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.ccard .ico { margin-top: 4px; width: 34px; height: 34px; color: var(--navy); opacity: 0.9; }

/* ---------- Products ---------- */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pcard {
  border: 1px solid var(--line);
  padding: 32px 30px 34px;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pcard:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pcard-tag {
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 2px;
}
.pcard h3 { margin-top: 20px; font-size: 20px; letter-spacing: 0.01em; }
.pcard .pcard-sub { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.pcard p { margin-top: 16px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.pcard ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 9px;
}
.pcard ul li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.pcard ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
}
.step { padding: 30px 24px 0 0; position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.step-num { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.step h3 { margin-top: 14px; font-size: 17px; }
.step p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- Split (关于/资质) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}

.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.split-media.no-img { background: var(--bg-soft-2); }

.media-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.honor-list { margin-top: 40px; border-top: 1px solid var(--line); }
.honor-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.honor-idx {
  flex: none;
  width: 30px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.honor-item h4 { font-size: 16px; }
.honor-item p { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.7; }

/* ---------- Chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip {
  padding: 11px 20px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Timeline ---------- */

.timeline { margin-top: 56px; border-left: 1px solid var(--line); }
.tl-item {
  position: relative;
  padding: 0 0 38px 40px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--accent);
}
.tl-year { font-size: 13px; letter-spacing: 0.14em; color: var(--accent); font-variant-numeric: tabular-nums; }
.tl-item h4 { margin-top: 8px; font-size: 17px; }
.tl-item p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.8; max-width: 700px; }

/* ---------- Table ---------- */

.table-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.tbl th {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 16px 22px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.tbl td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.7;
}
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 38, 0.95) 20%, rgba(6, 22, 38, 0.6));
}
.cta-inner {
  position: relative;
  z-index: 2;
  padding: 84px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.02em; }
.cta-inner p { margin-top: 14px; color: rgba(255, 255, 255, 0.72); max-width: 560px; font-size: 15px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: flex-start; }

.info-list { margin-top: 44px; border-top: 1px solid var(--line); }
.info-row { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-row .ico { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.info-row dt { font-size: 12.5px; letter-spacing: 0.1em; color: var(--muted); }
.info-row dd { margin: 6px 0 0; font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.info-row dd small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

.form-card {
  border: 1px solid var(--line);
  padding: 44px 44px 48px;
  background: #fff;
}
.form-card h3 { font-size: 21px; }
.form-card > p { margin-top: 10px; font-size: 14px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink-2); letter-spacing: 0.02em; }
.field label .req { color: var(--accent); }

.input, .select, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 42, 69, 0.08);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7f93' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.form-msg {
  margin-top: 18px;
  font-size: 14px;
  padding: 13px 16px;
  border-radius: var(--radius);
  display: none;
  line-height: 1.6;
}
.form-msg.show { display: block; }
.form-msg.ok { background: #eef7f2; color: var(--ok); border: 1px solid #cfe8dd; }
.form-msg.err { background: #fdf0ef; color: var(--danger); border: 1px solid #f3d3d0; }

.map-card {
  margin-top: 64px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.map-card h4 { font-size: 17px; }
.map-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  padding: 72px 0 30px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { background: rgba(255, 255, 255, 0.1); }
.footer-about { margin-top: 22px; line-height: 1.9; font-size: 13.5px; max-width: 300px; }
.footer-col h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 13.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 13.5px; line-height: 1.8; }
.footer-contact strong { color: #fff; font-weight: 500; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Login modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 34, 0.55);
  backdrop-filter: blur(3px);
}
.modal-panel {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  background: #fff;
  padding: 40px 40px 36px;
  box-shadow: 0 30px 80px -30px rgba(7, 20, 34, 0.6);
  animation: modalIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.modal-close:hover { color: var(--ink); }
.modal-panel h3 { font-size: 22px; }
.modal-panel .modal-sub { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.tabs { display: flex; gap: 0; margin-top: 28px; border-bottom: 1px solid var(--line); }
.tab {
  flex: 1;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: -1px;
  transition: all 0.2s ease;
}
.tab.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

.tab-panel { display: none; padding-top: 26px; }
.tab-panel.is-active { display: block; }

.otp-row { display: flex; gap: 10px; }
.otp-row .input { flex: 1; }
.otp-row .btn { padding-inline: 16px; font-size: 14px; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.wechat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink);
  transition: all 0.2s ease;
}
.wechat-btn:hover { border-color: #07c160; color: #07c160; }
.wechat-btn svg { width: 20px; height: 20px; }

.auth-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  overflow: hidden;
  flex: none;
  border: 1px solid var(--line-strong);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Member center ---------- */

.member-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: flex-start; }

.panel { border: 1px solid var(--line); background: #fff; }
.panel-head {
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-head h3 { font-size: 17px; }
.panel-head span { font-size: 12.5px; color: var(--muted); }
.panel-body { padding: 30px; }

.account-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  margin-bottom: 28px;
}
.account-card .avatar { width: 54px; height: 54px; font-size: 17px; cursor: pointer; }
.account-card .acc-name { font-size: 16px; font-weight: 600; }
.account-card .acc-id { font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }

.ticket-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ticket {
  background: #fff;
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}
.ticket-main { min-width: 0; }
.ticket h4 { font-size: 15.5px; }
.ticket-meta { margin-top: 8px; font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.ticket-body { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; word-break: break-word; }
.badge {
  flex: none;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.badge.pending { background: #fdf4e6; color: var(--warn); }
.badge.done { background: #eef7f2; color: var(--ok); }

.empty {
  padding: 56px 30px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line-strong);
}

.file-drop {
  border: 1px dashed var(--line-strong);
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-soft);
}
.file-drop:hover, .file-drop.dragover { border-color: var(--navy); color: var(--navy); background: #fff; }
.file-list { margin-top: 10px; display: grid; gap: 6px; }
.file-item { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.file-item button { border: 0; background: transparent; color: var(--muted); font-size: 12px; }

.gate {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  padding: 56px 40px;
  background: #fff;
}
.gate h3 { font-size: 20px; }
.gate p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.gate .btn { margin-top: 26px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .header-tel { display: none; }
  .brand-name { font-size: 15px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media img { height: 380px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .member-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-panel { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .header-panel {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 4px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 44px -34px rgba(11, 31, 51, 0.8);
  }
  .site-header.menu-open .nav {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: 0;
  }
  .site-header.menu-open .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav a.is-active::after { display: none; }
  .site-header.menu-open .nav a.is-active { color: var(--accent); }
  .site-header.menu-open .header-actions {
    margin: 18px 0 0;
    justify-content: space-between;
    gap: 12px;
  }
  .hero-inner { padding: 92px 0 132px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 26px 22px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(-n + 2) { border-top: 0; }
  .section { padding: 72px 0; }
  .form-card { padding: 32px 24px 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .cta-inner { padding: 60px 0; }
  .modal-panel { padding: 34px 26px 30px; }
}

@media (max-width: 620px) {
  .cards-4 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .header-inner { height: 66px; }
  .brand-name { font-size: 13px; letter-spacing: 0; }
  .site-header.menu-open .nav { top: 66px; }
  .split-media img { height: 280px; }
}

/* ---------- 企业荣誉（年份列表） ---------- */
.honor-timeline { margin-top: 52px; border-top: 1px solid var(--line); }
.honor-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.honor-year {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 3px;
}
.honor-body h3 {
  margin: 0 0 6px;
  font-size: 17.5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.honor-body p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.honor-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  vertical-align: 3px;
}

/* ---------- 企业动态列表 ---------- */
.news-list { margin-top: 48px; border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.news-date { display: flex; flex-direction: column; gap: 5px; padding-top: 1px; }
.news-date .d { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); }
.news-date .m { font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); line-height: 1.4; }
.news-new {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.news-body h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.55; letter-spacing: 0.01em; }
.news-body p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.news-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.news-tag.is-honor { color: var(--accent); border-color: #e3d3ba; background: var(--accent-soft); }
.news-tag.is-event { color: var(--navy); border-color: #c9d6e4; background: #eef3f8; }

@media (max-width: 860px) {
  .honor-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .news-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .news-date .d { font-size: 22px; }
}

/* ---------- 勾选列表 ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.check-list li strong { color: var(--ink); }

/* ---------- 活动照片墙（企业动态 · 现场记录） ---------- */
.photo-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 880px;
  margin-inline: auto;
}
.photo-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft-2);
}
.photo-item.is-wide { grid-column: 1 / -1; }
.photo-item.is-wide img { aspect-ratio: 21 / 9; }
.photo-item.is-doc img {
  object-fit: contain;
  background: var(--bg-soft);
  padding: 10px;
}
.photo-item figcaption {
  flex: 1;
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 860px) {
  .photo-grid { grid-template-columns: 1fr; gap: 14px; }
  .photo-item.is-wide { grid-column: auto; }
  .photo-item.is-wide img { aspect-ratio: 16 / 10; }
  .photo-item.is-doc img { aspect-ratio: 3 / 4; }
}

/* 证书墙：四列紧凑（关于我们 · 证书与奖牌） */
.photo-grid.is-wall {
  grid-template-columns: repeat(4, 1fr);
  max-width: 820px;
  gap: 16px;
}
.photo-grid.is-wall .photo-item img { aspect-ratio: 3 / 4; }
.photo-grid.is-wall .photo-item figcaption { font-size: 12px; }

@media (max-width: 1080px) {
  .photo-grid.is-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .photo-grid.is-wall { grid-template-columns: 1fr; }
  .photo-grid.is-wall .photo-item img { aspect-ratio: 4 / 3; }
}
