/* =============================================
   爱汇聚官网 - 企业官网样式
   纯展示型企业网站，无交互功能
============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* LAYOUT */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
============================================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  color: #4b5563;
  border-radius: 6px;
  transition: all .2s;
}

.nav-link:hover {
  color: #111827;
  background: #f3f4f6;
}

.nav-link.active {
  color: #1d4ed8;
  font-weight: 600;
  background: #eff6ff;
}

/* =============================================
   PAGE BANNER
============================================= */
.page-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 56px 24px;
  text-align: center;
}

.page-banner h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto;
}

/* =============================================
   CONTENT
============================================= */
.page-content {
  padding: 48px 0 64px;
}

.content-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 40px;
}

.content-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1d4ed8;
  display: inline-block;
}

.content-card p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 16px;
  line-height: 1.85;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* SERVICE LIST */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.service-item {
  padding: 24px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.service-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.service-item p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 0;
}

/* NEWS LIST */
.news-list {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}

.news-item:last-child { border-bottom: none; }

.news-item-title {
  font-size: 15px;
  color: #1f2937;
  flex: 1;
}

.news-item-date {
  font-size: 13px;
  color: #9ca3af;
  white-space: nowrap;
}

/* CONTACT TABLE */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.contact-table tr {
  border-bottom: 1px solid #f3f4f6;
}

.contact-table tr:last-child { border-bottom: none; }

.contact-table td {
  padding: 14px 0;
  font-size: 15px;
  vertical-align: top;
}

.contact-table td:first-child {
  font-weight: 600;
  color: #374151;
  width: 100px;
  white-space: nowrap;
}

.contact-table td:last-child {
  color: #4b5563;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 28px 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.footer-beian {
  font-size: 13px;
}

.footer-beian a {
  color: #6b7280;
  transition: color .2s;
}

.footer-beian a:hover {
  color: #1d4ed8;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .content-card { padding: 28px 20px; }
  .page-banner { padding: 40px 20px; }
  .page-banner h1 { font-size: 22px; }
  .service-list { grid-template-columns: 1fr; }
}
