

#home {
  width: 100%;
  overflow: hidden;
}
#heroCarousel {
  position: relative;
}

.hero-banner-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: box-shadow 0.6s ease-in-out, transform 0.6s ease-in-out;
}

/* ========== 复刻官网渐变遮罩：左深右浅黑色渐变 ========== */
.hero-text-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 1; /* 低于箭头，不会遮挡按钮 */
  /* 和gpsa.com.pa完全一致左侧深色渐变 */
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.05) 75%);
}

/* ========== 文字入场动画：从下淡入，切换自动消失 ========== */
.hero-title, .hero-desc, .hero-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
/* 当前激活幻灯片文字动画弹出 */
.carousel-item.active .hero-title,
.carousel-item.active .hero-desc,
.carousel-item.active .hero-btn {
  opacity: 1;
  transform: translateY(0);
}
/* 动画延迟层级：标题先出、描述次之、按钮最后 */
.carousel-item.active .hero-title { transition-delay: 0.2s; }
.carousel-item.active .hero-desc { transition-delay: 0.4s; }
.carousel-item.active .hero-btn { transition-delay: 0.6s; }

/* 桌面文字样式（官网粗白大字） */
.hero-title {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}
.hero-desc {
  color: #f0f0f0;
  font-size: 1.25rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 600px;
}
/* 官网蓝色主题按钮 */
.hero-btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 14px 34px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.hero-btn:hover {
  background-color: #0056b3;
}

/* ========== 轮播左右滑动切入阴影（保留你之前需求） ========== */
.carousel-item-start img {
  box-shadow: inset 160px 0 130px -70px rgba(0, 0, 0, 0.42);
}
.carousel-item-next.carousel-item-left img {
  box-shadow: inset -160px 0 130px -70px rgba(0, 0, 0, 0.42);
}
.carousel-item-end img {
  box-shadow: inset -160px 0 130px -70px rgba(0, 0, 0, 0.42);
}
.carousel-item-prev.carousel-item-right img {
  box-shadow: inset 160px 0 130px rgba(0, 0, 0, 0.42);
}

/* ========== 蓝色圆形左右箭头按钮 ========== */
.carousel-control-prev,
.carousel-control-next {
  z-index: 20 !important;
  width: 6%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff;
  border-radius: 50%;
  padding: 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 0 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: #0056b3;
}

/* ========== 平板适配 991px ========== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 1.1rem;
    margin-bottom: 1.6rem;
  }
  .hero-btn {
    padding: 12px 28px;
    font-size: 17px;
  }
  .carousel-item-start img,
  .carousel-item-prev.carousel-item-right img {
    box-shadow: inset 100px 0 90px -45px rgba(0, 0, 0, 0.35);
  }
  .carousel-item-end img,
  .carousel-item-next.carousel-item-left img {
    box-shadow: inset -100px 0 90px -45px rgba(0, 0, 0, 0.35);
  }
}

/* ========== 手机适配 767px（官网手机文字居中） ========== */
@media (max-width: 767px) {
  /* 手机遮罩改为全屏均匀半黑，文字居中 */
  .hero-text-wrap {
    background: rgba(0,0,0,0.58);
    text-align: center;
  }
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.4rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btn {
    padding: 10px 24px;
    font-size: 16px;
  }
  /* 手机加宽箭头点击区域 */
  .carousel-control-prev,
  .carousel-control-next {
    width: 12%;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 8px;
  }
  /* 手机缩小滑动阴影 */
  .carousel-item-start img,
  .carousel-item-prev.carousel-item-right img {
    box-shadow: inset 70px 0 80px -35px rgba(0, 0, 0, 0.3);
  }
  .carousel-item-end img,
  .carousel-item-next.carousel-item-left img {
    box-shadow: inset -70px 0 80px -35px rgba(0, 0, 0, 0.3);
  }
}

/* ========== 超小手机 575px ========== */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  .hero-btn {
    padding: 9px 20px;
    font-size: 15px;
  }
}

.hero-title {
  color: #fff;
  /* 仅向下黑色描边阴影 */
  text-shadow: 0 2px 0 #000;
}

.hero-desc {
  color: #f0f0f0;
  text-shadow: 0 1px 0 #000;
}









