/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fff; line-height: 1.6; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Body Wrapper ===== */
.body-wrap {
  position: relative;
  min-height: 100vh;
}

/* ===== Container ===== */
.container {
  width: 96%;
  max-width: 1600px;
  margin: 0 auto;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: none;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: #0057b9;
  border-bottom-color: transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  height: 80px;
}

.nav__logo img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  height: 100%;
  padding-left: 40px;
}

.nav__menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 36px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 2px;
  transition: background 0.3s, color 0.3s;
  position: relative;
}

.nav__arrow {
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.3s;
}
.nav__item-has-sub:hover .nav__arrow { transform: rotate(180deg); }

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #0057b9;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1002;
}
.nav__item-has-sub:hover > .nav__submenu {
  opacity: 1;
  visibility: visible;
}
.nav__submenu li {
  width: 100%;
  text-align: center;
}
.nav__submenu li a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}
.nav__submenu li:last-child a { border-bottom: none; }
.nav__submenu li a:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}
.nav__item-has-sub > .nav__submenu .nav__item-has-sub > .nav__submenu {
  position: absolute;
  top: 0;
  left: 100%;
  transform: none;
  min-width: 160px;
  background: #0057b9;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav__item-has-sub > .nav__submenu .nav__item-has-sub:hover > .nav__submenu {
  opacity: 1;
  visibility: visible;
}

.nav__menu li:hover > a {
  background: linear-gradient(to bottom, rgba(0,191,250,0.5), rgba(1,97,235,0.5));
  color: #fff;
}

.nav__menu a.active {
  background: linear-gradient(to bottom, rgba(0,191,250,0.5), rgba(1,97,235,0.5));
  color: #fff;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__phone img {
  height: 36px;
  width: 36px;
}

.nav__phone-num {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: #0057b9;
  border-top: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.mobile-menu.open { display: block; }
.mobile-menu > li > a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.mobile-menu > li > a:hover,
.mobile-menu > li > a.active {
  background: linear-gradient(to right, rgba(0,191,250,0.7), rgba(1,97,235,0.7));
  color: #fff;
}

.mobile-sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mobile-sub-toggle::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s;
}
.mobile-has-sub.open > .mobile-sub-toggle::after { content: "-"; }

.mobile-submenu {
  display: none;
  background: rgba(0,0,0,0.15);
}
.mobile-has-sub.open > .mobile-submenu { display: block; }
.mobile-submenu li a {
  display: block;
  padding: 12px 20px 12px 36px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.mobile-submenu li a:hover { background: rgba(255,255,255,0.1); }
.mobile-menu .mobile-submenu .mobile-submenu li a {
  padding-left: 56px;
  font-size: 13px;
}

/* ===== Hero Carousel ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  z-index: 0;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel__slide:first-child { opacity: 1; }

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: 0.3s;
}
.carousel__dot.active {
  background: #0161eb;
  border-color: #0161eb;
  transform: scale(1.2);
}

/* Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.carousel__arrow:hover { background: rgba(0,0,0,0.6); }
.carousel__arrow--prev { left: 20px; }
.carousel__arrow--next { right: 20px; }

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title__cn {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  position: relative;
  display: inline-block;
}
.section-title__cn::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: linear-gradient(to right, #00bffa, #0057b9);
  border-radius: 2px;
}
.section-title__en {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== Products ===== */
.products {
  padding: 70px 0;
  background: #fff;
}
.section-title--products {
  margin-bottom: 50px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 32px 28px;
  background: #ededed;
  color: #0057b9;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,50,180,0.07);
}
.category-card:hover {
  background: #0057b9;
  color: #ededed;
  box-shadow: 0 12px 32px rgba(0,80,220,0.18);
  transform: translateY(-6px);
}
.category-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  transition: transform 0.3s;
}
.category-card:hover .category-card__arrow { transform: translateX(4px); }
.category-card__en {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
  color: inherit;
}
.category-card__cn {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
}
.category-card__ti {
  font-size: 65px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.75;
  letter-spacing: -2px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: inherit;
}
.category-card:hover .category-card__en { opacity: 0.85; color: #ededed; }
.category-card:hover .category-card__cn { color: #ededed; }
.category-card:hover .category-card__ti { opacity: 0.7; color: #ededed; }
.category-card:hover .category-card__arrow { color: #ededed; }
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,50,180,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,80,220,0.18);
}
.product-card__img {
  width: 100%;
  padding-top: 68%;
  position: relative;
  overflow: hidden;
}
.product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__body { padding: 18px 16px 20px; }
.product-card__body h3 {
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__body p {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Hot Products ===== */
.hot-products {
  padding: 0;
  background: url('../images/rxcp.jpg') center center / cover no-repeat;
  position: relative;
  width: 100%;
  padding: 70px 0 100px;
}

.hot-products .container {
  position: relative;
  z-index: 1;
}

/* 上半部分：hx.png顶部居中不重复 */
.hot-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('../images/hx.png') center top / auto no-repeat;
  z-index: 0;
}

/* 下半部分：hx.png底部居中，图片翻转 */
.hot-products::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('../images/hx.png') center bottom / auto no-repeat;
  transform: scaleY(-1);
  z-index: 0;
}

.hot-products .container {
  position: relative;
  z-index: 1;
}

.hot-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hot-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
  box-shadow: 0 2px 12px rgba(0,50,180,0.07);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.hot-card:hover {
  background: #0081f0;
  box-shadow: 0 12px 32px rgba(0,80,220,0.18);
  transform: translateY(-6px);
}
.hot-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
}
.hot-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hot-card__body {
  padding: 0;
}
.hot-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hot-card__body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
}
  text-overflow: ellipsis;
  flex: 1;
  transition: color 0.3s;
}
.hot-card__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: filter 0.3s;
}
.hot-card:hover .hot-card__body h3 {
  color: #fff;
}
.hot-card:hover .hot-card__arrow {
  filter: brightness(0) invert(1);
}

