/* 内页通用：Banner、关于、产品列表、案例 */

.page-banner {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a4a8a 0%, #1a7cc8 50%, #3aa0e0 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 50, 100, 0.45);
}

.page-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.page-banner h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.page-banner p {
  font-size: 16px;
  opacity: 0.9;
}

.page-banner .banner-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 13px;
}

/* Banner 标题轻微入场，与全站 reveal 配合 */
.page-banner .container.reveal.is-revealed h1 {
  animation: bannerTitleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bannerTitleIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.crumb {
  font-size: 13px;
  color: var(--color-muted);
}

.crumb a:hover {
  color: var(--color-primary);
}

/* ========== 关于奥科：按效果稿重排 ========== */

/* Banner：全宽大楼实景，口号左上对齐 */
.about-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 100px;
  background-size: cover;
  /* 背景图锚定顶部：大楼下移，露出上方蓝天，口号压在天空区域 */
  background-position: center top;
  overflow: hidden;
}

.about-hero::before {
  display: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero-text h1 {
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* 「有需求」黑字，「找砼友」品牌橙 */
.about-hero-dark {
  color: #1a1a1a;
}

.about-hero-em {
  color: var(--color-primary);
}

.about-hero-sub {
  display: inline-block;
  padding: 4px 10px;
  background: #1a7cf5;
  color: #fff;
  font-size: clamp(14px, 1.6vw, 28px);
  letter-spacing: 1px;
  border-radius: 2px;
  font-weight: 700;
}

/* 面包屑条 */
.about-crumb-bar {
  background: #f0f2f5;
  border-bottom: 1px solid #e5e8ed;
}

.about-crumb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 16px;
}

.about-crumb-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.about-crumb-label img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* 主体双栏：左侧目录 + 右侧内容 */
.about-main {
  padding: 40px 0 80px;
  background: #fff;
}

.about-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-side {
  flex: 0 0 140px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.about-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid #e8ebf0;
}

.about-side-nav a {
  position: relative;
  padding: 12px 0 12px 18px;
  font-size: 15px;
  color: var(--color-muted);
  transition: color 0.25s;
}

/* 当前章节：橙色字 + 左侧粗竖线，对应效果稿激活态 */
.about-side-nav a.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.about-side-nav a.is-active::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--color-primary);
}

.about-side-nav a:hover {
  color: var(--color-primary);
}

.about-content {
  flex: 1;
  min-width: 0;
}

.about-block {
  margin-bottom: 72px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.about-block:last-child {
  margin-bottom: 0;
}

/* 公司名用品牌橙，强调主体身份 */
.about-company-name {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.about-intro {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.about-intro-text {
  flex: 1;
  min-width: 0;
}

.about-intro-text p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.95;
  margin-bottom: 16px;
  text-align: justify; color: #000;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

/* 办公室拼贴图：切图已含 1 大 2 小，整图展示 */
.about-gallery {
  flex: 0 0 420px;
  max-width: 42%;
}

.about-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* 三大业务：无卡片底，图文交错 */
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.biz-item {
  display: flex;
  gap: 40px;
  align-items: center;
}

.biz-item.reverse {
  flex-direction: row-reverse;
}

.biz-item-img {
  flex: 0 0 46%;
  overflow: hidden;
}

.biz-item-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.biz-item:hover .biz-item-img img {
  transform: scale(1.03);
}

.biz-item-body {
  flex: 1;
  min-width: 0;
}

.biz-item-body h3 {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 600;
}

.biz-item-body p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.9;
  text-align: justify; color: #000;
}

/* 三大板块末尾总结语，与正文风格统一、略拉开间距 */
.biz-closing {
  margin-top: 36px;
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.95;
  text-align: justify; color: #000;
}

/* 企业文化：2×2，橙圆标 + 下划线标题 */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  max-width: 860px;
  margin: 0 auto;
}

.culture-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.culture-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.culture-text {
  flex: 1;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(253, 86, 28, 0.45);
}

.culture-text h4 {
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.culture-text p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6; color: #000;
}

/* 荣誉资质：5 列证书网格 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 20px;
}

.honor-card {
  text-align: center;
  transition: transform 0.35s ease;
}

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

.honor-card img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.honor-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.4; color: #000;
}

/* 产品列表页 */
.products-page-section {
  padding: 50px 0 70px;
  background: var(--color-bg);
}

.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 产品页卡片对齐首页轮播卡：白底描边、上图下文、居中标题 */
.products-page-grid .product-card {
  border-radius: 6px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.products-page-grid .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 60, 120, 0.12);
}

.products-page-grid .product-card-img {
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: transparent;
}

.products-page-grid .product-card-img img {
  object-fit: cover;
  object-position: center center;
}

.products-page-grid .product-card-body {
  text-align: center;
  padding: 18px 16px 22px;
}

/* 成功案例 */
.cases-section {
  padding: 50px 0 40px;
  background: #fff;
}

.case-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 60px;
}

.case-card {
  display: flex;
  gap: 32px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 60, 120, 0.12);
}

.case-card:nth-child(even) {
  flex-direction: row-reverse;
}

.case-card-img {
  flex: 0 0 40%;
  overflow: hidden;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-img img {
  transform: scale(1.05);
}

.case-card-body {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-card-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.case-card-body > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.case-card-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-card-body li {
  font-size: 13px;
  padding: 6px 12px;
  background: #eef5ff;
  color: var(--color-blue);
  border-radius: 4px;
}

.cases-partners {
  padding: 0 0 70px;
  background: #fff;
}

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

  .about-side {
    flex: 0 0 120px;
  }

  .about-intro {
    flex-direction: column;
  }

  .about-gallery {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .biz-item,
  .biz-item.reverse,
  .case-card,
  .case-card:nth-child(even) {
    flex-direction: column;
  }

  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honor-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .culture-grid {
    gap: 28px 32px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    min-height: 160px;
  }

  .about-hero {
    min-height: 220px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-crumb-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* 窄屏侧栏改为顶部横滑目录，避免挤占正文 */
  .about-layout {
    flex-direction: column;
    gap: 24px;
  }

  .about-side {
    flex: none;
    width: 100%;
    position: static;
  }

  .about-side-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    /* 四项一行排满即可，不需要横滑，避免出现滚动条 */
    overflow: hidden;
    border-left: none;
    border-bottom: 2px solid #e8ebf0;
    gap: 0;
    padding-bottom: 2px;
  }

  .about-side-nav a {
    /* 均分宽度，保证一行完整展示四个锚点 */
    flex: 1 1 0;
    padding: 10px 6px;
    white-space: nowrap;
    font-size: 13px;
    text-align: center;
  }

  .about-side-nav a.is-active::before {
    left: 6px;
    right: 6px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 3px;
  }

  .about-block {
    margin-bottom: 48px;
  }

  .culture-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .culture-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    font-size: 13px;
  }

  .honor-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }

  .products-page-grid {
    /* 与首页产品卡一致：小屏两列 */
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .products-page-grid .product-card-img {
    aspect-ratio: 4 / 3;
  }

  .products-page-grid .product-card-body {
    padding: 10px 8px 12px;
  }

  .products-page-grid .product-card-body h4 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .products-page-grid .product-card-body .more {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
