:root {
  --primary-color: #1489c4;
  --nav-height: 80px;
  --text-color: #333;
  --bg-light: #f5f5f5;
  --nav-gray: #e7e7e7;
  --footer-bg: #222;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-light);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ====== HEADER / NAV ====== */

.site-header .container {
  max-width: none;
  /* 随屏幕变化：小屏更紧凑，大屏接近设计稿 65/75 */
  padding-left: clamp(8px, 3.4vw, 65px);
  padding-right: clamp(8px, 3.9vw, 75px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header--home {
  background-color: #ffffff;
}

.site-header--inner {
  background-color: var(--nav-gray);
  box-shadow: none;
  border-bottom: 1px solid #CECECE;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #1489c4;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background-color: #333;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  color: #545454;
  white-space: nowrap;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover {
  color: #1489c4;
}

.main-nav a.is-active {
  color: #1489c4;
}

.nav-search-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-search-img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

/* ====== BANNER (HOME) ====== */

/* 首页 Banner */
.hero {
  position: relative;
  background-color: #eaf3fb;
  background-image: url("./image/banner.png");
  background-repeat: no-repeat;
  /* 背景图固定在右侧区域，匹配设计图构图 */
  background-size: clamp(560px, 56vw, 1080px) auto;
  background-position: right bottom;
  /* 1920px 宽时高度 900px => 900 / 1920 = 46.875vw */
  min-height: clamp(320px, 46.875vw, 900px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  min-height: inherit;
  /* 设计稿：1920px 左边距 130px，随屏缩小，最小 20px */
  padding: 40px 0 60px clamp(20px, 6.7708vw, 130px);
  gap: 40px;
}

.hero .container.hero-inner {
  max-width: none;
  padding-right: 0;
}

.hero-text {
  max-width: 640px;
  padding-left: 0;
}

.hero-kicker {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 2.2917vw, 44px);
  color: #014b95;
  margin: 0;
}

.hero-title {
  font-family: "PingFang SC", "PingFang SC-Semibold", -apple-system, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.8646vw, 55px);
  line-height: 2.2;
  color: #014b95;
  margin: 0;
  white-space: nowrap;
}

.hero-desc {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 2.0833vw, 40px);
  line-height: 1.3;
  color: #1c1c1c;
  margin: 0;
}

.hero-banner-visual {
  min-height: 260px;
}

/* ====== SECTION GENERIC ====== */

.section {
  padding: 60px 0;
}

.section.products-page {
  padding: 25px clamp(20px, 2.6vw, 50px) 32px;
}

.section.products-page .container {
  padding: 0;
  max-width: none;
}

.section-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 32px;
}

.section--white {
  background-color: #ffffff;
  padding-top: clamp(80px, 8.3333vw, 160px);
  padding-bottom: clamp(80px, 8.3333vw, 160px);
}

.section--white .container {
  max-width: 1420px;
}

.section--white .section-title {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2vw, 32px);
  color: #383838;
  margin-top: 0;
  margin-bottom: 18px;
}

.section--white .section-subtitle {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #595959;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 40px;
  max-width: 818px;
  margin-left: auto;
  margin-right: auto;
}

/* ====== PRODUCTS GRID (HOME) ====== */

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-product-card {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
}

.home-product-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  margin: 0 auto;
}

.home-product-card-body {
  padding: 14px 16px 18px;
}

.home-product-card-title {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #383838;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 12px;
}

.home-product-card-desc {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #595959;
  text-align: center;
  line-height: 24px;
}

/* ====== ABOUT SECTION (HOME) ====== */

.home-about {
  position: relative;
  color: #ffffff;
}

.home-about-bg {
  background-image: url("./image/bg2.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 41.67vw;
  max-height: 800px;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.home-about-inner {
  width: 100%;
}

.home-about-content {
  max-width: 1008px;
  padding: 32px 36px;
  border-radius: 4px;
  margin: 0 auto;
}

.home-about-content h2 {
  margin: 0 0 clamp(30px, 3.65vw, 70px);
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 32px);
  color: #ffffff;
  text-align: center;
}

.home-about-content p {
  margin: 0;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 20px);
  line-height: clamp(22px, 2.8vw, 60px);
  color: #ffffff;
  text-align: center;
}

