/* ========== Boyan Feature Module ========== */

.by-features {
    padding: 30px 0;
    background: #fff;
}

.by-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 25px;
    max-width: 1300px;
    margin: auto;
}

.by-container-c {
    display: grid;
    gap: 25px;
    max-width: 1300px;
    margin: auto;
}


.by-item {
    text-align: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.by-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


.by-icon img {
    width: 120px;
    height: auto;
    transition: transform 0.25s ease;
}

.by-item:hover .by-icon img {
    transform: scale(1.06);
}

.by-title {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0 6px;
}

.by-item p {
    margin: 0;
    line-height: 1.5;
}


@media (max-width: 1024px) {
    .by-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 768px) {
    .by-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .by-item {
        padding: 14px 8px;
    }
    .by-icon img {
        width: 95px;
    }
}


@media (max-width: 480px) {
    .by-title {
        font-size: 15px;
    }
    .by-icon img {
        width: 85px;
    }
}


/* =================================================
   Site Top Banner - 企业官网安全版（无 hero 冲突）
   PC / 平板 / 手机 自适应 + 呼吸动画
   ================================================= */

.site-top-banner {
  background-color: #d71820;
  padding: 60px 0;
}

.site-top-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-top-banner__text {
  max-width: 60%;
}

.site-top-banner__title {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}

.site-top-banner__hotline {
  font-size: 22px;
  color: #ffffff;
}

.site-top-banner__phone {
  color: #fff100;
  font-weight: 600;
  font-style: italic;
}

.site-top-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-top-banner__img {
  width: 160px;
  cursor: pointer;

  animation: siteTopBannerBreath 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

/* -----------------------------
   平板端（≤1199px）
   ----------------------------- */

@media (max-width: 1199px) {
  .site-top-banner {
    padding: 48px 0;
  }

  .site-top-banner__inner {
    gap: 32px;
  }

  .site-top-banner__text {
    max-width: 65%;
  }

  .site-top-banner__title {
    font-size: 17px;
  }

  .site-top-banner__img {
    width: 140px;
  }
}

/* -----------------------------
   手机端（≤767px）
   ----------------------------- */

@media (max-width: 767px) {
  .site-top-banner {
    padding: 36px 0;
  }

  .site-top-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .site-top-banner__text {
    max-width: 100%;
  }

  .site-top-banner__title {
    font-size: 16px;
    line-height: 1.6;
  }

  .site-top-banner__hotline {
    font-size: 15px;
  }

  .site-top-banner__img {
    width: 120px;
    animation-duration: 7s;
  }
}

/* -----------------------------
   呼吸动画（非对称，更像真实呼吸）
   ----------------------------- */

@keyframes siteTopBannerBreath {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.03);
  }
  50% {
    transform: scale(1.07);
  }
  55% {
    transform: scale(1.08);
  }
  75% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

/* -----------------------------
   无障碍 & 性能优化
   ----------------------------- */

@media (prefers-reduced-motion: reduce) {
  .site-top-banner__img {
    animation: none;
  }
}

.site-top-banner__img-wrap{
  display:inline-block;
  animation: siteTopBannerPulse 3s ease-in-out infinite;
  transform-origin:center center;
  will-change: transform;
}

.site-top-banner__img{
  display:block;
  width:320px;
  height:auto;
}

/* 呼吸动画：慢慢放大缩小，循环往复 */
@keyframes siteTopBannerPulse{
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  55%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ===============================
   案例分类导航（横排按钮）
================================ */

.case-nav {
    width: 100%;
    background: #fff;
    /* padding: 20px; */
    box-sizing: border-box;
    margin-top: 35px;
    margin-bottom: 35px;
}

/* 关键：一行容器 */
.case-nav-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* 左侧常驻红色块 */
.case-nav-title {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c80000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 2px;
    white-space: nowrap;
}

/* 分类按钮区 */
.case-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 单个按钮 */
.case-nav-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 40px;
    padding: 0 18px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    transition: all 0.25s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Hover / 当前 */
.case-nav-item a:hover,
.case-nav-item.is-active a {
    background: #c80000;
    border-color: #8b0000;
    color: #fff;
}

/* ===============================
   平板
================================ */
@media (max-width: 1024px) {
    .case-nav {
        padding: 16px;
    }

    .case-nav-item a {
        min-width: 98px;
        height: 38px;
        font-size: 13px;
    }
}

/* ===============================
   手机
================================ */
@media (max-width: 768px) {
    .case-nav-row {
        flex-direction: column;
        align-items: stretch;
    }

    .case-nav-title {
        width: 100%;
        justify-content: center;
    }

    .case-nav-item a {
        width: calc(50% - 5px);
    }
}

/* =========================
   联系方式 - 电话模块
   ========================= */

.tool-item.contact-tool{
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

/* 每一行 */
.contact-row{
  display: flex;
  align-items: center;
  line-height: 1.8;
}

/* 左侧电话图标 */
.contact-icon{
  width: 22px;              /* 固定宽度，保证对齐 */
  text-align: center;
  margin-right: 6px;
  font-size: 16px;
  color: #db1616;
  flex-shrink: 0;
}

/* 文本整体 */
.contact-text{
  font-size: 14px;
  color: #333;
}

/* 电话号码（红色重点） */
.contact-tel{
  color: #e60012;           /* 标准官网红 */
  font-weight: 500;
  font-size: 17px;
}

/* hover 加深（PC 端友好） */
.contact-tel:hover{
  color: #b8000f;
}

/* =========================
   移动端适配
   ========================= */
@media screen and (max-width: 768px){
  .contact-icon{
    font-size: 15px;
    width: 20px;
  }

  .contact-text{
    font-size: 13px;
  }
}

/* ================== 装修预约模块（强隔离） ================== */

.appoint-section {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  background: #ffffff;
}

/* ---------- 左侧背景 ---------- */
.appoint-left {
  flex: 1;
  min-height: 380px;
  background: url("/static/upload/2025/12/22/about_home.webp") center / cover no-repeat;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 红色蒙层
.appoint-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(170, 0, 0, 0.78);
}
 */
/* 左侧文字容器 */
.appoint-left-text {
  position: relative;
  z-index: 1;
  padding: 24px;
}

/* 主标题：金色渐变 + 描边 + 阴影 */
.appoint-left-title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 18px;

  background: linear-gradient(
    90deg,
    #fff4c7 0%,
    #f7d774 30%,
    #d4a441 60%,
    #fff2c2 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* 金色描边 */
  -webkit-text-stroke: 0.6px rgba(120, 80, 20, 0.6);

  /* 轻微立体阴影 */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.25);
}

/* 副标题 */
.appoint-left-subtitle {
  font-size: 18px;
  color: #f3d78a;
  letter-spacing: 1px;
}

/* ---------- 右侧表单 ---------- */
.appoint-right {
  flex: 1;
  padding: 40px;
}

.appoint-form-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.appoint-form-title span {
  color: #c40000;
}

.appoint-form-tip {
  font-size: 13px;
  color: #999;
  margin-bottom: 22px;
}

/* 表单结构 */
.appoint-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.appoint-form-row.full {
  flex-direction: column;
}

.appoint-form-input {
  flex: 1;
  height: 44px;
  padding: 12px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
}

/* 提交按钮 */
.appoint-submit-btn {
  width: 100%;
  height: 48px;
  background: #c40000;
  color: #ffffff;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  .appoint-section {
    flex-direction: column;
  }

  .appoint-left {
    min-height: 220px;
  }

  .appoint-right {
    padding: 20px;
  }

  .appoint-form-row {
    flex-direction: column;
    gap: 12px;
  }
}

.category-tags {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* PC 端 */
  gap: 12px;
  padding: 16px;
  background: #f2f2f2;
}

.category-tags a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #fff;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.category-tags a:hover {
  background: #c40000;
  color: #fff;
}

