/* ========== 普研联汇 pylyhb.com 全站样式 ========== */
:root {
  --primary: #0f4c99;
  --primary-dark: #0a3570;
  --primary-light: #1a6bc4;
  --accent: #e8a33d;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #f5f7fa;
  --white: #fff;
  --border: #e8ecf1;
  --shadow: 0 2px 12px rgba(15,76,153,.08);
  --shadow-hover: 0 6px 24px rgba(15,76,153,.15);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部导航 ========== */
.header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo { display: flex; flex-direction: column; }
.logo h1 {
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
}
.logo span { font-size: 12px; color: var(--text-muted); margin-top: -2px; }
.nav { display: flex; gap: 8px; }
.nav a {
  padding: 8px 18px;
  font-size: 16px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--primary);
  background: rgba(15,76,153,.06);
}
.nav a.active { font-weight: 600; }

/* 移动端汉堡菜单 */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ========== 页面横幅 ========== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-banner h2 { font-size: 32px; margin-bottom: 10px; font-weight: 600; }
.breadcrumb { font-size: 14px; opacity: .85; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }
/* 浅色背景面包屑（业务页使用） */
.breadcrumb-light { background: var(--white); padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; opacity: 1; color: var(--text-light); }
.breadcrumb-light a { color: var(--text-light); }
.breadcrumb-light a:hover { color: var(--primary); text-decoration: none; }

/* ========== 首页首屏 ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.hero h2 { font-size: 40px; margin-bottom: 16px; font-weight: 700; letter-spacing: 2px; }
.hero p { font-size: 18px; opacity: .9; max-width: 700px; margin: 0 auto 30px; }
.hero-tags { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-tags span {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
}

/* ========== 通用区块 ========== */
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h3 {
  font-size: 28px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-title p { color: var(--text-light); font-size: 15px; }
.section-title .line {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ========== 四大业务卡片 ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all .3s;
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: var(--white);
}
.service-card h4 { font-size: 20px; margin-bottom: 12px; color: var(--primary-dark); }
.service-card p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; line-height: 1.8; }
.service-card .more-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}
.service-card .more-link:hover { color: var(--accent); }

/* ========== 优势区块 ========== */
.advantages { background: var(--white); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.adv-item {
  text-align: center;
  padding: 30px 20px;
}
.adv-item .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.adv-item h4 { font-size: 18px; margin-bottom: 10px; color: var(--primary-dark); }
.adv-item p { color: var(--text-light); font-size: 14px; }

/* ========== 流程区块 ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 18px;
  font-weight: 600;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-light); }

/* ========== 资讯列表（首页+列表页通用） ========== */
.articles-section { background: var(--white); }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s;
  border: 1px solid var(--border);
}
.article-card:hover { box-shadow: var(--shadow-hover); }
.article-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.article-card h4 a:hover { color: var(--primary); }
.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 18px;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-card .desc { color: var(--text-light); font-size: 14px; line-height: 1.8; }

/* 侧边栏 */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.sidebar-widget h4 {
  font-size: 17px;
  color: var(--primary-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 16px;
}
.hot-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  line-height: 1.6;
}
.hot-list li:last-child { border-bottom: none; }
.hot-list li a:hover { color: var(--primary); }
.hot-list li .idx {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: var(--border);
  color: var(--text-light);
  border-radius: 3px;
  font-size: 12px;
  margin-right: 8px;
}
.hot-list li:nth-child(1) .idx,
.hot-list li:nth-child(2) .idx,
.hot-list li:nth-child(3) .idx { background: var(--primary); color: var(--white); }

.contact-widget {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  text-align: center;
}
.contact-widget h4 { color: var(--white); border-bottom-color: rgba(255,255,255,.3); }
.contact-widget p { font-size: 14px; opacity: .9; margin-bottom: 12px; }
.contact-widget .phone { font-size: 22px; font-weight: 700; margin: 10px 0; }
.contact-widget .phone a { color: var(--white); }

/* ========== 文章详情页 ========== */
.article-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 50px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.article-detail h1 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.5;
}
.article-detail .article-meta { padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.article-body { font-size: 15px; line-height: 2; color: #444; }
.article-body h2 {
  font-size: 20px;
  color: var(--primary-dark);
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.article-body h3 { font-size: 17px; color: var(--text); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 10px 0 16px 20px; }
.article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-body ol li { list-style: decimal; margin-bottom: 6px; }
.article-body strong { color: var(--primary-dark); }
.article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.related-articles {
  margin-top: 30px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.related-articles h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 16px; }
.related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.related-list a { font-size: 14px; color: var(--text-light); }
.related-list a:hover { color: var(--primary); }

/* ========== 业务专题页 ========== */
.service-page { background: var(--white); }
.service-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.service-hero h2 { font-size: 34px; margin-bottom: 12px; }
.service-hero p { font-size: 16px; opacity: .9; max-width: 700px; margin: 0 auto; }

.service-content { padding: 60px 0; }
.service-section { margin-bottom: 50px; }
.service-section h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.service-section > p { color: var(--text-light); margin-bottom: 20px; line-height: 1.9; }

.sub-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sub-service {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 3px solid var(--primary);
}
.sub-service h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; }
.sub-service p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px 28px;
}
.faq-item h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ========== 关于我们 ========== */
.about-content { background: var(--white); padding: 60px 0; }
.about-block { margin-bottom: 40px; }
.about-block h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.about-block p { color: var(--text-light); line-height: 2; margin-bottom: 14px; }
.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.value-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border-radius: var(--radius);
}
.value-item .icon { font-size: 32px; margin-bottom: 10px; }
.value-item h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; }
.value-item p { font-size: 13px; color: var(--text-light); }

