/* 无锡大朋供水设备有限公司 - 全站样式 */
:root {
  --primary: #0e6ba8;
  --primary-dark: #0a527f;
  --text: #2d3436;
  --text-light: #6b7280;
  --bg-light: #f6f9fb;
  --border: #e5eaee;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 顶栏 */
.topbar { background: var(--primary-dark); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; padding: 6px 20px; }

/* 导航 */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 20px; font-weight: 700; color: var(--primary-dark); }
.logo span { color: var(--primary); }
.nav ul { display: flex; gap: 32px; list-style: none; }
.nav ul a { font-size: 15px; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav .hotline { text-align: right; font-size: 13px; color: var(--text-light); }
.nav .hotline strong { display: block; font-size: 19px; color: var(--primary); }

/* Banner */
.banner {
  background: linear-gradient(135deg, #0a527f 0%, #0e6ba8 55%, #2b8ec9 100%);
  color: #fff; padding: 96px 0; text-align: center;
}
.banner h1 { font-size: 40px; letter-spacing: 2px; margin-bottom: 16px; }
.banner p { font-size: 17px; opacity: .9; margin-bottom: 32px; }
.btn {
  display: inline-block; padding: 12px 36px; border-radius: 4px; font-size: 15px;
  transition: .2s;
}
.btn-primary { background: #fff; color: var(--primary-dark); font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-outline { border: 1px solid #fff; color: #fff; margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-call { background: var(--primary); color: #fff; font-weight: 600; }
.btn-call:hover { background: var(--primary-dark); }

/* 通用区块 */
section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 { font-size: 30px; color: var(--text); }
.sec-head .en { font-size: 13px; color: #9ab0bd; letter-spacing: 3px; text-transform: uppercase; }
.sec-head .line { width: 48px; height: 3px; background: var(--primary); margin: 14px auto 0; }
.sec-head p { color: var(--text-light); margin-top: 12px; font-size: 15px; }

/* 产品卡片 */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14,107,168,.12); }
.card .thumb { height: 210px; overflow: hidden; background: #dfe8ee; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 20px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-light); }
.card .more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--primary); }

/* 特性 */
.feature { text-align: center; padding: 28px 20px; background: #fff; border-radius: 8px; border: 1px solid var(--border); }
.feature .ico { font-size: 34px; margin-bottom: 12px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--text-light); }

/* 案例页 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-item { border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--border); background: #fff; }
.case-item img { width: 100%; height: 230px; object-fit: cover; transition: .4s; }
.case-item:hover img { transform: scale(1.04); }
.case-item .cap { padding: 14px 16px; }
.case-item .cap h3 { font-size: 15px; }
.case-item .cap p { font-size: 13px; color: var(--text-light); }

/* 新闻 */
.news-list { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
.news-item {
  display: flex; gap: 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 20px 24px; transition: .2s;
}
.news-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.news-item .date {
  flex-shrink: 0; text-align: center; background: var(--bg-light); border-radius: 6px;
  padding: 10px 14px; color: var(--primary); min-width: 72px;
}
.news-item .date b { display: block; font-size: 24px; line-height: 1.2; }
.news-item .date span { font-size: 12px; color: var(--text-light); }
.news-item h3 { font-size: 16px; margin-bottom: 6px; }
.news-item p { font-size: 14px; color: var(--text-light); }

/* 文章页 */
.article { max-width: 820px; margin: 0 auto; }
.article h1 { font-size: 26px; margin-bottom: 10px; }
.article .meta { font-size: 13px; color: var(--text-light); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article p { margin-bottom: 16px; font-size: 15.5px; }
.article h2 { font-size: 19px; margin: 26px 0 12px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.contact-box h3 { font-size: 18px; margin-bottom: 18px; color: var(--primary-dark); }
.contact-box li { list-style: none; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.contact-box li b { color: var(--primary-dark); margin-right: 8px; }
.contact-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: 8px; padding: 40px 32px; text-align: center;
}
.contact-cta .phone { font-size: 34px; font-weight: 700; letter-spacing: 1px; margin: 10px 0; }

/* CTA 条 */
.cta-strip { background: var(--primary-dark); color: #fff; padding: 44px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 22px; }
.cta-strip p { opacity: .85; font-size: 14px; }
.cta-strip .phone { font-size: 28px; font-weight: 700; }

/* 页脚 */
footer { background: #14303f; color: #b8c9d4; padding: 48px 0 0; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 36px; }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
footer li { list-style: none; padding: 4px 0; }
footer a:hover { color: #fff; }
footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; text-align: center; font-size: 13px; color: #7f97a5; }

/* 响应式 */
@media (max-width: 900px) {
  .grid-3, .grid-4, .case-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .banner h1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .case-grid, .contact-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
}
