/* =====================================================
   华大营养 BGI·Nutri 首页自定义样式
   基于 Tailwind CSS + 自定义 CSS
   ===================================================== */

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #facc15;
  --color-red: #dc2626;
  --color-dark: #111827;
  --color-gray: #6b7280;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* =====================================================
   导航栏
   ===================================================== */
#header {
  background: transparent;
}

#header.scrolled {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(12px);
}

#header.scrolled .logo-wrap h1,
#header.scrolled .logo-wrap h2,
#header.scrolled .logo-wrap div {
  color: #0075C9;
}

#header.scrolled nav ul li a {
  color: #111827;
}

#header.scrolled nav ul li a:hover {
  color: #0075C9;
}

#header.scrolled #mobile-menu-btn,
#header.scrolled #mobile-menu-btn i {
  color: #111827 !important;
}

#header nav ul li a {
  position: relative;
  padding: 0.5rem 1rem;
}

#header nav ul li a:hover::after {
  width: 100%;
}

/* 当前激活的导航项高亮（点击切换） */
#header.scrolled nav ul li a.active {
  color: #0075C9;
}

#header nav ul li a.active::after {
  width: 100%;
  background: #0075C9;
}

/* 仅桌面端导航在顶部透明时激活项显示白色 */
#header:not(.scrolled) nav.lg\:block ul li a.active {
  color: #fff;
}

#header:not(.scrolled) nav.lg\:block ul li a.active::after {
  background: #fff;
}

/* 移动端菜单当前项 */
#mobile-menu a.active {
  color: #0075C9;
  font-weight: 600;
  background: rgba(0, 117, 201, 0.08);
}

/* 移动端菜单整体美化 */
#mobile-menu {
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#mobile-menu nav>ul>li>a,
#mobile-menu nav>ul>li>div>a {
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s;
}

#mobile-menu nav>ul>li>a:hover,
#mobile-menu nav>ul>li>div>a:hover {
  background: #f3f4f6;
  color: #0075C9;
}

#mobile-menu nav>ul>li>a::after,
#mobile-menu nav>ul>li>div>a::after {
  display: none;
}

#mobile-menu .mobile-submenu-toggle {
  padding: 0.75rem 1.5rem;
  color: #9ca3af;
}

#mobile-menu .mobile-submenu-toggle:hover {
  color: #0075C9;
}

#mobile-menu .mobile-submenu {
  background: #f9fafb;
}

#mobile-menu .mobile-submenu a {
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem 0.625rem 2.5rem;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

#mobile-menu .mobile-submenu a::after {
  display: none;
}

#mobile-menu .mobile-submenu a:hover,
#mobile-menu .mobile-submenu a.active {
  background: #f3f4f6;
  color: #0075C9;
  border-left-color: #0075C9;
}

/* 平板区间（768–1023px）：电脑端导航字体与间隙收紧，避免拥挤 */
@media (min-width: 768px) and (max-width: 1023px) {
  #header nav ul {
    gap: 1rem;
  }

  #header nav ul li a {
    font-size: 0.875rem;
    padding: 0.5rem 0.6rem;
  }
}

/* =====================================================
   Banner 区渐变
   ===================================================== */
.hero-gradient {
  background: #f97316;
}

.hero-person::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* =====================================================
   通用区块
   ===================================================== */
section {
  position: relative;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================================================
   按钮与卡片
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   Banner Swiper 自定义
   ===================================================== */
.hero-swiper .swiper-slide {
  overflow: hidden;
}

.hero-pagination {
  color: rgba(255, 255, 255, 0.55);
}

.hero-bullet {
  cursor: pointer;
  position: relative;
  padding: 0.25rem 0.25rem 0.5rem;
  transition: color 0.3s ease, font-weight 0.3s ease;
  font-variant-numeric: tabular-nums;
}

.hero-bullet::after {
  content: '';
  position: absolute;
  left: 0.25rem;
  bottom: 0;
  width: calc(100% - 0.5rem);
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease, height 0.3s ease;
}

.hero-bullet:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero-bullet.active {
  color: #fff;
  font-weight: 700;
}

.hero-bullet.active::after {
  background: #fff;
  height: 2px;
}

.hero-button-prev,
.hero-button-next {
  -webkit-tap-highlight-color: transparent;
}

.hero-button-prev.swiper-button-disabled,
.hero-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* 移动端隐藏 banner 左右箭头 */
@media (max-width: 767px) {

  .hero-button-prev,
  .hero-button-next {
    display: none !important;
  }
}

/* 移动端缩小首页“关于我们”标题文字 */
@media (max-width: 767px) {
  #about {
    padding-top: 2.5rem;
  }

  #about h2 {
    font-size: 1.125rem;
    line-height: 1.4;
  }
}

