/* ============================================================
   青岛通汇海康智能科技发展有限公司 · 官网样式
   风格：工业 B 端 · 深色钢蓝 · 大数字 · 克制
   ============================================================ */

:root {
  --ink: #0d1a24;
  --ink-2: #14262f;
  --ink-3: #1c3540;
  --steel: #1e4c5e;
  --steel-light: #2b6b82;
  --accent: #c8963e;
  --accent-soft: #e6b866;
  --paper: #f5f7f8;
  --paper-2: #ffffff;
  --line: #dfe5e9;
  --text: #1f2d36;
  --text-2: #5a6b76;
  --text-3: #8b9aa4;
  --radius: 4px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- 吸顶导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 26, 36, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-mark {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

.brand-sub {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 13px;
  font-size: 14.5px;
  color: #cdd8de;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-cta {
  padding: 9px 18px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 82% 8%, rgba(43, 107, 130, 0.45) 0%, transparent 46%),
    radial-gradient(circle at 12% 92%, rgba(30, 76, 94, 0.35) 0%, transparent 42%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  padding: 84px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent-soft);
  margin-bottom: 22px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}

.hero-entity {
  max-width: 830px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #c3d0d8;
  margin-bottom: 16px;
}

.hero-entity strong { color: #fff; font-weight: 600; }

.hero-area {
  font-size: 13.5px;
  color: var(--accent-soft);
  letter-spacing: 0.5px;
  margin-bottom: 34px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-facts > div {
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 22px;
}

.hero-facts dt {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-facts dd {
  font-size: 14.5px;
  color: #e4ecf0;
  line-height: 1.6;
}

/* ---------- 信任横条 ---------- */
.trust-bar {
  background: var(--ink-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar ul {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.trust-bar li {
  padding: 16px 0;
  font-size: 13.5px;
  color: #a9bcc6;
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 18px;
}

.trust-bar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- 通用 section ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px;
}

.section-alt {
  background: var(--paper-2);
  max-width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-alt > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.section-alt .section-head,
.section-alt .fit-grid,
.section-alt .steps,
.section-alt .case-placeholder {
  padding-left: 24px;
  padding-right: 24px;
  max-width: calc(var(--maxw) + 48px);
}

.section-head { margin-bottom: 44px; }

.section-head h2 {
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 4px;
  height: 0.95em;
  background: var(--accent);
}

.section-lead {
  font-size: 15px;
  color: var(--text-2);
  max-width: 760px;
}

/* ---------- 服务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--steel-light));
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  border-color: var(--steel-light);
  box-shadow: 0 10px 32px rgba(30, 76, 94, 0.11);
  transform: translateY(-3px);
}

.card:hover::before { opacity: 1; }

.card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.card p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 14px;
}

.card p strong { color: var(--steel); }

.card-note {
  font-size: 12.5px !important;
  color: var(--text-3) !important;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-bottom: 0 !important;
  letter-spacing: 0.2px;
}

/* ---------- 适合谁 ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.fit-col {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.fit-col h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.fit-yes { color: var(--steel); }
.fit-no { color: #a0503f; }

.fit-col ul { list-style: none; }

.fit-col li {
  font-size: 14.5px;
  color: var(--text-2);
  padding: 9px 0 9px 24px;
  position: relative;
  line-height: 1.75;
}

.fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--steel-light);
  font-weight: 700;
}

.fit-no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #b8766a;
  font-weight: 700;
}

/* ---------- 价格表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.price-table th {
  background: var(--ink-3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 16px 22px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-table td {
  padding: 17px 22px;
  font-size: 14.5px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  line-height: 1.7;
}

.price-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.price-table tbody tr:hover { background: #f9fbfc; }

.evidence {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-2);
}

.placeholder {
  display: inline-block;
  background: #fff7e6;
  border: 1px dashed var(--accent);
  color: #8a6a2a;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 13.5px;
}

.price-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-3);
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

/* ---------- 流程 ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}

.step-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.steps h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.steps p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.faq details[open] { background: #fbfcfd; }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  line-height: 1.6;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq summary:hover { color: var(--steel); }

.faq details p {
  padding: 0 44px 24px 0;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.95;
}

/* ---------- 案例 ---------- */
.case-placeholder {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 44px 30px;
  text-align: center;
}

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

.contact-info h3,
.contact-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-info dl > div {
  margin-bottom: 18px;
}

.contact-info dt {
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-info dd {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
}

.contact-info dd a {
  color: var(--steel);
  font-weight: 600;
  border-bottom: 1px solid rgba(30, 76, 94, 0.3);
}

.contact-info dd a:hover { border-bottom-color: var(--steel); }

.contact-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.contact-form label {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 16px;
  font-weight: 500;
}

.contact-form input,
.contact-form select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--steel-light);
  background: #fff;
}

.contact-form .btn { width: 100%; margin-top: 6px; }

.form-note {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 12px;
  text-align: center;
  line-height: 1.6;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: #a9bcc6;
  padding: 56px 24px 40px;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr;
  gap: 32px;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-3);
}

.footer-nap p {
  font-size: 13.5px;
  margin-bottom: 7px;
  line-height: 1.7;
}

.footer-nap strong {
  color: var(--accent-soft);
  font-weight: 500;
  margin-right: 8px;
  font-size: 12.5px;
}

.footer-legal p {
  font-size: 12.5px;
  line-height: 1.8;
  color: #6b7e89;
  margin-bottom: 10px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .nav-cta { margin-left: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 20px 48px; }
  .section { padding: 56px 20px; }
  .section-alt .section-head,
  .section-alt .fit-grid,
  .section-alt .steps,
  .section-alt .case-placeholder { padding-left: 20px; padding-right: 20px; }
  .brand-sub { display: none; }
  .hero h1 br { display: none; }
  .hero-facts { grid-template-columns: 1fr; }
  .faq summary { font-size: 15px; padding-right: 34px; }
  .faq details p { padding-right: 0; }
  .footer-nap p { font-size: 13px; }
}
