/* ===========================================================
   广东蓝代人力资源服务有限公司 · 官网样式
   配色取自公司 LOGO：深蓝 #003C8F / 亮蓝 #0088D0
   =========================================================== */

:root {
  --navy: #003c8f;
  --navy-deep: #00213f;
  --navy-mid: #005ba5;
  --blue: #0088d0;
  --sky: #1e9be0;
  --sky-soft: #8fc8f0;
  --bg: #f5f9fd;
  --bg-alt: #ffffff;
  --text: #14283c;
  --muted: #5a6f87;
  --line: #dce8f4;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0, 60, 143, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 60, 143, 0.10);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-alt);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: .01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(0, 60, 143, .25); }
.btn-primary:hover { background: #00337c; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 头部 ---------- */
.header {
  position: sticky; top: 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: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(0, 60, 143, .07); }

.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 32px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; color: var(--navy); letter-spacing: .06em; }
.brand-text em {
  font-style: normal; font-size: 9px; letter-spacing: .22em;
  color: var(--muted); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text); font-size: 15px; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--blue); background: rgba(0, 136, 208, .07); }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 46%, var(--navy-mid) 100%);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 82% 18%, rgba(30, 155, 224, .40), transparent 68%),
    radial-gradient(560px 380px at 10% 88%, rgba(0, 136, 208, .26), transparent 70%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 56px; align-items: center; padding-bottom: 72px;
}
.eyebrow {
  margin: 0 0 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--sky-soft);
}
.hero h1 {
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.28; letter-spacing: .01em;
}
.hero-sub {
  margin: 24px 0 0; max-width: 30em;
  font-size: 16px; line-height: 1.95; color: #c9dcef;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-card {
  background: #fff; border-radius: 22px; padding: 44px;
  box-shadow: 0 30px 70px rgba(0, 12, 40, .38);
  display: flex; align-items: center; justify-content: center;
}
.hero-card img { width: 100%; max-width: 240px; margin: 0 auto; }

.stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255, 255, 255, .16);
  border-radius: 18px 18px 0 0; overflow: hidden;
}
.stats li {
  background: rgba(0, 33, 63, .30);
  padding: 26px 20px; text-align: center;
  transition: background .25s var(--ease);
}
.stats li:hover { background: rgba(0, 33, 63, .46); }
.stats strong {
  display: block; font-size: 32px; font-weight: 700; letter-spacing: .01em;
  color: #fff; line-height: 1.2;
}
.stats .unit { font-size: 17px; font-weight: 600; margin-left: 2px; }
.stats span { display: block; margin-top: 6px; font-size: 13px; color: #9fc2e4; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }

.kicker {
  margin: 0 0 14px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; color: var(--blue);
}
.kicker-light { color: var(--sky-soft); }

.h2 { font-size: clamp(24px, 2.7vw, 36px); color: var(--navy); letter-spacing: .01em; }
.h2-light { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-sub { margin: 18px 0 0; color: var(--muted); font-size: 15.5px; }

.body { margin: 18px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.95; }

.two-col { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li {
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); background: rgba(0, 136, 208, .09);
  border: 1px solid rgba(0, 136, 208, .18);
}

/* 公司信息卡 */
.info-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--line);
}
.info-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 20px; letter-spacing: .06em; }
.info-card dl > div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card dt { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.info-card dd { font-size: 14.5px; font-weight: 600; color: var(--text); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 34px 28px 30px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--sky));
  opacity: 0; transition: opacity .28s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { opacity: 1; }

.card-no { display: block; font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.card h3 { margin: 10px 0 18px; font-size: 18px; color: var(--text); }
.card ul li {
  position: relative; padding-left: 16px; margin-top: 11px;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sky);
}

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.steps li::after {
  content: ""; position: absolute; top: 50%; right: -13px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky-soft); transform: translateY(-50%);
}
.steps li:last-child::after { display: none; }
.step-no {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue); background: rgba(0, 136, 208, .1);
  padding: 3px 9px; border-radius: 6px;
}
.steps h3 { margin: 14px 0 8px; font-size: 17px; color: var(--navy); }
.steps p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.quality {
  margin-top: 46px; padding: 30px 36px; border-radius: var(--radius);
  background: var(--bg); border-left: 4px solid var(--blue);
}
.quality h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.quality p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- 优势 ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-no { font-size: 13px; font-weight: 700; color: var(--sky); letter-spacing: .08em; }
.feature h3 { margin: 12px 0 12px; font-size: 19px; color: var(--navy); }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ---------- 客户与案例 ---------- */
.clients { margin-bottom: 40px; }
.client {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; text-align: left;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client span {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); margin-bottom: 8px;
}
.client strong { font-size: 17px; color: var(--text); line-height: 1.5; }

.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 34px 30px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--blue);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.case h3 { font-size: 20px; color: var(--text); margin-bottom: 20px; }
.case ul li {
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px; color: var(--muted);
}
.case ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.case b { display: inline-block; min-width: 6.2em; color: var(--navy); font-weight: 600; }

/* ---------- 联系 ---------- */
.contact {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff;
}
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.contact-sub { margin: 18px 0 0; color: #c9dcef; font-size: 15.5px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-item {
  display: block; padding: 22px 24px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
a.contact-item:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .34); transform: translateY(-3px); }
.contact-wide { grid-column: 1 / -1; }
.contact-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--sky-soft); margin-bottom: 7px; }
.contact-item strong { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: .01em; word-break: break-all; }

/* ---------- 页脚 ---------- */
.footer { background: #041a33; color: #8fa8c2; padding: 42px 0 34px; font-size: 13.5px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 26px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand strong { color: #dce8f4; font-size: 14.5px; display: block; }
.footer-brand p { margin: 3px 0 0; font-size: 12.5px; color: #7d95ae; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0; line-height: 1.9; }
.footer-meta a { color: #8fa8c2; }
.footer-meta a:hover { color: #fff; text-decoration: underline; }
.footer .sep { margin: 0 8px; opacity: .5; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .feature, .client, .case, .steps li { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 880px) {
  .header-inner { height: 66px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 60, 143, .1);
    padding: 8px 16px 18px;
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .nav.is-open { max-height: 420px; padding-top: 8px; padding-bottom: 18px; }
  .nav a { padding: 13px 12px; border-radius: 8px; font-size: 16px; }

  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .hero-card { padding: 30px; max-width: 260px; border-radius: 18px; margin: 0 auto; }
  .hero-card img { max-width: 170px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .grid-4, .grid-2, .steps, .contact-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 38px; }
  .card, .feature, .case { padding: 26px 22px; }
  .quality { padding: 24px 22px; }
  .stats strong { font-size: 27px; }
  .case b { display: block; min-width: 0; margin-bottom: 2px; }
}
