/* 首页区块 — 按 layout/home.png 设计稿 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #333;
  background: #f0f0f0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

.page-home {
  --home-blue: #005bac;
  --home-blue-dark: #004a8f;
  --home-blue-light: #1a7fd4;
  --home-text: #333;
  --home-muted: #999;
  --home-bg: #fff;
  --home-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow-x: hidden;
}

.page-home .home-container {
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ---- 通用标题 ---- */
.page-home .sec-head {
  margin-bottom: 48px;
}

.page-home .sec-head.center {
  text-align: center;
}

.page-home .sec-head .sec-title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: var(--home-blue);
  line-height: 1.3;
}

.page-home .sec-head .sec-en {
  margin: 8px 0 0;
  font-size: 32px;
  color: var(--home-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- 关于我们 ---- */
.page-home .home-about {
  padding: 60px 0 0px;
  background: var(--home-bg);
}

.page-home .home-about-stage {
  position: relative;
  min-height: 520px;
  padding: 20px 0;
  height: 100%;
  min-height: 610px;
  
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.page-home .home-about-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
}

.page-home .home-about-card {
  position: relative;
  z-index: 1;
  width: 56%;
  max-width: 1266px;
  margin-top: 20px;
  margin-bottom: 20px;
  min-height: 520px;
  padding: 36px 40px 30px;
  background: #fff;
  box-shadow: var(--home-card-shadow);
}

.page-home .home-about-card .card-head {
  text-align: right;
  margin-bottom: 60px;
  border-bottom: 1px solid #ccc;
  width: 200px;
  margin-left: 396px;
}

.page-home .home-about-card .card-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: #333;
}

.page-home .home-about-card .card-head p {
  font-size: 13px;
  color: #bbb;
  letter-spacing: 1px;
}

.page-home .home-about-card .card-img {
  width: 66%;
  height: auto;
  position: absolute;
  top: 125px;
  right: -55px;
  z-index: 1;
  background-color: #fff;
  padding: 20px 20px 20px 0;
}
.page-home .home-about-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-about-card .card-text {
  font-size: 14px;
  line-height: 2;
  color: #555;
  text-align: justify;
  width: 60%;
  float:right;
  text-indent: 2em;
  padding-top: 12em;
}

.page-home .home-about-card .card-text p {
  margin: 0 0 14px;
}

.page-home .home-about-card .card-text p:last-child {
  margin-bottom: 0;
}

/* ---- 核心产品 ---- */
.page-home .home-products {
  padding: 60px 0 10px;
  background: var(--home-bg);
}

.page-home .product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 36px;
  background-image: url("../images/home_products_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 80px;
  box-sizing: border-box;
}

.page-home .product-card {
  display: flex;
  align-items: stretch;
  min-height: 300px;
  height:100%;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--home-card-shadow);
  overflow: hidden;
}

.page-home .product-card .product-info {
  flex: 1;
  min-width: 0;
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-home .product-card .product-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  letter-spacing: 1px;
}

.page-home .product-card .product-sub {
  margin: 28px 0 0;
  font-size: 20px;
  font-weight: 400;
  color: #004bb4;
  line-height: 1.5;
}

.page-home .product-card .product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding: 0 28px;
  height: 44px;
  font-size: 16px;
  color: #fff;
  background: #004bb4;
  border-radius: 0;
  transition: background 0.2s;
}

.page-home .product-card .product-btn:hover {
  background: #003d94;
}

.page-home .product-card .product-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid #fff;
}

.page-home .product-card .product-btn-icon::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg);
  margin-left: -2px;
}

.page-home .product-card .product-spec {
  margin: 32px 0 0;
  padding-top: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.page-home .product-card .product-img {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 12px 0;
}

.page-home .product-card .product-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---- 新闻资讯 ---- */
.page-home .home-news {
  padding: 60px 0 90px;
  background: var(--home-bg);
}

.page-home .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0px 80px;
  box-sizing: border-box;
}

