/* ============================================================
   数字蓝点 BLUEDOTS TECH — Swiss International Style
   严格网格 · 无衬线排版 · 克制的蓝色点缀 · 大量留白
   ============================================================ */

:root {
  --blue: #0044ff;          /* 主蓝：呼应“蓝点”品牌 */
  --blue-dark: #0030b8;
  --ink: #111111;           /* 近黑 */
  --ink-soft: #555555;
  --line: #d8d8d8;
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC",
          "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark { display: block; }

.brand-mark-footer { float: left; margin-right: 10px; }

.brand-name { font-size: 18px; letter-spacing: 0.05em; }

.brand-en {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 400;
}

.nav { display: flex; gap: 36px; }

.nav a {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--line);
  padding: 96px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: end;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.hero-side p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.hero-meta span {
  flex: 1;
  padding: 18px 12px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  text-align: center;
}

.hero-meta span:last-child { border-right: 0; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 40px;
  align-items: baseline;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 28px;
  margin-bottom: 56px;
}

.section-no {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.section-head h2 {
  grid-column: 2;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.section-head p {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 12px;
}

/* ---------- Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  padding: 36px 28px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.card:hover { background: #fafafa; }

.card-no {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 19px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
}

.about-text .lead {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-text p { color: var(--ink-soft); }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 34px;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat span { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Process ---------- */
.process-list { counter-reset: step; }

.process-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.process-list li:first-child { border-top: 0; }

.step-no {
  font-size: 40px;
  font-weight: 700;
  color: var(--line);
  transition: color 0.2s;
}

.process-list li:hover .step-no { color: var(--blue); }

.process-list h3 {
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.process-list p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.section-contact { background: var(--ink); color: #fff; }

.section-contact .section-head { border-bottom-color: #fff; }

.section-contact .section-head p { color: #b9b9b9; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-block h3 {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin-bottom: 18px;
  font-weight: 700;
}

.contact-value { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.5; }

.contact-phone:hover { color: var(--blue); }

.contact-note { margin-top: 10px; font-size: 14px; color: #b9b9b9; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #2a2a2a;
  background: var(--ink);
  color: #9a9a9a;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  justify-content: space-between;
}

.footer-grid strong { color: #fff; margin-left: 6px; }

.footer-grid p { font-size: 13px; }

.footer-nav { display: flex; gap: 24px; }

.footer-nav a { font-size: 13px; letter-spacing: 0.1em; }
.footer-nav a:hover { color: #fff; }

.copyright { font-size: 12px; width: 100%; margin-top: 4px; }

.beian { font-size: 12px; width: 100%; }

.beian a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 64px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta span,
  .hero-meta span:first-child,
  .hero-meta span:last-child {
    flex: 1 1 50%;
    text-align: center;
    padding: 18px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-meta span:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-meta span:nth-last-child(-n+2) { border-bottom: 0; }
  .process-list li { grid-template-columns: 64px 1fr; gap: 20px; }
  .step-no { font-size: 28px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head h2, .section-head p { grid-column: 1; }
}
