/* 欧博集团官网 — 简约商务风 · 纯 CSS 零依赖 · 配色取自企业标志（深蓝/金） */
:root {
  --navy: #0a3d91;
  --navy-dark: #06275f;
  --navy-deep: #041a42;
  --gold: #c9a24b;
  --ink: #212b38;
  --muted: #5a6b80;
  --line: #dfe6ef;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(10, 61, 145, 0.08);
}
* { 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", "Noto Sans CJK SC", sans-serif;
  color: var(--ink); background: var(--card); line-height: 1.75; font-size: 16px;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶栏 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 6px rgba(4,26,66,.06);
}
.topbar { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand .name { font-weight: 700; font-size: 19px; color: var(--navy-dark); letter-spacing: .04em; }
.brand .name small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .22em; }
.main-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 13px; border-radius: 6px; color: var(--ink); font-size: 15px; font-weight: 500;
}
.main-nav a:hover { background: #eef2fa; text-decoration: none; color: var(--navy); }
.main-nav a[aria-current="page"] { color: #fff; background: var(--navy); }
.lang-switch {
  margin-left: 6px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.lang-switch:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }

/* ===== 首页 Hero ===== */
.hero { position: relative; color: #fff; background: var(--navy-deep); }
.hero img.photo { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4,26,66,.82) 0%, rgba(6,39,95,.55) 46%, rgba(10,61,145,.18) 100%); }
.hero .inner { position: relative; padding: 104px 0 96px; max-width: 720px; }
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero h1 small { display: block; font-size: 15px; font-weight: 600; letter-spacing: .34em; color: #ffd98a; margin-bottom: 14px; }
.hero p.tagline { margin-top: 18px; font-size: 17.5px; color: #e8eefb; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 8px; font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; transition: transform .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }

/* ===== 数字带 ===== */
.stat-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 34px 0; text-align: center; }
.stat b { display: block; font-size: 32px; font-weight: 800; color: #ffd98a; line-height: 1.2; }
.stat span { font-size: 13.5px; color: #dbe5f7; }

/* ===== 通用版块 ===== */
.section { padding: 62px 0; }
.section.alt { background: var(--bg); }
.sec-head { margin-bottom: 34px; }
.sec-head .kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.sec-head h2 { font-size: 30px; color: var(--navy-dark); margin-top: 6px; line-height: 1.35; }
.sec-head h2::after { content: ""; display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: 12px; }
.sec-head p.sub { margin-top: 12px; color: var(--muted); max-width: 760px; }

/* 卡片网格 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(10,61,145,.14); }
.card .ico { font-size: 26px; line-height: 1; }
.card h3 { font-size: 17.5px; color: var(--navy-dark); margin: 10px 0 8px; }
.card p { font-size: 14.2px; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; }

/* 图文版块（业务页） */
.feature { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: center; padding: 30px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature:nth-child(even) .fimg { order: 2; }
.feature .fimg img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature h3 { font-size: 23px; color: var(--navy-dark); }
.feature h3 .en { display: block; font-size: 12.5px; color: var(--gold); font-weight: 700; letter-spacing: .18em; margin-top: 2px; }
.feature p { margin-top: 12px; color: var(--ink); }
.feature ul.ticks { margin-top: 12px; list-style: none; }
.feature ul.ticks li { padding-left: 24px; position: relative; color: var(--muted); font-size: 14.6px; margin: 5px 0; }
.feature ul.ticks li::before { content: "▪"; color: var(--gold); position: absolute; left: 6px; }

/* 板块目录 chips */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip-nav a {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.chip-nav a:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }

/* ===== 时间线 ===== */
.timeline { position: relative; margin: 10px 0 0 6px; padding-left: 26px; border-left: 2px solid var(--line); }
.timeline li { list-style: none; position: relative; padding: 0 0 26px 16px; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 7px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold);
}
.timeline b.year { color: var(--navy); font-size: 18px; font-weight: 800; display: block; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 3px; }

/* ===== 架构列表 ===== */
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.org { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; padding: 16px 18px; }
.org b { color: var(--navy-dark); font-size: 15.5px; display: block; }
.org span { color: var(--muted); font-size: 13.6px; display: block; margin-top: 4px; }

/* ===== 案例页 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.case-card img { height: 178px; width: 100%; object-fit: cover; }
.case-card .body { padding: 16px 18px; }
.case-card h3 { font-size: 16.5px; color: var(--navy-dark); }
.case-card p { font-size: 13.8px; color: var(--muted); margin-top: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.cases { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.cases th { background: var(--navy); color: #fff; text-align: left; padding: 11px 14px; font-weight: 600; white-space: nowrap; }
table.cases td { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink); }
table.cases tr:nth-child(even) td { background: #f4f7fc; }
table.cases td.yr { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ===== 页脚 ===== */
.site-footer { background: var(--navy-deep); color: #b9c6de; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding: 46px 0 30px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 12px; }
.site-footer p, .site-footer li { font-size: 13.8px; line-height: 2; }
.site-footer ul { list-style: none; }
.site-footer a { color: #b9c6de; }
.site-footer a:hover { color: #ffd98a; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12.8px; color: #8fa1c2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== 内页小 hero ===== */
.subhero { position: relative; color: #fff; background: var(--navy-deep); }
.subhero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .95; }
.subhero .veil { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(4,26,66,.88), rgba(6,39,95,.5)); }
.subhero .inner { position: relative; padding: 64px 0 58px; }
.subhero h1 { font-size: 33px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.subhero h1 small { display: block; font-size: 13px; letter-spacing: .3em; color: #ffd98a; font-weight: 700; margin-bottom: 8px; }
.subhero p { margin-top: 10px; color: #dfe7f6; max-width: 680px; }

/* 双栏（联系页） */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.info-list { list-style: none; }
.info-list li { padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15.2px; }
.info-list b { color: var(--navy-dark); display: inline-block; min-width: 92px; }

/* 亮面板（AI 故事化） */
.panel {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #e8eefb;
  border-radius: var(--radius); padding: 30px 32px;
}
.panel h4 { color: #ffd98a; font-size: 16.5px; margin-bottom: 8px; }
.panel p { font-size: 14.6px; color: #cfdaf0; }
.panel .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature:nth-child(even) .fimg { order: 0; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .panel .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; padding: 10px 0; }
  .main-nav { margin-left: 0; width: 100%; }
  .hero .inner { padding: 70px 0 60px; }
}