/* ====== ADVANTAGES SECTION ====== */

.advantages-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.advantages-title {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2vw, 32px);
  color: #383838;
  margin: 0 0 20px;
}

.advantages-text {
  max-width: 600px;
}

.advantages-subtitle {
  margin: 0 0 20px;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #595959;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 30px;
}

.advantage-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon img {
  width: 26px;
  height: 26px;
  display: block;
}

.advantage-text-title {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #383838;
  margin-bottom: 6px;
}

.advantage-text-desc {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: #595959;
}

.advantages-image {
  position: relative;
  max-width: 720px;
  min-height: 260px;
  border-radius: 4px;
  overflow: hidden;
}

.advantages-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== FOOTER ====== */

.site-footer {
  background-color: #26282c;
  color: #c5c7cc;
  padding: 60px 0 40px;
  font-size: 13px;
}

.site-footer .container {
  max-width: 1300px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 45px;
}

.footer-slogan {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 22px;
  color: #aeaeae;
}

.footer-contact p {
  margin: 0 0 12px;
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #aeaeae;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-phone-icon img {
  width: 27px;
  height: 27px;
  display: block;
}

.footer-phone-text {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #aeaeae;
  white-space: nowrap;
}

.footer-qrcodes {
  display: flex;
  gap: 100px;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.footer-qrcode-item {
  text-align: center;
  color: #acacac;
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 16px;
}

.footer-qrcode-item img {
  width: 160px;
  max-width: 32vw;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
}

.footer-bottom-left {
  color: #5e5f60;
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
}

.footer-bottom-right {
  color: #4A87CE;
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom-right:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-wrap: wrap;
    text-align: center;
    gap: 8px;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    width: 100%;
  }
}

/* ====== BACK TO TOP ====== */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background-color: #0b57d0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top-icon {
  width: 10px;
  height: 10px;
  border-left: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-top: 4px;
}

/* ====== PRODUCTS PAGE LAYOUT ====== */

.breadcrumb {
  font-size: 13px;
  color: #999;
  padding: 16px 0;
}

.products-page .breadcrumb {
  position: absolute;
  top: 32px;
  left: calc(var(--products-menu-w) + var(--products-gap) + 22px);
  right: 26px;
  margin: 0;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #909090;
}

.products-page .breadcrumb span {
  color: #1489c4;
}

.products-page-card {
  --products-menu-w: clamp(230px, 15.36vw, 295px);
  --products-gap: 40px;
  --product-img-size: clamp(300px, 26.0417vw, 500px);
  --product-img-pad: clamp(20px, 7.2917vw, 140px);
  --products-divider-gap: clamp(12px, calc((100vw - 800px) * 0.2), 100px);
  position: relative;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin: 0;
  padding: 23px 26px 26px;
}

.products-layout {
  display: grid;
  grid-template-columns: var(--products-menu-w) minmax(0, 1fr);
  align-items: flex-start;
}

.products-sidebar {
  background-color: transparent;
  padding: 0;
  border-right: none;
  margin-left: -26px;
  margin-top: 0;
}

.products-sidebar-title {
  display: none;
}

.products-menu-select-wrap {
  display: none;
}

.products-menu-select-label {
  display: none;
}

.products-select {
  position: relative;
}

.products-select-trigger {
  width: 100%;
  height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0 36px 0 12px;
  background-color: #ffffff;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 40px;
  text-align: left;
  color: #1489c4;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.products-select-trigger::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #666666;
  border-bottom: 1.5px solid #666666;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.products-select.is-open .products-select-trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.products-select-trigger:focus,
.products-select.is-open .products-select-trigger {
  border-color: #1489c4;
  outline: none;
  box-shadow: 0 0 0 2px rgba(20, 137, 196, 0.2);
}

.products-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #f0f0f0;
  z-index: 20;
  display: none;
  max-height: 264px;
  overflow-y: auto;
}