.page-home .news-col .news-banner {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.page-home .news-col .news-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .news-col .news-banner .news-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(28, 38, 52, 0.48);
  color: #fff;
  text-align: center;
}

.page-home .news-col .news-banner .news-banner-text::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.page-home .news-col .news-banner .news-banner-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 1px;
  height: 20px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-home .news-col .news-banner .news-banner-text .cn {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.2;
}

.page-home .news-col .news-banner .news-banner-text .en {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
}

.page-home .news-col .news-list {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.page-home .news-col .news-list li {
  padding: 16px 0;
  border-bottom: 1px dashed #ccc;
}

.page-home .news-col .news-list li:last-child {
  border-bottom: none;
}

.page-home .news-col .news-list a {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  transition: color 0.2s;
}

.page-home .news-col .news-list a::before {
  content: "»";
  flex-shrink: 0;
  margin-right: 8px;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.6;
}

.page-home .news-col .news-list li:first-child a {
  color: #8b2e24;
  font-weight: 600;
}

.page-home .news-col .news-list li:first-child a::before {
  color: #a93226;
}

.page-home .news-col .news-list a:hover,
.page-home .news-col .news-list a:hover::before {
  color: #a93226;
}

/* ---- 响应式 ---- */
@media (max-width: 1440px) {
  .page-home .sec-head .sec-title {
    font-size: 36px;
  }

  .page-home .sec-head .sec-en {
    font-size: 26px;
  }

  .page-home .product-grid {
    padding: 48px 40px;
    gap: 24px;
  }

  .page-home .news-grid {
    padding: 0 40px;
    gap: 20px;
  }

  .page-home .product-card .product-title {
    font-size: 26px;
  }

  .page-home .product-card .product-sub {
    font-size: 16px;
    margin-top: 18px;
  }

  .page-home .product-card .product-info {
    padding: 32px 20px;
  }

  .page-home .home-about-card .card-head {
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 1200px) {
  .page-home .home-about-card {
    width: 68%;
    min-height: 460px;
    padding: 28px 28px 24px;
  }

  .page-home .home-about-card .card-img {
    width: 58%;
    right: -36px;
    top: 90px;
    padding: 14px 14px 14px 0;
  }

  .page-home .home-about-card .card-head {
    width: auto;
    max-width: 200px;
    margin-left: auto;
  }

  .page-home .home-about-card .card-text {
    width: 55%;
    padding-top: 10em;
    font-size: 13px;
  }

  .page-home .product-card .product-title {
    font-size: 22px;
  }

  .page-home .product-card .product-sub {
    font-size: 15px;
    margin-top: 14px;
  }

  .page-home .product-card .product-btn {
    margin-top: 24px;
    height: 40px;
    font-size: 14px;
    padding: 0 20px;
  }

  .page-home .product-card .product-spec {
    margin-top: 20px;
    font-size: 14px;
  }

  .page-home .news-col .news-banner {
    height: 180px;
  }

  .page-home .news-col .news-banner .news-banner-text .cn {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .page-home .sec-head {
    margin-bottom: 32px;
  }

  .page-home .sec-head .sec-title {
    font-size: 30px;
  }

  .page-home .sec-head .sec-en {
    font-size: 18px;
  }

  .page-home .home-about {
    padding: 40px 0 0;
  }

  .page-home .home-about-stage {
    min-height: auto;
    padding: 16px;
    background-position: center center;
  }

  .page-home .home-about-card {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    padding: 24px 20px;
  }

  .page-home .home-about-card .card-img {
    position: static;
    width: 100%;
    right: auto;
    top: auto;
    padding: 0;
    margin-bottom: 20px;
    background: transparent;
  }

  .page-home .home-about-card .card-head {
    width: auto;
    max-width: none;
    margin: 0 0 16px;
    text-align: center;
  }

  .page-home .home-about-card .card-text {
    float: none;
    width: 100%;
    padding-top: 0;
    font-size: 14px;
    line-height: 1.9;
  }

  .page-home .home-products {
    padding: 40px 0 10px;
  }

  .page-home .product-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 20px;
  }

  .page-home .product-card {
    min-height: 0;
    border-radius: 18px;
  }

  .page-home .product-card .product-info {
    padding: 28px 24px 32px;
  }

  .page-home .product-card .product-title {
    font-size: 24px;
  }

  .page-home .product-card .product-img {
    flex: 0 0 38%;
    max-width: 38%;
  }

  .page-home .home-news {
    padding: 40px 0 60px;
  }

  .page-home .news-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 36px;
  }

  .page-home .news-col .news-banner {
    height: 190px;
  }
}

@media (max-width: 768px) {
  .page-home .sec-head .sec-title {
    font-size: 26px;
  }

  .page-home .sec-head .sec-en {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .page-home .home-about-stage {
    padding: 12px;
  }

  .page-home .home-about-card {
    padding: 20px 16px;
  }

  .page-home .home-about-card .card-head h3 {
    font-size: 20px;
  }

  .page-home .product-grid {
    padding: 24px 16px;
    gap: 16px;
  }

  .page-home .product-card {
    flex-direction: column-reverse;
    border-radius: 14px;
  }

  .page-home .product-card .product-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding: 20px 24px 0;
  }

  .page-home .product-card .product-img img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }

  .page-home .product-card .product-info {
    padding: 20px 16px 24px;
  }

  .page-home .product-card .product-title {
    font-size: 20px;
  }

  .page-home .product-card .product-sub {
    font-size: 14px;
    margin-top: 12px;
  }

  .page-home .product-card .product-btn {
    margin-top: 18px;
    height: 38px;
    font-size: 14px;
    padding: 0 18px;
    gap: 8px;
  }

  .page-home .product-card .product-spec {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
  }

  .page-home .news-grid {
    padding: 0 16px;
    gap: 28px;
  }

  .page-home .news-col .news-banner {
    height: 160px;
  }

  .page-home .news-col .news-banner .news-banner-text::before {
    inset: 10px;
  }

  .page-home .news-col .news-banner .news-banner-text::after {
    bottom: 10px;
    height: 16px;
  }

  .page-home .news-col .news-banner .news-banner-text .cn {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .page-home .news-col .news-banner .news-banner-text .en {
    font-size: 12px;
    margin-top: 6px;
  }

  .page-home .news-col .news-list li {
    padding: 12px 0;
  }

  .page-home .news-col .news-list a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-home .sec-head {
    margin-bottom: 24px;
  }

  .page-home .sec-head .sec-title {
    font-size: 22px;
  }

  .page-home .sec-head .sec-en {
    font-size: 13px;
  }

  .page-home .home-about,
  .page-home .home-products {
    padding-top: 32px;
  }

  .page-home .home-news {
    padding: 32px 0 48px;
  }

  .page-home .home-about-stage {
    padding: 0;
    background-image: none;
    background-color: #fff;
  }

  .page-home .home-about-card {
    box-shadow: none;
    padding: 20px 16px 24px;
  }

  .page-home .home-about-card .card-text {
    font-size: 13px;
    line-height: 1.85;
    text-indent: 2em;
  }

  .page-home .product-grid {
    padding: 16px 12px;
    background-image: none;
    background-color: transparent;
  }

  .page-home .product-card .product-img {
    padding: 16px 16px 0;
  }

  .page-home .product-card .product-img img {
    max-width: 200px;
  }

  .page-home .product-card .product-title {
    font-size: 18px;
  }

  .page-home .product-card .product-sub {
    font-size: 13px;
  }

  .page-home .news-grid {
    padding: 0 12px;
  }

  .page-home .news-col .news-banner {
    height: 140px;
  }

  .page-home .news-col .news-banner .news-banner-text .cn {
    font-size: 20px;
  }
}