/* ============================================================
   陕西老登人力 — 视觉设计规范 v2.0 全站 CSS
   品牌调性：人力资源 / 稳重专业 / 高信任感
   设计风格：现代简约 · 人文温度 · 可信赖
   ============================================================ */

/* ===== CSS 变量定义 ===== */
:root {
  /* Professional Blue */
  --primary-900: #1a2b3c;
  --primary-700: #243b53;
  --primary-500: #2d5a87;
  --primary-300: #5c8db5;
  --primary-100: #e4eef7;

  /* Warm Orange — CTA 专属 */
  --accent-700: #c2410c;
  --accent-500: #ea580c;
  --accent-300: #fdba74;
  --accent-100: #fff7ed;

  /* Neutral */
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  /* Semantic */
  --success: #059669;
  --success-bg: #ecfdf5;
  --danger:  #dc2626;
  --danger-bg: #fef2f2;

  /* Fonts */
  --font-heading: 'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  --font-body:    'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  --font-mono:    'JetBrains Mono','SF Mono','Consolas',monospace;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26,43,60,0.06);
  --shadow-md: 0 8px 24px rgba(26,43,60,0.10);
  --shadow-lg: 0 12px 40px rgba(26,43,60,0.12);
  --shadow-accent: 0 8px 24px rgba(234,88,12,0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.4,0,0.2,1);
  --transition-fast:   150ms;
  --transition-normal: 250ms;
  --transition-slow:   350ms;
}

/* ===== 全局排版 ===== */
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--gray-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 40px; letter-spacing: -0.01em; }
h2 { font-size: 32px; margin-bottom: var(--space-md); }
h3 { font-size: 22px; font-weight: 600; margin-bottom: var(--space-sm); }
h4 { font-size: 18px; font-weight: 600; }

a {
  color: var(--primary-500);
  transition: color var(--transition-fast) ease;
  text-decoration: none;
}
a:hover {
  color: var(--primary-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
}

/* ===== 导航栏 ===== */
.site-header,
.ast-primary-header-bar.main-header-bar {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--primary-100) !important;
  height: 72px;
}

.main-header-menu .menu-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: 8px 0 !important;
  margin: 0 16px;
  position: relative;
  transition: color var(--transition-fast) ease;
}
.main-header-menu .menu-link:hover {
  color: var(--primary-500) !important;
  text-decoration: none;
}
.main-header-menu .menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-500);
  transition: width var(--transition-normal) var(--ease-out);
}
.main-header-menu .menu-link:hover::after,
.main-header-menu .current-menu-item .menu-link::after {
  width: 100%;
}
.main-header-menu .current-menu-item .menu-link {
  color: var(--primary-500) !important;
  font-weight: 600;
}

/* 移动端导航按钮 */
.ast-button-wrap .menu-toggle {
  background: var(--primary-500) !important;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast) ease;
}
.ast-button-wrap .menu-toggle:hover {
  background: var(--primary-700) !important;
}

/* ===== 内容容器 ===== */
.site-content .ast-container {
  max-width: 1200px;
  padding: 0 var(--space-lg);
}

.ld-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  list-style: none;
  padding: 0;
}
.ld-points li {
  font-size: 15px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.ld-points li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 16px;
}

/* ===== 按钮系统 ===== */
.ld-btns {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

/* 主按钮 (Primary) */
.ld-btn.ld-btn-p,
.ld-btn-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: var(--primary-500) !important;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--transition-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.ld-btn.ld-btn-p:hover,
.ld-btn-p:hover {
  background: var(--primary-700) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,90,135,0.25);
  text-decoration: none !important;
}
.ld-btn.ld-btn-p:active,
.ld-btn-p:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(45,90,135,0.20);
}

/* 次按钮 (Secondary) */
.ld-btn.ld-btn-s,
.ld-btn-s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: transparent !important;
  color: var(--primary-500) !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--primary-500) !important;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--transition-normal) var(--ease-out);
}
.ld-btn.ld-btn-s:hover,
.ld-btn-s:hover {
  background: var(--primary-500) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,90,135,0.20);
  text-decoration: none !important;
}
.ld-btn.ld-btn-s:active,
.ld-btn-s:active {
  transform: translateY(0);
}

/* CTA 暖橙按钮（用于关键转化位置如 Hero */button / tel 链接) */
.ld-btn-p[href^="tel:"] {
  background: var(--accent-500) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 12px rgba(234,88,12,0.20);
}
.ld-btn-p[href^="tel:"]:hover {
  background: var(--accent-700) !important;
  box-shadow: var(--shadow-accent);
}

