/* ==========================================================
   陕西弘宇蓝城信息科技有限公司 · 官网样式（参考 moveqq.com 模板风格）
   深色顶栏 / 插画 Banner / 青绿双行标题 / 三列白卡 / 新闻列表 / 地图 / 深色页脚
   ========================================================== */

:root {
  --green: #00b894;
  --green-d: #00997c;
  --green-soft: #e6f8f3;
  --deep: #152142;
  --deep-2: #1e2d5a;
  --ink: #333333;
  --muted: #888888;
  --line: #e8e8e8;
  --bg-soft: #f7f8fa;
  --radius: 6px;
  --shadow: 0 6px 20px rgba(0, 0, 0, .08);
  --maxw: 1200px;
  --header-h: 64px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block; padding: 10px 34px; font-size: 14px;
  border: 1px solid #cfcfcf; color: #666; background: #fff;
  border-radius: 3px; transition: .25s; letter-spacing: 1px;
}
.btn:hover { border-color: var(--green); color: var(--green); }
.btn-solid {
  display: inline-block; padding: 11px 36px; font-size: 14px; color: #fff;
  background: var(--green); border-radius: 3px; letter-spacing: 1px; transition: .25s;
}
.btn-solid:hover { background: var(--green-d); color: #fff; }
.btn-light {
  display: inline-block; padding: 10px 32px; font-size: 14px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px; transition: .25s; letter-spacing: 1px;
}
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- 顶部导航（深色半透明，覆盖在 Banner 上） ---------- */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(14, 20, 44, .55);
  backdrop-filter: blur(6px);
}
.header.solid, .header.scrolled {
  position: fixed; background: rgba(14, 20, 44, .94);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
  animation: headIn .3s ease;
}
@keyframes headIn { from { transform: translateY(-100%); } to { transform: none; } }

.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { font-size: 19px; color: #fff; font-weight: 500; letter-spacing: 2px; }
.logo-text small { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); letter-spacing: 2.5px; line-height: 1; margin-top: 2px; }

.menu { display: flex; align-items: center; gap: 8px; }
.menu > li { position: relative; }
.menu a {
  display: block; padding: 8px 20px; font-size: 15px; color: rgba(255, 255, 255, .92);
  letter-spacing: 1px; transition: .2s;
}
.menu a:hover, .menu a.active { color: var(--green); }
.menu a.active::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: -2px;
  height: 2px; background: var(--green);
}
.nav .menu li:last-child a.active::after { display: none; }

