/* =============================================================
   Zhongke Hongsheng (Beijing) - corporate site
   Shared stylesheet. No external fonts, no JavaScript, no CDN.
   ============================================================= */

:root {
  --navy: #0b2545;
  --navy-2: #123a68;
  --blue: #1a6fd4;
  --blue-soft: #eaf2fd;
  --teal: #0f9d8f;
  --ink: #122033;
  --ink-2: #46586e;
  --muted: #7c8ca1;
  --line: #e2e9f2;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(16, 42, 76, .07);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-en: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 88px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; display: block; border-radius: 10px; }
.brand-name { display: block; font-size: 17px; font-weight: 700; letter-spacing: .03em; line-height: 1.25; }
.brand-sub { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav a { text-decoration: none; transition: color .2s ease; white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, #0b2545 0%, #123f6d 55%, #16558d 100%);
  color: #fff; padding: 88px 0 78px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 92%);
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -150px; top: -240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(74, 168, 255, .3), transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { margin: 0; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .26em; color: #9fc7f5; text-transform: uppercase; }
.hero h1 { margin: 22px 0 14px; font-size: clamp(29px, 4.6vw, 50px); line-height: 1.28; font-weight: 700; letter-spacing: .01em; }
.hero-en { margin: 0; font-family: var(--font-en); font-size: clamp(15px, 1.8vw, 19px); font-weight: 400; color: #cbdff6; line-height: 1.6; }
.hero-desc { max-width: 700px; margin: 26px 0 0; font-size: 16px; color: #d5e5f8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .42); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #155cae; }
.hero-facts { display: flex; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .17); }
.fact { padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(255, 255, 255, .17); }
.fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fact-label { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: #8fb6e6; }
.fact-value { display: block; margin-top: 5px; font-size: 15px; color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(120deg, #0b2545 0%, #173f6c 100%); color: #fff; padding: 58px 0 54px; }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { color: #9fc7f5; }
.page-hero h1 { margin: 14px 0 10px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.35; }
.page-hero p { margin: 0; max-width: 720px; color: #cbdff6; font-size: 15px; }
.breadcrumb { margin: 0 0 16px; font-size: 12px; font-family: var(--font-en); letter-spacing: .06em; color: #8fb6e6; }
.breadcrumb a { color: #cbdff6; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 28px; }
.section-num { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--blue); }
.section-head h2 { margin: 0; font-size: clamp(23px, 3vw, 31px); line-height: 1.4; letter-spacing: .02em; }
.section-head .en { font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.section-intro { margin: -12px 0 28px; color: var(--ink-2); font-size: 15px; max-width: 780px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Prose ---------- */
.prose { max-width: 800px; color: var(--ink-2); font-size: 15px; }
.prose h2 { margin: 38px 0 12px; font-size: 21px; color: var(--ink); }
.prose h3 { margin: 28px 0 10px; font-size: 17px; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); }

/* ---------- Company information table ---------- */
.info-list { margin: 0; }
.info-row { display: grid; grid-template-columns: 226px 1fr; gap: 26px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.info-row dt small { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 11px; font-weight: 400; letter-spacing: .05em; color: var(--muted); }
.info-row dd { margin: 0; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.info-row dd.is-en { font-family: var(--font-en); font-size: 14.5px; line-height: 1.7; color: var(--navy-2); }
.info-row dd.strong { font-weight: 600; color: var(--ink); }

/* ---------- Service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { padding: 30px 28px 32px; transition: transform .22s ease, box-shadow .22s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16, 42, 76, .11); }
.svc-icon { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.svc h3 { margin: 0; font-size: 18px; font-weight: 650; }
.svc .en { display: block; margin-top: 3px; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.svc p { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.svc .more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.svc .more:hover { text-decoration: underline; }

/* ---------- Feature rows (service detail) ---------- */
.feature { padding: 34px 32px; margin-bottom: 22px; }
.feature-head { display: flex; align-items: flex-start; gap: 18px; }
.feature-icon { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.feature h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.feature .en { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.feature p { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-grid li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); }
.feature-grid li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ---------- Notice / domain statement ---------- */
.notice { padding: 26px 30px; border-left: 4px solid var(--blue); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice h2, .notice h3 { margin: 0 0 10px; font-size: 18px; color: var(--ink); }
.notice p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.notice p:last-child { margin-bottom: 0; }
.notice .tag { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-item { padding: 28px 28px 30px; }
.contact-item .label { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item .value { display: block; margin-top: 12px; font-size: 15px; color: var(--ink); line-height: 1.8; overflow-wrap: anywhere; }
.contact-item .value.en { font-family: var(--font-en); font-size: 14px; color: var(--navy-2); }
.contact-item a { color: var(--blue); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #0b2545, #1a4f85); color: #fff; padding: 46px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 22px; }
.cta-band p { margin: 0; font-size: 14px; color: #cbdff6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9c2de; padding: 46px 0 22px; font-size: 13px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.site-footer strong { display: block; margin-bottom: 10px; color: #fff; font-size: 15px; font-weight: 600; }
.site-footer p { margin: 3px 0; }
.site-footer p a { color: #a9c2de; text-decoration: none; }
.site-footer p a:hover { color: #fff; text-decoration: underline; }
.footer-en { font-family: var(--font-en); font-size: 12px; line-height: 1.7; }
.footer-col h3 { margin: 0 0 12px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.footer-col a { display: block; margin-bottom: 7px; color: #a9c2de; text-decoration: none; font-size: 13px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #7fa0c4; }
.footer-bottom a { color: #a9c2de; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { gap: 16px; font-size: 13px; }
  .info-row { grid-template-columns: 180px 1fr; gap: 18px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { height: 64px; }
  .nav { display: none; }
  .hero { padding: 62px 0 56px; }
  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .hero-facts { margin-top: 36px; gap: 18px 0; }
  .fact { width: 100%; border-right: 0; padding-right: 0; margin-right: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .fact:last-child { border-bottom: 0; padding-bottom: 0; }
  .section { padding: 50px 0; }
  .page-hero { padding: 42px 0 40px; }
  .info-row { grid-template-columns: 1fr; gap: 7px; padding: 20px; }
  .info-row dt small { display: inline; margin-left: 8px; }
  .grid-3, .grid-2, .feature-grid, .footer-cols { grid-template-columns: 1fr; }
  .svc, .contact-item, .feature { padding: 24px 22px 26px; }
  .feature-head { gap: 14px; }
  .notice { padding: 22px 20px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  [id] { scroll-margin-top: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .hero-actions, .cta-band { display: none; }
  .hero, .page-hero { background: #fff; color: #000; padding: 20px 0; }
  .hero h1, .hero-en, .hero-desc, .fact-value, .fact-label, .eyebrow, .page-hero h1, .page-hero p, .breadcrumb { color: #000; }
  .hero::before, .hero::after { display: none; }
  .section { padding: 20px 0; }
  .card, .svc, .feature { box-shadow: none; break-inside: avoid; }
  body { background: #fff; }
}