/* ===== About ===== */
.about {
  padding: 80px 0;
  background: #fff;
}
.about__inner {
  display: flex;
  align-items: stretch;
  gap: 60px;
}
.about__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__content {
  margin-top: 24px;
}
.about__content p {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}
.about__btn {
  display: inline-block;
  padding: 12px 32px;
  margin-top: 20px;
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(to bottom, #00bffa, #0057b9);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.3s, transform 0.3s;
}
.about__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.about__right {
  flex-shrink: 0;
  width: 50%;
}
.about__right img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 992px) {
  .about__inner {
    flex-direction: column;
    gap: 40px;
  }
  .about__right {
    width: 100%;
    order: -1;
  }
}

/* ===== Advantages ===== */
.advantages {
  background: url('../images/ysbj.jpg') center / cover no-repeat;
  position: relative;
  width: 100%;
  padding: 70px 0 100px;
}
.advantages .container {
  position: relative;
  z-index: 1;
}
/* 上半部分：hx.png顶部居中不重复 */
.advantages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('../images/hx.png') center top / auto no-repeat;
  z-index: 0;
}

/* 下半部分：hx.png底部居中，图片翻转 */
.advantages::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('../images/hx.png') center bottom / auto no-repeat;
  transform: scaleY(-1);
  z-index: 0;
}

