/* ============================================================
   北京亿人一家信息科技有限公司 — 企业官网样式
   Aesthetic: Refined Editorial Minimalism
   Palette: #0B2E4F / #2563EB / #10B981 / #F7F5F0 / #1A1A1A
   ============================================================ */

:root {
  --ink: #0B2E4F;
  --blue: #2563EB;
  --green: #10B981;
  --paper: #F7F5F0;
  --text: #1A1A1A;
  --muted: #6B7280;
  --line: rgba(11, 46, 79, 0.14);
  --serif: 'Noto Serif SC', 'Songti SC', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: #fff; }

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--paper);
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.main-nav a {
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 999px;
  transition: background 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}

.hero-left { grid-column: 1 / 8; position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-kicker::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.18;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 .accent-green { color: var(--green); }
.hero h1 .accent-blue { color: var(--blue); }

.hero-desc {
  margin-top: 34px;
  max-width: 560px;
  font-size: 17px;
  color: var(--muted);
  line-height: 2;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 15px 36px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s, background 0.25s;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }

.btn-ghost {
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.hero-right { grid-column: 8 / 13; position: relative; }

.hero-visual {
  position: relative;
  border-radius: 20px 20px 20px 90px;
  overflow: hidden;
  background: linear-gradient(150deg, #0B2E4F 0%, #12406B 55%, #0E6B57 100%);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 40px 80px -30px rgba(11, 46, 79, 0.4);
}

.hero-visual .hv-content {
  padding: 44px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hv-num {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.hv-label {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.75;
  letter-spacing: 0.12em;
}

.hv-grid-row {
  display: flex;
  gap: 44px;
  margin-top: 8px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
}

.hero-visual::after {
  content: '';
  position: absolute;
  bottom: 40%;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 70%);
}

.hero-badge {
  position: absolute;
  left: -34px;
  top: 52px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 20px 40px -18px rgba(11, 46, 79, 0.28);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}

.hero-badge i { color: var(--green); font-size: 20px; }
.hero-badge span { font-size: 13px; font-weight: 600; color: var(--ink); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-strip {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.strip-item { display: flex; align-items: baseline; gap: 12px; }
.strip-item .n { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--ink); }
.strip-item .t { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }

/* ---------- Section common ---------- */
.section { padding: 110px 0; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  align-items: end;
}

.sec-no {
  grid-column: 1 / 3;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--blue);
  letter-spacing: 0.3em;
}

.sec-no em { font-style: normal; color: var(--green); }

.section-head h2 {
  grid-column: 3 / 10;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--ink);
  line-height: 1.3;
}

.section-head p {
  grid-column: 10 / 13;
  font-size: 14px;
  color: var(--muted);
  align-self: end;
}

/* ---------- Mission (index) ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.mission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 40px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--green);
  transition: height 0.35s ease;
}

.mission-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(11, 46, 79, 0.25); }
.mission-card:hover::before { height: 100%; }

.mc-1 { grid-column: 1 / 6; }
.mc-2 { grid-column: 6 / 10; margin-top: 56px; }
.mc-3 { grid-column: 10 / 13; margin-top: 112px; }

.mission-card .mc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 28px;
}

.mc-1 .mc-icon { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.mc-2 .mc-icon { background: rgba(16, 185, 129, 0.12); color: var(--green); }
.mc-3 .mc-icon { background: rgba(11, 46, 79, 0.08); color: var(--ink); }

.mission-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 16px;
}

.mission-card p { font-size: 15px; color: var(--muted); line-height: 1.9; }

.mc-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--blue);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- Values band ---------- */
.values-band {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 90px 80px;
  position: relative;
  overflow: hidden;
}

.values-band::after {
  content: '5A';
  position: absolute;
  right: -30px;
  bottom: -70px;
  font-family: var(--serif);
  font-size: 300px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
}

.values-band h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}

.values-band .vb-sub { color: rgba(255, 255, 255, 0.65); max-width: 640px; margin-bottom: 56px; }

.vb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.vb-item { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 22px; }

.vb-item .vb-letter {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.vb-item h4 { margin-top: 14px; font-size: 17px; font-weight: 600; }
.vb-item p { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.8; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 62px);
  color: var(--ink);
  line-height: 1.2;
}

.page-hero .ph-kicker {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero .ph-kicker::before { content: ''; width: 40px; height: 1px; background: var(--blue); }

.page-hero .ph-desc { margin-top: 26px; max-width: 620px; color: var(--muted); font-size: 17px; line-height: 2; }

.ph-ghost {
  position: absolute;
  right: -20px;
  top: 20px;
  font-family: var(--serif);
  font-size: 200px;
  font-weight: 700;
  color: rgba(11, 46, 79, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.about-visual { grid-column: 1 / 6; position: relative; }

.about-visual .av-block {
  background: linear-gradient(160deg, #0B2E4F, #0E6B57);
  border-radius: 20px;
  min-height: 480px;
  padding: 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 120px;
}

.av-block .av-big { font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1.25; }
.av-block .av-small { font-size: 14px; opacity: 0.7; letter-spacing: 0.15em; }

.about-body { grid-column: 6 / 13; }

.about-block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.about-block:first-child { padding-top: 0; }

.about-block h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-block h3 i { color: var(--green); font-size: 20px; }
.about-block p { color: var(--muted); font-size: 15.5px; line-height: 2; }

.timeline { margin-top: 8px; }

.tl-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line);
}

.tl-item .tl-year {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.tl-item h4 { font-size: 16px; color: var(--ink); font-weight: 600; }
.tl-item p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.svc-card:hover { transform: translateY(-8px); box-shadow: 0 32px 64px -32px rgba(11, 46, 79, 0.3); }

.svc-card.svc-lg { grid-column: 1 / 7; }
.svc-card.svc-lg2 { grid-column: 7 / 13; }
.svc-card.svc-sm { grid-column: span 4; }

.svc-no {
  position: absolute;
  top: 28px;
  right: 34px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 700;
  color: rgba(11, 46, 79, 0.07);
  line-height: 1;
}

.svc-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.svc-blue .svc-icon { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.svc-green .svc-icon { background: rgba(16, 185, 129, 0.12); color: var(--green); }
.svc-ink .svc-icon { background: rgba(11, 46, 79, 0.08); color: var(--ink); }

.svc-card h3 { font-family: var(--serif); font-size: 26px; color: var(--ink); margin-bottom: 14px; }
.svc-card > p { font-size: 15px; color: var(--muted); line-height: 1.95; }

.svc-list { margin-top: 26px; list-style: none; }

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}

.svc-list li i { color: var(--green); margin-top: 5px; font-size: 13px; }

/* ---------- Steps ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 44px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}

.step:last-child { border-right: none; }

.step .st-no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--blue);
  letter-spacing: 0.2em;
}

.step h4 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 12px 0 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

.contact-info { grid-column: 1 / 6; }

.ci-item {
  display: flex;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.ci-item .ci-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.ci-item h4 { font-size: 15px; color: var(--muted); letter-spacing: 0.1em; font-weight: 500; }
.ci-item p { font-size: 18px; color: var(--ink); font-weight: 600; margin-top: 6px; font-family: var(--serif); }
.ci-item p small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; }

.contact-form-wrap { grid-column: 6 / 13; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px;
}

.contact-form h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-form .cf-sub { font-size: 14px; color: var(--muted); margin-bottom: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-field { margin-bottom: 22px; }

.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: var(--paper);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  background: #fff;
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 17px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.12em;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.25s;
}

.form-submit:hover { background: var(--blue); }

.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #0E6B57 100%);
  border-radius: 28px;
  padding: 80px 90px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: 120px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-band h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.35; }
.cta-band p { margin-top: 12px; opacity: 0.8; font-size: 15px; }

.cta-band .btn-white {
  background: #fff;
  color: var(--ink);
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s;
}
.cta-band .btn-white:hover { transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 120px;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 2fr 2fr 3fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 2; max-width: 340px; }

.footer-col h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--green); }

.footer-col .fc-text { font-size: 14px; line-height: 2.1; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .main-nav { display: none; }
  .hero { padding: 70px 0 80px; }
  .hero-grid { display: block; }
  .hero-right { margin-top: 48px; }
  .hero-badge { left: 10px; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .mission-card { margin-top: 0 !important; }
  .mc-1, .mc-2, .mc-3 { grid-column: 1 / -1; }
  .vb-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual, .about-body, .contact-info, .contact-form-wrap { grid-column: 1 / -1; }
  .about-visual .av-block { position: static; min-height: 320px; }
  .svc-card.svc-lg, .svc-card.svc-lg2, .svc-card.svc-sm { grid-column: 1 / -1; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 56px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 28px; }
  .ph-ghost { font-size: 120px; }
}
