/* 可持续发展页面增量样式 */
:root {
  --s-text: #2c3e50;
  --s-muted: #6b7c93;
  --s-border: #f2f3f4;
  --s-bg: #fafafa;
  --s-accent: #ff9f1a;
  /* 设计稿中箭头/高亮为暖黄色 */
  --s-blue: #092646;
  /* 标题深蓝 */
}

/* 通用区块与标题 */
.sustainability-section {
  padding: max(60px, 10%) 0;
  background-color: #fff;
}

@media (max-width: 768px) {
  .sustainability-section {
    padding: 40px 0;
  }
}

.sustainability-section.smart {
  background-color: #fafafa;
}

/* Banner 仅做轻量微调，复用现有 .banner 样式 */
.banner--sustainability .box h3 {
  font-size: 40px;
  letter-spacing: 2px;
}

.banner--sustainability .box p {
  margin-top: 10px;
  font-size: 16px;
  color: #fff;
  opacity: 0.9;
}

/* 面包屑容器（复用组件结构），仅控制间距 */
.crumbs.color {
  padding: 20px 0;
}

.crumbs .breadcrumbs {
  margin: 0;
}

/* 碳中和目标 */
.targets__wrap {
  margin-top: 50px;
  display: flex;
  /* grid -> flex */
  flex-direction: row;
  gap: 20px;
  overflow: hidden;
}

.targets__icon {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--s-border);
  flex: 0 0 280px;
  /* 固定左侧宽度，对应 grid-template-columns: 280px 1fr */
  clip-path: polygon(0 0,
      calc(100% - 20px) 0,
      100% 50%,
      calc(100% - 20px) 100%,
      0 100%);
}

.targets__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.targets__icon-text p {
  margin: 0;
  color: var(--s-muted);
  font-size: 14px;
}

.targets__icon-text h6 {
  margin: 4px 0 0;
  font-size: 18px;
  color: var(--s-blue);
  font-weight: 600;
  text-align: center;
}

.targets__list {
  display: flex;
  /* grid -> flex */
  flex: 1 1 auto;
  /* 对应右侧自适应列 */
  flex-direction: column;
  gap: 0;
  /* 原为0 */
  padding-left: max(30px, 10%);
  background-color: var(--s-border);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
}

.targets__item {
  display: flex;
  /* 内部三列 grid -> flex */
  align-items: center;
  padding: 22px 24px;
  position: relative;

  /* 原列表为三列网格，这里用每项占1/3宽度实现 */
  flex: 1 1 33.3333%;
  min-width: 280px;
  /* 可按需调整，以避免过窄 */
  box-sizing: border-box;
}

.targets__period {
  flex: 0 0 140px;
  /* 对应 140px 固定列 */
  font-weight: bold;
  color: var(--s-blue);
}

/* 箭头分隔（暖黄色） */
.targets__arrow {
  /* 原来通过 grid 的 justify-self，这里用占位 + 居中 */
  flex: 0 0 24px;
  /* 对应 24px 中间列 */
  align-self: center;

  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--s-accent);
  margin: 0 6px;
}

.targets__goal {
  color: var(--s-text);
  font-size: 15px;
  flex: 1 1 auto;
  /* 剩余空间 */
}

/* 绿色智造图文 */
.smart__grid {
  display: flex;
  /* grid -> flex */
  gap: 10%;
}

.smart__title {
  font-size: 26px;
  color: var(--s-blue);
  margin-bottom: 12px;
}

.smart__content p {
  color: var(--s-text);
  line-height: 1.9;
  margin: 0 0 12px;
}

.smart__media {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  /* grid rows -> 竖向 flex 列表 */
  flex-direction: column;
  gap: 14px;
}

.smart__pic img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* 能源管理宫格 */
.energy__grid {
  margin-top: 50px;
  display: flex;
  /* grid -> flex */
  flex-wrap: wrap;
  gap: 18px;
}

.energy__card {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  background-color: var(--s-bg);
  /* 对应三列：3 列布局时每卡片宽度 */
  flex: 1 1 calc((100% - 2 * 18px) / 3);
  box-sizing: border-box;
}

.energy__thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.energy__title {
  font-size: 18px;
  color: var(--s-blue);
  margin: 14px 16px 6px;
  font-weight: bold;
}

.energy__desc {
  margin: 0 16px 16px;
  color: var(--s-muted);
  line-height: 1.8;
  font-size: 14px;
}

.energy__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 74, 117, 0.12);
}

.smart__pic {
  position: relative;
}

.smart__pic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.smart__pic span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 24px;
  color: #fff;
  z-index: 2;
}

