/* ===========================================================
   宁波无名之辈国际物流有限公司 — 官网样式
   Design tokens / Layout / Components / Pages / Responsive
   =========================================================== */

:root {
  --brand: #1452cc;
  --brand-dark: #0d3a95;
  --brand-soft: #eaf1ff;
  --accent: #ff7a18;
  --accent-soft: #fff2e6;
  --ink: #0f1b2d;
  --ink-2: #25334d;
  --muted: #5a6b85;
  --muted-2: #8494ab;
  --line: #e4eaf2;
  --line-2: #eef2f8;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-deep: #0c1730;
  --green: #0f9d58;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --shadow-s: 0 2px 8px rgba(15, 27, 45, .06);
  --shadow: 0 8px 24px rgba(15, 27, 45, .08);
  --shadow-l: 0 18px 48px rgba(15, 27, 45, .12);
  --header-h: 68px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow--accent { color: var(--accent); background: var(--accent-soft); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap; text-align: center;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(20, 82, 204, .24); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 82, 204, .32); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 24, .26); }
.btn--accent:hover { background: #e8690b; color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--bg-deep); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); }
.topbar .tag-hot { color: #ffb37a; font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: all .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(15,27,45,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 100%);
  display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(20,82,204,.28);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.logo-text span { font-size: 11.5px; color: var(--muted-2); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.nav a:hover { color: var(--brand); background: var(--bg-soft); }
.nav a.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone i { color: var(--accent); font-style: normal; }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink);
  transition: all .25s ease; border-radius: 2px;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #0c1730 0%, #12305f 48%, #1452cc 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(900px 420px at 82% 8%, rgba(255,122,24,.26), transparent 62%),
    radial-gradient(700px 380px at 6% 92%, rgba(59,130,246,.28), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 80%);
}
.hero .container { position: relative; z-index: 2; padding-top: 74px; padding-bottom: 74px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }

.badge-line {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 13.5px;
  color: rgba(255,255,255,.9); margin-bottom: 22px;
}
.badge-line b { color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,122,24,.7); animation: pulse 2s infinite; margin-left: 4px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,122,24,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,24,0); } }

.hero h1 { font-size: clamp(32px, 4.6vw, 52px); color: #fff; margin-bottom: 20px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #ffb37a; }
.hero-lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; }
.hero-point { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.86); }
.hero-point svg { flex-shrink: 0; margin-top: 3px; }

/* hero stats card */
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-l); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.hero-card > p { color: rgba(255,255,255,.62); font-size: 13px; margin-bottom: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 16px;
}
.stat b { display: block; font-size: 26px; line-height: 1.1; color: #fff; font-weight: 700; }
.stat b small { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); margin-left: 2px; }
.stat span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.port-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,122,24,.16); border: 1px solid rgba(255,122,24,.4); color: #ffc79a;
}

/* ---------- Marquee strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.strip-item { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.strip-item svg { color: var(--brand); flex-shrink: 0; }
.strip-sep { width: 1px; height: 18px; background: var(--line); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 30px; transition: all .28s ease; height: 100%; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: #cfdcf5; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px;
}
.card-icon--accent { background: var(--accent-soft); color: var(--accent); }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card .card-sub { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 12px; letter-spacing: .02em; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-list { margin-top: 18px; display: grid; gap: 9px; }
.card-list li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); }
.card-list li svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }
.card-tag {
  position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff;
}
.card-tag--accent { background: var(--accent); }
.card-tag--plain { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* service card variant */
.svc { display: flex; flex-direction: column; }
.svc .svc-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-meta { font-size: 12.5px; color: var(--muted-2); }
.svc-link { font-size: 14px; font-weight: 600; }