/* =====================================================
   产品中心区
   ===================================================== */
#services .card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#services .card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 768 及以下（含平板）整体缩小产品中心字体 */
@media (max-width: 1023px) {
  #services h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  #services h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  #services .text-base {
    font-size: 0.875rem;
  }

  /* 移动端收紧“查看详情”上下间隙 */
  #services .pb-10 {
    padding-bottom: 1.25rem;
  }

  #services p.mb-8 {
    margin-bottom: 1rem;
  }

  #services a.inline-flex {
    padding: 0.625rem 2rem;
  }
}

/* =====================================================
   最新动态区
   ===================================================== */
.news {
  position: relative;
  z-index: 5;
  align-items: stretch;
}

.news:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48.4375%;
  height: 100%;
  background: url(../images/news.png) center center / cover no-repeat;
  z-index: -1;
  border-radius: 0 150px 0 0;
}

.news .nt {
  flex: 0 0 auto;
  width: 32.29%;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 8.3%;
  color: #fff;
  padding-top: 5%;
  padding-bottom: 5%;
}

.news .nt .title .t1 {
  color: #fff;
}

.news .nt .swiperBtn {
  justify-content: flex-start;
}

.news .nt .swiperBtn .btn {
  position: relative;
  cursor: pointer;
  z-index: 5;
  width: 3.88em;
  line-height: 3.88em;
  text-align: center;
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  margin-left: 0;
  margin-right: 20px;
}

.news .nt .swiperBtn .btn i {
  font-size: 23px;
}

.news .nt .swiperBtn .btn:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  box-sizing: border-box;
  transition: .3s;
  opacity: 0;
}

.news .nt .swiperBtn .btn:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
  z-index: -2;
}

.news .nt .swiperBtn .btn:hover {
  color: #0074c8;
}

.news .nt .swiperBtn .btn:hover:before {
  opacity: 1;
}

.news .nt .swiperBtn .btn:hover:after {
  opacity: 0;
}

.news .nt .bar {
  margin-top: 50px;
  height: 1px;
  position: relative;
  background: #fff;
}

.news .nt .bar .cur {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  background: #fff;
  z-index: 5;
  transition: .3s;
}

.news .nt .ctr {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 90px;
}

.news .nc {
  flex: 1 1 auto;
  overflow: hidden;
  padding-right: 14.8%;
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.news .nc .swiper {
  overflow: visible;
}

.nlist .item {
  min-height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
  .nlist .item {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  }
}

.nlist .item:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.nlist .item .pic {
  padding-bottom: 62%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.nlist .item:hover .pic {
  transform: scale(1.05);
}

.nlist .item .itxt {
  padding: 26px 28px 28px;
  position: relative;
}

.nlist .item .idate {
  color: #7e8b9a;
  line-height: 1;
  margin-bottom: 16px;
  font-size: 16px;
}

.nlist .item .it {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #1e2431;
  font-size: 18px;
}

.nlist .item .ip {
  color: #7e8b9a;
  line-height: 1.75;
  height: 3.5em;
  overflow: hidden;
  margin-bottom: 22px;
  font-size: 15px;
}

.nlist .item .vm3 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
}

.nlist .item .vm3 .btn {
  display: flex;
  align-items: center;
  color: #0075C9;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nlist .item .vm3 .btn .span {
  display: inline-block;
  max-width: 100px;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin-right 0.3s ease;
}

.nlist .item .vm3 .btn .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  color: #0075C9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.nlist .item .vm3 .btn .icon i {
  font-size: 25px;
}

.nlist .item:hover .vm3 .btn .span {
  max-width: 0;
  opacity: 0;
  margin-right: 0;
}

