/* ============================================
   西安一布科技有限公司 官网样式
   主色：深蓝 #0A1830 / 科技蓝 #2E6BFF / 青 #22D3EE
   ============================================ */

:root {
  --navy: #0A1830;
  --navy-2: #0E2244;
  --blue: #2E6BFF;
  --cyan: #22D3EE;
  --text: #1F2937;
  --text-2: #5B6472;
  --line: #E5EAF2;
  --bg-light: #F6F8FC;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 34, 68, .08);
  --shadow-lg: 0 20px 50px rgba(14, 34, 68, .14);
}

* { 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(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header .nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-header.scrolled {
  background: rgba(10, 24, 48, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
/* 浅色页面（非首页）头部默认深色底 */
.site-header.solid {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
  box-shadow: 0 6px 16px rgba(46, 107, 255, .4);
}
.logo-text { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.logo-text small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 3px; color: rgba(255,255,255,.6); }

.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
  color: rgba(255, 255, 255, .82); font-size: 15px; position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .25s;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 101;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: #fff; border-radius: 2px; transition: .3s;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(46, 107, 255, .22), transparent 60%),
    linear-gradient(160deg, #081226 0%, var(--navy) 55%, #10264B 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; padding: 140px 0 90px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .4);
  background: rgba(34, 211, 238, .08);
  color: var(--cyan); font-size: 13px; letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.25; font-weight: 800; letter-spacing: 2px;
  max-width: 760px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #6FA8FF, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  margin: 22px 0 38px; max-width: 620px;
  color: rgba(255, 255, 255, .72); font-size: 17px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: 0;
}
.btn-primary {
  background: linear-gradient(90deg, var(--blue), #4F8DFF);
  color: #fff; box-shadow: 0 10px 26px rgba(46, 107, 255, .45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(46, 107, 255, .55); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(255,255,255,.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.hero-stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 34px; max-width: 860px;
}
.hero-stats .num {
  font-size: 32px; font-weight: 800;
  background: linear-gradient(90deg, #fff, #9FC2FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .label { color: rgba(255, 255, 255, .55); font-size: 13px; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.light { background: var(--bg-light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow {
  color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; color: var(--navy); letter-spacing: 1px; }
.section-head p { color: var(--text-2); font-size: 15px; }

/* ---------- 核心业务两大卡片 ---------- */
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.core-card {
  position: relative; border-radius: 20px; padding: 44px 40px; color: #fff;
  overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.core-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.core-card.c1 { background: linear-gradient(150deg, #12306B 0%, #2E6BFF 100%); }
.core-card.c2 { background: linear-gradient(150deg, #062E3A 0%, #0E7490 55%, #22D3EE 130%); }
.core-card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.core-card .icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.core-card h3 { font-size: 24px; margin-bottom: 6px; letter-spacing: 1px; }
.core-card .en { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.6); margin-bottom: 18px; text-transform: uppercase; }
.core-card p { color: rgba(255, 255, 255, .85); font-size: 14.5px; margin-bottom: 20px; }
.core-card ul { display: grid; gap: 9px; margin-bottom: 26px; }
.core-card ul li { font-size: 14px; color: rgba(255, 255, 255, .9); padding-left: 20px; position: relative; }
.core-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 2px; background: rgba(255,255,255,.85); transform: rotate(45deg);
}
.core-card .more {
  margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 600;
  color: #fff; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px;
}

/* ---------- 能力网格 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(46,107,255,.4); }
.cap-card .icon {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(46,107,255,.12), rgba(34,211,238,.12));
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.cap-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.cap-card p { font-size: 13.5px; color: var(--text-2); }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 24px 28px;
}
.step .no {
  font-size: 40px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 13.5px; color: var(--text-2); }

/* ---------- 行业覆盖 ---------- */
.industry-wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.industry-wrap span {
  padding: 10px 26px; border-radius: 999px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--text-2);
  transition: all .2s;
}
.industry-wrap span:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff;
  background:
    radial-gradient(500px 240px at 80% 0%, rgba(34,211,238,.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #14305E 100%);
  position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; letter-spacing: 1px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 30px; font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #081226; color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.footer-main h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-main ul { display: grid; gap: 10px; }
.footer-main a:hover { color: var(--cyan); }
.footer-brand p { margin-top: 14px; max-width: 300px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); margin: 0 6px; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- 内页通用 ---------- */
.page-hero {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(34,211,238,.16), transparent 60%),
    linear-gradient(160deg, #081226, var(--navy) 70%);
  color: #fff; padding: 170px 0 80px; text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: 2px; }
.page-hero p { margin-top: 14px; color: rgba(255,255,255,.65); font-size: 15px; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--cyan); }

/* 服务详情块 */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 70px 0; }
.svc-block + .svc-block { border-top: 1px solid var(--line); }
.svc-block.rev .svc-text { order: 2; }
.svc-text .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue); background: rgba(46,107,255,.08);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.svc-text h3 { font-size: 26px; color: var(--navy); margin-bottom: 14px; }
.svc-text > p { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }
.svc-text ul { display: grid; gap: 12px; }
.svc-text ul li { padding-left: 26px; position: relative; font-size: 14.5px; }
.svc-text ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 4px; background: linear-gradient(135deg, var(--blue), var(--cyan));
  clip-path: polygon(14% 44%, 0 58%, 40% 100%, 100% 16%, 86% 3%, 40% 72%);
}
.svc-visual {
  border-radius: 20px; min-height: 300px; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.svc-visual.v1 { background: linear-gradient(150deg, #12306B, #2E6BFF); }
.svc-visual.v2 { background: linear-gradient(150deg, #062E3A, #0E7490); }

/* 关于我们 */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.about-grid h3 { font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.about-grid p { color: var(--text-2); font-size: 15px; margin-bottom: 14px; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.info-table th { width: 130px; color: var(--text-2); font-weight: 500; background: var(--bg-light); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: transform .25s, box-shadow .25s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, rgba(46,107,255,.12), rgba(34,211,238,.12)); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.value-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--text-2); }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(46,107,255,.12), rgba(34,211,238,.12)); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.contact-item h4 { font-size: 15px; color: var(--navy); }
.contact-item p { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--text);
  transition: border-color .2s, box-shadow .2s; background: #FBFCFE;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,107,255,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-tip { font-size: 12.5px; color: var(--text-2); margin-top: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .core-grid, .svc-block, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-block.rev .svc-text { order: 0; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}
@media (max-width: 720px) {
  .nav-menu {
    position: fixed; inset: 0; background: rgba(8, 18, 38, .98);
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    transform: translateY(-100%); transition: transform .35s ease; font-size: 18px;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .cap-grid, .steps, .value-grid, .footer-main { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
}
