/* 山东和光同尘软件有限公司 · 企业官网样式
   纯 CSS：无 JavaScript、无外部字体/图标依赖、无动画、无表单、无交互组件 */

:root {
  --navy: #183693;          /* 经典深蓝，主色 */
  --navy-deep: #0E2055;     /* 深底，用于 Hero / 页脚 */
  --navy-mid: #2450A8;      /* 次级蓝，用于小标题 */
  --navy-soft: #EEF3FC;     /* 浅蓝底 */
  --gold: #FFC933;          /* 强调色，取自企业 logo */
  --ink: #1B2437;
  --ink-soft: #5C6678;
  --line: #E2E8F3;
  --white: #FFFFFF;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--white);
  border-radius: 6px; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 176px; height: 48px; object-fit: contain; }
.brand-divider { width: 1px; height: 26px; background: var(--line); }
.brand-name { font-size: 14px; color: var(--ink-soft); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  display: inline-block; padding: 6px 14px; border-radius: 6px;
  font-size: 14px; text-decoration: none; color: var(--ink);
}
.site-nav a:focus-visible { background: var(--navy-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--navy-deep) url("img/hero-digital-twin.webp") center center / cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, #0B1C4C 0%, rgba(11, 28, 76, .94) 34%, rgba(11, 28, 76, .62) 68%, rgba(11, 28, 76, .25) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: 118px 128px; }
.eyebrow, .section-kicker {
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: var(--gold); }
.hero h1 {
  margin-top: 22px; max-width: 720px; font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.28; font-weight: 600; letter-spacing: .02em;
}
.hero-sub { margin-top: 26px; max-width: 630px; font-size: 17px; color: rgba(255, 255, 255, .84); }
.hero-meta {
  margin-top: 38px; max-width: 630px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  font-size: 15px; color: rgba(255, 255, 255, .72); letter-spacing: .04em;
}

/* ---------- 通用区块 ---------- */
.section { padding-block: 88px; }
.section-tint { background: var(--navy-soft); }
.section-kicker { color: var(--navy-mid); }
.section-title {
  margin-top: 14px; font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.4; font-weight: 600; color: var(--navy-deep);
}
.section-lead { margin-top: 18px; max-width: 840px; font-size: 16px; color: var(--ink-soft); }

/* ---------- 企业特点 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature {
  padding: 30px 28px; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 12px;
}
.feature-index { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--navy-mid); }
.feature h3 { margin-top: 12px; font-size: 19px; font-weight: 600; color: var(--navy-deep); }
.feature p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- 效果图 ---------- */
.solution-figure { margin-top: 46px; }
.solution-figure img {
  width: 100%; height: auto; aspect-ratio: 1536 / 928; object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(24, 54, 147, .18);
  box-shadow: 0 10px 30px rgba(14, 32, 85, .10);
  background: var(--navy-deep);
}
.solution-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-soft); text-align: right; }

/* ---------- 能力分组 ---------- */
.group { margin-top: 54px; }
.group-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.group-head h3 { font-size: 21px; font-weight: 600; color: var(--navy-deep); }
.group-head span { font-size: 13px; color: var(--ink-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 26px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
}
.card .tag {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: 12px; color: var(--navy-mid); background: var(--navy-soft);
}
.card h4 { margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--navy-deep); }
.card p { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .82); }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-block: 64px 48px; }
.footer-brand img { width: 184px; height: 51px; object-fit: contain; }
.footer-brand .company { margin-top: 20px; font-size: 17px; font-weight: 600; color: var(--white); }
.footer-brand .footer-desc { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.footer-contact { justify-self: end; text-align: right; }
.footer-contact h2 { margin-bottom: 18px; font-size: 18px; font-weight: 600; color: var(--white); }
.footer-contact dl { display: grid; grid-template-columns: 64px 1fr; row-gap: 12px; column-gap: 16px; font-size: 14px; }
.footer-contact dt { color: rgba(255, 255, 255, .55); }
.footer-contact .placeholder { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px;
}
.beian-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.beian-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: rgba(255, 255, 255, .72); }
.beian-links a:focus-visible { color: var(--white); }
.beian-icon { width: 18px; height: 20px; flex-shrink: 0; }
.copyright { color: rgba(255, 255, 255, .55); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .feature-grid, .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .brand-name, .brand-divider { display: none; }
  .footer-main { gap: 36px; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: auto; padding-block: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand img { width: 148px; height: 40px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 4px 10px; font-size: 13px; }
  .hero { background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(11, 28, 76, .96) 0%, rgba(11, 28, 76, .86) 62%, rgba(11, 28, 76, .55) 100%); }
  .hero-inner { padding-block: 84px 92px; }
  .section { padding-block: 64px; }
  .feature-grid, .card-grid, .card-grid.four { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-block: 48px 36px; }
  .footer-contact { justify-self: start; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