.nlist .item:hover .vm3 .btn .icon {
  background: linear-gradient(135deg, #0075C9, #00a6d1);
  color: #fff;
  transform: rotate(-45deg);
}

.nlist .item .vm3 .btn:after {
  display: none;
}

/* 最新动态：平板/移动（≤1024px）隐藏大标题与轮播控件，显示小标题，改为网格 */
.news-mtitle {
  display: none;
}

/* 分页圆点默认隐藏，仅移动端显示 */
.news-pagination {
  display: none;
}

@media (max-width: 1024px) {
  .news {
    display: block !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    /* 兜底：避免轮播未显示 slide 溢出导致整页横向滚动 */
    overflow-x: hidden;
  }

  .news:after {
    display: none !important;
  }

  .news .nt {
    display: none !important;
  }

  .news-mtitle {
    display: block;
    text-align: center;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  .news .nc {
    overflow: hidden;
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* 移动端左右留白，避免轮播贴边 */
  .news {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .nlist .news-swiper,
  .nlist .swiper {
    width: 100%;
    /* v4 库靠 .swiper-container 才加 overflow:hidden，本容器用 .swiper，
       故在此显式裁切，避免未显示 slide 溢出产生横向滚动 */
    overflow: hidden;
  }

  .nlist .news-swiper .swiper-wrapper,
  .nlist .swiper .swiper-wrapper {
    align-items: stretch;
  }

  .nlist .news-swiper .swiper-slide,
  .nlist .swiper .swiper-slide {
    /* 移动端每页一条：高度由卡片内容决定，不强制留白 */
    height: auto !important;
  }

  .nlist .item .pic {
    aspect-ratio: 16 / 9;
  }

  /* 移动端：隐藏桌面端箭头与进度条，改用分页圆点 */
  .news .ctr {
    display: none;
  }

  .news-pagination {
    display: flex;
    width: 95%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
  }

  .news-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 999px;
    transition: all 0.2s;
    margin: 0 !important;
  }

  .news-pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: #0075C9;
  }

  /* 图片统一比例，避免 nowrap 标题撑宽列导致尺寸参差 */
  .nlist .item .pic {
    padding-bottom: 0;
    aspect-ratio: 16 / 10;
  }

  /* 字体缩小 */
  .nlist .item .itxt {
    padding: 16px 18px 18px;
  }

  .nlist .item .it {
    font-size: 16px;
    /* 移动端屏窄，取消桌面端单行截断，整行换行显示完整标题 */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .nlist .item .ip {
    font-size: 13px;
    /* 移动端取消固定 3.5em 限高，完整显示描述 */
    height: auto;
    max-height: none;
    overflow: visible;
    margin-bottom: 14px;
  }

  .nlist .item .idate {
    font-size: 14px;
    /* 确保日期完整可见，不被裁切 */
    white-space: nowrap;
    overflow: visible;
  }

  /* 隐藏 Swiper 的滚动条 */
  .nlist .swiper-scrollbar {
    display: none !important;
  }
}

.vm3 {
  display: inline-block;
}

.pb6 {
  padding-top: 6.25%;
  padding-bottom: 6.25%;
}

/* 字体大小 */
.f16 {
  font-size: 16px;
}

.f18 {
  font-size: 18px;
}

.f20 {
  font-size: 20px;
}

.f22 {
  font-size: 22px;
}

.f48 {
  font-size: 48px;
}

/* 字体 */
.font-r {
  font-family: 'HarmonyOS Sans SC', 'HarmonyOS_Sans_SC_Regular', sans-serif;
}

.font-m {
  font-family: 'HarmonyOS Sans SC', 'HarmonyOS_Sans_SC_Medium', sans-serif;
}

/* 动画装饰 */
.ani3 {
  position: absolute;
  right: 5%;
  top: -5%;
  width: 5.15%;
  z-index: -1;
  animation: linear 40s ani2 infinite;
  transform-origin: 50% 20%;
}

.ani3:after {
  content: "";
  display: block;
  padding-bottom: 93.39%;
  background: url(../images/ani-icon3.png) no-repeat center;
  background-size: contain;
}

/* =====================================================
   数字计数器样式
   ===================================================== */
.counter {
  font-variant-numeric: tabular-nums;
}

/* =====================================================
   动画微调
   ===================================================== */
.wow {
  visibility: hidden;
}

/* =====================================================
   响应式调整
   ===================================================== */
@media (max-width: 1023px) {
  #hero {
    height: auto;
    min-height: 720px;
  }

  .hero-person img {
    height: 340px;
  }

  #hero h1 {
    font-size: 2.5rem;
  }
}

/* 平板及手机（≤1024px）= “移动端”：实心导航栏 + 下方完整显示移动端 banner
   与 ≥1025px 的电脑端 banner 轮播彻底分开，方便后续接入帝国 CMS 两个栏目 */
@media (max-width: 1024px) {

  /* 内容整体下移，避开固定导航栏，banner 不再被遮挡 */
  body {
    padding-top: 4rem;
  }

  /* 缩小导航栏高度 */
  #header .container>div {
    height: 4rem;
  }

  /* 下拉菜单顶部对齐导航栏，消除中间间隙 */
  #mobile-menu {
    top: 4rem;
  }

  /* 导航栏实心白底（banner 已在其下方，需保证文字可读） */
  #header {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  }

  #header .logo-wrap h1,
  #header .logo-wrap h2,
  #header .logo-wrap div {
    color: #0075C9;
    font-size: 1.25rem;
  }

  #header #mobile-menu-btn,
  #header #mobile-menu-btn i {
    color: #111827 !important;
    font-size: 1.25rem;
  }

  /* 桌面端导航在白色导航栏上改为深色字 */
  #header nav ul li a {
    color: #111827;
  }

  #header nav ul li a:hover {
    color: #0075C9;
  }

  #header nav ul li a.active {
    color: #0075C9;
  }

  /* 移动端 banner：完整显示、不裁切 */
  #hero {
    height: auto;
    min-height: auto;
  }

  #hero .swiper-slide img {
    object-fit: contain;
  }
}

