/* ========== 关于我们页面样式 ========== */

/* ========== 内页 Banner ========== */
.ny-banner {
  position: relative;
  width: 100%;
  height: 380px;
  background: url('../images/banner_about.jpg') no-repeat center center;
  background-size: cover;
}
.ny-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.ny-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  text-align: center;
  color: #fff;
}
.ny-banner-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
}
.ny-banner-text p {
  font-size: 16px;
  opacity: .85;
  letter-spacing: 2px;
}

/* ========== 内容区域 ========== */
.about-main {
  padding: 60px 0 80px;
  background: #f7f8fa;
}
.about-layout {
  display: flex;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== 左侧菜单 ========== */
.about-sidebar {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  align-self: flex-start;
  position: sticky;
  top: 120px;
}
.sidebar-title {
  background: #003B90;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 24px 20px;
  letter-spacing: 3px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 15px 28px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: all .3s ease;
  position: relative;
  cursor: pointer;
}
.sidebar-nav a::before {
  content: '';
  width: 4px;
  height: 0;
  background: #003B90;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: height .3s ease;
}
.sidebar-nav a:hover {
  color: #003B90;
  background: #f5f7fb;
}
.sidebar-nav a.active {
  color: #fff;
  background: #003B90;
  font-weight: 600;
}
.sidebar-nav a.active::before {
  height: 100%;
}

/* ========== 右侧内容 ========== */
.about-content {
  flex: 1;
  min-width: 0;
}
.content-panel {
  display: none;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  animation: fadeIn .4s ease;
}
.content-panel.show {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-panel h3 {
  font-size: 26px;
  color: #003B90;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #003B90;
}
.content-panel .intro-text {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 24px;
  text-indent: 2em;
}
.content-panel .intro-text.no-indent {
  text-indent: 0;
}

/* 公司介绍 - 图文混排 */
.about-intro-img {
  float: right;
  width: 380px;
  max-width: 45%;
  margin: 0 0 20px 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.about-intro-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 数据卡片 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 30px;
  clear: both;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: #f7f8fa;
  border-radius: 8px;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.stat-card:hover {
  background: #fff;
  border-color: #003B90;
  box-shadow: 0 4px 16px rgba(0,59,144,.1);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #003B90;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-number span {
  font-size: 20px;
}
.stat-label {
  font-size: 14px;
  color: #888;
}

/* 领导致辞 */
.speech-block {
  background: #f7f8fa;
  border-left: 4px solid #003B90;
  padding: 28px 32px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}
.speech-block p {
  font-size: 15px;
  color: #444;
  line-height: 2;
  text-indent: 2em;
}
.speech-sign {
  text-align: right;
  margin-top: 16px;
  font-size: 15px;
  color: #666;
}

/* 文化理念 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  margin-top: 24px;
}
.culture-item {
  text-align: center;
  padding: 32px 20px;
  background: #f7f8fa;
  border-radius: 8px;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.culture-item:hover {
  background: #fff;
  border-color: #003B90;
  box-shadow: 0 4px 16px rgba(0,59,144,.1);
  transform: translateY(-2px);
}
.culture-icon {
  font-size: 42px;
  margin-bottom: 14px;
  color: #003B90;
}
.culture-item h4 {
  font-size: 18px;
  color: #003B90;
  margin-bottom: 8px;
}
.culture-item p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}

/* 分公司 */
.branch-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-top: 24px;
}
.branch-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #f7f8fa;
  border-radius: 8px;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.branch-card:hover {
  background: #fff;
  border-color: #e0e4ec;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.branch-card h4 {
  font-size: 18px;
  color: #003B90;
  margin-bottom: 10px;
}
.branch-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}

/* 面包屑 */
.breadcrumb-bar {
  padding: 10px 0;
  font-size: 13px;
  color: #999;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 15px;
}
.breadcrumb-bar a {
  color: #999;
  transition: color .2s;
}
.breadcrumb-bar a:hover {
  color: #003B90;
}
.breadcrumb-bar span {
  margin: 0 6px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .ny-banner {
    height: 260px;
  }
  .ny-banner-text h2 {
    font-size: 28px;
  }
  .about-layout {
    flex-direction: column;
    gap: 20px;
  }
  .about-sidebar {
    flex: 0 0 auto;
    position: static;
  }
  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
  }
  .sidebar-nav a {
    flex: 1;
    min-width: 100px;
    justify-content: center;
    padding: 14px 16px;
    font-size: 14px;
    text-align: center;
  }
  .sidebar-nav a::before {
    display: none;
  }
  .content-panel {
    padding: 24px 20px;
  }
  .about-intro-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
  }
  .about-stats {
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }
  .culture-grid,
  .branch-list {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .ny-banner {
    height: 200px;
  }
  .ny-banner-text h2 {
    font-size: 24px;
  }
  .sidebar-nav a {
    min-width: 50%;
    flex: 1 1 50%;
  }
  .about-stats {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 20px 10px;
  }
}

.content-panel p{
  line-height: 2;
  font-size: 15px;
}