/* 以人为本（背景图 + 指标栅格） */
.people {
  background: url("../images/img1009_26.jpg") center/cover no-repeat;
  padding: max(50px, 10%) 0;
  position: relative;
}

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

.people .sec-intro {
  max-width: 100%;
}

.people h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 14px;
  text-align: left;
}

.people .desc {
  line-height: 1.9;
  max-width: 960px;
  text-align: left;
  color: var(--s-blue);
}

.metrics {
  margin-top: max(30px, 8%);
  display: flex;
  flex-wrap: wrap;
  gap: 22px 5%;
}

.metric {
  flex: 1 1 calc((100% - 2 * 5%) / 3);
  /* 三列响应式 */
  min-width: 220px;
}

.metric .num {
  color: var(--s-accent);
  font-size: 28px;
  letter-spacing: 0.5px;
  font-weight: bold;
}

.metric .num span {
  font-size: 0.6em;
}

.metric .label {
  margin-top: 6px;
  line-height: 1.6;
  color: var(--s-blue);
  font-size: 18px;
}

/* 可持续供应链 */
.supply {
  background: #fff;
  padding: 70px 0 max(70px, 10%);
}

.supply .feat {
  display: flex;
  margin-top: max(30px, 5%);
}

.supply .feat__item {
  padding: 0 50px;
  flex: 1;
}

.supply .feat__item+.feat__item {
  border-left: 2px solid #ff9f1a;
}

.supply .feat__item .num {
  font-size: 68px;
  color: #ff9f1a;
}

.supply .feat__item .num span {
  font-size: 24px;
}

.sec-intro {
  max-width: 70%;
  margin: 30px auto 0;
  text-align: center;
  line-height: 1.8;
  color: #4c4c4c;
}

section.society-sec {
  padding: max(50px, 10%) 0;
}

.welfare {
  background-color: var(--s-bg);
}

.welfare .energy__thumb img {
  height: auto;
  aspect-ratio: 613 / 263;
}

.welfare .energy__card {
  background-color: #fff;
}

.welfare .energy__desc {
  margin: 30px;
  color: var(--s-blue);
  font-size: 18px;
}

.sec-area {
  margin-top: max(30px, 5%);
  color: #4c4c4c;
  line-height: 1.8;
}

.sec-area .smart__pic {
  width: 40%;
  flex-shrink: 0;
}

.compliance {
  background-color: var(--s-bg);
}

.sec-wrap {
  margin-top: max(30px, 5%);
  display: flex;
  justify-content: center;
  gap: 10px;
}

.sec-wrap .item {
  flex: 1;
  background-color: #fff;
  border-left: 1px solid #ff9f1a;
  padding: 30px 50px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.sec-wrap .item .title {
  color: #4c4c4c;
}

.sec-wrap .item .intro {
  color: var(--s-blue);
  font-size: 26px;
  margin-top: 10px;
}

section.targets,
section.society-sec,
section.framework {
  padding-top: 50px;
}

.framework .sec-area .smart__pic {
  width: 60%;
}

.sec-tips {
  text-align: right;
  margin-top: 20px;
  color: var(--s-blue);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .targets__icon {
    flex-basis: 240px;
  }

  .smart__grid {
    gap: 28px;
  }
}

@media (max-width: 992px) {
  .framework .sec-area .smart__pic {
    width: 100%;
  }

  .sec-wrap {
    flex-direction: column;
    padding: 0;
  }

  .sec-wrap .item {
    padding: 20px;
  }

  .targets__list {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .targets__item {
    flex: 1 1 100%;
    border-top: 1px solid var(--s-border);
  }

  .targets__period {
    flex-basis: 120px;
  }

  .smart__grid {
    flex-direction: column;
  }

  .smart__media .smart__pic {
    flex: 1 1 calc((100% - 14px) / 2);
  }

  .energy__card {
    flex: 1 1 calc((100% - 18px) / 2);
  }

  .smart__media {
    width: 100%;
  }

  .smart__pic span {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .metric {
    flex: 1 1 100%;
  }

  .targets__wrap {
    flex-direction: column;
  }

  .targets__icon {
    border-right: none;
    border-bottom: 1px solid var(--s-border);
    flex-basis: auto;
  }

  .smart__media {
    flex-direction: column;
  }

  .smart__media .smart__pic {
    flex: 1 1 100%;
  }

  .energy__card {
    flex: 1 1 100%;
  }

  .banner--sustainability .box h3 {
    font-size: 30px;
  }

  .sec-intro {
    max-width: 100%;
  }

  .supply .feat {
    flex-direction: column;
  }

  .supply .feat__item {
    padding: 30px 0;
  }

  .supply .feat__item+.feat__item {
    border-left: 0;
    border-top: 2px solid #ff9f1a;
  }
}