/* 选中态 */
.category-tags a.active {
  background: #c40000;
  color: #fff;
}

/* 移动端：一行 4 个 */
@media (max-width: 768px) {
  .category-tags {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .category-tags a {
    height: 36px;
    font-size: 13px;
  }
}

/* ===============================
   Team Section Scoped Styles
   =============================== */

.team-section {
  padding: 30px 10px;
    background: #fff;
}

.team-section .team-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 自适应网格 */
.team-section .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 32px;
  row-gap: 64px;
}

/* 单个成员 */
.team-section .team-item {
  text-align: center;
}

/* 头像包裹 */
.team-section .avatar-wrap {
  width: 236px;
  height: auto;
  margin: 0 auto 16px;
  position: relative;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.team-section .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* 红色光晕（高级 hover） */
.team-section .avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(139, 29, 29, 0.25);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.team-section .role {
  display: inline-block;
  padding: 9px 22px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #cd2020;
  border-radius: 999px;
  transition: all 0.25s ease;
}

/* 简介 */
.team-section .bio {
  max-width: 200px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Hover 效果（轻微、不打扰） */
.team-section .team-item:hover .avatar-wrap {
  transform: scale(1.05);
}

.team-section .team-item:hover .avatar-wrap::after {
  opacity: 1;
}

.team-section .team-item:hover .role {
  background: transparent;
  color: #8b1d1d;
  box-shadow: inset 0 0 0 1px #8b1d1d;
}

.departments {
  padding: 60px 0;
  text-align: center;
}

.departments-title {
  font-size: 28px;
  margin-bottom: 40px;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.dept {
  background: #fff;
  border-radius: 8px;
  padding: 18px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s;
}

.dept:hover {
  transform: translateY(-4px);
}


/* 平板 */
@media (max-width: 1024px) {
  .departments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 手机 */
@media (max-width: 768px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .dept {
    padding: 14px 0;
    font-size: 14px;
  }

  .departments-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .departments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .team-section .team-grid{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 32px;
  }

  /* 头像宽度也要缩小，不然会撑爆 */
  .team-section .avatar-wrap{
    width: 160px;
  }

  .team-section .bio{
    max-width: 160px;
    font-size: 13px;
  }
}


/* 查看更多卡片 */
/* 仅用于“查看更多设计师”，补齐高度 */
.team-section .avatar-more {
  height: 236px;              /* 关键：等于 width */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d13c3c;
  border: 2px dashed #ddd;
  box-sizing: border-box;
}

.team-section .avatar-more .more-text {
  font-size: 16px;
  color: #f7f7f7;
  line-height: 1.4;
  text-align: center;
}

/* ===============================
   About Section（企业介绍）
   灰底 + 白卡 + 左图右文
   =============================== */

/* 整个区域：灰色背景 */
.about-section {
  background: #f3f3f3;
  padding: 100px 40px;
}

/* 内容居中容器 */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 白色内容卡片 */
.about-card {
  background: #ffffff;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* 左图右文布局 */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 左侧图片 */
.about-image img {
  width: 100%;
  display: block;
}

/* 右侧文字内容 */
.about-content {
  max-width: 520px;
}

.about-title {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.about-en {
  font-size: 14px;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 32px;
}

.about-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 40px;
}

/* 按钮（沿用红色体系） */
.about-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #cd2020;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.about-btn:hover {
  background: #8b1d1d;
}

/* ===============================
   响应式（移动端）
   =============================== */

@media (max-width: 1024px) {
  .about-layout {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 24px;
  }

  .about-card {
    padding: 32px 24px;
  }

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

  .about-title {
    font-size: 24px;
  }

  .about-content {
    max-width: 100%;
  }
}

/* ===============================
   Six Strengths Section
   =============================== */

.strengths-section {
  padding: 30px 30px;
  background: #fff;
}

.strengths-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 每一大行（两列） */
.strengths-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* ✅ 强制两列 */
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

/* 下半部分反向 */
.strengths-row.reverse .strengths-text {
  order: 2;
}
.strengths-row.reverse .strengths-image {
  order: 1;
}

/* 文字区域 */
.strengths-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 单条 */
.strengths-item h4 {
  font-size: 28px;
  font-weight: 600;
  color: #cd2020; /* 红色小标题 */
  margin-bottom: 8px;
}

.strengths-item h4 span {
  margin-right: 6px;
}

.strengths-item p {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  max-width: 460px;
  margin: 0;
}

/* 图片 */
.strengths-image img {
  width: 100%;
  display: block;
}

/* ===============================
   Mobile
   =============================== */
@media (max-width: 768px) {
  .strengths-section {
    padding: 60px 24px;
  }

  .strengths-row {
    grid-template-columns: 1fr; /* 手机一列 */
    gap: 36px;
    margin-bottom: 70px;
  }

  .strengths-row.reverse .strengths-text,
  .strengths-row.reverse .strengths-image {
    order: initial;
  }

  .strengths-item p {
    max-width: 100%;
  }
}

.process-wrap {
  background: #c40000;
  padding: 100px 20px;
  color: #fff;
  position: relative;
}

.process-title {
  text-align: center;
  font-size: 43px;
  margin-bottom: 60px;
  color: white;
}

.process-title span {
  display: block;
  font-size: 18px;
  opacity: 0.8;
  margin-top: 8px;
  color: white;
}

.process-arrow {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}

/* 大箭头 */
.process-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 120px solid transparent;
  border-bottom: 120px solid transparent;
  border-left: 80px solid #ffffff;
}

/* 流程卡片布局 */
.service-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  background: transparent;
}

/* 单个卡片 */
.process-item {
  background: #ffffff;
  color: #333;
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.process-item img {
  width: 86px;
  height: auto;
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 18px;
  color: #c40000;
  margin-bottom: 10px;
}

.process-item p {
  font-size: 14px;
  margin: 2px 0;
  line-height: 1.5;
}

/* 手机端优化 */
@media (max-width: 768px) {
  .process-arrow::after {
    display: none;
  }

  .process-title {
    font-size: 24px;
  }
}

.news-tabs__nav{
  display: inline-flex;
  gap: 16px;
}

.news-tab{
  width: 220px;
}

.news-tabs{
  text-align: center;
  padding: 65px 0px 36px 0;
}

.colm_news{
    padding: 5px 0 0 0;
}

.news-tab{
  height: 44px;
  border: 1px solid #e6e6e6;
  background: #f5f5f5;
  color: #333;
  font-size: 16px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  padding: 0 10px;
}

.news-tab.is-active{
  background: #d81e1f; /* 红底 */
  border-color: #d81e1f;
  color: #fff;        /* 白字 */
}

/* panel 显隐 */
.news-panel[hidden]{ display: none; }

/* 非激活 tab 的 grid 容器不参与布局/样式 */
.news-grid-hidden{ display: contents; } /* 只占位，不额外改变你内部结构 */


.dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* 图标 */
.icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* dropdown 容器必须是 relative */
.dropdown {
  position: relative;
  display: inline-block;
}

/* 红底白字按钮 */
.dropdown-btn {
  background: #d53a2f; /* 红色底 */
  color: #fff;         /* 白色字 */
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 6px;
  line-height: 1;
}

/* 菜单默认隐藏 */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 9999;

  /* 核心：用 opacity / visibility 替代 display:none，避免 hover 抖动 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
}

/* hover 到 dropdown（包含按钮+菜单）时展开 */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

/* 菜单项 */
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown-wrap {
  position: relative;
  z-index: 99999;
}
.dropdown {
  position: relative;
  z-index: 99999;
}
.dropdown-menu {
  z-index: 999999; /* 再拉高 */
}

  /* ====== 合作伙伴区域 ====== */
    .partner-wrap {
      background: #f0f0f0;
      padding: 40px 0 50px;
      overflow: hidden;
    }

    .partner-row {
      width: 100%;
      overflow: hidden;
      margin: 22px 0;
      position: relative;

      /* 边缘渐隐，让循环更自然 */
      mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    }

    .partner-track {
      display: flex;
      align-items: center;
      gap: 26px;
      width: max-content;
      animation: partnerScroll 40s linear infinite;
      will-change: transform;
    }

    /* 第二行反向滚 */
    .partner-row.reverse .partner-track {
      animation-direction: reverse;
    }

    /* 卡片样式：白底 + 轻边框（像截图） */
    .partner-card {
      width: 240px;
      height: 130px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
    }

    /* logo 自适应大小 */
    .partner-card img {
      max-width: 72%;
      max-height: 60%;
      object-fit: contain;
      display: block;
    }

    /* hover 暂停 */
    .partner-row:hover .partner-track {
      animation-play-state: paused;
    }

    /* 核心滚动动画：移动 50%（因为 JS 会复制一份） */
    @keyframes partnerScroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .partner-card {
        width: 170px;
        height: 95px;
      }
      .partner-track {
        gap: 16px;
      }
    }
    
/* 外层：全宽固定底部 */
.floating-bottom-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 99999;

  background: rgba(230, 230, 230, 0.88);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.08);

  padding: 12px 20px;
}

