/* ===== 广东扬端技术有限公司 官网样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f4f6f9;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 1000px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部条 ===== */
.topbar {
  background: #0d2a55;
  color: #9db3d0;
  font-size: 12px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #cfe0f5; margin-left: 14px; }
.topbar a:hover { color: #fff; }

/* ===== 页头 ===== */
.site-header {
  background: #fff;
  border-bottom: 3px solid #1452a0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { display: flex; align-items: center; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 8px;
  background: linear-gradient(135deg, #1452a0, #2f7fe0);
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-right: 12px;
  overflow: hidden;
}
.logo-mark img { display: block; }
.logo-text .cn { font-size: 22px; font-weight: 700; color: #0d2a55; letter-spacing: 1px; }
.logo-text .en { font-size: 11px; color: #7a8ca6; letter-spacing: 2px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; }
.main-nav a {
  padding: 8px 20px; font-size: 15px; color: #333;
  border-bottom: 3px solid transparent; margin-left: 4px;
  transition: color .2s;
}
.main-nav a:hover { color: #1452a0; }
.main-nav a.active { color: #1452a0; border-bottom-color: #1452a0; font-weight: 600; }

/* ===== Banner ===== */
.banner { position: relative; overflow: hidden; background: #0d2a55; }
.banner-slide { display: none; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: 380px; object-fit: cover; }
.banner-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.banner-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.banner-dots span.active { background: #fff; }

/* ===== 通用区块 ===== */
.section { padding: 44px 0; }
.section-title {
  text-align: center; margin-bottom: 30px;
}
.section-title h2 {
  font-size: 26px; color: #0d2a55; font-weight: 700;
  display: inline-block; position: relative; padding-bottom: 10px;
}
.section-title h2::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 46px; height: 3px; background: #2f7fe0; }
.section-title .en { display: block; font-size: 12px; color: #9aa7bd; letter-spacing: 3px; margin-top: 4px; }

/* ===== 首页：最新消息 ===== */
.news-home { background: #fff; }
.news-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.news-list-head .more { color: #1452a0; font-size: 14px; }
.news-list-head .more:hover { text-decoration: underline; }
.news-item {
  display: flex; align-items: center; padding: 12px 6px;
  border-bottom: 1px dashed #e3e8f0; transition: background .2s;
}
.news-item:hover { background: #f6f9ff; }
.news-item .date {
  flex: 0 0 110px; color: #1452a0; font-size: 13px;
  font-family: Consolas, monospace; font-weight: 600;
}
.news-item .title { flex: 1; font-size: 15px; color: #333; }
.news-item:hover .title { color: #1452a0; }

/* ===== 首页：产品专区 ===== */
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.series-card {
  background: #fff; border: 1px solid #e6ebf2; border-radius: 8px;
  overflow: hidden; transition: transform .2s, box-shadow .2s; text-align: center;
}
.series-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(20,82,160,.15); }
.series-card img { width: 100%; height: 170px; object-fit: cover; }
.series-card .sc-body { padding: 16px; }
.series-card .sc-name { font-size: 17px; font-weight: 700; color: #0d2a55; }
.series-card .sc-title { font-size: 13px; color: #7a8ca6; margin-top: 4px; }

/* ===== 首页：关于扬端 ===== */
.about-home { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.about-grid img { border-radius: 8px; }
.about-grid p { margin-bottom: 12px; text-indent: 2em; color: #555; }
.about-grid .btn {
  display: inline-block; margin-top: 8px; padding: 9px 26px;
  background: #1452a0; color: #fff; border-radius: 4px; font-size: 14px;
}
.about-grid .btn:hover { background: #2f7fe0; }

/* ===== 页面标题条 ===== */
.page-hero {
  background: linear-gradient(120deg, #0d2a55, #1452a0);
  color: #fff; padding: 30px 0; text-align: center;
}
.page-hero h1 { font-size: 26px; font-weight: 700; }
.page-hero p { font-size: 13px; color: #b9cae4; margin-top: 6px; }

/* ===== 列表 / 详情卡片 ===== */
.card { background: #fff; border: 1px solid #e6ebf2; border-radius: 8px; padding: 24px; margin-bottom: 20px; }
.breadcrumb { font-size: 13px; color: #7a8ca6; margin-bottom: 16px; }
.breadcrumb a { color: #1452a0; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== 新闻列表页 ===== */
.news-page .news-item .title { font-weight: 600; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span {
  min-width: 32px; padding: 6px 10px; text-align: center;
  background: #fff; border: 1px solid #dfe6ef; border-radius: 4px; font-size: 13px;
}
.pagination a:hover { border-color: #1452a0; color: #1452a0; }
.pagination .current { background: #1452a0; color: #fff; border-color: #1452a0; }
.pagination .info { border: none; color: #7a8ca6; }

/* ===== 新闻详情 ===== */
.news-detail h2 { font-size: 22px; color: #0d2a55; text-align: center; }
.news-detail .meta { text-align: center; color: #9aa7bd; font-size: 13px; margin: 10px 0 24px; }
.news-detail .content { font-size: 15px; color: #444; }
.news-detail .content p { margin-bottom: 14px; }
.news-detail .back { display: inline-block; margin-top: 20px; color: #1452a0; }

/* ===== 产品总览 ===== */
.product-overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-overview-grid .series-card { text-align: left; }
.product-overview-grid .series-card img { height: 200px; }
.product-overview-grid .sc-desc { font-size: 13px; color: #666; margin-top: 8px; }

/* ===== 产品系列页 ===== */
.product-layout { display: flex; gap: 24px; align-items: flex-start; }
.sidebar {
  flex: 0 0 200px; background: #fff; border: 1px solid #e6ebf2;
  border-radius: 8px; overflow: hidden; position: sticky; top: 80px;
}
.sidebar h3 { background: #0d2a55; color: #fff; padding: 12px 16px; font-size: 15px; }
.sidebar a {
  display: block; padding: 10px 16px; font-size: 14px; color: #444;
  border-bottom: 1px solid #f0f3f8;
}
.sidebar a:hover, .sidebar a.active { background: #eef4ff; color: #1452a0; }
.main-col { flex: 1; min-width: 0; }
.cat-block { margin-bottom: 22px; }
.cat-block h4 {
  font-size: 16px; color: #0d2a55; background: #f0f5ff;
  border-left: 4px solid #1452a0; padding: 9px 14px; margin-bottom: 12px;
}
.cat-intro { background: #f8fafd; border: 1px dashed #d7e0ee; padding: 10px 14px; margin-bottom: 12px; }
.cat-intro p { font-size: 13px; color: #56677f; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.spec-table th {
  background: #1452a0; color: #fff; padding: 8px 6px; font-weight: 600; white-space: nowrap;
}
.spec-table td { border: 1px solid #e3e8f0; padding: 7px 6px; text-align: center; }
.spec-table tr:nth-child(even) td { background: #f8fafd; }
.spec-table a { color: #1452a0; font-weight: 600; }
.spec-table a:hover { text-decoration: underline; }

/* ===== 产品详情 ===== */
.prod-title {
  font-size: 22px; color: #0d2a55; font-weight: 700; text-align: center;
  background: #f0f5ff; border: 1px solid #dbe6fb; border-radius: 8px;
  padding: 14px; margin-bottom: 20px;
}
.prod-tag {
  display: inline-block; background: #1452a0; color: #fff;
  font-size: 12px; padding: 3px 12px; border-radius: 20px; margin-bottom: 14px;
}
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prod-features li { padding: 7px 0 7px 24px; position: relative; border-bottom: 1px dashed #eef1f7; }
.prod-features li::before { content: "◆"; color: #1452a0; position: absolute; left: 4px; font-size: 12px; }
.prod-nav { margin-top: 26px; display: flex; justify-content: space-between; font-size: 14px; }
.prod-nav a { color: #1452a0; }
.prod-nav a:hover { text-decoration: underline; }

/* ===== 关于我们 ===== */
.about-grid .about-text p { text-indent: 2em; color: #555; }

/* ===== 联系我们 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 8px; padding: 22px; }
.contact-card h3 { color: #0d2a55; font-size: 16px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #eef3fb; }
.contact-card p { font-size: 14px; color: #555; margin-bottom: 6px; }
.contact-card .label { color: #9aa7bd; font-size: 12px; margin-right: 8px; }

/* ===== 页脚 ===== */
.site-footer { background: #0d223f; color: #9db3d0; font-size: 13px; padding: 34px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 30px; padding-bottom: 26px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer p { margin-bottom: 6px; }
.site-footer a { color: #cfe0f5; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #6f86a4;
}
.footer-visit { color: #7fc4ff; font-weight: 600; }

/* ===== 404 ===== */
.error404 { text-align: center; padding: 80px 0; }
.error404 h1 { font-size: 72px; color: #1452a0; }
.error404 p { color: #7a8ca6; margin: 10px 0 24px; }
.error404 a { color: #1452a0; font-weight: 600; }

@media (max-width: 900px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { flex-direction: column; }
  .sidebar { position: static; flex: none; width: 100%; }
  .footer-grid, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .main-nav a { padding: 8px 10px; font-size: 13px; }
}