/* 轮播图片统一高度，不变形 */
.hero-banner-img {
  height: 100%;
  object-fit: cover;
}

/* 文字悬浮层，全屏居中垂直 */
.hero-text-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 1;
  /* 深色渐变遮罩提升文字可读性 */
  background: linear-gradient(90deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.0) 70%);
}

/* 按钮间距 */
.hero-btn {
  padding: 14px 32px;
  font-size: 18px;
}

/* ========== 移动端自适应 ========== */
@media (max-width: 991px) {
  .hero-banner-img {
    height: auto;
  }
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 767px) {
  .hero-banner-img {
    height: auto;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-btn {
    padding: 12px 26px;
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-banner-img {
    height: auto;
  }
}

/* 左右控制按钮基础 */
.carousel-control-prev,
.carousel-control-next {
  width: 6%;
  z-index: 20 !important;
}

/* 箭头图标底色改为蓝色，箭头白色 */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff;
  border-radius: 10%;
  padding: 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* 鼠标悬浮加深蓝色 */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: #0056b3;
}

/* 手机适配 */
@media (max-width:768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 12%;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 8px;
  }
}


.ud-about-image video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .ud-about-image video {
    height: 260px;
  }
}







/* 横向滚动卡片外层 */
.scroll-card-box {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
/* 滚动轨道 */
.scroll-track {
  display: flex;
  gap: 30px;
  overflow-x: hidden;
}
/* 单个卡片 */
.scroll-item {
  min-width: 250px;
  flex-shrink: 0;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-align: center;
}
.scroll-item img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 14px;
}
.scroll-item h4 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: #222;
  line-height: 1.4;
}
.scroll-link {
  color: #007bff;
  text-decoration: underline;
  font-size: 0.94rem;
}
.scroll-link:hover {
  color: #0056b3;
}

/* 左右切换按钮 */
.scroll-prev, .scroll-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #007bff;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  cursor: pointer;
  transition: 0.25s;
}
.scroll-prev:hover, .scroll-next:hover {
  background: #0056b3;
}
.scroll-prev {
  left: 8px;
}
.scroll-next {
  right: 8px;
}

/* 手机适配 */
@media (max-width:768px) {
  .scroll-item {
    min-width: 190px;
  }
  .scroll-item img {
    height: 140px;
  }
  .scroll-prev, .scroll-next {
    width: 34px;
    height: 34px;
  }
}

.scroll-bg-wrap {
  /* 1、替换这里为你的背景图路径 */
  background-image: url("assets/images/bg/product-bg.jpg");

  /* 背景自适应铺满（必开） */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;

  /* 2、调节区块内边距，控制背景上下高度范围 */
  padding: 60px 10px;

  /* 3、深色遮罩调节：rgba最后一位0~1，数值越大遮罩越黑，文字越清晰 */
  position: relative;
}
/* 半透明遮罩层，避免背景图抢视觉 */
.scroll-bg-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* 遮罩颜色+透明度：0.3=浅遮，0.5=中等，0.7=深色遮 */
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
/* 让滚动卡片、按钮在遮罩上层显示 */
.scroll-bg-wrap > * {
  position: relative;
  z-index: 2;
}

/* 移动端适配：缩小内边距 */
@media (max-width:768px) {
  .scroll-bg-wrap {
    padding: 40px 5px;
  }
}




/* WhatsApp悬浮按钮，参考你返回顶部样式 */
.float-whatsapp {
  width: 60px;
  height: 60px;
  /* X+:向右  Y+:向下 → 阴影方向右下角 */
  box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: fixed !important;
  right: 22px !important;
  bottom: 100px !important;
  top: auto !important;
  left: auto !important;
  z-index: 100 !important;
  background: #25D366;
  transition: all 0.2s ease;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  filter: brightness(0.82);
}
.float-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.wa-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}
/* 移动端适配 */
@media (max-width: 768px) {
  .float-whatsapp {
    right: 24px !important;
    bottom: 90px !important;
    width: 52px;
    height: 52px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.22);
  }
  .wa-icon {
    width: 26px;
    height: 26px;
  }
}






<!--自动滑动-->
/* Nuevos Productos 外层模块 */
.ud-new-products {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 520px;
}

/* 全屏自定义背景图 */
.prod-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/hero/bac.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* 内容层级在背景上方 */
.ud-new-products .container-fluid {
  position: relative;
  z-index: 2;
}

