/* ==========================================================================
   北京云翊智信科技有限公司 — 官网样式
   ========================================================================== */
:root {
  --primary: #1F4E9C;
  --primary-dark: #143A78;
  --primary-deep: #0A1F44;
  --accent: #2F7BF6;
  --cyan: #00B4D8;
  --text: #1D2733;
  --text-2: #4A5A6E;
  --text-3: #7A8A9E;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-blue-soft: #EEF4FC;
  --line: #E3EAF3;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 68, .06);
  --shadow-md: 0 10px 30px rgba(10, 31, 68, .10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, .16);
  --container: 1200px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用文字 ---------- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--primary-deep); }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--primary-deep); color: #C8D6EC; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .2em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 16.5px; }
.section--dark .section-head p { color: #A9BBDA; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  transition: all .25s ease; cursor: pointer; border: none;
}
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; box-shadow: 0 8px 24px rgba(47, 123, 246, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47, 123, 246, .45); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--outline { border: 1.5px solid var(--line); color: var(--primary); background: #fff; }
.btn--outline:hover { border-color: var(--accent); background: var(--bg-blue-soft); }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-size: 19px; font-weight: 800; color: var(--primary-deep); letter-spacing: .02em; }
.brand__name small { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-3); letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 16px; font-size: 15.5px; font-weight: 500; color: var(--text);
  border-radius: 8px; transition: color .2s;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--accent); }
.nav .has-sub > a::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-3px); opacity: .55;
}
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 10px; opacity: 0; visibility: hidden; transition: all .22s ease;
}
.nav li:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 9px; font-size: 14.5px; transition: background .18s; }
.submenu a:hover { background: var(--bg-blue-soft); color: var(--primary); }
.submenu .sub-ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; font-size: 17px; color: #fff; }
.submenu b { display: block; font-weight: 600; }
.submenu span { display: block; font-size: 12px; color: var(--text-3); }

.nav-cta { margin-left: 14px; padding: 10px 22px !important; font-size: 14.5px !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary-deep); margin: 5px auto; transition: .25s; border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 20, 48, .94) 0%, rgba(12, 38, 84, .82) 45%, rgba(15, 52, 110, .45) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px;
  background: rgba(47, 123, 246, .22); border: 1px solid rgba(120, 175, 255, .45);
  color: #BBD4FF; font-size: 13.5px; letter-spacing: .1em; margin-bottom: 26px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.25; margin-bottom: 20px; max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6FB4FF, #33D6E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 640px; color: #C4D3EA; font-size: 17.5px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero 数据条 */
.hero-stats {
  position: relative; z-index: 2; margin-top: 64px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-stats div { background: rgba(9, 24, 54, .55); padding: 24px 28px; }
.hero-stats b { display: block; font-size: 34px; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats b i { font-style: normal; color: #5AA9FF; font-size: 22px; margin-left: 2px; }
.hero-stats span { font-size: 13.5px; color: #9FB4D6; }

/* 页内 Hero（子页面） */
.page-hero {
  position: relative; padding: 130px 0 96px; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, #0A1F44 0%, #123B7E 60%, #1A55AC 100%);
}
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 246, .35), transparent 65%);
}
.page-hero::after {
  content: ""; position: absolute; left: -80px; bottom: -180px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0, 180, 216, .22), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 13.5px; color: #8FA9D4; margin-bottom: 18px; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 16px; }
.page-hero p { max-width: 720px; color: #B9CAE6; font-size: 16.5px; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all .28s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 22px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 14.8px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }

/* 业务板块卡片（首页） */
.biz-card { padding: 0; display: flex; flex-direction: column; }
.biz-card__top { height: 190px; overflow: hidden; position: relative; }
.biz-card__top img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.biz-card:hover .biz-card__top img { transform: scale(1.06); }
.biz-card__top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 68, .55)); }

/* 超宽横幅类图片（如 Procyon 各测试项截图，1180×286）：
   固定 190px 高度 + cover 会把左右两侧裁掉，这里改为按原图比例完整显示。
   仅作用于带 .biz-card--wide 的卡片，不影响其他板块 */
.biz-card--wide .biz-card__top { height: auto; }
.biz-card--wide .biz-card__top img { height: auto; object-fit: fill; }
.biz-card__no {
  position: absolute; top: 16px; left: 18px; z-index: 2; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; color: #fff; background: rgba(15, 52, 110, .75); padding: 5px 13px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.biz-card__body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.biz-card__body h3 { font-size: 20px; margin-bottom: 10px; }
.biz-card__body p { color: var(--text-2); font-size: 14.6px; flex: 1; }

/* ---------- 特性列表 ---------- */
.feature-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--text-2); }
/* li 是 flex 容器，<strong> 标签与后面长文本同为 flex 项；文本越长 strong 被压得越窄，
   两字标签（设计/工艺/服务）会被挤成竖排换行。禁止收缩 + 禁止换行即可修复 */