.products-select.is-open .products-select-dropdown {
  display: block;
}

.products-select-option {
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  padding: 0 12px;
  height: 36px;
  line-height: 36px;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #606266;
  cursor: pointer;
}

.products-select-option:hover {
  background-color: #f5f5f5;
}

.products-select-option.is-active {
  color: #1489c4;
}

.products-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 42px;
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: 1px solid #e6e6e6;
  background-color: #ffffff;
}

.products-menu li {
  border-bottom: none;
}

.products-menu button {
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border: none;
  background: none;
  text-align: left;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  color: #606060;
  display: flex;
  align-items: center;
  line-height: 42px;
}

.products-menu button:hover {
  background-color: #f5fbff;
}

.products-menu button.is-active {
  background-color: #e8f6ff;
  color: #1489c4;
  border-right: 3px solid #1489c4;
}

.products-content {
  background-color: transparent;
  padding: 0;
  display: grid;
  grid-template-columns:
    minmax(0, calc(var(--product-img-size) + var(--product-img-pad) * 2))
    minmax(320px, 1fr);
  /* 1920px≈140px，随屏缩小，最小 30px */
  padding-top: 80px;
}

.product-main-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  /* 1920px 时左右 140px，随屏缩小 */
  padding: 0 var(--product-img-pad);
}

#product-image {
  /* 1920px 时 500×500，最小 300×300 */
  width: var(--product-img-size);
  height: var(--product-img-size);
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

@media (min-width: 1920px) {
  #product-image {
    width: 500px;
    height: 500px;
  }

  .product-main-image {
    padding-left: 140px;
    padding-right: 140px;
  }
}

.product-info-title {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 40px;
  color: #000000;
  margin: 0 0 7px;
}

.product-info-subtitle {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  margin: 0 0 14px;
}

.product-divider {
  height: 1px;
  background-color: #c5c5c5;
  width: calc(100% - var(--products-divider-gap));
  max-width: none;
  margin-bottom: 24px;
}

.product-specs-title {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #333333;
  margin: 24px 0 12px;
}

.product-thumb {
  margin-bottom: 50px;
}

.product-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  display: block;
  margin: 0 0 10px;
}

.product-thumb-title {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
}

.product-specs {
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 30px;
  color: #333333;
  margin-bottom: 22px;
}

.product-specs p {
  position: relative;
  margin: 0;
  padding-left: 10px;
}

.product-specs p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  height: 4px;
  background-color: #444444;
  border-radius: 50%;
  transform: translateY(-50%);
}

.products-page-divider {
  grid-column: 1 / -1;
  height: 1px;
  background-color: #c5c5c5;
  width: calc(100% - var(--products-divider-gap) * 2);
  max-width: none;
  margin: 25px var(--products-divider-gap) 105px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 2px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.products-content .btn-primary {
  width: 187px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1489c4;
  border-radius: 3px;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 40px;
}

/* ====== ABOUT PAGE CONTENT ====== */

.about-section {
  padding: clamp(28px, 3.4375vw, 66px) 0 clamp(36px, 4.1667vw, 80px);
}

.about-section .container {
  max-width: 1600px;
}

.about-section .card {
  margin-bottom: 80px;
}

.about-section .card:last-child {
  margin-bottom: 0;
}

.about-intro {
  padding: 60px 80px;
}

.about-section .about-intro {
  margin-bottom: clamp(24px, 4.1667vw, 80px);
}

.about-intro-header {
  text-align: center;
  margin-bottom: 65px;
}

.about-intro-title {
  margin: 0;
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2vw, 32px);
  color: #383838;
}