/* ========== 联系我们 ========== */
.contact-page { padding: 60px 0; }
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact-box h3 { font-size: 24px; color: var(--primary-dark); margin-bottom: 30px; }
.contact-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(15,76,153,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.contact-info-item .ci-text { text-align: left; }
.contact-info-item .ci-text label { display: block; font-size: 13px; color: var(--text-muted); }
.contact-info-item .ci-text span { font-size: 18px; color: var(--primary-dark); font-weight: 600; }
.contact-info-item .ci-text a { font-size: 18px; color: var(--primary-dark); font-weight: 600; }
.call-btn {
  display: inline-block;
  margin-top: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 48px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: background .3s;
}
.call-btn:hover { background: var(--primary-dark); color: var(--white); }

/* ========== 城市分站 ========== */
.city-grid, .cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.city-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s;
  display: block;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.city-card h4 { font-size: 18px; color: var(--primary-dark); margin-bottom: 8px; }
.city-card p { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.city-card a { color: var(--primary); font-size: 14px; font-weight: 500; }

/* ========== 联系页卡片 ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-info-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.contact-info-card .big-phone {
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
}
.contact-info-card .big-phone a {
  color: var(--primary);
}
.contact-info-card .big-phone a:hover {
  color: var(--accent);
}

/* 通用更多链接 */
.more-link { color: var(--primary); font-weight: 500; }
.more-link:hover { color: var(--accent); }

/* ========== 页脚 ========== */
.footer {
  background: #1a2332;
  color: #aab4c2;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}
.footer-col p { font-size: 13px; line-height: 2; margin-bottom: 6px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aab4c2; font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col .footer-phone { font-size: 20px; color: var(--accent); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: #aab4c2; }
.footer-bottom a:hover { color: var(--white); }

/* ========== 悬浮拨号按钮 ========== */
.float-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background: var(--primary);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15,76,153,.4);
  font-size: 11px;
  transition: all .3s;
}
.float-call:hover { background: var(--primary-dark); color: var(--white); transform: scale(1.08); }
.float-call .fc-icon { font-size: 22px; line-height: 1; }
.float-call .fc-text { font-size: 10px; margin-top: 2px; }

/* ========== 分页 ========== */
.pagination { text-align: center; margin-top: 30px; }
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .city-grid, .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-services { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .logo h1 { font-size: 20px; }
  .logo span { font-size: 11px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .hero { padding: 50px 0 70px; }
  .hero h2 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .page-banner { padding: 40px 0; }
  .page-banner h2 { font-size: 24px; }
  .section { padding: 40px 0; }
  .section-title h3 { font-size: 22px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 14px; }
  .service-card h4 { font-size: 15px; }
  .service-card p { font-size: 12px; line-height: 1.6; }
  .service-icon { width: 40px; height: 40px; font-size: 20px; border-radius: 8px; margin-bottom: 12px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .process-step { padding: 20px 14px; }
  .process-step h4 { font-size: 14px; }
  .process-step p { font-size: 12px; }
  .adv-item { padding: 16px 10px; }
  .adv-item .num { font-size: 28px; }
  .adv-item h4 { font-size: 15px; }
  .adv-item p { font-size: 12px; }
  .article-card { padding: 20px; }
  .article-detail { padding: 24px 20px; }
  .article-detail h1 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-values { grid-template-columns: 1fr; }
  .city-grid, .cities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .city-card { padding: 20px 14px; }
  .city-card h4 { font-size: 15px; }
  .city-card p { font-size: 12px; }
  .contact-box { padding: 30px 20px; }
  .contact-info-card { padding: 24px 16px; }
  .contact-info-card .big-phone { font-size: 24px; }
  .contact-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sub-services { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sub-service { padding: 16px 14px; }
  .sub-service h4 { font-size: 14px; }
  .sub-service p { font-size: 12px; line-height: 1.6; }
  .service-hero { padding: 50px 0; }
  .service-hero h2 { font-size: 26px; }
  .float-call { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}