@media (max-width: 767px) {
  #hero h1 {
    font-size: 2rem;
  }

  .hero-person img {
    height: 300px;
  }

  #about .counter {
    font-size: 2rem;
  }

  #news .absolute.top-0.right-0 {
    display: none;
  }
}

@media (max-width: 639px) {
  #hero h1 {
    font-size: 1.75rem;
  }

  .hero-person img {
    height: 260px;
  }

  #about h2,
  #services h2,
  #features h2,
  #news h2 {
    font-size: 1.5rem;
  }

  #about h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

/* ===== Footer 桌面端一行布局（独立于 Tailwind 断点，确保一行显示） ===== */
#footer {
  background-color: #0f172a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-divider {
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #0075C9, #00a6d1, #0075C9);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 24rem;
  margin: 0;
}

/* 底部：友情链接 + 版权（保持原模块不动，仅补全样式） */
.footer-links {
  border-top: 1px solid #1f2937;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-top: 30px;
}

.footer-links-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-links-title {
  color: #ffffff;
  font-weight: 700;
}

.footer-links-inner a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-inner a:hover {
  color: #ffffff;
}

.footer-copy {
  border-top: 1px solid #1f2937;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-copy a{
  transition: all .3s;
}

.footer-copy a:hover{
  color: #fff;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-layout {
    grid-template-columns: 22% minmax(240px, 1.6fr) 1fr 0.9fr;
    gap: 0;
  }

  .footer-contact {
    padding-left: 24px;
  }

  .footer-col+.footer-col,
  .footer-follow {
    padding-left: 28px;
  }
}

.footer-col .contact-list li.address {
  white-space: normal;
  align-items: flex-start;
}

.footer-col .contact-list li.address>span:last-child {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  height: auto;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
  text-align: left;
  line-height: 1.5;
}

.footer-col .contact-list li.address>span:last-child:hover {
  color: #ffffff;
}

/* 1170 及以下分辨率：地址允许换行（避免长地址被截断） */
@media (max-width: 1170px) {
  .footer-col .contact-list li.address {
    white-space: normal;
    align-items: center;
  }

  .footer-col .contact-list li.address>span:last-child {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.5;
  }
}

/* ===== Footer 内部元素样式（完全独立于 Tailwind，任意环境都正确显示） ===== */
.footer-col h4 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}

.footer-brand h3 {
  margin: 0;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand-head h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* 联系方式 */
.footer-col .contact-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.footer-col .contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  min-width: 0;
}

.footer-col .contact-list li a,
.footer-col .contact-list li>span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}

.footer-col .contact-list li:last-child {
  margin-bottom: 0;
}

.footer-col .contact-list li>span {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0075C9;
}

.footer-col .contact-list li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col .contact-list li a:hover {
  color: #ffffff;
}

/* 新闻列表（ul 语义化） */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 证书网格（ul 语义化） */
.qual-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 网站地图（a 标签） */
.footer-col .footer-sitemap {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col .footer-sitemap a {
  display: flex;
  align-items: center;
  color: #9ca3af;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col .footer-sitemap a:hover {
  color: #fff;
}

.footer-col .footer-sitemap a>i {
  color: #0075C9;
  font-size: 0.7rem;
  margin-right: 0.5rem;
}

/* 关注我们 二维码 */
.footer-follow h4 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}