/* ========== 关键：清除所有栅格列左右内边距，消除大片空隙 ========== */
.ud-new-products .row.flex-nowrap [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 单个产品卡片：缩小宽度、正方形、内部居中 */
.prod-card {
  width: 250px;
  height: 350px; /* 修正：height 不是 high，整体长方形卡片 */
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  margin: 0 8px;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

/* 产品图片容器：自适应卡片宽度，自动正方形 */
.prod-img-box {
  width: 100%;
  aspect-ratio: 1 / 1; /* 宽高1:1 强制正方形图片区 */
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-img-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* 产品标题 西语适配 */
.prod-name {
  text-align: center;
  padding: 14px 10px;
  margin: 0;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
}

/* 自定义左右切换按钮：纯白底色、黑色投影、黑色箭头 */
.prod-slider-prev,
.prod-slider-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 999;
  border: none;
}
.prod-slider-prev {
  left: 24px;
}
.prod-slider-next {
  right: 24px;
}
/* 黑色箭头 */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0);
  background-size: 60% 60%;
}

/* 平板适配 */
@media (max-width: 991px) {
  .ud-new-products {
    height: 460px;
  }
  .prod-card {
    max-width: 180px; /* 平板缩小卡片 */
    max-height: 200px;
    margin: 0 6px;
  }
  .prod-name {
    font-size: 14px;
    padding: 10px 6px;
  }
}

/* 手机端适配：一行2张卡片，横向不换行 */
@media (max-width: 767px) {
  .ud-new-products {
    height: 400px;
  }
  .prod-card {
    max-width: 140px; /* 手机进一步缩小卡片 */
    max-height: 180px;
    margin: 0 4px;
  }
  .prod-name {
    font-size: 13px;
    padding: 8px 4px;
  }
  .prod-slider-prev {
    left: 8px;
  }
  .prod-slider-next {
    right: 8px;
  }
  .prod-slider-prev,
  .prod-slider-next {
    width: 36px;
    height: 36px;
  }
}



/* Nuevos Productos 外层模块 - 电脑端高度 */
.ud-new-products {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 520px; /* 电脑大屏高度 */
}

/* 平板适配 */
@media (max-width: 991px) {
  .ud-new-products {
    height: 460px; /* 平板降低高度 */
  }
  .prod-card {
    width: 200px;
    height: 280px;
    margin: 0 6px;
  }
  .prod-name {
    font-size: 14px;
    padding: 10px 6px;
  }
}

/* 手机端：模块高度大幅缩小，解决页面过高问题 */
@media (max-width: 767px) {
  .ud-new-products {
    height: 250px; /* 手机缩小整体高度，按需增减 */
  }
  .prod-card {
    width: 140px;
    height: 190px;
    margin: 0 4px;
  }
  .prod-name {
    font-size: 13px;
    padding: 8px 4px;
  }
  .prod-slider-prev {
    left: 8px;
  }
  .prod-slider-next {
    right: 8px;
  }
  .prod-slider-prev,
  .prod-slider-next {
    width: 36px;
    height: 36px;
  }
}

/* 强制横向单行，禁止手机自动换行两行 */
.ud-new-products .row.flex-nowrap {
  flex-wrap: nowrap !important;
  gap: 0 !important; /* 行间隙彻底清零，不再额外增加距离 */
}