/* ✅ 内层：限制宽度 + 居中 */
.bottom-bar-inner {
  max-width: 1200px;       /* 你网站主体宽度多少就填多少 */
  margin: 0 auto;          /* 居中 */
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  position: relative;
}


.bottom-bar-left {
  min-width: 200px;
}

.bottom-bar-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.bottom-bar-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.bottom-bar-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.bottom-bar-form input {
  height: 40px;
  width: 150px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  outline: none;
}

.bottom-bar-form input:focus {
  border-color: #d30000;
}

.bottom-bar-form button {
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 4px;
  background: #d30000;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.bottom-bar-form button:hover {
  background: #b60000;
}

.bottom-bar-hotline {
  min-width: 220px;
  text-align: right;
  border-left: 1px solid rgba(0,0,0,0.08);
  padding-left: 14px;
}

.hotline-label {
  font-size: 16px;
  color: #333;
}

.hotline-phone {
  display: inline-block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #d30000;
  text-decoration: none;
  letter-spacing: 2px;
}

.hotline-phone:hover {
  color: #b60000;
}

.bottom-bar-close {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 28px;
}

.bottom-bar-close:hover {
  background: rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .floating-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .bottom-bar-form {
    flex-wrap: wrap;
    width: 100%;
  }

  .bottom-bar-form input {
    width: calc(50% - 5px);
  }

  .bottom-bar-form button {
    width: 100%;
  }

  .bottom-bar-hotline {
    width: 100%;
    text-align: center;
    border-left: none;
    padding-left: 0;
  }

  .bottom-bar-close {
    top: 6px;
    right: 6px;
  }
}

