/* ===== 全局重置与基础 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #2d3748;
  background: #f7f9fc;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2b6cb0; text-decoration: none; transition: color .2s ease; }
a:hover { color: #2c5282; }
ul, ol { list-style: none; }

:root {
  --primary: #2b6cb0;
  --primary-dark: #2c5282;
  --accent: #38a169;
  --text: #2d3748;
  --text-light: #4a5568;
  --muted: #718096;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --radius: 8px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, #2b6cb0, #38a169);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .9rem;
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: #fff;
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span.sep { margin: 0 6px; color: var(--muted); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(120deg, #2b6cb0 0%, #2c5282 60%, #3898a1 100%);
  color: #fff;
  padding: 72px 0 60px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.hero p {
  font-size: 1.05rem;
  opacity: .95;
  max-width: 720px;
  margin: 0 auto 26px;
}
.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.btn-primary {
  background: #fff;
  color: var(--primary);
}
.btn-primary:hover { background: #ebf4ff; color: var(--primary-dark); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ===== 通用区块 ===== */
.section {
  padding: 60px 0;
}
.section-alt {
  background: var(--white);
}
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}
.section-title p {
  color: var(--muted);
  font-size: .95rem;
}

/* ===== 特色/卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
}
.card p {
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.7;
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: #ebf4ff;
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

/* ===== 大图展示 ===== */
.banner-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.banner-row img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.banner-row h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--text);
}
.banner-row p {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: .95rem;
}

/* ===== 产品列表 ===== */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.product-item .info {
  padding: 22px;
}
.product-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.product-item p {
  color: var(--text-light);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.product-item .tag {
  display: inline-block;
  padding: 3px 10px;
  background: #ebf4ff;
  color: var(--primary);
  border-radius: 20px;
  font-size: .8rem;
  margin-right: 6px;
  margin-bottom: 8px;
}

/* ===== 新闻列表 ===== */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.news-card .meta {
  padding: 6px 0 8px;
  color: var(--muted);
  font-size: .8rem;
}
.news-card .body {
  padding: 22px;
}
.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}
.news-card .summary {
  color: var(--text-light);
  font-size: .92rem;
  line-height: 1.7;
}

/* ===== 数据统计 ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  text-align: center;
}
.stat-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  box-shadow: var(--shadow);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  color: var(--text-light);
  font-size: .9rem;
  margin-top: 6px;
}

/* ===== 联系表单 ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-info p,
.contact-info li {
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 12px;
  line-height: 1.8;
}
.contact-info li strong {
  color: var(--text);
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .9rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,108,176,.15);
}
.form-group textarea {
  min-height: 130px;
  resize: vertical;
}
.btn-submit {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ===== 底部 ===== */
.site-footer {
  background: #1a202c;
  color: #cbd5e0;
  padding: 48px 0 24px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.footer-brand p {
  line-height: 1.8;
  color: #a0aec0;
  max-width: 340px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-col ul li {
  margin-bottom: 6px;
}
.footer-col a {
  color: #a0aec0;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: #718096;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== 正文页面文章 ===== */
.article-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.article-main h2 {
  font-size: 1.4rem;
  color: var(--text);
  margin: 28px 0 12px;
  font-weight: 700;
}
.article-main h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 22px 0 10px;
  font-weight: 700;
}
.article-main p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.9;
  font-size: .96rem;
}
.article-main ul li {
  list-style: disc;
  margin-left: 24px;
  color: var(--text-light);
  margin-bottom: 6px;
  font-size: .95rem;
}
.article-main img.inline-img {
  margin: 20px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

/* ===== 分页占位 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pagination a,
.pagination span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .9rem;
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== 移动端适配 ===== */
@media (max-width: 900px) {
  .banner-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: inline-block; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 44px 0; }
  .article-main { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
