/* ============================================================
   杭州专注科技有限公司 · 官网样式
   风格：极简墨黑 + 青绿点缀 / 衬线大标题 / 编辑式留白
   ============================================================ */

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

:root {
  --ink: #0b0d0f;
  --ink-soft: #1a1e22;
  --paper: #f7f6f3;
  --paper-2: #eeece7;
  --accent: #d92f2f;
  --accent-deep: #a82222;
  --line: #dedbd4;
  --text: #2a2e33;
  --muted: #7b8288;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: min(1200px, 90%); margin: 0 auto; }

/* 衬线标题字体栈 */
.serif {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ============ 导航 ============ */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: 76px;
  display: flex; align-items: center;
  background: rgba(247, 246, 243, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.topbar.solid { border-bottom-color: var(--line); background: rgba(247, 246, 243, .95); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1200px, 90%); }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(11,13,15,.12);
}
.logo-mark {
  width: 34px; height: 34px; position: relative;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
}
.logo-mark::after {
  content: ""; width: 9px; height: 9px; background: var(--accent);
  border-radius: 50%; display: block;
}
.logo-txt { font-size: 17px; letter-spacing: .12em; font-weight: 600; }
.logo-txt em { font-style: normal; color: var(--muted); font-size: 10px; letter-spacing: .22em; display: block; margin-top: -2px; font-weight: 400; }

.menu { display: flex; align-items: center; gap: 38px; }
.menu a {
  font-size: 14.5px; letter-spacing: .06em; color: var(--text);
  position: relative; padding: 4px 0;
}
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.menu a:hover::after, .menu a.on::after { width: 100%; }
.menu a.on { color: var(--ink); font-weight: 600; }

.menu-btn { display: none; width: 40px; height: 40px; border: none; background: none; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 6px auto; transition: .3s; }

/* ============ 首页 Hero ============ */
.cover {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink);
  color: #f2f1ee;
  overflow: hidden;
}
.cover-bg {
  position: absolute; inset: 0;
  background: url("../images/hero.png") center/cover no-repeat;
  opacity: .55;
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,15,.72) 0%, rgba(11,13,15,.55) 45%, rgba(11,13,15,.92) 100%);
}
.cover .wrap { position: relative; z-index: 2; padding: 130px 0 90px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .3em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 34px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--accent); }