/* 手机端 576px以下 */
@media (max-width: 575.98px) {
  .ud-features {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
  .ud-section-title {
    margin-bottom: 15px !important;
  }
  .ud-single-feature {
    padding: 6px 3px !important;
    margin-bottom: 8px !important;
  }
  .ud-feature-icon {
    width: 36px !important;
    height: 36px !important;
  }
  .ud-feature-icon i {
    font-size: 16px !important;
  }
  /* 加高权重，强制缩小字体 */
  .ud-feature-title-mo {
    font-size: 10px !important;
    line-height: 1.1 !important;
    margin: 4px 0 2px !important;
  }
  .ud-feature-link {
    font-size: 9px !important;
  }
  .ud-section-title h2 {
    font-size: 18px !important;
    margin-bottom: 0 !important;
  }
}

/* 平板 576 ~ 991px */
@media (min-width:576px) and (max-width:991px) {
  .ud-features {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .ud-section-title h2 {
    font-size: 22px;
  }

  .ud-section-title h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  /* 平板也给加important，防止被覆盖 */
  .ud-feature-title-mo {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 6px 0 3px !important;
  }
  .ud-single-feature {
    margin-bottom: 12px;
  }
}

/* 全局基础：图片圆形不变形 */
.ud-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 兜底：默认电脑端标题基础大小 */
.ud-feature-title-mo {
  font-size: 14px;
  line-height: 1.3;
}




<!--关于我们-->
/* About 区块手机适配 */
@media (max-width: 991px) {
  .ud-about-wrapper {
    flex-direction: column !important;
    gap: 30px !important;
  }
  /* 左右内容上下堆叠 */
  .ud-about-content-wrapper {
    width: 100% !important;
  }
  .ud-about-content h3 {
    font-size: 22px !important;
    margin-bottom: 22px !important;
  }
  /* 视频高度自适应，不再固定420 */
  .ud-about-image video {
    height: auto !important;
    max-height: 320px;
  }
}
@media (max-width: 575.98px) {
  .ud-about {
    padding: 30px 0 !important;
  }
  /* 标题缩小 */
  .ud-about-content h2 {
    font-size: 22px !important;
    margin-bottom: 12px !important;
  }
  .ud-about-content h3 {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  /* 段落缩小字号，收紧行高 */
  .ud-about-content p {
    font-size: 11px !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }
  /* 标签小字 */
  .ud-about-content .tag {
    font-size: 13px !important;
  }
  /* 视频高度进一步缩小 */
  .ud-about-image video {
    max-height: 240px;
  }
  /* 按钮铺满宽度，更适合手机点击 */
  .ud-main-btn {
    width: 100%;
    text-align: center;
    padding: 10px !important;
    font-size: 14px !important;
  }
}




<!--qa-->
/* 平板适配 */
@media (max-width: 991px) {
  .ud-faq .col-lg-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    padding: 0 10px !important;
  }
  /* 板块主标题缩小 */
  #faq .ud-section-title h3 {
    font-size: 20px !important;
  }
  #faq .ud-section-title p {
    font-size: 12px !important;
  }
  /* FAQ提问文字缩小 */
  #faq .ud-faq-btn {
    font-size: 11px !important;
  }
  /* 回答文字缩小 */
  #faq .ud-faq-body {
    font-size: 10px !important;
  }
  /* 平板下拉容器+图标极致缩小 */
  #faq .ud-faq-btn .icon.flex-shrink-0 {
    width: 18px !important;
    height: 18px !important;
  }
  #faq .ud-faq-btn .icon.flex-shrink-0 i {
    font-size: 11px !important;
  }
}

/* 手机575.98px以内 全部极致缩小 */
@media (max-width: 575.98px) {
  .ud-faq {
    padding: 30px 0 !important;
  }
  /* 手机一行两个 */
  .ud-faq .col-lg-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    padding: 0 4px !important;
  }
  /* FAQ大标题 超小 */
  #faq .ud-section-title h3 {
    font-size: 16px !important;
    margin-bottom: 5px !important;
  }
  /* 板块描述小字 */
  #faq .ud-section-title p {
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
  /* 每条问题标题极小 */
  #faq .ud-faq-btn {
    font-size: 9px !important;
    padding: 5px 7px !important;
  }
  /* 回答内容最小字号 */
  #faq .ud-faq-body {
    font-size: 8px !important;
    padding: 4px 7px !important;
    line-height: 1.3 !important;
  }
  /* 卡片上下间距压缩 */
  .ud-single-faq {
    margin-bottom: 6px !important;
  }
  /* 图标容器大幅缩小 */
  #faq .ud-faq-btn .icon.flex-shrink-0 {
    width: 14px !important;
    height: 14px !important;
    margin-right: 4px !important;
  }
  /* 箭头字体最小 */
  #faq .ud-faq-btn .icon.flex-shrink-0 i {
    font-size: 7px !important;
  }
  /* 隐藏装饰图形 */
  .ud-faq .shape {
    display: none;
  }
}




