/* ============================================================
   郑州市骏澜咨询服务有限公司 · 企业官网
   设计风格：白底简约 / Minimalist White
   ============================================================ */

:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --line: #eaeef5;
  --soft: #f6f8fc;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf1ff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --maxw: 1160px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { width: min(var(--maxw), 92vw); margin: 0 auto; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.brand .name { font-size: 16px; letter-spacing: .2px; }
.brand .name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--fg); margin: 4px 0; transition: .25s; }

/* ---------------- Hero ---------------- */
.hero { padding: 96px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 999px;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.18; margin: 22px 0 18px;
  letter-spacing: -0.5px; font-weight: 800;
}
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: .2s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  background: linear-gradient(160deg, #f3f7ff, #ffffff);
  border: 1px solid var(--line); border-radius: 24px; padding: 34px;
  box-shadow: var(--shadow);
}
.hero-visual .stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-card .lbl { font-size: 13px; color: var(--muted); }

/* ---------------- Sections ---------------- */
.section { padding: 86px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .tag { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin: 12px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: .25s; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6e2fb; }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .more { margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 14px; }
.card .more:hover { gap: 10px; }

/* Feature / steps */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .visual { order: -1; }
.feature-list { display: grid; gap: 20px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .dot {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.feature-item h4 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: 15px; }

.panel {
  background: linear-gradient(160deg, #f3f7ff, #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.panel .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.panel .mini-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.panel .mini-stats .n { font-size: 24px; font-weight: 800; color: var(--accent); }
.panel .mini-stats .t { font-size: 13px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step .idx { font-size: 30px; font-weight: 800; color: var(--accent-soft); line-height: 1; }
.step h4 { margin: 12px 0 8px; font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; }

/* Sub-hero for inner pages */
.page-hero { padding: 72px 0 54px; background: linear-gradient(180deg, #f6f8fc, #fff); border-bottom: 1px solid var(--line); }
.page-hero .tag { color: var(--accent); font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 14px; font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 720px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff; border-radius: 24px; padding: 56px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: #c7d2fe; font-size: 17px; margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: #eaf1ff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .row { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .row .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; flex: none; }
.contact-info .row h4 { font-size: 16px; }
.contact-info .row p { color: var(--muted); font-size: 15px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; background: #fff; transition: border .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 30px; margin-top: 20px; }

/* QR Code block */
.qr-block {
  text-align: center; margin: 28px auto;
}
.qr-block img {
  width: 140px; height: 140px; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.qr-block p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.qr-block a { color: var(--accent); font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { color: var(--muted); font-size: 14px; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .visual { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    gap: 0; padding: 8px 0; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 6vw; width: 100%; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 6vw; text-align: center; }
  .nav-toggle { display: block; }
  .cta-band { padding: 40px 26px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual .stat-row { grid-template-columns: 1fr; }
}

/* ---------------- 案例展示 ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .2s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: .25s; display: flex; flex-direction: column;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6e2fb; }
.gallery-item .thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.gallery-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover .thumb img { transform: scale(1.05); }
.gallery-item .meta { padding: 18px 20px; }
.gallery-item .cat {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.gallery-item h3 { font-size: 17px; margin-bottom: 6px; }
.gallery-item p { color: var(--muted); font-size: 14px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,23,42,.88); display: none; align-items: center; justify-content: center; z-index: 100; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; }
.lightbox .close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s; }
.lightbox .close:hover { background: rgba(255,255,255,.3); }

/* ICP / 公安备案 */
.footer-beian { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 18px 0 4px; font-size: 14px; color: var(--muted); line-height: 1.8; text-align: center; }
.footer-beian a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-beian a:hover { color: var(--accent); }
.footer-beian .beian-sep { color: var(--line); }
.footer-beian .beian-icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }


@media (max-width: 920px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