.cover h1 {
  font-size: clamp(36px, 6vw, 74px);
  line-height: 1.18; letter-spacing: .04em; font-weight: 600;
}
.cover h1 .thin {
  display: block; font-weight: 300; color: rgba(242,241,238,.55);
}
.cover .lead {
  margin-top: 30px; max-width: 620px;
  font-size: 16px; line-height: 1.9; color: rgba(242,241,238,.72);
}
.cover-actions { margin-top: 52px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; font-size: 14.5px; letter-spacing: .08em;
  border: 1px solid transparent; border-radius: 999px;
  transition: all .35s var(--ease); cursor: pointer; background: none;
}
.btn-solid { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-line { border-color: rgba(242,241,238,.35); color: #f2f1ee; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.cover-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(242,241,238,.14);
}
.cover-meta .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 0;
}
.cover-meta .cell {
  padding: 26px 24px 26px 0;
  border-right: 1px solid rgba(242,241,238,.12);
}
.cover-meta .cell:last-child { border-right: none; }
.cover-meta .num { font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.cover-meta .num small { font-size: 13px; color: var(--accent); margin-left: 4px; }
.cover-meta .cap { font-size: 12px; letter-spacing: .16em; color: rgba(242,241,238,.5); margin-top: 4px; }

/* ============ 通用区块 ============ */
.block { padding: 120px 0; }
.block.tight { padding: 90px 0; }
.block.dark { background: var(--ink); color: #f2f1ee; }
.block.paper2 { background: var(--paper-2); }

.head { max-width: 720px; margin-bottom: 70px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head .no {
  font-size: 12px; letter-spacing: .3em; color: var(--accent); margin-bottom: 18px; display: block;
}
.head h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.32; letter-spacing: .03em; }
.head p { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.block.dark .head p { color: rgba(242,241,238,.6); }
.block.dark .head h2 { color: #f2f1ee; }

/* ============ 服务编号列表 ============ */
.svc-list { border-top: 1px solid var(--line); }
.svc-item {
  display: grid; grid-template-columns: 88px 1.1fr 1.6fr 120px;
  gap: 32px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s;
  position: relative;
}
.svc-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.svc-item:hover { padding-left: 26px; background: rgba(217,47,47,.035); }
.svc-item:hover::before { transform: scaleY(1); }
.svc-item .idx { font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.svc-item h3 { font-size: 21px; font-weight: 600; letter-spacing: .02em; }
.svc-item p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.svc-item .arrow { justify-self: end; font-size: 20px; color: var(--muted); transition: transform .35s, color .35s; }
.svc-item:hover .arrow { transform: translateX(6px); color: var(--accent); }
.block.dark .svc-list { border-top-color: rgba(242,241,238,.14); }
.block.dark .svc-item { border-bottom-color: rgba(242,241,238,.12); }
.block.dark .svc-item h3 { color: #f2f1ee; }
.block.dark .svc-item p { color: rgba(242,241,238,.55); }

/* ============ 图文分栏 ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .fig { position: relative; }
.split .fig img { border-radius: var(--radius); width: 100%; height: 460px; object-fit: cover; }
.split .fig .tag {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--accent); color: #fff;
  padding: 10px 20px; font-size: 12.5px; letter-spacing: .14em; font-weight: 600;
}
.split h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.4; margin-bottom: 22px; letter-spacing: .02em; }
.split p { font-size: 15px; color: var(--muted); line-height: 1.95; margin-bottom: 16px; text-align: justify; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.mini-stats .v { font-size: 28px; font-weight: 600; color: var(--ink); }
.mini-stats .v small { color: var(--accent); font-size: 14px; }
.mini-stats .k { font-size: 12.5px; letter-spacing: .1em; color: var(--muted); margin-top: 2px; }

/* ============ 优势卡片 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(11,13,15,.09); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .n { font-size: 12px; letter-spacing: .24em; color: var(--accent); margin-bottom: 26px; }
.card h3 { font-size: 18.5px; margin-bottom: 12px; font-weight: 600; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.9; }

/* ============ 页面头（内页）============ */
.page-head {
  padding: 190px 0 90px; background: var(--ink); color: #f2f1ee; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px;
  border: 1px solid rgba(217,47,47,.3); border-radius: 50%;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: .05em; }
.page-head .path { margin-top: 16px; font-size: 12.5px; letter-spacing: .2em; color: rgba(242,241,238,.45); }
.page-head .path b { color: var(--accent); font-weight: 400; }

/* ============ 关于页 ============ */
.timeline { border-left: 1px solid var(--line); padding-left: 34px; }
.tl-item { position: relative; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -40px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--accent);
}
.tl-item h3 { font-size: 18px; margin-bottom: 8px; }
.tl-item .t { font-size: 12.5px; letter-spacing: .18em; color: var(--accent); margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }

.quote {
  border-left: 2px solid var(--accent); padding: 6px 0 6px 26px;
  font-size: 19px; line-height: 1.9; color: var(--ink-soft); letter-spacing: .02em;
}

/* ============ 服务详情 ============ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail.flip .fig { order: 2; }
.svc-detail .fig img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.svc-detail .kicker { font-size: 12px; letter-spacing: .26em; color: var(--accent); margin-bottom: 14px; }
.svc-detail h3 { font-size: 27px; margin-bottom: 16px; letter-spacing: .02em; }
.svc-detail .desc { font-size: 15px; color: var(--muted); line-height: 1.95; margin-bottom: 22px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { font-size: 14px; color: var(--text); padding-left: 20px; position: relative; }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ============ 联系页 ============ */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.15fr; gap: 64px; align-items: start; }
.c-list { border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.c-item .k { font-size: 12.5px; letter-spacing: .18em; color: var(--muted); }
.c-item .v { font-size: 16px; color: var(--ink); line-height: 1.8; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px; }
.form-card h3 { font-size: 21px; margin-bottom: 6px; }
.form-card .hint { font-size: 13.5px; color: var(--muted); margin-bottom: 30px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12.5px; letter-spacing: .14em; color: var(--muted); margin-bottom: 9px; }
.field label i { color: #d6336c; font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 2px; border: none; border-bottom: 1px solid var(--line);
  background: transparent; font-size: 15px; font-family: inherit; color: var(--ink);
  outline: none; transition: border-color .25s; border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }
.field.bad input, .field.bad textarea { border-bottom-color: #d6336c; }
.field .msg { display: none; font-size: 12px; color: #d6336c; margin-top: 6px; }
.field.bad .msg { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.sent { display: none; text-align: center; padding: 60px 10px; }
.form-alert {
  display: none; margin-bottom: 22px; padding: 12px 15px;
  background: #fdecec; border-left: 2px solid var(--accent);
  color: #8f2020; font-size: 13px; line-height: 1.75;
}
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }
.sent .ok { width: 62px; height: 62px; border-radius: 50%; background: rgba(217,47,47,.1); color: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; font-size: 28px; }
.sent h4 { font-size: 20px; margin-bottom: 10px; }
.sent p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* ============ CTA ============ */
.cta { background: var(--ink); color: #f2f1ee; padding: 100px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: -60%; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(217,47,47,.18), transparent 62%);
  transform: translateX(-50%);
}
.cta .wrap { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.4; letter-spacing: .03em; }
.cta p { margin-top: 16px; color: rgba(242,241,238,.6); font-size: 15.5px; }
.cta .btn { margin-top: 40px; }

/* ============ 页脚 ============ */
.foot { background: #070809; color: rgba(242,241,238,.62); padding: 78px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.foot h4 { font-size: 13px; letter-spacing: .2em; color: #f2f1ee; margin-bottom: 20px; }
.foot p, .foot li { font-size: 13.5px; line-height: 2.1; }
.foot a:hover { color: var(--accent); }
.foot .brand-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot .brand-line .logo-img { width: 38px; height: 38px; box-shadow: none; border: 1px solid rgba(242,241,238,.15); }
.foot .brand-line .logo-mark { border-color: rgba(242,241,238,.5); }
.foot .brand-line strong { color: #f2f1ee; font-size: 15px; letter-spacing: .08em; }
.foot-bottom {
  border-top: 1px solid rgba(242,241,238,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(242,241,238,.38); letter-spacing: .06em;
}
.foot-bottom a.icp { color: rgba(242,241,238,.38); transition: color .25s; }
.foot-bottom a.icp:hover { color: #f2f1ee; }

/* ============ 动效 ============ */
.up { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.up.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .svc-item { grid-template-columns: 60px 1fr 90px; }
  .svc-item p { display: none; }
  .split, .contact-wrap, .svc-detail { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail.flip .fig { order: 0; }
  .split .fig img { height: 340px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .menu {
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 5% 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .4s var(--ease);
  }
  .menu.open { transform: none; }
  .menu a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .menu-btn { display: block; }
  /* 首屏改为常规文档流，杜绝数据条与按钮重叠 */
  .cover { display: block; min-height: 0; }
  .cover .wrap { padding: 96px 0 56px; }
  .eyebrow { margin-bottom: 22px; }
  .cover .lead { margin-top: 20px; font-size: 15px; }
  .cover-actions { margin-top: 32px; gap: 12px; }
  .cover-actions .btn { flex: 1 1 100%; justify-content: center; padding: 14px 20px; }
  .cover-meta { position: static; }
  .cover-meta .wrap { grid-template-columns: 1fr 1fr; }
  .cover-meta .cell { border-right: none; padding: 18px 0; }
  .cover-meta .cell:nth-child(odd) { border-right: 1px solid rgba(242,241,238,.12); padding-right: 16px; }
  .page-head { padding: 130px 0 64px; }
  .cta { padding: 70px 0; }
  .grid-3, .foot-grid, .two-col { grid-template-columns: 1fr; }
  .block { padding: 80px 0; }
  .split .fig img, .svc-detail .fig img { height: 260px; }
  .form-card { padding: 30px 24px; }
  .svc-detail { padding: 44px 0; }
  .mini-stats { gap: 16px; }
  .mini-stats .v { font-size: 22px; }
}