.advantages .section-title__cn { color: #000; }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}
.adv-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.adv-card__content {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
.adv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.adv-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,191,250,0.7), rgba(1,95,234,0.7));
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: opacity 0.4s;
}
.adv-card__overlay-num {
  font-size: 50px;
  font-weight: 900;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  line-height: 1;
}
.adv-card__overlay p {
  color: #fff;
  font-size: 18px;
  line-height: 1.9;
  text-align: center;
}
.adv-card__num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: font-size 0.4s, opacity 0.4s;
  z-index: 2;
  line-height: 1;
  opacity: 0.3;
}
.adv-card__names {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  transition: opacity 0.4s;
}
.adv-card__cn {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.adv-card__en {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.adv-card:hover img { transform: scale(1.08); }
.adv-card:hover .adv-card__overlay { opacity: 1; }
.adv-card:hover .adv-card__content { opacity: 0; }

@media (max-width: 992px) {
  .advantages__grid { gap: 30px; }
}
@media (max-width: 576px) {
  .advantages__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Contact Bar ===== */
.contact-bar {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.2);
  position: relative;
}
.contact-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(66.6667% - 20px);
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: #0041c6;
}
.contact-bar__left {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-bar__title {
  font-size: 32px;
  font-weight: 700;
  color: #0041c6;
  line-height: 1.7;
}
.contact-bar__line2,
.contact-bar__line3 {
  font-size: 20px;
  color: #333;
  line-height: 1.5;
  margin: 0;
}
.contact-bar__right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.contact-bar__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-bar__label {
  font-size: 16px;
  color: #0041c6;
}
.contact-bar__phone {
  font-size: 14px;
  font-weight: 700;
  color: #0041c6;
  line-height: 1.4;
}
.contact-bar__phone span:last-child {
  font-size: 22px;
}
.contact-bar__btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(to bottom, #00bffa, #0057b9);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s, transform 0.3s;
}
.contact-bar__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.contact-bar__img img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 576px) {
  .contact-bar { flex-direction: column; align-items: center; gap: 16px; }
  .contact-bar::after { display: none; }
  .contact-bar__left,
  .contact-bar__right { flex: unset; width: 100%; }
  .contact-bar__left { text-align: center; }
  .contact-bar__right { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
  .contact-bar__title { font-size: 20px; }
  .contact-bar__line2,
  .contact-bar__line3 { font-size: 16px; }
}
@media (max-width: 480px) {
  .contact-bar__line2,
  .contact-bar__line3 { font-size: 13px; }
  .contact-bar__phone { font-size: 12px; }
  .contact-bar__phone span:last-child { font-size: 18px; }
  .contact-bar__img img { width: 80px; }
}

/* ===== Honor ===== */
.honor {
  padding: 70px 0;
  background: #fff;
}
.honor__track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.honor__track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: honorScroll 30s linear infinite;
}
.honor__item {
  flex-shrink: 0;
  height: 350px;
  width: auto;
}
.honor__item a { display: block; height: 100%; }
.honor__item img { height: 100%; width: auto; object-fit: contain; border-radius: 8px; }
@keyframes honorScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Application ===== */
.application-section {
  width: 100%;
  height: auto;
  min-height: 800px;
  position: relative;
  background-image: url('../images/yyly.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 50px 0;
}
.application-container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  pointer-events: none;
}
.application-container .section-title {
  pointer-events: auto;
  margin-bottom: 50px;
}
.application-container .section-title__cn {
  color: #fff !important;
}
.application-container .section-title__cn::after {
  background: #fff !important;
}
.application-container .section-title__en {
  color: rgba(255,255,255,0.8) !important;
}
.application-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
}
.application-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 800px;
}
.application-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(46, 49, 133, 0), rgba(46, 49, 133, 0.85));
  z-index: 1;
  transition: opacity 0.3s ease;
}
.application-col::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.application-col:nth-child(1)::after { background-image: url('../images/yy1.jpg'); }
.application-col:nth-child(2)::after { background-image: url('../images/yy2.jpg'); }
.application-col:nth-child(3)::after { background-image: url('../images/yy3.jpg'); }
.application-col:nth-child(4)::after { background-image: url('../images/yy4.jpg'); }
.application-col:nth-child(5)::after { background-image: url('../images/yy5.jpg'); }
.application-col:hover::before { opacity: 0; }
.application-col:hover::after { opacity: 1; }
.application-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-bottom: 50px;
}
.application-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}
.application-col:hover .application-icon { opacity: 0; }
.application-text {
  background: rgba(255, 255, 255, 0);
  padding: 30px 40px;
  border-radius: 0;
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background 0.3s ease;
}
.application-text-cn {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}
.application-text-en {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}
.application-text-en::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #000, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.application-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 20px 0 0 0;
  text-align: left;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.application-col:hover .application-text { background: rgba(255, 255, 255, 0.5); }