/* ===== Section 区块背景 ===== */
.ld-sec.white { background: #ffffff; }
.ld-sec.gray  { background: var(--gray-100); }
.ld-sec.lblue { background: var(--primary-100); }
.ld-sec.dblue {
  background: var(--primary-900);
  color: #ffffff;
}
.ld-sec.dblue h2,
.ld-sec.dblue h3,
.ld-sec.dblue .ld-sec-sub { color: #ffffff; }
.ld-sec.dblue p { color: rgba(255,255,255,0.85); }

/* 所有 section 统一内边距 */
.ld-sec {
  padding: 80px 0;
}

/* Section 标题 */
.ld-sec h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
}
.ld-sec-sub {
  font-size: 17px;
  color: var(--gray-500);
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.65;
}

/* ===== 数据卡片 (优势区) ===== */
.ld-data-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}
.ld-data-card {
  background: #ffffff;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow) var(--ease-out);
}
.ld-data-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-300);
}
.ld-data-card .num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-500);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.ld-data-card .lbl {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== 业务卡片 ===== */
.ld-svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
.ld-svc-card {
  background: #ffffff;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow) var(--ease-out);
  text-align: center;
}
.ld-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-300);
}
.ld-svc-card .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--primary-500);
  background: var(--primary-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow) var(--ease-out);
}
.ld-svc-card:hover .ico {
  color: var(--accent-500);
  background: var(--accent-100);
}
.ld-svc-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.ld-svc-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== 流程步骤 ===== */
.ld-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.ld-step {
  text-align: center;
  position: relative;
}
.ld-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--primary-100);
  color: var(--primary-500);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal) var(--ease-out);
}
.ld-step:hover .ld-step-num {
  background: var(--primary-500);
  color: #ffffff;
  transform: scale(1.08);
}
.ld-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ld-step p {
  font-size: 14px;
  color: var(--gray-500);
}

/* 流程连接线 */
.ld-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--primary-100);
  z-index: 0;
}

/* ===== 资质区 ===== */
.ld-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.ld-cred {
  background: var(--gray-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.ld-cred h3 {
  font-size: 22px;
  margin-bottom: var(--space-md);
}
.ld-cred p,
.ld-cred li {
  font-size: 15px;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

/* 资质勾选项 */
.ld-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin: 4px;
}

/* ===== FAQ 折叠面板 ===== */
.ld-faq-item {
  background: #ffffff;
  border: 1px solid var(--primary-100);
  border-radius: 10px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: all var(--transition-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.ld-faq-item:hover {
  border-color: var(--primary-300);
}
.ld-faq-item.on {
  border-color: var(--primary-500);
  box-shadow: 0 2px 12px rgba(26,43,60,0.06);
}
.ld-faq-q {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast) ease;
  user-select: none;
}
.ld-faq-q:hover {
  color: var(--primary-500);
}
.ld-faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  display: none;
}
.ld-faq-item.on .ld-faq-a {
  display: block;
}
.ld-faq-q::after {
  content: '▼';
  font-size: 12px;
  color: var(--gray-300);
  transition: transform var(--transition-normal) var(--ease-out);
}
.ld-faq-item.on .ld-faq-q::after {
  transform: rotate(180deg);
  color: var(--primary-500);
}

/* ===== CTA 区域 ===== */
.ld-sec.dblue {
  padding: 80px 0 80px;
  text-align: center;
}
.ld-sec.dblue h2 {
  font-size: 32px;
  margin-bottom: var(--space-md);
}
.ld-sec.dblue .ld-sec-sub {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
}
.ld-sec.dblue .ld-btns {
  justify-content: center;
}
.ld-sec.dblue .ld-btn-p {
  background: var(--accent-500) !important;
  box-shadow: 0 2px 12px rgba(234,88,12,0.20);
}
.ld-sec.dblue .ld-btn-p:hover {
  background: var(--accent-700) !important;
  box-shadow: var(--shadow-accent);
}

/* ===== 电话元素 ===== */
.ld-phone {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-500);
  letter-spacing: 0.02em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-900) !important;
  color: #ffffff !important;
  padding: 40px 0 24px;
}
.site-footer a {
  color: rgba(255,255,255,0.8) !important;
  transition: color var(--transition-fast) ease;
}
.site-footer a:hover {
  color: var(--accent-300) !important;
  text-decoration: none;
}
.site-footer p,
.site-footer .ast-footer-copyright {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px;
}

/* ===== 全局链接和文字 ===== */
.entry-content p {
  margin-bottom: var(--space-md);
}

/* ===== 响应式 — Tablet (768-1023px) ===== */
@media (max-width: 1023px) {
  .ld-data-cards,
  .ld-svc-cards,
  .ld-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .ld-trust {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .ld-sec {
    padding: 60px 0;
  }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
}

/* ===== 响应式 — Mobile (< 768px) ===== */
@media (max-width: 767px) {
  .ld-data-cards,
  .ld-svc-cards,
  .ld-steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .ld-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .ld-btn-p, .ld-btn-s {
    width: 100%;
    text-align: center;
  }
  .ld-sec {
    padding: 48px 0;
  }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .ld-data-card .num { font-size: 36px; }
  .ld-steps::before {
    display: none;
  }
}

/* ===== 动画辅助 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 确保内容区无冗余外边距 */
.entry-content { margin: 0 !important; padding: 0 !important; }
.ast-container .ast-container { padding: 0; }

/* Astra 页面标题（首页已隐藏） */
.ld-hide-entry-title .entry-header { display: none !important; }

/* Elementor 容器重置 */
.elementor-widget-container { margin: 0; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-500); }
