/* 重庆企管家科技有限公司 · 官网样式系统
   配色取自现有站点主色 #2563eb，并用深藏蓝呼应 logo 图形标 */

:root {
  --brand: #2563eb;
  --brand-700: #1d4ed8;
  --brand-050: #eff6ff;
  --navy: #16255c;
  --navy-800: #1e2f6e;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --ok: #047857;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --container: 1180px;
  --header-h: 72px;
  --font: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .35em 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(23px, 2.9vw, 32px); }
h3 { font-size: 18px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #e8edfb; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section--navy .section-head p { color: #b9c6ea; }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 标签 / 按钮 ---------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand-700); text-transform: uppercase; margin-bottom: 14px;
}
.section--navy .eyebrow { color: #93b4ff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--chat { background: #fff; color: var(--brand-700); border-color: #c7d7fb; }
.btn--chat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(4, 120, 87, .16); }
.btn--chat:hover { background: var(--brand-050); border-color: var(--brand); color: var(--brand-700); }
.btn--onnavy { background: #fff; color: var(--navy); }
.btn--onnavy:hover { background: var(--brand-050); }
.btn--sm { padding: 9px 18px; font-size: 15px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 17px; font-weight: 700; color: var(--navy); }
.brand__sub { font-size: 11px; letter-spacing: .18em; color: var(--muted); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 9px 11px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { background: var(--brand-050); color: var(--brand-700); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand-700); font-weight: 700; background: var(--brand-050); }

/* 解决方案下拉 */
.nav-drop { position: relative; }
.nav-drop__btn {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 9px 11px; border-radius: var(--radius-sm); white-space: nowrap;
}
.nav-drop__btn:hover, .nav-drop.is-open .nav-drop__btn { background: var(--brand-050); color: var(--brand-700); }
.nav-drop__btn[aria-current="page"] { color: var(--brand-700); font-weight: 700; background: var(--brand-050); }
.nav-drop__btn .caret { display: inline-block; margin-left: 5px; font-size: 10px; transition: transform .15s ease; }
.nav-drop.is-open .nav-drop__btn .caret { transform: rotate(180deg); }
.nav-drop__menu {
  display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 268px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.nav ul.nav-drop__menu { display: none; }
.nav-drop.is-open > .nav-drop__menu, .nav-drop:focus-within > .nav-drop__menu { display: block; }
.nav-drop__menu li { margin: 0; }
.nav-drop__menu a { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; }
.nav-drop__menu a small { font-size: 12px; color: var(--muted); font-weight: 400; }
.nav-drop__menu .menu-head { padding: 8px 12px 4px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }

.header-tel { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-chat {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 9px 16px; border-radius: 999px; border: 1px solid #c7d7fb;
  background: var(--brand-050); color: var(--brand-700);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.header-chat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(4, 120, 87, .16); }
.header-chat:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }
.header-tel__label { font-size: 12px; color: var(--muted); line-height: 1.2; }
.header-tel__num { font-size: 18px; font-weight: 700; color: var(--brand-700); letter-spacing: .01em; }
.header-tel a { text-decoration: none; }
.header-tel a:hover { text-decoration: underline; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 2px;
  background: var(--navy); transform: translateX(-50%); transition: .15s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }

/* ---------- 首页 hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 88% -12%, var(--brand-050) 0%, rgba(239, 246, 255, 0) 70%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .28;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 62%);
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; color: var(--navy); }
.hero__lead { font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); max-width: 620px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.stat { background: #fff; padding: 22px 24px; }
.stat dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stat dd { margin: 0; font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -.02em; }
.stat dd small { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }

/* ---------- 品牌墙 ---------- */
.brandwall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brandwall__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 12px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.brandwall__item:hover { border-color: #c7d7fb; box-shadow: var(--shadow-sm); }
.brandwall__item img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.brandwall__item span { font-size: 12.5px; color: var(--muted); text-align: center; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--brand-050); color: var(--brand-700);
  display: grid; place-items: center; margin-bottom: 16px; font-size: 18px; font-weight: 700;
}
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow-md); }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-050); color: var(--brand-700); display: grid; place-items: center; font-size: 14px; font-weight: 700; margin-top: 3px; }