.footer-follow .qr-box {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.5rem;
  width: 10rem;
  height: 10rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-follow .qr-box img {
  display: block;
  width: 100%;
  height: 100%;
}

.breadcrumb {
  font-size: 16px;
}

.breadcrumb .fa-home {
  font-size: 21px;
}

#about {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 40%, #e6f4ff 60%, #ffffff 100%);
}

.linearText {
  -webkit-background-clip: text !important;
  color: transparent;
  background: linear-gradient(90deg, #007bca, #00a6d1);
}

/* =====================================================
   荣誉资质页（qualifications.html）—— 证书列表布局
   参考 qua.html / style.css 的 .hornor 证书样式
   ===================================================== */
.qual-card {
  transition: transform 0.3s ease;
  padding: 18px;
  border-radius: 24px;
}

.qual-card:hover {
  cursor: pointer;
}

/* 证书图片框：竖版证书比例（对应 .hornor .i .imgbox） */
.qual-card .img-box {
  position: relative;
  padding-bottom: 131.3%;
  background-color: #ebf2f8;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.qual-card .img-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  height: 35%;
  background: linear-gradient(180deg, #dde5eb, transparent);
}

.qual-card .img-box img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease;
  z-index: 5;
}

@media (min-width: 1280px) {
  .qual-card .img-box img {
    padding: 15px 45px 30px;
  }
}

.qual-card:hover .img-box img {
  transform: translate(-50%, -50%) scale(1.05);
}

/* 证书标题（对应 .hornor .i .it） */
.qual-card .qual-title {
  color: #000;
  text-align: center;
  margin-top: 25px;
  line-height: 1.6;
  font-size: 18px;
  max-height: 3.2em;
  overflow: hidden;

}

/* 移动端（≤767px）：证书两列、字体与上下间隙缩小 */
@media (max-width: 767px) {
  .news-pagination {
    width: 90%;
    gap: 6px;
  }
  #qualifications {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .qual-showcase {
    padding: 1rem;
  }

  .qual-card {
    padding: 10px;
    border-radius: 16px;
  }

  .qual-card .img-box {
    border-radius: 12px;
  }

  .qual-card .qual-title {
    font-size: 12px;
    margin-top: 12px;
  }

  /* 网格：两列显示，间距与下边距缩小（与 Tailwind grid-cols-2 一致） */
  .qual-grid {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  /* 分页：移动端整体与字体缩小 */
  .qual-pager {
    gap: 0.375rem;
    font-size: 13px;
  }

  .qual-pager button {
    width: 2rem;
    height: 2rem;
    font-size: 13px;
  }

  .qual-pager span {
    font-size: 13px;
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }

  /* 新闻列表页分页：移动端整体与字体缩小 */
  .news-pager {
    gap: 0.375rem;
    font-size: 13px;
  }

  .news-pager button {
    width: 2rem;
    height: 2rem;
    font-size: 13px;
  }

  .news-pager span {
    font-size: 13px;
  }
}

/* ===== 列表式分页容器（qual-pager）：仅做布局 =====
   按钮样式由各分页函数自带（Tailwind 工具类，如 my_CirclePage / anglisu_NewsListPage），
   此处不再写 .qual-pager a / b 规则，避免优先级高于 Tailwind 类而覆盖按钮样式。 */
.qual-pager {
  flex-wrap: wrap;
}

/* 资质证书弹窗（qualifications.html） */
.qual-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.qual-modal.active {
  display: flex;
}

.qual-modal-inner {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 50px 50px;
  max-width: 90%;
  width: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.qual-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qual-modal-close:hover {
  background: #F3F4F6;
  color: #1F2937;
}

.qual-modal-img-box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qual-modal-img-box img {
  max-height: 60vh;
  object-fit: contain;
  padding: 18px 28px 30px;
}

/* =====================================================
   产品中心页（products.html）
   参考 pr.html / style.css 的产品列表样式
   ===================================================== */
.products-section {
  position: relative;
  z-index: 5;
  background: #fff;
  padding: 70px 0 80px;
}

/* 分类导航（proanv） */
.products-section .proanv {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 55px;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.products-section .proanv a {
  display: inline-block;
  margin: 0 25px;
  padding: 0 2em;
  line-height: 3;
  background: #fff;
  box-shadow: 0 5px 27px rgba(7, 130, 203, 0.15);
  border-radius: 3em;
  text-align: center;
  min-width: 200px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  transition: .3s;
}

.products-section .proanv a:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: .3s;
  background: linear-gradient(90deg, #007bca, #00a6d1);
  opacity: 0;
}

.products-section .proanv a:hover,
.products-section .proanv a.cur {
  color: #fff;
}

.products-section .proanv a:hover:after,
.products-section .proanv a.cur:after {
  opacity: 1;
}

/* 产品网格（items / item） */
.products-section .items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.products-section .item {
  flex: 0 0 auto;
  width: 31.33%;
  margin-right: 3%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 27px rgba(7, 130, 203, 0.15);
  margin-bottom: 3%;
  background: url(../images/products_bg.png) no-repeat center;
  background-size: cover;
  transition: .3s;
}

.products-section .item:nth-child(3n) {
  margin-right: 0;
}

.products-section .item a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.products-section .item .itop {
  flex: 0 0 auto;
  width: 100%;
  padding: 60px 50px;
}

.products-section .item .it {
  margin-bottom: 10px;
  font-size: 24px;
  color: #1e2431;
  font-weight: 500;
  line-height: 1.4;
}

.products-section .item .t2 {
  color: #7e8b9a;
  font-size: 16px;
}

.products-section .item .ibot {
  flex: 0 0 auto;
  width: 100%;
  padding: 0 0 50px 50px;
  display: flex;
  align-items: flex-end;
}

.products-section .item .vm {
  font-size: 60px;
  flex: 0 0 auto;
  margin-bottom: 10%;

}

.products-section .item .vm .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
  width: 1em;
  transform: rotate(-45deg);
  transition: .3s;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.products-section .item .vm .btn i {
  font-size: 22px;
  color: #0074c8;

}

.products-section .item:hover .vm .btn {
  transform: rotate(0deg);
  background: linear-gradient(90deg, #007bca, #00a6d1);
}

.products-section .item:hover .vm .btn i {
  color: #fff;
}

.products-section .item .img {
  flex: 1 1 auto;
  text-align: right;
  padding-left: 40px;
}

.products-section .item .img img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

/* 分页（pages） */
.products-section .pages {
  text-align: center;
  margin-top: 50px;
}

.products-section .pages a {
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  width: 3em;
  line-height: 3em;
  height: 3em;
  transition: .3s;
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin: 0 7px;
  color: #333;
  font-size: 18px;
}

.products-section .pages a:before,
.products-section .pages a:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.products-section .pages a:before {
  z-index: -1;
  border: 1px solid #e5e5e5;
  box-sizing: border-box;
  border-radius: 50%;
}

.products-section .pages a:after {
  z-index: -1;
  background: linear-gradient(90deg, #007bca, #00a6d1);
  transition: .3s;
  opacity: 0;
}

.products-section .pages a:hover,
.products-section .pages a.a_cur {
  color: #fff !important;
}

.products-section .pages a:hover:after,
.products-section .pages a.a_cur:after {
  opacity: 1;
}

.products-section .pages a i {
  font-size: 16px;
  vertical-align: middle;
  line-height: 1;
}

.products-section .pages a.a_prev:before,
.products-section .pages a.a_next:before {
  border-color: #e5f1f9;
  background: #e5f1f9;
}

.products-section .pages a.a_prev,
.products-section .pages a.a_next {
  color: #0074c8;
}

@media (max-width: 1024px) {
  .products-section .item {
    width: 48%;
    margin-right: 4%;
  }

  .products-section .item:nth-child(3n) {
    margin-right: 4%;
  }

  .products-section .item:nth-child(2n) {
    margin-right: 0;
  }
}

/* ===== 产品中心列表：页面内覆盖样式（原 <style> 内联，已移至 style.css） ===== */
.products-section .item .ibot {
  padding: 0 0 30px 30px;
}
.products-section .item .img {
  padding-left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.products-section .item .img img {
  max-height: 280px;
  width: 100%;
  object-fit: contain;
}
/* 分页模块与上方卡片之间增加上间隙 */
.pro-pager {
  padding-top: 32px;
}
/* 移动端（≤640px）：产品列表上下间距与字体缩小 */
@media (max-width: 640px) {
  .products-section {
    padding: 36px 0 44px;
  }
  .products-section .proanv {
    margin-bottom: 28px;
  }
  .products-section .proanv a {
    font-size: 14px;
  }
  .products-section .item .itop {
    padding: 30px 22px;
  }
  .products-section .item .ibot {
    padding: 0 0 30px 22px;
  }
  .products-section .item .it {
    font-size: 19px;
  }
  .products-section .item .t2 {
    font-size: 14px;
  }
  .products-section .item .vm {
    font-size: 44px;
  }
  .pro-pager {
    gap: 0.375rem;
    font-size: 13px;
  }
  .pro-pager button,
  .pro-pager a,
  .pro-pager span {
    width: 2rem;
    height: 2rem;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .products-section .item {
    width: 100%;
    margin-right: 0;
  }

  .products-section .item:nth-child(2n) {
    margin-right: 0;
  }

  .products-section .proanv {
    flex-wrap: wrap;
    gap: 12px;
  }

  .products-section .proanv a {
    margin: 0;
    min-width: 0;
    padding: 0 1.4em;
    font-size: 15px;
  }
}

/* =====================================================
   产品详情页（product_detail.html）
   ===================================================== */
/* 产品展示区 */
.proView {
  padding: 80px 0;
}

.proView .box {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.proView .imgs {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proView .big {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 117, 201, 0.1);
}

.proView .big .swiper {
  width: 100%;
}

.proView .big .swiper-slide .img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.proView .big .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.proView .small {
  display: flex;
  align-items: center;
  gap: 15px;
}

.proView .small .swiper {
  flex: 1;
  height: 240px;
}

.proView .small .swiper-slide {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.proView .small .swiper-slide.cur {
  border-color: #0075C9;
  box-shadow: 0 4px 15px rgba(0, 117, 201, 0.2);
}

.proView .small .swiper-slide .img {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}

.proView .small .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.proView .small .btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.proView .small .btn:hover {
  background: #0075C9;
  color: #fff;
  border-color: #0075C9;
}

.proView .txt {
  flex: 1;
  padding-top: 20px;
}

.proView .txt .tit {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
  line-height: 1.4;
}

.proView .txt .t2 {
  font-size: 20px;
  color: #0075C9;
  margin-bottom: 30px;
  font-weight: 500;
}

.proView .txt .p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.8;
}

/* 产品详情页 product_detail.html 专属（id 作用域隔离，不影响其他页面） */
#proViewDetail {
  padding: 60px 0;
}

#proViewDetail .box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
}

#proViewDetail .imgs {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

#proViewDetail .thumb-swiper {
  width: 100%;
  height: 360px;
  /* v4 库靠 .swiper-container 类名才加 overflow:hidden；本页容器用 .swiper（v11 命名），
     故在此显式裁切，配合 slidesPerView:3 只显示 3 个并隐藏其余 */
  overflow: hidden;
}

/* 显式竖向排列，兼容 v4(swiper-container-vertical) 与 v11(swiper-vertical) */
#proViewDetail .thumb-swiper>.swiper-wrapper {
  flex-direction: column;
}

#proViewDetail .thumb-item {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.3s;
}

#proViewDetail .thumb-swiper .swiper-slide.cur {
  border-color: #0075C9;
  box-shadow: 0 4px 15px rgba(0, 117, 201, 0.2);
}

#proViewDetail .arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: #0075C9;
  flex-shrink: 0;
  box-shadow: 0 5px 27px rgba(7, 130, 203, 0.15);
}

#proViewDetail .arrow-btn i {
  font-size: 18px;
  line-height: 1;
}