/* ---------- Port cards ---------- */
.port {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  display: flex; flex-direction: column; transition: all .28s ease;
}
.port:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); }
.port-visual {
  height: 120px; position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, #12305f, #2e7bf6);
}
.port-visual.alt { background: linear-gradient(135deg, #b45309, #ff7a18); }
.port-visual span {
  position: relative; z-index: 2; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: .06em;
}
.port-visual small { display: block; font-size: 12px; font-weight: 500; opacity: .8; letter-spacing: .04em; text-align: center; }
.port-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.18) 0 2px, transparent 2px 14px);
}
.port-body { padding: 22px 24px 26px; }
.port-body h3 { font-size: 18px; margin-bottom: 8px; }
.port-body p { font-size: 14px; color: var(--muted); }
.port-meta { display: grid; gap: 8px; margin-top: 16px; }
.port-meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.port-meta div:last-child { border-bottom: 0; }
.port-meta dt, .port-meta .k { color: var(--muted); }
.port-meta .v { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- Route map ---------- */
.map-wrap {
  background: linear-gradient(160deg, #f7fafe 0%, #eef4ff 100%);
  border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px;
}
.map-note { text-align: center; font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
thead th {
  background: var(--bg-deep); color: #fff; font-weight: 600; text-align: left;
  padding: 15px 18px; font-size: 14px; white-space: nowrap;
}
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-soft); }
td .ok { color: var(--green); font-weight: 600; }
td .warn { color: var(--accent); font-weight: 600; }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.pill--best { background: #e6f7ee; color: #0b7a45; }
.pill--fast { background: var(--brand-soft); color: var(--brand); }
.pill--cheap { background: var(--accent-soft); color: #c2570a; }
.pill--gray { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-dot {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: #fff; border: 2px solid var(--brand); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 16px; position: relative; z-index: 2;
}
.step::before {
  content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); z-index: 1;
}
.step:last-child::before { display: none; }
.step h4 { font-size: 14.5px; margin-bottom: 5px; }
.step p { font-size: 12.5px; color: var(--muted); }

/* ---------- Features / reasons ---------- */
.reason { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.reason:hover { border-color: #cfdcf5; box-shadow: var(--shadow-s); }
.reason svg { flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.reason h4 { font-size: 16px; margin-bottom: 6px; }
.reason p { font-size: 14px; color: var(--muted); }

/* ---------- Cargo types ---------- */
.cargo {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.cargo strong { font-size: 15px; }
.cargo span { font-size: 13px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 52px 48px; color: #fff;
  background: linear-gradient(120deg, #0d3a95 0%, #1452cc 60%, #2e7bf6 100%);
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,24,.4), transparent 65%);
}
.cta-banner .container-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(140deg, #0c1730 0%, #143a72 55%, #1452cc 100%);
  color: #fff; padding: 64px 0 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 40px); margin: 14px 0 12px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; font-size: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Service detail blocks ---------- */
.svc-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line);
}
.svc-block:last-child { border-bottom: 0; }
.svc-block-left .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .16em; }
.svc-block-left h3 { font-size: 24px; margin: 8px 0 12px; }
.svc-block-left .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-block-right p { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.mini {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.mini .k { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 4px; }
.mini .v { font-size: 15px; font-weight: 700; color: var(--ink); }
.mini .v em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 13px; }
.notice {
  background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px; font-size: 14px; color: #8a4a08;
}
.notice b { color: #7a3f05; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; padding: 18px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-family: inherit; font-size: 15.5px; font-weight: 600;
  color: var(--ink); cursor: pointer; text-align: left;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q .sign { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 16px; line-height: 1; transition: transform .25s ease; }
.faq-item.is-open .faq-q .sign { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.is-open .faq-a { padding: 0 22px 20px; max-height: 400px; }
.faq-a p { color: var(--muted); font-size: 14.5px; }

/* ---------- Forms ---------- */
.split-form { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink); padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: all .2s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,82,204,.12);
}
.field textarea { min-height: 108px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted-2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d93025; }
.field .err { font-size: 12px; color: #d93025; display: none; }
.field.has-error .err { display: block; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }
.form-success {
  display: none; background: #e6f7ee; border: 1px solid #b7e6cd; color: #0b7a45;
  border-radius: var(--radius); padding: 16px 20px; font-size: 14.5px; margin-top: 18px;
}
.form-success.is-show { display: block; }

/* ---------- Contact info ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item .ci-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .k { font-size: 12.5px; color: var(--muted); }
.contact-item .v { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.contact-item .v.sm { font-size: 14px; font-weight: 500; }
.contact-item .sub { font-size: 12.5px; color: var(--muted-2); }

/* ---------- About ---------- */
.about-lead { font-size: 17px; color: var(--ink-2); line-height: 1.9; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.tl-item .y { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.tl-item h4 { font-size: 16px; margin: 3px 0 4px; }
.tl-item p { font-size: 14px; color: var(--muted); }
.value-item { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.value-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.value-item p { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255,255,255,.66); font-size: 14px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer .f-brand p { font-size: 13.5px; line-height: 1.8; margin-top: 16px; max-width: 320px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,.66); font-size: 13.5px; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.footer-contact li svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.footer-contact b { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom a { color: rgba(255,255,255,.55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .split-form { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .svc-block { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .burger { display: block; }
  .header-phone { display: none; }
  .header-actions .btn--primary { display: none; }
  .topbar { display: none; }
  .section { padding: 60px 0; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .cta-banner { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .g-4 { grid-template-columns: 1fr; }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .logo-text span { display: none; }
  .form-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   动态内容样式：新闻 / 产品 / 详情 / 后台
   =========================================================== */

/* ---------- 新闻卡片（首页小卡） ---------- */
.news-mini {
  display: flex; flex-direction: column; gap: 10px; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  transition: all .26s ease;
}
.news-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: #cfdcf5; }
.news-mini-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-mini-date, .news-item-meta span:last-child { font-size: 12.5px; color: var(--muted-2); }
.news-mini h4 { font-size: 17px; line-height: 1.5; }
.news-mini p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 新闻列表 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  font-family: inherit; font-size: 14px; font-weight: 500; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.news-item {
  display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 20px; margin-bottom: 20px; transition: all .26s ease;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: #cfdcf5; }
.item-cover {
  height: 160px; border-radius: var(--radius); background-size: cover; background-position: center;
  display: grid; place-items: center;
}
.item-cover--empty {
  background: linear-gradient(135deg, #eaf1ff 0%, #d9e6ff 100%);
}
.item-cover span { font-size: 13px; color: #7a90b5; letter-spacing: .06em; }
.news-item-body h3 { font-size: 19px; margin: 8px 0 8px; line-height: 1.5; }
.news-item-body p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-meta { display: flex; align-items: center; gap: 10px; }

/* ---------- 产品卡片 ---------- */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: all .26s ease; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: #cfdcf5; }
.pcard .item-cover { border-radius: 0; height: 190px; }
.pcard-body { padding: 22px 24px 26px; }
.pcard-body h3 { font-size: 18px; margin-bottom: 8px; }
.pcard-body p { font-size: 14px; color: var(--muted); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- 文章详情 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-head { margin-bottom: 26px; }
.article-head h1 { font-size: clamp(24px, 3.2vw, 34px); margin: 14px 0 12px; line-height: 1.4; }
.article-summary { font-size: 16px; color: var(--muted); background: var(--bg-soft); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; }
.article-cover { height: 340px; border-radius: var(--radius-l); background-size: cover; background-position: center; margin-bottom: 30px; }
.article-body { font-size: 16px; color: var(--ink-2); line-height: 1.95; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 21px; margin: 30px 0 12px; }
.article-body h3 { font-size: 18px; margin: 24px 0 10px; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.article-body ul li { margin-bottom: 8px; }
.article-body img { width: 100%; border-radius: var(--radius); margin: 18px 0; }
.article-body a { text-decoration: underline; }
.article-foot { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- 空状态 ---------- */
.empty-state {
  text-align: center; padding: 56px 24px; background: var(--bg-soft);
  border: 1px dashed var(--line); border-radius: var(--radius-l); color: var(--muted); font-size: 14.5px;
}
.empty-ico { font-size: 30px; color: var(--muted-2); margin-bottom: 12px; }

/* ===========================================================
   管理后台
   =========================================================== */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-top {
  background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0;
  position: sticky; top: 0; z-index: 50;
}
.admin-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-top h1 { font-size: 18px; }
.admin-top .sub { font-size: 12.5px; color: var(--muted-2); }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 24px 60px; }

.login-box { max-width: 380px; margin: 80px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px; box-shadow: var(--shadow); }
.login-box h2 { font-size: 20px; margin-bottom: 6px; }
.login-box p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }

.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tab {
  font-family: inherit; font-size: 14.5px; font-weight: 500; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s ease;
}
.admin-tab:hover { border-color: var(--brand); color: var(--brand); }
.admin-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-panel-head h3 { font-size: 17px; }
.admin-panel-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.admin-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2);
}
.admin-row:last-child { border-bottom: 0; }
.admin-row .ar-thumb { width: 64px; height: 48px; border-radius: 8px; background: var(--bg-soft) center/cover; flex-shrink: 0; border: 1px solid var(--line); }
.admin-row .ar-main { flex: 1; min-width: 0; }
.admin-row .ar-title { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row .ar-meta { font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.admin-row .ar-ops { display: flex; gap: 8px; flex-shrink: 0; }
.mini-btn {
  font-family: inherit; font-size: 13px; padding: 7px 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .2s ease;
}
.mini-btn:hover { border-color: var(--brand); color: var(--brand); }
.mini-btn--danger:hover { border-color: #d93025; color: #d93025; }
.mini-btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.mini-btn--primary:hover { background: var(--brand-dark); color: #fff; }

.admin-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.admin-form .form-row { margin-bottom: 14px; }
.admin-form label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.admin-form input, .admin-form select, .admin-form textarea {
  font-family: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; width: 100%; background: #fff; color: var(--ink);
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,82,204,.12); }
.admin-form textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.upload-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.upload-preview { width: 120px; height: 80px; border-radius: 8px; background: #fff center/cover; border: 1px solid var(--line); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hint-box { background: #fff8f0; border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 13px; color: #8a4a08; margin-bottom: 18px; }
.q-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.q-item .q-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.q-item .q-name { font-size: 15px; font-weight: 600; }
.q-item .q-time { font-size: 12.5px; color: var(--muted-2); }
.q-item dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 18px; margin: 0; font-size: 13.5px; }
.q-item dt { color: var(--muted); }
.q-item dd { margin: 0; color: var(--ink-2); word-break: break-all; }

.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 14px; padding: 12px 22px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: all .28s ease; z-index: 200; max-width: 90vw; text-align: center;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: #d93025; }

@media (max-width: 860px) {
  .news-item { grid-template-columns: 1fr; gap: 16px; }
  .item-cover { height: 180px; }
  .article-cover { height: 200px; }
  .q-item dl { grid-template-columns: 1fr; }
  .admin-row { flex-wrap: wrap; }
  .admin-row .ar-ops { width: 100%; }
}

/* ---------- 后台富文本编辑器 ---------- */
.re-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.re-toolbar { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.re-toolbar .mini-btn { padding: 6px 11px; font-size: 12.5px; }
.re-body { min-height: 200px; padding: 14px 16px; outline: none; font-size: 14.5px; line-height: 1.8; background: #fff; color: var(--ink); }
.re-body:focus { box-shadow: inset 0 0 0 2px rgba(20,82,204,.18); }
.re-body p { margin: 0 0 10px; }
.re-body h3 { font-size: 16px; margin: 14px 0 8px; }
.re-body ul { padding-left: 22px; list-style: disc; margin: 0 0 10px; }
.re-body li { margin-bottom: 4px; }
.re-body img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.re-body a { color: var(--brand); text-decoration: underline; }
.re-wrap textarea { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 13px; line-height: 1.7; padding: 14px 16px; border: 0; border-radius: 0; }