.application-col:hover .application-text-cn { color: #333; }
.application-col:hover .application-text-en { color: #333; }
.application-col:hover .application-text-en::after { opacity: 1; }
.application-col:hover .application-text p { opacity: 1; max-height: 500px; }

/* ===== News ===== */
.news {
  padding: 70px 0;
  background: #fff;
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(0, 80, 220, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover {
  box-shadow: 0 12px 36px rgba(0, 80, 220, 0.15);
  transform: translateY(-6px);
}
.news-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-card__img img {
  transform: scale(1.05);
}
.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
}
.news-card__date {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.news-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.news-card:hover .news-card__title {
  color: #0057b9;
}
.news-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__more {
  font-size: 13px;
  color: #0057b9;
  font-weight: 600;
  transition: color 0.3s;
}
.news-card:hover .news-card__more {
  color: #003fa3;
}

@media (max-width: 992px) {
  .news-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== Footer ===== */
.footer {
  width: 100%;
  background: url('../images/fbj.jpg') center center / cover no-repeat;
}
.footer__top-wrap {
  position: relative;
}
/* 上方：hx.png顶部居中 */
.footer__top-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('../images/hx.png') center top / auto no-repeat;
  z-index: 10;
}
.footer__top-wrap::after {
  display: none;
}
.footer__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.footer__top-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 70px 0 30px;
}
.footer__top-left-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
}
.footer__top-left-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__top-left-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__top-left-nav a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  letter-spacing: 1px;
  white-space: nowrap;
}
.footer__top-left-nav a:hover {
  color: #00bffa;
}
.footer__top-left-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 0;
}
.footer__top-left-bottom {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.footer__top-left-bottom-left {
  flex: 4;
  min-width: 0;
}
.footer__company {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer__info {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
}
.footer__top-left-bottom-center {
  flex: 3;
  display: flex;
  justify-content: center;
}
.footer__qr {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
}
.footer__top-left-bottom-right {
  flex: 3;
}
.footer__qr {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
}
.footer__top-left-bottom-right {
  flex: 2;
}
.footer__bottom-right-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer__bottom-right-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, #00bffa, #0161eb);
}
.footer__bottom-right-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.footer__bottom-right-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__bottom-right-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer__bottom-right-col a:hover {
  color: #00bffa;
}
.footer__top-right {
  width: 400px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #384758, #011122);
  padding: 70px 24px 30px;
}
.footer__contact-head {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__form input,
.footer__form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
}
.footer__form input::placeholder,
.footer__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.footer__form input:focus,
.footer__form textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}
.footer__form button {
  align-self: flex-start;
  padding: 12px 36px;
  background: linear-gradient(to bottom, #00bffa, #0161eb);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}
.footer__form button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.footer__bottom-wrap {
  position: relative;
}
.footer__bottom-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.footer__copyright {
  position: relative;
  z-index: 1;
  padding: 16px 0;
}
.footer__copyright .container {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__copyright a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer__copyright a:hover {
  color: #00bffa;
}

/* ===== Footer Responsive ===== */
@media (max-width: 1200px) {
  .footer__top-left-bottom-right {
    width: 220px;
  }
}
@media (max-width: 992px) {
  .footer__top {
    flex-direction: column;
    gap: 0;
  }
  .footer__top-left {
    padding: 24px 0;
  }
  .footer__top-left-bottom {
    flex-direction: column;
  }
  .footer__top-left-bottom-left {
    width: 100%;
  }
  .footer__top-left-bottom-center,
  .footer__top-left-bottom-right {
    display: none;
  }
  .footer__top-right {
    width: 100%;
    padding: 24px;
  }
}
@media (max-width: 576px) {
  .footer__top-left-nav {
    gap: 16px;
  }
  .footer__top-left-bottom-left {
    width: 100%;
  }
  .footer__top-left-bottom-center,
  .footer__top-left-bottom-right {
    display: none;
  }
}

/* ===== Back to Top ===== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(to right, #00bffa, #0161eb);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(0,100,240,0.35);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover { transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 1400px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (max-width: 1200px) {
  .nav__menu a { padding: 0 24px; font-size: 15px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
  .nav__phone { display: none; }
  .nav { justify-content: space-between; }

  .hero { height: 60vh; min-height: 380px; max-height: 600px; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr; }

  .hot-products__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hot-card { padding: 10px; }
}

@media (max-width: 768px) {
  .section-title__cn { font-size: 22px; }
}

@media (max-width: 576px) {
  .nav { height: 60px; }
  .nav__logo img { height: 40px; }
  .hero { height: 260px; min-height: 260px; max-height: 260px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 20px 12px; }
  .category-card__cn { font-size: 15px; }
  .category-card__ti { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .carousel__arrow { width: 36px; height: 36px; font-size: 18px; }
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }

  .products,
  .hot-products {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hot-products__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hot-card__img { margin-bottom: 12px; }
  .hot-card__body h3 { font-size: 14px; }

  /* ===== Application 移动端 ===== */
  .application-section {
    padding: 40px 15px;
  }

  .application-overlay {
    flex-direction: row;
  }

  .application-col {
    flex: 0 0 calc(33.333% - 1px);
    height: 500px;
  }

  .application-col:nth-child(4),
  .application-col:nth-child(5) {
    flex: 0 0 calc(50% - 1px);
    height: 300px;
  }

  .application-text {
    padding: 20px 15px;
    min-height: auto;
  }

  .application-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .application-text-cn {
    font-size: 16px;
  }

  .application-text-en {
    font-size: 13px;
  }

  /* ===== News 移动端 ===== */
  .news {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== Page Layout ===== */
.page-content {
  padding: 60px 0;
}
.page-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.page-sidebar {
  width: 260px;
  flex-shrink: 0;
}
.page-sidebar__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to right, #00bffa, #0161eb);
  padding: 16px 24px;
  border-radius: 8px 8px 0 0;
}
.page-sidebar__list {
  border: 1px solid rgba(0, 91, 185, 0.3);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.page-sidebar__list a {
  display: block;
  padding: 14px 24px;
  color: #333;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.page-sidebar__list a:last-child {
  border-bottom: none;
}
.page-sidebar__list a:hover,
.page-sidebar__list a.active {
  background: linear-gradient(to right, #00bffa, #0161eb);
  color: #fff;
}
.page-main {
  flex: 1;
  min-width: 0;
}
.page-main__title {
  font-size: 24px;
  font-weight: 700;
  color: #0057b9;
  padding-bottom: 16px;
  border-bottom: 2px solid #0057b9;
  margin-bottom: 30px;
}
.page-main__text {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .page-layout {
    flex-direction: column;
  }
  .page-sidebar {
    width: 100%;
  }
  .page-sidebar__title {
    cursor: pointer;
    user-select: none;
  }
  .page-sidebar__title .page-sidebar__arrow {
    float: right;
    transition: transform 0.3s;
  }
  .page-sidebar.open .page-sidebar__title .page-sidebar__arrow {
    transform: rotate(180deg);
  }
  .page-sidebar__list {
    display: none;
  }
  .page-sidebar.open .page-sidebar__list {
    display: block;
  }
}

/* ===== Contact Page ===== */
.lxwm-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.lxwm-card {
  background: linear-gradient(135deg, rgba(0, 91, 185, 0.08), rgba(0, 191, 250, 0.08));
  border: 1px solid rgba(0, 91, 185, 0.2);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
}
.lxwm-card__icon {
  font-size: 32px;
  color: #0057b9;
  margin-bottom: 12px;
}
.lxwm-card__label {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.lxwm-card__value {
  font-size: 15px;
  color: #333;
  font-weight: 600;
  word-break: break-all;
}

.lxwm-form-wrap {
  background: linear-gradient(135deg, rgba(0, 91, 185, 0.06), rgba(0, 191, 250, 0.06));
  border: 1px solid rgba(0, 91, 185, 0.15);
  border-radius: 12px;
  padding: 36px 40px;
}
.lxwm-form__title {
  font-size: 20px;
  font-weight: 700;
  color: #0057b9;
  margin-bottom: 24px;
}
.lxwm-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.lxwm-form input[type="text"],
.lxwm-form input[type="tel"],
.lxwm-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 91, 185, 0.25);
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.lxwm-form input[type="text"]:focus,
.lxwm-form input[type="tel"]:focus,
.lxwm-form input[type="email"]:focus {
  border-color: #0057b9;
}
.lxwm-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 91, 185, 0.25);
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background: #fff;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 16px;
}
.lxwm-form textarea:focus {
  border-color: #0057b9;
}
.lxwm-form button {
  background: linear-gradient(to right, #00bffa, #0161eb);
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.lxwm-form button:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .lxwm-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .lxwm-form__row {
    grid-template-columns: 1fr;
  }
  .lxwm-form-wrap {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 180px !important;
  }
  .page-banner h1 {
    font-size: 24px !important;
    bottom: 20px !important;
  }
}

/* ===== Page Banner Breadcrumb ===== */
.page-breadcrumb {
  background: #f8f9fa;
  border-bottom: 1px solid #e8e8e8;
}
.page-breadcrumb__inner {
  padding: 10px 0;
  font-size: 13px;
  color: #888;
}
.page-breadcrumb__inner a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb__inner a:hover {
  color: #0057b9;
}
.page-breadcrumb__inner span {
  margin: 0 8px;
  color: #bbb;
}

/* ===== Article List ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.news-item:hover {
  box-shadow: 0 4px 16px rgba(0, 87, 185, 0.1);
  border-color: rgba(0, 87, 185, 0.3);
}
.news-item__img {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
}
.news-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item__info {
  flex: 1;
}
.news-item__date {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.news-item__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.2s;
}
.news-item:hover .news-item__title {
  color: #0057b9;
}
.news-item__desc {
  font-size: 14px;
  color: #777;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.pagination__info {
  font-size: 13px;
  color: #999;
}
.pagination__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagination__links a,
.pagination__links span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
.pagination__links a:hover {
  background: #0057b9;
  color: #fff;
  border-color: #0057b9;
}
.pagination__cur {
  background: #0057b9;
  color: #fff;
  border-color: #0057b9;
}
.pagination__disabled {
  color: #ccc !important;
  cursor: not-allowed !important;
  border-color: #eee !important;
}

/* ===== Article Detail ===== */
.page-main--article {
  flex: 1;
  min-width: 0;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.article-body {
  font-size: 15px;
  color: #444;
  line-height: 2;
}
.article-body p {
  margin-bottom: 18px;
}
.article-back {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.article-back a {
  display: inline-block;
  font-size: 14px;
  color: #0057b9;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid #0057b9;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.article-back a:hover {
  background: #0057b9;
  color: #fff;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  .news-item__img {
    width: 100%;
    height: 180px;
  }
  .pagination {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .article-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ===== Product List ===== */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pro-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pro-card:hover {
  box-shadow: 0 4px 16px rgba(0, 87, 185, 0.12);
  border-color: rgba(0, 87, 185, 0.3);
}
.pro-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f4f8;
}
.pro-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.pro-card:hover .pro-card__img img {
  transform: scale(1.05);
}
.pro-card__name {
  padding: 14px 16px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
  background: #fff;
  transition: color 0.2s;
  line-height: 1.4;
}
.pro-card:hover .pro-card__name {
  color: #0057b9;
}

@media (max-width: 768px) {
  .pro-card {
    padding: 3px;
  }
  .pro-card__name {
    padding: 10px 12px 12px;
    font-size: 14px;
  }
}

/* ===== Gallery / Image Showcase ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0, 87, 185, 0.12);
  border-color: rgba(0, 87, 185, 0.3);
}
.gallery-item__img {
  position: relative;
  overflow: hidden;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-item__img img {
  transform: scale(1.05);
}
.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  padding: 24px 12px 10px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}
.gallery-item__title {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open {
  display: flex;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  user-select: none;
}
.lightbox__img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox__caption {
  margin-top: 12px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pagination a:hover {
  background: #0057b9;
  border-color: #0057b9;
  color: #fff;
}
.pagination__active {
  background: #0057b9 !important;
  border-color: #0057b9 !important;
  color: #fff !important;
}
.pagination__disabled {
  color: #ccc;
  pointer-events: none;
  border-color: #eee;
}

/* ===== Product Detail ===== */
.pro-detail {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}
.pro-detail__img {
  flex-shrink: 0;
  width: 500px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f4f8;
}
.pro-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro-detail__info {
  flex: 1;
}
.pro-detail__attr {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.pro-detail__attr-label {
  width: 80px;
  color: #999;
  flex-shrink: 0;
}
.pro-detail__attr-value {
  color: #333;
  font-weight: 600;
}
.pro-detail__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.pro-detail__inquiry {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.pro-detail__phone {
  font-size: 15px;
  color: #666;
}
.pro-detail__phone strong {
  color: #0057b9;
  font-size: 18px;
}
.pro-detail__btn {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(to right, #00bffa, #0161eb);
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pro-detail__btn:hover {
  opacity: 0.9;
}

.pro-desc h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0057b9;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #0057b9;
}
.pro-desc p {
  font-size: 14px;
  color: #555;
  line-height: 2;
}

@media (max-width: 768px) {
  .pro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pro-detail {
    flex-direction: column;
  }
  .pro-detail__img {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pagination {
    flex-wrap: wrap;
  }
  .pagination a {
    min-width: 30px;
    height: 30px;
    font-size: 13px;
    padding: 0 8px;
  }

}