.about-intro-underline {
  width: 36px;
  height: 3px;
  background-color: #1489c4;
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-contact .about-intro-header {
  margin-bottom: 40px;
}

.about-contact .card-text p {
  margin: 0 0 18px;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  /* 1920px: 18px/40px，随屏缩小 */
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: clamp(28px, 2.0833vw, 40px);
  color: #595959;
}

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

.about-intro-body {
  display: grid;
  /* 设计稿为 622px + 820px，但在卡片内需允许收缩避免溢出 */
  grid-template-columns: minmax(0, 622px) minmax(0, 820px);
  gap: 68px;
  align-items: stretch;
  max-width: 100%;
}

.about-intro-image {
  height: 100%;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-intro-text p {
  margin: 0 0 18px;
  font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
  font-weight: 400;
  /* 1920px: 18px/50px，随屏缩小 */
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: clamp(32px, 2.6042vw, 50px);
  color: #595959;
  overflow-wrap: anywhere;
}

.about-intro-text {
  padding-right: 0;
  min-width: 0;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.card {
  background-color: #ffffff;
  padding: 68px 88px;
  margin-bottom: 24px;
}

.about-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.card-title {
  font-family: "PingFang SC", "PingFang SC-Medium", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #383838;
  margin-bottom: 16px;
}

.card-text p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.9;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1199px) {
  .hero-inner,
  .advantages-inner,
  .products-content,
  .about-main {
    gap: 0;
  }

  .brand-name {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .hero {
    /* 小屏不裁切背景图：文字在上，图在下 */
    background-image: none;
    background-color: #eaf3fb;
  }

  .hero-banner-visual {
    /* 背景图 100% 显示且不超出父容器 */
    width: 100%;
    margin-left: 0;
    min-height: auto;
    aspect-ratio: 1920 / 900;
    background-image: url("./image/banner.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
    background-color: #eaf3fb;
    padding: 18px 16px;
  }

  .advantages-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .advantages-image {
    max-width: 540px;
    justify-self: center;
  }

  .products-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-page .breadcrumb {
    position: static;
    padding-left: 0;
    margin: 0 0 20px;
  }

  .products-menu {
    gap: 12px;
  }

  /* 小屏：左侧菜单改为下拉 */
  .products-menu {
    display: none;
  }

  .products-sidebar {
    margin-left: 0;
  }

  .products-menu-select-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 0 0 16px;
  }

  .products-menu-select-label {
    display: block;
    font-family: "PingFang SC", "PingFang SC-Regular", -apple-system, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #909090;
  }

  .products-content {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
  }

  .product-divider,
  .products-page-divider {
    width: 100%;
    max-width: none;
  }

  .products-page-divider {
    margin: 25px 0 60px;
  }

  .product-main-image {
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 16px;
  }

  .about-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-intro {
    padding: 32px 20px;
  }

  .about-intro-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-qrcodes {
    justify-content: center;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .brand-name {
    font-size: 16px;
  }

  .nav-search-img {
    width: 16px;
    height: 16px;
  }

  .footer-qrcodes {
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }

  .footer-qrcode-item img {
    width: 140px;
    max-width: 40vw;
  }

  .main-nav {
    position: absolute;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: #ffffff;
    padding: 8px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header--inner .main-nav {
    background-color: var(--nav-gray);
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 8px 0;
    font-size: 13px;
    width: 100%;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-search-btn {
    margin-top: 4px;
  }

  .nav-toggle {
    display: flex;
  }

  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-about-content {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: auto;
  }

  .hero-title {
    line-height:2.2;
    white-space: normal;
  }

  .hero-kicker {
    font-size: 16px;
    margin-bottom: 0;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .home-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-about-bg {
    min-height: 360px;
  }

  .card {
    padding: 20px;
  }

  .products-sidebar-title {
    padding: 0 16px 8px;
  }

  .products-menu button {
    height: 42px;
    padding: 0 14px;
    font-size: 16px;
    line-height: 42px;
  }

  .footer-phone-icon img {
    width: 25px;
    height: 25px;
  }

  .footer-phone-text {
    font-size: 20px;
  }

  .footer-qrcodes {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
}