<!--评论-->
/* 平板991px以内：保持3列布局，字体缩小一档 */
@media (max-width: 991px) {
  #testimonials .col-lg-4 {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    padding: 0 8px !important;
  }
  /* 板块大标题缩小 */
  #testimonials .ud-section-title h3 {
    font-size: 22px !important;
  }
  #testimonials .ud-section-title p {
    font-size: 13px !important;
  }
  /* 评价正文缩小 */
  #testimonials .ud-testimonial-content p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
  /* 人名+职位缩小 */
  #testimonials .ud-testimonial-meta h4 {
    font-size: 13px !important;
  }
  #testimonials .ud-testimonial-meta p {
    font-size: 11px !important;
  }
  /* 星星图标缩小 */
  #testimonials .ud-testimonial-ratings i {
    font-size: 13px !important;
  }
  /* 客户头像缩小 */
  #testimonials .ud-testimonial-image img {
    width: 40px !important;
    height: 40px !important;
  }
  /* 合作品牌标题 */
  #testimonials .ud-brands .ud-title h6 {
    font-size: 14px !important;
  }
}

/* 手机575.98px以内：强制一行3个，全部极致缩小 */
@media (max-width: 575.98px) {
  .ud-testimonials {
    padding: 30px 0 !important;
  }
  /* 三等分，手机一行三个卡片 */
  #testimonials .col-lg-4 {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    padding: 0 4px !important;
  }
  /* 板块主标题极小 */
  #testimonials .ud-section-title h3 {
    font-size: 17px !important;
    margin-bottom: 6px !important;
  }
  #testimonials .ud-section-title p {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }
  /* 五星星星最小化 */
  #testimonials .ud-testimonial-ratings i {
    font-size: 9px !important;
    margin-right: 1px !important;
  }
  /* 评价内容小字 */
  #testimonials .ud-testimonial-content p {
    font-size: 9px !important;
    line-height: 1.3 !important;
    padding: 6px 4px !important;
  }
  /* 人名、职位极致缩小 */
  #testimonials .ud-testimonial-meta h4 {
    font-size: 10px !important;
  }
  #testimonials .ud-testimonial-meta p {
    font-size: 8px !important;
  }
  /* 用户头像缩小 */
  #testimonials .ud-testimonial-image img {
    width: 28px !important;
    height: 28px !important;
  }
  /* 单张卡片上下间距收紧 */
  .ud-single-testimonial {
    margin-bottom: 10px !important;
    padding: 10px 6px !important;
  }
  /* 底部合作品牌区域 */
  #testimonials .ud-brands .ud-title h6 {
    font-size: 11px !important;
  }
  #testimonials .ud-brands-logo .ud-single-logo img {
    max-height: 22px !important;
  }
}






<!--我们的team-->
/* 平板适配 */
@media (max-width: 991px) {
  #team .col-xl-3.col-lg-3.col-sm-6 {
    width: 25% !important;
    flex: 0 0 25% !important;
    padding: 0 6px !important;
  }
  #team .ud-section-title h3 {
    font-size: 22px !important;
  }
  #team .ud-section-title p {
    font-size: 12px !important;
  }
  #team .ud-team-info h5 {
    font-size: 13px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }
  #team .ud-team-info h6 {
    font-size: 11px !important;
    margin: 0 !important;
  }
  #team .ud-team-socials i {
    font-size: 13px !important;
  }
  #team .ud-team-socials li a {
    width: 24px !important;
    height: 24px !important;
  }
  /* 核心：强制清除头像盒子底部大margin */
  #team .ud-team-image-wrapper {
    width: 85% !important;
    margin: 0 auto !important;
    margin-bottom: 0px !important; /* 彻底干掉底部空白 */
    padding-bottom: 0 !important;
  }
  #team .ud-team-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  #team .ud-team-image-wrapper .shape {
    transform: scale(0.8) !important;
  }
}

