/* ==========================================================================
   🏛️ 🎓 标章墙专属视觉设计 (Logo Grid Wall) - 调大+彩色终极版
   ========================================================================== */
.partner-logos-section {
  padding: 80px 20px 140px;
  max-width: 1000px !important; /* 维持相同的防撞安全跨度 */
  margin: 0 auto;
}

.logos-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.logos-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #290f02; 
  margin-bottom: 12px;
  display: block;
}

.logos-title {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.logos-desc { 
  font-size: 15px; 
  color: #555; 
  line-height: 1.6; 
}

/* 标章网格骨架 */
.logo-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 列国际排版 */
  gap: 24px;                             /* 稍微拉开卡片之间的间距 */
}

/* 每一个独立的标章卡片 */
.logo-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  height: 135px;                         /* ✨ 卡片高度从 110px 大幅加高到 135px */
  padding: 10px;                         /* ✨ 收窄内边距，给里面的 Logo 腾出巨量空间 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* 📸 卡片内部的 Logo 图片 */
.logo-card img {
  max-width: 92%;                        /* ✨ 图片最大宽度从 85% 放大到 92% */
  max-height: 85%;                       /* ✨ 图片最大高度从 75% 放大到 85% */
  object-fit: contain;
  
  /* ── ✨ 核心修正：去掉灰度限制，默认直接显示彩色 ── */
  filter: none !important;               
  opacity: 0.95;                         /* 默认就非常鲜明 */
  transition: all 0.3s ease;
}

/* 无真实照片时的精美文字兜底占位符 */
.logo-text-placeholder {
  display: none; 
  font-size: 14px;                       /* 字体同步调大一点 */
  font-weight: 600;
  color: #888;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ── ⚡ 鼠标悬浮标章时的精美交互效果 ── */
.logo-card:hover {
  transform: translateY(-5px);           /* 轻轻向上浮动 */
  box-shadow: 0 15px 35px rgba(26, 86, 219, 0.08); /* 赋予行知蓝的淡淡呼吸阴影 */
  border-color: rgba(26, 86, 219, 0.2);
}

.logo-card:hover img {
  opacity: 1;
  transform: scale(1.04);                /* ✨ 鼠标放上去时，彩色 Logo 还会微微放大，极具动感 */
}

/* ── 手机与平板端响应式 ── */
@media (max-width: 850px) {
  .logo-grid-wrapper { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px; 
  }
  .logo-card { 
    height: 110px;                       /* 手机端同步调大尺寸 */
  }
}

/* ── ✨ 分页控制器样式 ── */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
}

/* 分页包裹的数字区域 */
.page-numbers {
  display: flex;
  gap: 8px;
}

/* 按钮通用基础样式 */
.page-btn, 
.page-num {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* 悬浮时的雅致蓝色 */
.page-btn:hover:not(:disabled), 
.page-num:hover {
  background: #f0f7ff;
  color: #1a56db;
  border-color: rgba(26, 86, 219, 0.3);
  transform: translateY(-2px);
}

/* 处于当前页的激活状态（行知蓝） */
.page-num.active {
  background: #1a56db;
  color: white;
  border-color: #1a56db;
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.25);
}

/* 到了第一页或最后一页，箭头按钮变灰不可点 */
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  background: #f8f9fa;
}

/* ── ✨ 翻页时的卡片淡入动画 ── */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* JS 控制赋予这个动画类名 */
.logo-card.fade-in {
  animation: pageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.corporate-section {
  padding: 140px 20px 100px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.corporate-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.corporate-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #081b44; 
  margin-bottom: 14px;
  display: block;
}

.corporate-title {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.corporate-desc { 
  font-size: 15px; 
  color: #555; 
  line-height: 1.7; 
}

/* ── 三列网格 ── */
.corporate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── 卡片基础骨架 ── */
.corp-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 高级交互：鼠标悬浮时卡片上浮并强化阴影 */
.corp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.06);
  border-color: transparent;
}

/* ✨ 卡片顶部的彩色微小渐变条 (大厂常用细节，画龙点睛) */
.corp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: all 0.3s ease;
}
.corp-card.card-blue::before { background: #1a56db; }
.corp-card.card-green::before { background: #16a34a; }
.corp-card.card-orange::before { background: #ea580c; }

/* ── 圆角图标容器 ── */
.corp-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card-blue .corp-icon-wrapper { background: #eff6ff; color: #1a56db; }
.card-green .corp-icon-wrapper { background: #f0fdf4; color: #16a34a; }
.card-orange .corp-icon-wrapper { background: #fff7ed; color: #ea580c; }

/* 悬浮时图标微放大 */
.corp-card:hover .corp-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

.corp-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.corp-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  flex-grow: 1; /* 撑开空间，让底部的 tags 永远对齐在最下面 */
  margin-bottom: 24px;
}

/* ── 卡片底部的精美小标签 ── */
.corp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.corp-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

/* ⚡ 悬浮魔法：鼠标放到卡片上，标签也会跟随变成对应的主题色！ */
.card-blue:hover .corp-tags span { background: #eff6ff; color: #1a56db; border-color: rgba(26,86,219,0.15); }
.card-green:hover .corp-tags span { background: #f0fdf4; color: #16a34a; border-color: rgba(22,163,74,0.15); }
.card-orange:hover .corp-tags span { background: #fff7ed; color: #ea580c; border-color: rgba(234,88,12,0.15); }

/* ── 底部号召按钮 ── */
.corporate-action {
  text-align: center;
  margin-top: 60px;
}

/* ── 📱 手机端响应式 ── */
@media (max-width: 900px) {
  .corporate-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}