/* ---------- 内页页头 ---------- */
.page-hero { background: var(--navy); color: #fff; border-bottom: 1px solid var(--navy-800); }
.page-hero .container { padding-block: clamp(44px, 6vw, 68px); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #c3cfef; font-size: 17px; max-width: 760px; margin: 0; }
.crumbs { font-size: 13.5px; color: #97a8d8; margin-bottom: 18px; }
.crumbs a { color: #c3cfef; }

/* ---------- 产品分组 ---------- */
.pgroup { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.pgroup + .pgroup { margin-top: 20px; }
.pgroup__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 24px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pgroup__head img { height: 24px; width: auto; max-width: 190px; object-fit: contain; object-position: left center; flex-shrink: 0; }
.pgroup__head h3 { margin: 0; font-size: 17px; }
.pgroup__head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.pgroup__body { padding: 8px 24px 22px; }

.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.plist li:last-child { border-bottom: 0; }
.plist strong { color: var(--ink); font-weight: 600; }
.plist span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 700px) { .plist li { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 12px 0; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.pills li { margin: 0; }
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--brand-050); color: var(--brand-700); font-size: 13.5px; font-weight: 500; }
a.pill:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* 下载行：按钮 + 体积说明。窄容器里优先保住说明文字不被压成竖排 */
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 0; }
.dl-actions .btn { min-width: 0; max-width: 100%; white-space: normal; text-align: left; }
.dl-actions span { flex-shrink: 0; font-size: 13px; color: var(--muted); }

/* ---------- 行业 ---------- */
.industry { display: flex; flex-direction: column; gap: 6px; }
.industry h3 { margin: 0; font-size: 16.5px; }
.industry p { font-size: 14.5px; margin: 0; }
.industry__tag { font-size: 12px; color: var(--brand-700); font-weight: 600; letter-spacing: .04em; }

/* ---------- 勾选清单与行内代码 ---------- */
.ps-checklist { list-style: none; padding-left: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.ps-checklist li { padding-left: 1.6rem; position: relative; line-height: 1.55; color: var(--muted); font-size: 14.5px; margin: 0; }
.ps-checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
code { background: var(--brand-050); padding: .1rem .4rem; border-radius: 4px; font-size: .9em; font-family: Consolas, "Courier New", monospace; }

/* ---------- 承诺 / 步骤 ---------- */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promise__item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 18px 20px; }
.promise__item dt { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.promise__item dd { margin: 0; font-weight: 700; color: var(--navy); font-size: 17px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}

/* ---------- 索引表 ---------- */
.tblwrap { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow-x: auto; }
table.idx { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 680px; }
table.idx caption { text-align: left; padding: 16px 20px 0; font-size: 13.5px; color: var(--muted); caption-side: top; }
table.idx th, table.idx td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.idx thead th { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; background: var(--bg-soft); border-bottom: 1px solid var(--line); position: sticky; top: 0; }
table.idx tbody tr:last-child td { border-bottom: 0; }
table.idx tr.grp th { background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; padding: 10px 16px; }
table.idx td.v { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.idx td.b { color: var(--muted); font-size: 14px; white-space: nowrap; }
table.idx td.d { color: var(--ink-2); font-size: 14.5px; }
table.idx td.c a { font-size: 14px; font-weight: 500; white-space: nowrap; }
table.idx td.c { white-space: nowrap; }

/* ---------- 联系 ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); height: 100%; }
.contact-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.contact-card__role { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 14px; margin: 0; font-size: 15px; }
.dl dt { color: var(--muted); font-size: 14px; }
.dl dd { margin: 0; color: var(--ink); }
.dl dd a { color: var(--brand-700); font-weight: 600; }

/* ---------- CTA 条 ---------- */
.cta-band { background: linear-gradient(100deg, var(--navy) 0%, #20337d 55%, var(--brand-700) 100%); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(36px, 5vw, 56px); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #c3cfef; margin: 0; }
.cta-band__tel { display: block; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.01em; text-decoration: none; }
.cta-band__tel:hover { text-decoration: none; color: #fff; }
.cta-band__tel small { display: block; font-size: 13px; font-weight: 500; color: #b9c6ea; letter-spacing: .06em; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d1839; color: #93a3cc; font-size: 14px; padding-block: 48px 28px; }
.site-footer a { color: #c3cfef; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin: .5em 0; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand span { color: #fff; font-weight: 700; font-size: 16px; }
.footer__legal { padding-top: 22px; line-height: 2; font-size: 13px; }
.footer__legal .sep { margin-inline: 8px; color: #4a5b86; }
.footer__note { margin-top: 6px; font-size: 12.5px; color: #6d7fa8; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .brandwall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin-left: 0; display: none; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-drop__btn { width: 100%; padding: 13px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul.nav-drop__menu { position: static; display: none; min-width: 0; margin: 0; padding: 4px 0 10px 12px; border: 0; border-radius: 0; background: var(--bg-soft); box-shadow: none; }
  .nav-drop.is-open > .nav-drop__menu { display: block; }
  .nav-drop__menu a { padding: 11px 12px; }
  .header-tel { margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 10px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .grid-4, .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 页头是不换行的 flex 行，最小可用宽度约 500px；先在这里降级，避免汉堡按钮被压扁 */
@media (max-width: 760px) {
  .header-chat { display: none; }
  .header-tel__label { display: none; }
  .brand__sub { display: none; }
}

/* 手机：图形标无文字，公司名换成短名，热线降一号，整行最小宽度约 340px */
@media (max-width: 560px) {
  .site-header .container { gap: 8px; padding-inline: 16px; }
  .brand { gap: 8px; }
  .brand img { height: 34px; }
  .brand__name { font-size: 0; }
  .brand__name::after { content: "企管家科技"; font-size: 15px; }
  .header-tel__num { font-size: 16px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .promise, .stats { grid-template-columns: minmax(0, 1fr); }
  .brandwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .dl dd { margin-bottom: 10px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