.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger span + span { margin-top: 5px; }
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Banner（深蓝科技插画） ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #232c58 0%, #2f4788 46%, #3c5ba6 100%);
}
.hero-art { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-art svg { width: 100%; height: auto; }

/* ---------- 首页简介条 ---------- */
.intro { padding: 78px 0 66px; background: #fff; }
.intro-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.intro-txt p { color: #666; font-size: 15px; margin-top: 16px; text-align: justify; }
.intro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.istat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; text-align: center; transition: .25s; }
.istat:hover { border-color: var(--green); background: var(--green-soft); }
.istat b { display: block; font-size: 28px; font-weight: 700; color: var(--green); line-height: 1.2; }
.istat b small { font-size: 13px; font-weight: 500; margin-left: 2px; }
.istat span { font-size: 13px; color: #999; }

/* ---------- 区块标题（中文大字 + 英文小字，居中，青绿） ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 { font-size: 28px; font-weight: 500; color: var(--green); letter-spacing: 3px; }
.sec-head .sec-en {
  display: inline-block; margin-top: 6px; font-size: 12px; color: #b5b5b5;
  letter-spacing: 5px; text-transform: uppercase;
}
.sec-head .sec-line { width: 46px; height: 3px; background: var(--green); margin: 16px auto 0; border-radius: 2px; }
.sec-head p.desc { margin-top: 14px; font-size: 14px; color: #999; }
.head-left { text-align: left; }
.head-left .sec-line { margin-left: 0; }

/* ---------- 产品/业务卡片（三列，白底边框） ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .3s; display: block;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d5efe7; }
.pcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pcard-img svg { width: 100%; height: 100%; }
.pcard-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .18));
  opacity: 0; transition: .3s;
}
.pcard:hover .pcard-img::after { opacity: 1; }
.pcard h3 {
  text-align: center; font-size: 16px; font-weight: 500; color: #444;
  padding: 15px 12px; letter-spacing: 1px; border-top: 1px solid var(--line); transition: .25s;
}
.pcard:hover h3 { color: var(--green); }

.more-wrap { text-align: center; margin-top: 44px; }

/* ---------- 数字条 ---------- */
.metrics { background: linear-gradient(120deg, var(--deep) 0%, #22366b 60%, #2b4a8f 100%); padding: 56px 0; }
.metrics-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metric b { display: block; font-size: 38px; font-weight: 700; color: #fff; line-height: 1.15; }
.metric b small { font-size: 16px; font-weight: 500; margin-left: 2px; }
.metric span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .65); letter-spacing: 1px; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-visual svg { width: 100%; height: auto; }

.feature-list { margin-top: 26px; }
.feature-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  background: var(--green-soft); display: grid; place-items: center;
}
.feature-list .fi svg { width: 12px; height: 12px; stroke: var(--green); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-list h4 { font-size: 15.5px; font-weight: 600; color: #444; }
.feature-list p { font-size: 13.5px; color: #999; margin-top: 1px; }

/* ---------- 信息表 ---------- */
.info-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #fff; }
.info-table th, .info-table td { padding: 14px 18px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 160px; background: var(--bg-soft); color: #888; font-weight: 500; }
.info-table td { color: #444; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #cdeee4; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.tl-date { font-size: 13px; font-weight: 600; color: var(--green); }
.tl-item h4 { font-size: 16px; font-weight: 600; color: #444; margin-top: 3px; }
.tl-item p { font-size: 14px; color: #999; margin-top: 4px; }

/* ---------- 流程步骤 ---------- */
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: .3s; }
.step:hover { border-color: var(--green); transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num { font-size: 30px; font-weight: 700; color: #d8efe8; line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 16px; font-weight: 600; color: #444; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: #999; }

/* ---------- 新闻列表（参考站样式：日期 + 标题 + 摘要） ---------- */
.news-list { max-width: 900px; margin: 0 auto; }
.news-item {
  display: flex; gap: 22px; padding: 22px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; transition: .25s;
}
.news-item:hover { border-color: var(--green); box-shadow: var(--shadow); }
.news-date {
  flex-shrink: 0; width: 78px; height: 78px; background: var(--green-soft);
  border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.news-date b { font-size: 26px; font-weight: 700; color: var(--green); line-height: 1.1; }
.news-date span { font-size: 12px; color: #9db8b0; }
.news-item h3 { font-size: 16.5px; font-weight: 600; color: #444; transition: .2s; }
.news-item:hover h3 { color: var(--green); }
.news-item p { font-size: 13.5px; color: #999; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { flex-shrink: 0; align-self: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: #bbb; transition: .25s; }
.news-item:hover .news-more { background: var(--green); border-color: var(--green); color: #fff; }
.news-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 地图区块 ---------- */
.map-section { padding: 0; }
.map-box { position: relative; height: 420px; background: #eef2f5; overflow: hidden; }
.map-box svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -100%);
  text-align: center; z-index: 3;
}
.map-pin svg { margin: 0 auto 6px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.map-card {
  display: inline-block; background: #fff; border-radius: 4px; box-shadow: var(--shadow);
  padding: 12px 18px; font-size: 13.5px; color: #555; max-width: 380px;
}
.map-card b { display: block; color: #333; font-size: 14.5px; margin-bottom: 2px; }
.map-card a { color: var(--green); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--deep) 0%, #22366b 100%); padding: 60px 30px; text-align: center; color: #fff; }
.cta-band h2 { font-size: 26px; font-weight: 500; letter-spacing: 2px; }
.cta-band p { margin: 12px auto 28px; max-width: 560px; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-card { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; transition: .25s; }
.contact-card:hover { border-color: var(--green); }
.contact-card .ci { width: 44px; height: 44px; border-radius: 8px; background: var(--green-soft); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ci svg { width: 21px; height: 21px; stroke: var(--green); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h4 { font-size: 15px; font-weight: 600; color: #444; }
.contact-card p { font-size: 13.5px; color: #999; margin-top: 2px; word-break: break-all; }

.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: #555; margin-bottom: 7px; }
.field label i { color: #e5484d; font-style: normal; margin-left: 3px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: inherit; color: #444;
  background: #fbfbfb; border: 1px solid var(--line); border-radius: 3px; outline: none; transition: .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 184, 148, .12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: #aaa; margin-top: 12px; }

/* ---------- 内页 Banner ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 58px) 0 56px;
  background: linear-gradient(180deg, #232c58 0%, #2f4788 100%);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 30px; font-weight: 500; letter-spacing: 3px; }
.page-hero .crumb { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.page-hero .crumb a:hover { color: var(--green); }

/* ---------- 页脚（深色居中） ---------- */
.footer { background: #171c30; color: #9aa0b5; padding: 34px 0; text-align: center; }
.footer-links { margin-bottom: 12px; font-size: 13.5px; }
.footer-links a { color: #9aa0b5; padding: 0 14px; }
.footer-links a:hover { color: var(--green); }
.footer p { font-size: 13px; line-height: 2; }
.footer a:hover { color: var(--green); }

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

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: #171c30; color: #fff; padding: 12px 26px; border-radius: 4px;
  font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .intro-wrap, .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu {
    position: fixed; top: 0; left: 0; right: 0; z-index: 99; flex-direction: column; align-items: stretch;
    background: rgba(14, 20, 44, .97); padding: calc(var(--header-h) + 10px) 24px 26px; gap: 0;
    transform: translateY(-105%); transition: .3s; box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    max-height: 100vh; overflow-y: auto;
  }
  .menu.open { transform: none; }
  .menu a { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu a.active::after { display: none; }
  .burger { display: flex; position: relative; z-index: 101; }

  .section { padding: 52px 0; }
  .sec-head h2 { font-size: 22px; letter-spacing: 2px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .intro { padding: 52px 0; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-art svg { min-height: 320px; object-fit: cover; }
  .news-item { padding: 16px 14px; gap: 14px; }
  .news-date { width: 64px; height: 64px; }
  .news-date b { font-size: 20px; }
  .form-wrap { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .map-box { height: 300px; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 42px; }
  .page-hero h1 { font-size: 23px; }
  .metrics { padding: 42px 0; }
  .metric b { font-size: 30px; }
  .cta-band { padding: 44px 22px; }
  .info-table th { width: 112px; }
  .info-table th, .info-table td { padding: 11px 12px; font-size: 13px; }
}