/* =======================================================
   ✅ 底部横条（展开状态）
======================================================= */
.floating-bottom-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 99999;

  background: rgba(230, 230, 230, 0.88);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.08);

  padding: 18px 20px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ✅ 横条内容居中 */
.bottom-bar-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  position: relative;
}

/* 左侧：图标+文案 */
.bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.bottom-bar-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.bottom-bar-left-text {
  display: flex;
  flex-direction: column;
}

.bottom-bar-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.bottom-bar-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

/* 中间：表单 */
.bottom-bar-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.bottom-bar-form input {
  height: 40px;
  width: 150px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,0.9);
}

.bottom-bar-form input:focus {
  border-color: #d30000;
}

.bottom-bar-form button {
  height: 40px;
  width: 106px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  background: #d30000;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.bottom-bar-form button:hover {
  background: #b60000;
}

/* 右侧：热线 */
.bottom-bar-hotline {
  min-width: 220px;
  text-align: right;
  padding-left: 14px;
  border-left: 1px solid rgba(0,0,0,0.08);
}

.hotline-label {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.hotline-phone {
  display: inline-block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #d30000;
  text-decoration: none;
  letter-spacing: 2px;
}

.hotline-phone:hover {
  color: #b60000;
}

/* =======================================================
   ✅ 右上角缩小按钮（X）
======================================================= */
.bottom-bar-minimize {
  position: absolute;
  right: -10px;
  top: -10px;

  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;

  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 28px;
}

.bottom-bar-minimize:hover {
  background: rgba(0,0,0,0.6);
}

/* =======================================================
   ✅ 横条缩小状态：滑出屏幕
======================================================= */
.floating-bottom-bar.is-minimized {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

/* =======================================================
   ✅ 缩小后竖按钮（复刻截图风格）
======================================================= */
.bottom-bar-mini-btn.vertical{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100000;

  width: 76px;
  height: 110px;
  border-radius: 16px;

  background: #d30000;
  color: #fff;

  display: none;  /* 初始隐藏 */
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);

  padding: 10px 8px;
  transition: transform .18s ease, opacity .18s ease;
}

/* hover */
.bottom-bar-mini-btn.vertical:hover{
  transform: translateY(-2px);
  opacity: 0.96;
}

/* 图标包裹 */
.mini-btn-icon-wrap{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* 图标 */
.mini-btn-icon{
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* 竖排文字 */
.mini-btn-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mini-btn-text span{
  display: block;
}

/* ✅ 呼吸动画（可删掉） */
@keyframes miniPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.bottom-bar-mini-btn.vertical{
  animation: miniPulse 1.6s infinite;
}

/* =======================================================
   ✅ 手机端适配
======================================================= */
@media (max-width: 768px) {

  .bottom-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bottom-bar-form {
    width: 100%;
    flex-wrap: wrap;
  }

  .bottom-bar-form input {
    width: calc(50% - 5px);
  }

  .bottom-bar-form button {
    width: 100%;
  }

  .bottom-bar-hotline {
    width: 100%;
    text-align: center;
    border-left: none;
    padding-left: 0;
  }

  .bottom-bar-mini-btn.vertical{
    width: 70px;
    height: 104px;
    left: 12px;
    bottom: 12px;
    border-radius: 14px;
  }

}



.news-tabs .news-section .news-grid.uk-grid{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px 16px !important;
}


.news-tabs .news-section .news-grid.uk-grid > div{
  width: 100% !important;
}


.news-tabs .news-image img{
  width: 100%;
  height: auto;
  display: block;
}


.news-tabs .news-panel{
  display: none;
}
.news-tabs .news-panel.is-active{
  display: block;
}

/* 兼容 hidden 属性：active 的也能显示 */
.news-tabs .news-panel[hidden]{
  display: none !important;
}
.news-tabs .news-panel.is-active[hidden]{
  display: block !important;
}


@media (max-width: 640px){
  .news-tabs .news-section .news-grid.uk-grid{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px 0px !important;
  }
  .news-tabs .news-title{
    font-size: 14px;
    line-height: 1.35;
  }
  .news-tabs .news-excerpt{
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* 摘要最多3行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 768px){

  /* tabs 容器固定一行 */
  .news-tabs__nav{
    display: flex;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    gap: 8px;
  }

  /* 每个 tab 固定占 1/3 */
  .news-tabs__nav .news-tab{
    flex: 1 1 33.33%;
    min-width: 0; /* 关键：允许被压缩 */
    padding: 0px 0;
    font-size: 13px;
    text-align: center;

    white-space: nowrap;      /* 不换行 */
    overflow: hidden;         /* 超出隐藏 */
    text-overflow: ellipsis;  /* 超出省略号 */
  }
}


.demo-login-container {
  width: 320px; 
  margin: 21px auto 0;
}

.login-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.demo-login-other .layui-icon {
  position: relative; 
  display: inline-block; 
  margin: 0 2px; 
  top: 2px; 
  font-size: 26px;
}


@media (max-width: 768px) {
  .demo-login-container {
    width: 90%;
    margin: 10px auto 0;
  }
}


.layui-btn-fluid {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.layui-btn-fluid:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.layui-btn-normal {
  background: #07C160;
  border-color: #07C160;
}

.layui-btn-normal:hover {
  background: #06A050;
  border-color: #06A050;
}


.by-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.by-modal {
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 14px;
    padding: 26px 22px 24px;
    text-align: center;
    position: relative;
    animation: byScaleIn .35s ease;
}


.by-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
}


.by-modal-qrcode img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.by-modal-tip {
    margin-top: 14px;
    font-size: 13px;
    color: #888;
}

.by-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    transition: .2s;
}

.by-modal-close:hover {
    color: #333;
}

@keyframes byScaleIn {
    0% {
        transform: scale(.85);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}