/* ==========================================================================
   中山市信劳咨询服务有限公司 · 官网样式
   设计语言：简单大方 · 藏青 / 金 / 留白
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 色彩 */
  --navy:        #16324f;
  --navy-2:      #1e4368;
  --navy-3:      #2a5a83;
  --gold:        #b8935a;
  --gold-2:      #c9a96a;
  --gold-soft:   #f0e7d6;

  --ink:         #1f2b36;
  --body:        #44505c;
  --muted:       #7a8694;
  --line:        #e8edf3;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fa;
  --bg-tint:     #f1f5f9;

  /* 字体 */
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Helvetica Neue", Arial, sans-serif;

  /* 间距 / 尺寸 */
  --container: 1200px;
  --radius:    4px;
  --radius-lg: 10px;
  --shadow:    0 6px 24px rgba(22, 50, 79, 0.06);
  --shadow-lg: 0 18px 48px rgba(22, 50, 79, 0.10);
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- 重置 ---------- */
*, *::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(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .8em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

.lead { font-size: 1.08rem; color: var(--muted); }

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--soft  { background: var(--bg-soft); }
.section--navy  { background: var(--navy); color: #c7d4e1; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--navy .section-head p { color: #a9bccd; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: .95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--gold    { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184,147,90,.35); }
.btn--outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--lg { padding: 16px 38px; font-size: 1rem; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(22,50,79,.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: grid; place-items: center;
  background: var(--navy);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
}
.brand__name { line-height: 1.2; }
.brand__name b { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.brand__name span { font-size: .72rem; color: var(--muted); letter-spacing: .12em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 16px;
  font-size: .95rem;
  color: var(--ink);
  font-weight: 500;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--navy); }

.nav__cta { margin-left: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #122a42 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(184,147,90,.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(42,90,131,.55), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { max-width: 760px; }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .accent { color: var(--gold-2); }
.hero__sub { font-size: 1.12rem; color: #b8c8d8; max-width: 600px; margin-bottom: 2.2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat .num { font-size: 2rem; font-weight: 600; color: #fff; line-height: 1; }
.hero__stat .num .unit { font-size: 1rem; color: var(--gold-2); margin-left: 4px; }
.hero__stat .label { font-size: .85rem; color: #9fb1c2; margin-top: 8px; }

/* ---------- 页面通用横幅 ---------- */
.page-banner {
  position: relative;
  padding: 150px 0 70px;
  background: linear-gradient(135deg, #122a42, var(--navy-2));
  color: #fff;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(184,147,90,.16), transparent 50%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  mask-image: radial-gradient(circle at 75% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 75% 30%, #000, transparent 80%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: #b8c8d8; margin: 0; max-width: 640px; }
.breadcrumb { font-size: .85rem; color: #8aa0b4; margin-top: 18px; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- 服务卡片 ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all .35s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--navy); color: var(--gold-2); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: .88rem; color: var(--navy); font-weight: 500;
}
.card__more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- 特性 / 为什么选择我们 ---------- */
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature__icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: var(--bg);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .3em; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- 关于预览（图文） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  box-shadow: var(--shadow-lg);
}
.split__media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(184,147,90,.25), transparent 45%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.split__media .badge {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 22px 26px;
  backdrop-filter: blur(6px);
}
.split__media .badge b { display: block; color: var(--navy); font-size: 1.4rem; }
.split__media .badge span { font-size: .85rem; color: var(--muted); }

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--body);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,147,90,.25), transparent 70%);
}
.cta-band h2 { color: #fff; margin: 0 0 .2em; position: relative; }
.cta-band p { color: #b8c8d8; margin: 0; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- 业务范围详细 ---------- */
.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:last-child { border-bottom: 0; }
.service-row__head { position: sticky; top: 96px; }
.service-row__num {
  font-size: .8rem; letter-spacing: .2em; color: var(--gold);
  font-weight: 600; margin-bottom: 12px;
}
.service-row__head h3 { font-size: 1.5rem; }
.service-row__body p { color: var(--muted); }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  display: inline-block;
  padding: 7px 16px;
  font-size: .85rem;
  background: var(--bg-tint);
  color: var(--navy);
  border-radius: 20px;
  font-weight: 500;
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.info-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold-2);
  border-radius: 10px;
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item h4 { margin: 0 0 4px; font-size: 1rem; color: var(--ink); }
.info-item p { margin: 0; color: var(--muted); font-size: .95rem; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 4px; }
.form .hint { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; color: var(--ink); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22,50,79,.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-embed {
  margin-top: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}
.faq__q .ico { flex: 0 0 auto; color: var(--gold); transition: transform .3s var(--ease); }
.faq__item.open .faq__q .ico { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq__a-inner { padding: 0 4px 22px; color: var(--muted); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
}
.timeline__item .year { font-size: .85rem; color: var(--gold); font-weight: 600; letter-spacing: .08em; }
.timeline__item h4 { margin: 4px 0 6px; font-size: 1.05rem; }
.timeline__item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- 价值观卡片 ---------- */
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
}
.value-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.value-card .num { font-size: 2.4rem; font-weight: 700; color: var(--gold-soft); line-height: 1; margin-bottom: 12px; }
.value-card h3 { font-size: 1.15rem; }
.value-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0f2336; color: #9fb1c2; padding: 72px 0 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 22px; letter-spacing: .04em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand__name b { color: #fff; }
.footer-brand .brand__name span { color: #7a8a9a; }
.footer-brand p { font-size: .9rem; line-height: 1.8; color: #8aa0b4; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .9rem; color: #9fb1c2; }
.footer-links a:hover { color: var(--gold-2); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .9rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-2); flex: 0 0 16px; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #6f8294;
}
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { min-height: 280px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row__head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