#proViewDetail .arrow-btn:hover {
  background: #0075C9;
  color: #fff;
  border-color: #0075C9;
}

#proViewDetail .big {
  flex: 1 1 50%;
  max-width: 560px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 117, 201, 0.1);
  height: 520px;
}

#proViewDetail .big-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
}

#proViewDetail .big-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#proViewDetail .txt {
  flex: 1 1 420px;
  min-width: 280px;
  padding-top: 5px;
}

@media (min-width: 992px) {
  #proViewDetail {
    padding: 80px 0;
  }

  #proViewDetail .imgs {
    flex: 0 0 120px;
  }

  #proViewDetail .thumb-swiper {
    height: 420px;
  }

  #proViewDetail .arrow-btn {
    width: 44px;
    height: 44px;
  }

  #proViewDetail .arrow-btn i {
    font-size: 22px;
  }

  #proViewDetail .big {
    height: 580px;
  }
}

@media (max-width: 768px) {
  .qual-modal{
    padding: 0;
  }
  .qual-modal-inner {
    padding: 20px;
  }
  .qual-modal-close{
    top: 10px;
    right: 10px;
  }
  /* #proViewDetail（产品图+名称+描述展示区）移动端：左侧竖缩略图 + 右侧主图卡片 + 下方文字 */
  #proViewDetail {
    padding: 0 0 30px 0;
  }

  #proViewDetail .container {
    padding: 0;
    padding-top: 15px;
  }

  #proViewDetail .txt {
    margin-top: 0;
    padding-top: 0;
  }

  #proViewDetail .box {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
  }

  #proViewDetail .imgs {
    flex: 0 0 80px;
    width: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 0;
    padding-right: 0;
    order: 1;
    align-self: center;
  }

  #proViewDetail .thumb-swiper {
    height: auto;
    width: 88px;
    overflow: hidden;
    margin: 0 auto;
  }

  #proViewDetail .thumb-swiper>.swiper-wrapper {
    flex-direction: column;
    align-items: center;
  }

  #proViewDetail .thumb-item:last-child {
    margin-bottom: 0 !important;
  }

  #proViewDetail .thumb-item {
    width: 65px;
    height: 70px !important;
    border-radius: 10px;
    border-width: 1.5px;
    flex-shrink: 0;
    background: #f5f9fc;
  }

  #proViewDetail .thumb-item img {
    width: 100%;
    height: 100%;
  }

  #proViewDetail .arrow-btn {
    width: 28px;
    height: 28px;
    box-shadow: 0 2px 8px rgba(7, 130, 203, 0.12);
    margin: 0 auto;
  }

  #proViewDetail .arrow-btn i {
    font-size: 14px;
  }

  #proViewDetail .big {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 320px;
    max-height: 400px;
    order: 2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-right: 15px;
  }

  #proViewDetail .big-swiper .swiper-slide {
    height: 320px;
    padding: 0;
  }

  #proViewDetail .big-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
  }

  #proViewDetail .txt {
    flex: none;
    width: 100%;
    min-width: auto;
    padding-top: 0;
    order: 3;
    padding: 0 15px;
    margin-top: 20px;
  }

  #proViewDetail .txt .tit {
    font-size: 18px;
    margin-bottom: 6px;
  }

  #proViewDetail .txt .t2 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  #proViewDetail .txt .p {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* 产品详情页子导航（原内联 style 外置） */