/* 手机575.98px以内 */
@media (max-width: 575.98px) {
  .ud-team {
    padding: 30px 0 !important;
  }
  #team .col-xl-3.col-lg-3.col-sm-6 {
    width: 25% !important;
    flex: 0 0 25% !important;
    padding: 0 2px !important;
  }
  #team .ud-section-title h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  #team .ud-section-title p {
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
  /* 人名紧贴头像 */
  #team .ud-team-info h5 {
    font-size: 10px !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
  }
  #team .ud-team-info h6 {
    font-size: 8px !important;
    margin: 0 !important;
  }
  #team .ud-team-socials i {
    font-size: 8px !important;
  }
  #team .ud-team-socials li a {
    width: 18px !important;
    height: 18px !important;
  }
  .ud-single-team {
    margin-bottom: 8px !important;
  }
  /* 关键：头像盒子底部外边距强制清零 */
  #team .ud-team-image-wrapper {
    width: 70% !important;
    height: 70%  !important;
    margin: 0 auto !important;
    margin-bottom: 0px !important;
    padding-bottom: 0 !important;
  }
  #team .ud-team-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  #team .ud-team-image-wrapper .shape {
    transform: scale(0.55) !important;
  }
  /* 给名字容器顶部margin负值，直接往上贴紧头像 */
/*  #team .ud-team-info {
    margin-top: -4px !important;
  }*/
}





<!--联系我们-->

/* 平板适配 991px以内 整体缩小一档 */
@media (max-width: 991px) {
  #contact .ud-contact-title span {
    font-size: 13px !important;
  }
  #contact .ud-contact-title h2 {
    font-size: 24px !important;
  }
  /* 图标缩小 */
  #contact .ud-info-icon i {
    font-size: 16px !important;
  }
  #contact .ud-info-meta h5 {
    font-size: 14px !important;
  }
  #contact .ud-info-meta p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
  /* 单条信息上下间距压缩 */
  .ud-single-info {
    margin-bottom: 18px !important;
  }
}

/* 手机575.98px以内 全部极致缩小 */
@media (max-width: 575.98px) {
  .ud-contact {
    padding: 30px 0 !important;
  }
  /* 顶部小字标签极小 */
  #contact .ud-contact-title span {
    font-size: 10px !important;
  }
  /* 板块大标题缩小 */
  #contact .ud-contact-title h2 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  /* 左侧定位/邮箱图标极致缩小 */
  #contact .ud-info-icon {
    width: 30px !important;
    height: 30px !important;
  }
  #contact .ud-info-icon i {
    font-size: 11px !important;
  }
  /* 小标题文字极小 */
  #contact .ud-info-meta h5 {
    font-size: 10px !important;
    margin-bottom: 3px !important;
  }
  /* 地址、邮箱正文最小字号 */
  #contact .ud-info-meta p {
    font-size: 9px !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
  /* 两条信息之间间距收紧 */
  .ud-single-info {
    margin-bottom: 12px !important;
  }
  /* 图标和文字水平间距缩小 */
  .ud-single-info {
    gap: 6px !important;
  }
}


<!--foot-->
/* 平板991px适配 */
@media (max-width: 991px) {
  /* Logo栏整行居中 */
  .ud-footer-widgets .col-xl-3.col-lg-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }
  .ud-footer-logo {
    display: inline-block !important;
  }
  /* About Us / Features / Our Products 三栏同行 */
  .ud-footer-widgets .col-xl-2.col-lg-2.col-sm-6:nth-of-type(2),
  .ud-footer-widgets .col-xl-2.col-lg-3.col-sm-6:nth-of-type(3),
  .ud-footer-widgets .col-xl-2.col-lg-3.col-sm-6:nth-of-type(4) {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    padding: 0 6px !important;
    margin-bottom: 12px !important;
  }
  /* Partners单独一行100%宽度 */
  .ud-footer-widgets .col-xl-3.col-lg-6.col-md-8.col-sm-10 {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  /* 平板字体缩小 */
  .ud-widget-title {
    font-size: 16px !important;
  }
  .ud-widget-desc {
    font-size: 12px !important;
  }
  .ud-widget-links li a {
    font-size: 12px !important;
  }
  .ud-widget-socials i {
    font-size: 14px !important;
  }
  .ud-widget-brands img {
    max-height: 24px !important;
  }
  .ud-footer-bottom-left li a,
  .ud-footer-bottom-right {
    font-size: 12px !important;
  }
  .ud-footer .shape {
    transform: scale(0.75) !important;
  }
}

