:root {
  --c-primary: #337ab7;
  --c-primary-hover: #286090;
  --c-title: #589cd8;
  --c-cta: #50a3f7;
  --c-cta-hover: #3a91e3;
}

/* 全局还原标题大写化：本页面标题统一按原文大小写显示 */
.banner h1,
.container--large h2,
.container--large h3,
.container--large h4 {
  text-transform: none;
}

.banner {
  background: url(/images/pages/mesa_irs/bg.jpg) no-repeat center center;
  background-size: cover;
  height: 320px;
  position: relative;
  margin-bottom: 30px;
  color: white;
  text-align: center;
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}
.banner-text h1 {
  color: white;
  font-size: 44px;
  margin-bottom: 16px;
}
.banner-text p {
  color: #dce6f1;
  font-size: 20px;
  margin: 4px 0 0;
}
.intro-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.intro-actions a {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  outline: none;
}
.intro-actions a:focus,
.intro-actions a:active {
  outline: none;
}
.btn-banner {
  background-color: var(--c-cta);
  color: #fff !important;
  font-size: 25px;
}
.btn-banner:hover {
  background-color: var(--c-cta-hover);
}

.mesa-irs-section {
  padding: 16px 0;
}
.content-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}
.section-subtitle {
  color: #666;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

/* 核心产品与服务 */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.feature-card {
  flex: 1 1 calc(25% - 12px);
  max-width: calc(25% - 12px);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.feature-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 16px;
}
.feature-image {
  width: 64px;
  height: 64px;
  background: #fff center center / cover no-repeat;
  border-radius: 6px;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--c-title);
  margin: 0 0 12px;
}
.feature-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.feature-card ul li {
  margin-bottom: 6px;
  color: #666;
  font-size: 16px;
  line-height: 1.4;
}
.feature-btn {
  display: inline-block;
  padding: 5px 16px;
  font-size: 13px;
  background-color: var(--c-primary);
  color: #fff;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.feature-btn:hover {
  background-color: var(--c-primary-hover);
}

/* 能为您做什么 */
.dual-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.mode-card {
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 8px);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 24px 24px 24px 12px;
}
.mode-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--c-title);
  margin: 0 0 12px;
  padding-left: 12px;
}
.mode-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 24px;
  padding-left: 12px;
}
.mode-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}
.mode-items li {
  flex: 1;
}
.mode-items .item-name {
  display: block;
  color: #333;
  font-size: 14px;
  text-align: center;
}
.mode-items .item-desc {
  display: block;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* 热门研究方向 / 热门 Panel */
.panel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.panel-card {
  flex: 1 1 calc(20% - 13px);
  max-width: calc(20% - 13px);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.panel-image {
  height: 120px;
  margin: 10px 10px 0;
  border-radius: 6px;
  background: #f2f2f2 center center / cover no-repeat;
  flex-shrink: 0;
}
.panel-card h4 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 12px 10px 6px;
}
.panel-markers-card {
  margin: 0 10px 14px;
  padding: 8px 10px;
  background: #000000;
  border-radius: 6px;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}
.panel-markers-card h4 {
  font-size: 11px;
  font-weight: bold;
  color: #589cd8;
  margin: 0 0 6px;
  white-space: nowrap;
}
.panel-markers-card p {
  font-size: 9px;
  line-height: 1.5;
  margin: 0;
}
.panel-markers {
  font-size: 9px;
  color: #666;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
.plex-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.plex-cards { display: flex; gap: 12px; margin-top: 16px; }
.plex-item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  background: #fff;
  color: var(--c-primary);
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.plex-item.active {
  background: var(--c-primary);
  color: #fff;
}
.plex-card { flex: 0 0 calc(50% - 6px); min-width: 0; height: 200px; overflow: hidden; background: #fff; border-radius: 8px; padding: 12px; text-align: center; }
.plex-card-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.plex-card--full { flex: 0 0 100%; }
.plex-card--full .plex-card-img { object-fit: contain; }

/* mesa-irs 染色服务 CTA */
.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #dfe9f4;
  padding: 40px 24px;
}
.cta-left {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
}
.cta-right {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.cta-left .content-title {
  text-align: left;
}
.cta-desc {
  color: #333;
  font-size: 20px;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 0 18px;
}
.cta-link {
  display: inline-block;
  padding: 12px 32px;
  font-size: 20px;
  border-radius: 30px;
  background-color: var(--c-cta);
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-link:hover {
  background-color: var(--c-cta-hover);
}

/* 技术与平台优势 */
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.platform-card {
  flex: 1 1 calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.platform-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--c-title);
  margin: 0 0 12px;
  text-align: center;
}
.platform-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.platform-card ul li {
  margin-bottom: 8px;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .feature-card {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  .panel-card {
    flex: 1 1 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
  }
  .platform-card {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  .banner-text h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .feature-card,
  .mode-card,
  .panel-card,
  .platform-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .banner {
    height: 260px;
  }
  .banner-text h1 {
    font-size: 30px;
  }
  .banner-text p {
    font-size: 16px;
  }
  .cta-left,
  .cta-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .service-cta {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 220px;
  }
  .banner-text h1 {
    font-size: 24px;
  }
  .banner-text p {
    font-size: 14px;
  }
}
