/* 鼎峰测绘官网 全局样式 - 方向C：行业大气风（深蓝+大图） */
:root {
  --navy: #0b2c52;
  --navy-deep: #08203f;
  --primary: #1565c0;
  --primary-light: #e8f1fb;
  --accent: #f2a33c;
  --text: #24313f;
  --muted: #5f7186;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --maxw: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* 顶部导航：深蓝 */
header.site {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(8,32,63,.25);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .logo {
  width: 34px; height: 38px; object-fit: contain; display: block; flex: none;
}
.brand .name { font-size: 19px; color: #fff; }
.brand .sub { font-size: 12px; color: #9db8d6; font-weight: 400; }
nav.main { display: flex; gap: 2px; }
nav.main a {
  color: #c9d9ec; padding: 8px 14px; border-radius: 6px; font-size: 15px;
}
nav.main a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
nav.main a.active { color: #fff; font-weight: 600; background: rgba(255,255,255,.12); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 6px; padding: 6px 10px; font-size: 18px; }

/* 首屏：整幅大图 + 深蓝压图 + 底部实力条 */
.hero {
  position: relative; color: #fff;
  background: url("../assets/hero-site.jpg") center/cover no-repeat;
  padding: 110px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,32,63,.9) 0%, rgba(8,32,63,.6) 55%, rgba(8,32,63,.3) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: 90px; }
.hero .kicker {
  display: inline-block; font-size: 14px; color: #ffd9a0;
  border: 1px solid rgba(242,163,60,.6); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 20px; background: rgba(8,32,63,.35);
}
.hero h1 { font-size: 38px; line-height: 1.4; max-width: 640px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero h1 .slogan-gold { color: #f2a33c; }
.hero p.slogan-sub { font-size: 18px; color: #ffd9a0; margin-top: 12px; font-weight: 600; letter-spacing: 1px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero p.lead { font-size: 16px; color: #d5e3f2; margin-top: 16px; max-width: 560px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero .cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 8px;
  font-size: 16px; font-weight: 700; text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: var(--navy-deep); }
.btn-ghost { background: rgba(8,32,63,.35); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.hero .strip {
  position: relative; z-index: 1;
  background: rgba(8,32,63,.82); backdrop-filter: blur(4px);
}
.hero .strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 18px; padding-bottom: 18px;
}
.hero .strip .si { text-align: center; border-right: 1px solid rgba(255,255,255,.14); padding: 6px 10px; }
.hero .strip .si:last-child { border-right: none; }
.hero .strip .si .v { font-size: 20px; font-weight: 800; color: #ffd9a0; }
.hero .strip .si .k { font-size: 13px; color: #b9cde3; margin-top: 2px; }

/* 内页横幅：大图 + 压图 */
.page-banner {
  position: relative; color: #fff; padding: 72px 0 60px;
  background: url("../assets/hero-site.jpg") center 40%/cover no-repeat;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,32,63,.88), rgba(8,32,63,.55));
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { font-size: 30px; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.page-banner p { color: #d5e3f2; max-width: 720px; font-size: 15px; }

/* 区块 */
section.block { padding: 60px 0; }
section.block.alt { background: var(--bg-soft); }
.sec-title { font-size: 26px; margin-bottom: 8px; color: var(--navy); }
/* 镜头里的鼎峰：真实照片墙 */
section.block.life { background: #fffaf4; }
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.life-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(11,44,82,.07); transition: transform .25s ease, box-shadow .25s ease; }
.life-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(11,44,82,.14); }
.life-card.wide { grid-column: span 2; }
.life-photo { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#e8d9c4,#f6ead9); display:flex; align-items:center; justify-content:center; }
.life-card:not(.wide) .life-photo { aspect-ratio: 4/3; }
.life-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.life-photo .ph-label { font-size: 12px; color: #9a7d5c; letter-spacing: 1px; border: 1px dashed #c9a97f; padding: 7px 13px; border-radius: 6px; }
.life-photo:has(img) .ph-label { display: none; }
.life-cap { padding: 14px 16px 16px; }
.life-cap strong { display:block; font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.life-cap span { font-size: 12px; color: var(--muted); }
.life-note { margin-top: 20px; font-size: 13px; color: var(--muted); }
.video-cta { display:flex; align-items:center; gap: 20px; margin-top: 26px; padding: 18px 22px; background: var(--navy); border-radius: 12px; color:#fff; }
.video-cta img { width: 92px; height: 92px; object-fit: contain; background:#fff; border-radius: 8px; flex:none; }
.video-cta strong { font-size: 17px; color: #ffd9a0; }
.video-cta p { font-size: 13px; color: #c9d9ec; margin-top: 6px; line-height: 1.8; }
@media (max-width: 860px) { .life-grid { grid-template-columns: repeat(2,1fr); } .video-cta { flex-direction:column; text-align:center; } }

/* 品牌故事 */
section.block.story { background: #fff; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0 0; }
.story-item { position: relative; padding: 22px 18px 18px; background: var(--bg-soft); border-radius: 10px; border-top: 3px solid var(--accent); }
.story-item .yr { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.story-item h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.story-item p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.story-quote { margin-top: 30px; padding: 26px 30px; background: var(--navy); border-radius: 12px; color: #fff; }
.story-quote p { font-size: 17px; line-height: 1.9; color: #f3e2c8; }
.story-quote span { display: block; margin-top: 12px; font-size: 13px; color: #9db8d6; }
@media (max-width: 860px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
.sec-desc { color: var(--muted); margin-bottom: 32px; max-width: 760px; }

/* 卡片网格 */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 24px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 10px 26px rgba(11,44,82,.10); transform: translateY(-2px); }
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--muted); font-size: 15px; }
.card .icon { font-size: 28px; margin-bottom: 10px; }

/* 产品卡 */
.prod-card { display: flex; flex-direction: column; border-top: 4px solid var(--navy); }
.prod-card .cat { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.prod-card ul { margin: 10px 0 0 18px; color: var(--muted); font-size: 14px; }

/* 服务流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow .step {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 16px 18px; text-align: center;
}
.flow .step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #ffd9a0;
  font-weight: 800; font-size: 16px; margin-bottom: 10px;
}
.flow .step h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.flow .step p { font-size: 13px; color: var(--muted); }

/* 场景选型卡 */
.scene-card { border-top: 4px solid var(--accent); }
.scene-card .tag {
  display: inline-block; font-size: 13px; color: var(--navy);
  background: var(--primary-light); border-radius: 6px; padding: 2px 10px; margin-top: 10px;
}

/* 品牌墙 */
.brand-wall { display: flex; flex-wrap: wrap; gap: 14px; }
.brand-chip {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 26px; font-size: 17px; font-weight: 700; color: var(--navy);
}
.brand-chip.own {
  background: var(--navy); color: #ffd9a0; border: none;
}

/* FAQ */
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 14px; padding: 20px 24px;
}
.faq-item h3 { font-size: 17px; margin-bottom: 10px; color: var(--navy); }
.faq-item h3::before { content: "Q："; color: var(--primary); font-weight: 700; }
.faq-item .a { color: var(--text); font-size: 15px; }
.faq-item .a strong { color: var(--navy); }
.faq-item ol, .faq-item ul { margin: 8px 0 0 20px; }
.faq-item li { margin-bottom: 4px; }

/* 售后承诺条 */
.promise {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff; border-radius: 16px; padding: 38px 34px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.promise .p-item { text-align: center; }
.promise .p-item .pi { font-size: 26px; margin-bottom: 8px; }
.promise .p-item h3 { font-size: 16px; color: #ffd9a0; margin-bottom: 4px; }
.promise .p-item p { font-size: 13px; color: #b9cde3; }

/* 表格 */
table.data {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
table.data th, table.data td {
  padding: 12px 16px; text-align: left; font-size: 15px;
  border-bottom: 1px solid var(--border);
}
table.data th { background: var(--primary-light); font-weight: 600; color: var(--navy); }
table.data tr:last-child td { border-bottom: none; }

/* 二维码专区 */
.qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qr-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 16px; text-align: center;
}
.qr-card .qr-box {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  border: 2px dashed var(--border); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; margin-bottom: 12px;
  overflow: hidden;
}
.qr-card .qr-box img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.qr-card .qr-id { font-size: 12px; color: var(--primary); margin-top: 6px; }
.qr-card h3 { font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.qr-card p { font-size: 13px; color: var(--muted); }

/* 联系我们大按钮 */
.contact-hero-btn {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 14px; padding: 24px 28px; margin-bottom: 28px;
  text-decoration: none !important;
}
.contact-hero-btn .big-icon { font-size: 36px; }
.contact-hero-btn .t1 { font-size: 19px; font-weight: 700; color: var(--navy); }
.contact-hero-btn .t2 { font-size: 14px; color: var(--muted); }
.contact-hero-btn .arrow { margin-left: auto; font-size: 24px; color: var(--accent); }

/* 更新日期 */
.updated { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

/* 页脚 */
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.f-brand .logo { width: 32px; height: 36px; object-fit: contain; flex: none; }
.f-brand strong { color: #fff; font-size: 17px; display: block; line-height: 1.4; }
.f-brand p { font-size: 13px; color: #9db8d6; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.f-copy { font-size: 13px; color: #8ea6c1; line-height: 1.9; }
footer.site {
  background: var(--navy-deep); color: #9db8d6; padding: 40px 0 24px; margin-top: 0;
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer.site h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
footer.site a { color: #9db8d6; display: block; margin-bottom: 6px; font-size: 14px; }
footer.site .icp {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px;
  font-size: 13px; text-align: center; color: #6f89a6;
}

@media (max-width: 860px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .promise { grid-template-columns: repeat(2, 1fr); padding: 26px 20px; }
  .hero .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero .strip .si:nth-child(2) { border-right: none; }
  footer.site .cols { grid-template-columns: 1fr; }
  nav.main {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; padding: 10px;
  }
  nav.main.open { display: flex; }
  .menu-btn { display: block; }
  .hero { padding: 64px 0 0; }
  .hero h1 { font-size: 27px; }
  .hero .wrap { padding-bottom: 56px; }
}