/* 手机575.98px以内：Logo居中，三栏目同行，全部极小化 */
@media (max-width: 575.98px) {
  .ud-footer-widgets {
    padding: 30px 0 !important;
  }
  /* 1.Logo整行居中 */
  .ud-footer-widgets .col-xl-3.col-lg-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  .ud-footer-logo img {
    max-width: 100px !important;
  }
  /* 2. About Us、Features、Our Products 三栏均分同一行 */
  .ud-footer-widgets .col-xl-2.col-lg-2.col-sm-6:nth-child(2),
  .ud-footer-widgets .col-xl-2.col-lg-3.col-sm-6:nth-child(3),
  .ud-footer-widgets .col-xl-2.col-lg-3.col-sm-6:nth-child(4) {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    padding: 0 3px !important;
    margin-bottom: 8px !important;
  }
  /* 3. Partners单独占一整行 */
  .ud-footer-widgets .col-xl-3.col-lg-6.col-md-8.col-sm-10 {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  /* 标题极小字体 */
  .ud-widget-title {
    font-size: 13px !important;
    margin-bottom: 5px !important;
  }
  /* 简介小字 */
  .ud-widget-desc {
    font-size: 9px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  /* 导航链接超小 */
  .ud-widget-links li a {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }
  /* 社交图标最小 */
  .ud-widget-socials i {
    font-size: 9px !important;
  }
  .ud-widget-socials li a {
    width: 20px !important;
    height: 20px !important;
  }
  /* 合作品牌logo缩小 */
  .ud-widget-brands img {
    max-height: 16px !important;
  }
  /* 底部版权文字极小 */
  .ud-footer-bottom-left li a {
    font-size: 9px !important;
  }
  .ud-footer-bottom-right {
    font-size: 9px !important;
  }
  .ud-widget {
    margin-bottom: 6px !important;
  }
  /* 隐藏装饰图形 */
  .ud-footer .shape {
    display: none !important;
  }
}

/* 手机端Logo模块完整居中样式 */
@media (max-width: 575.98px) {
    /* 整列占满100%宽度 */
    .ud-footer-widgets .col-xl-3.col-lg-4.col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    /* Logo图片行内居中 */
    .ud-footer-logo {
        display: inline-block !important;
        margin-bottom: 8px !important;
    }
    .ud-footer-logo img {
        max-width: 100px !important;
    }
    /* 描述文字居中 */
    .ud-widget-desc {
        font-size: 9px !important;
        line-height: 1.35 !important;
        margin: 0 auto 8px !important;
        max-width: 80% !important;
    }
    /* 社交图标盒子水平居中 */
    .ud-widget-socials {
        display: flex !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 0 !important;
    }
    .ud-widget-socials li {
        list-style: none !important;
    }
    /* 社交图标极小尺寸 */
    .ud-widget-socials i {
        font-size: 20px !important;
    }
    .ud-widget-socials li a {
        width: 16px !important;
        height: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* 平板端居中适配 */
@media (min-width:576px) and (max-width:991px) {
    .ud-footer-widgets .col-xl-3.col-lg-4.col-md-6 {
        text-align: center !important;
    }
    .ud-widget-socials {
        display: flex !important;
        justify-content: center !important;
    }
    .ud-footer-logo img {
        max-width: 120px !important;
    }
}

@media (max-width: 575.98px) {
  .ud-section-title h3.clasificación {
    font-size: 18px !important;
  }
}



.header-mobile-btn {
  display: inline-block !important;
  background-color: #007bff !important;
  color: #ffffff !important;
  font-size: 12px !important;       /* 缩小字体 */
  padding: 4px 12px !important;     /* 缩小按钮内边距 */
  border-radius: 999px !important;  /* 胶囊圆角 */
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}
.header-mobile-btn:hover {
  background-color: #0056b3 !important;
  color: #fff !important;
}

<!--最上面的联系-->


@media (max-width: 575.98px) {
  .ud-single-team {
    margin-bottom: 20px;
  }
}




#heroCarousel {
  cursor: pointer;
}
/* 手机端取消指针样式 */
@media (max-width: 768px) {
  #heroCarousel {
    cursor: default;
  }
}



/* category */
@media (max-width: 767.98px) {
  #features .ud-team-image {
    /* 縮小圖片寬度，數值越低圖越小、中間空隙越大 */
    width: 80%;
    margin: 0 auto; /* 圖片自動居中，左右產生空白 */
  }
/*  #features .ud-single-team {
    margin-bottom: 22px; *//* 上下行垂直間距，按需調整 *//*
  }*/
}