.subnav-bar {
  box-shadow: 0 5px 27px rgba(7, 130, 203, 0.08);
}

/* 产品详情区 */
.detail-section {
  padding: 80px 0;
  background: #f2f9ff;
}

.detail-section .tit {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 50px;
}

.detail-section .edit {
  max-width: 900px;
  margin: 0 auto;
}

.detail-section .edit img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.detail-section .edit p {
  text-align: center;
}

/* 产品详情（"产品详情"图文块）移动端：上下间距与标题字体缩小
   必须放在 .detail-section 桌面定义之后，否则同优先级会被桌面规则覆盖 */
@media (max-width: 768px) {
  .detail-section {
    padding: 28px 0;
  }

  .detail-section .tit {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

/* =====================================================
   回到顶部按钮（所有页面通用）
   ===================================================== */
#back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  color: #0075C9;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 99;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  box-shadow: 0 10px 28px rgba(0, 117, 201, 0.25);
}

#back-to-top i {
  font-size: 2.6rem;
  background: linear-gradient(90deg, #007bca, #00a6d1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* 响应式：移动端隐藏回到顶部，电脑分辨率（≥768px）显示 */
@media (max-width: 767px) {
  #back-to-top {
    display: none !important;
  }
}

/* 响应式：移动端 footer 收紧间距，避免过于松散 */
@media (max-width: 767px) {
  .footer-inner {
    padding: 2.5rem 1.25rem 2rem;
  }

  .footer-layout {
    gap: 1.75rem;
    grid-template-columns: 1fr 1fr;
  }

  /* 品牌与联系方式占整行，快速导航与关注我们并排一行 */
  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-follow {
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-col .contact-list {
    margin: 0 0 1.25rem;
  }

  .footer-col .contact-list li {
    margin-bottom: 0.6rem;
  }

  .footer-col h4 {
    margin: 0 0 0.85rem;
  }

  .footer-brand-head {
    margin-bottom: 0.85rem;
  }

  .footer-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .footer-copy {
    padding-top: 1rem;
  }
}