.feature-list li strong { flex: none; white-space: nowrap; }
.feature-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 4px;
  background: var(--bg-blue-soft); color: var(--accent); font-size: 12.5px; font-weight: 700;
  display: grid; place-items: center;
}
.section--dark .feature-list li { color: #B7C8E4; }
.section--dark .feature-list li::before { background: rgba(90, 169, 255, .18); color: #5AA9FF; }

/* ---------- 左右分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.split p { color: var(--text-2); margin-bottom: 18px; }

/* ---------- 数字 ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.numbers .num {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 36px 24px; text-align: center;
}
.numbers .num b { display: block; font-size: 46px; font-weight: 800; color: #5AA9FF; line-height: 1.1; }
.numbers .num b i { font-style: normal; font-size: 26px; }
.numbers .num span { color: #A9BBDA; font-size: 14.5px; }

/* ---------- 产品表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
table.data th { background: var(--primary); color: #fff; text-align: left; padding: 16px 22px; font-size: 15px; font-weight: 600; white-space: nowrap; }
table.data td { padding: 20px 22px; border-top: 1px solid var(--line); vertical-align: top; font-size: 14.8px; color: var(--text-2); }
table.data td:first-child { font-weight: 700; color: var(--primary); white-space: nowrap; }
table.data td b { color: var(--primary-deep); font-size: 15.5px; }
table.data tr:nth-child(even) td { background: #FAFCFF; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 40px; font-weight: 800; color: var(--bg-blue-soft);
  -webkit-text-stroke: 1.5px #B9D2F5; line-height: 1; display: block; margin-bottom: 16px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }

/* ---------- Logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.logo-wall .logo-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 92px;
  display: grid; place-items: center; padding: 18px 26px; transition: all .25s;
}
.logo-wall .logo-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.logo-item img { max-height: 44px; max-width: 100%; object-fit: contain; }
.logo-item img.to-dark { filter: brightness(0) opacity(.82); }
.logo-wall--dark { grid-template-columns: repeat(4, 1fr); }
.logo-wall--dark .logo-item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }

/* ---------- 行业覆盖 ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; }
.industry img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.industry:hover img { transform: scale(1.07); }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 20, 48, .88)); }
.industry figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff;
}
.industry figcaption b { display: block; font-size: 18px; margin-bottom: 4px; }
.industry figcaption span { font-size: 13px; color: #B9CAE6; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; color: #fff;
  background: linear-gradient(115deg, #0E2E63 0%, #1F4E9C 55%, #2F7BF6 100%);
  padding: 70px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
.cta-band p { color: #C9DAF5; max-width: 560px; }
.cta-band .btn--primary { background: #fff; color: var(--primary); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); flex: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: #071833; color: #8FA3C2; padding: 74px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 54px; }
.footer-grid h4 { color: #fff; font-size: 15.5px; margin-bottom: 20px; }
.footer-grid li { margin-bottom: 11px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 300px; line-height: 1.8; }
.footer-offices { font-size: 13.5px; line-height: 2; }
.footer-offices b { color: #C4D3EA; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.info-card { background: var(--bg-blue-soft); border-radius: var(--radius); padding: 34px 30px; margin-bottom: 22px; }
.info-card h3 { font-size: 16.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-card p, .info-card li { font-size: 14.5px; color: var(--text-2); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--primary-deep); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--text); background: var(--bg-soft); transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 14px; }

/* ---------- 徽章/标签 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: var(--bg-blue-soft); color: var(--primary); border: 1px solid #D5E4F8;
}
.section--dark .chip { background: rgba(90, 169, 255, .12); color: #9CC6FF; border-color: rgba(90, 169, 255, .3); }

/* ---------- 滚动显现动画（仅在 JS 可用时启用） ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 18px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--accent); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--3, .grid--4, .industries, .numbers, .steps { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 24px 24px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > li > a { padding: 13px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 8px 14px; min-width: 0; }
  .nav-toggle { display: block; }
  .nav-cta { margin: 14px 0 0; text-align: center; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid--2, .grid--3, .grid--4, .industries, .numbers, .steps, .logo-wall, .logo-wall--dark { grid-template-columns: 1fr; }
  .logo-wall--dark { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: 560px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  .numbers .num b { font-size: 36px; }
}
