@import url('inner-header.css');

/* 全局变量 */
:root {
  --brand: #f58200;
  --ink: #252627;
  --muted: #707578;
  --line: #e8e9ea;
  --soft: #f6f7f8;
  --container: min(1120px, calc(100% - 48px));
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 基础重置 */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Montserrat-Bold';
  src: url('../font/Montserrat-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat-Regular';
  src: url('../font/Montserrat-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}

/* 通用布局类 */
.container {
  width: var(--container);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: #fff;
  z-index: 50;
}
.skip-link:focus {
  top: 16px;
}

/* 页面横幅、子导航 */
.page-banner {
  height: 380px;
  background: #f6f6f6;
  display: grid;
  place-items: center;
  color: #333;
  font-size: 18px;
}
.page-banner.is-photo {
  background-position: center;
  background-size: cover;
}
.subnav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 26px 0 14px;
  flex-wrap: wrap;
}
.subnav a {
  font-size: 16px;
  padding: 9px 25px;
  border-left: 1px solid #d8d8d8;
  transition: background .2s, color .2s;
}
.subnav a:last-child {
  border-right: 1px solid #d8d8d8;
}
.subnav a:hover,
.subnav a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
}

/* 标题与正文内容 */
.page-heading {
  text-align: center;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 500;
  margin: 24px 0 48px;
}
.page-heading::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--brand);
  margin: 13px auto 0;
}
.content-section {
  padding: 0 0 86px;
}
.content-section h2 {
  font-size: 29px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 20px;
  margin-bottom: 30px;
}
.content-section h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.body-copy {
  color: #5e6264;
  font-size: 16px;
  line-height: 2.15;
}
.body-copy + p {
  margin-top: 10px;
}

/* 媒体占位图 */
.wide-media {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin: 30px 0 42px;
}
.wide-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.image-placeholder {
  min-height: 260px;
  background: #f2f3f4;
  border: 1px solid #ffffff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #a6aaac;
  font-size: 15px;
}
.image-placeholder img{
  border-radius: 8px;
}

.wide-media .image-placeholder {
  min-height: 420px;
}

/* 强调标题 */
.accent-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f5f5;
  padding: 10px 18px;
  margin: 30px 0 18px;
  font-size: 19px;
  font-weight: 600;
}
.accent-heading::before {
  content: "";
  width: 5px;
  height: 34px;
  background: var(--brand);
  display: block;
}

/* 信息卡片、图库 */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 42px;
}
.info-card {
  background: #f6f6f6;
  border-radius: 9px;
  padding: 20px 22px;
  min-height: 120px;
}
.info-card h3 {
  font-size: 14px;
  font-weight: 400;
  color: #888;
  margin: 0 0 12px;
  border-left: 3px solid var(--brand);
  padding-left: 10px;
}
.info-card p {
  font-size: 14px;
  line-height: 1.9;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 44px;
}
.gallery img,
.gallery .image-placeholder {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 8px;
}
.gallery .image-placeholder {
  min-height: 175px;
}

/* 通用辅助类、联系按钮 */
.center {
  text-align: center;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  padding: 11px 24px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  transition: transform .2s, background .2s;
}
.contact-button:hover {
  background: #df7000;
  transform: translateY(-2px);
}

/* 左右分栏内容 */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 46px;
  align-items: center;
  margin: 0 0 48px;
}
.split-content.reverse {
  grid-template-columns: 1.4fr 1fr;
}
.split-content img,
.split-content .image-placeholder {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
}

/* 特性网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 58px;
}
.feature-card {
  background: #f6f6f6;
  border-radius: 8px;
  text-align: center;
  padding: 24px 12px;
  min-height: 145px;
}
.feature-card .feature-icon {
  height: 42px;
  color: var(--brand);
  font-size: 30px;
  margin-bottom: 12px;
}
.feature-card strong {
  font-family: Montserrat-Bold, Arial, sans-serif;
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #cccccc;
  margin: 20px 0 -8px 0px;
}
.feature-card span {
  font-size: 18px;
  color: #252525;
}

/* 产品页布局（侧边菜单+详情） */
.product-layout {
  display: grid;
  grid-template-columns: 212px 1fr;
  gap: 52px;
}
.side-menu {
  align-self: start;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}
.side-menu h2 {
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  padding: 13px 20px;
  font-weight: 500;
  margin: 0;
}
.side-menu a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px dotted #ccc;
  font-size: 15px;
}
.side-menu a:hover,
.side-menu a[aria-current="page"] {
  color: var(--brand);
  background: #fff;
}
.product-detail h2 {
  font-size: 31px;
  font-weight: 500;
  margin: 0 0 12px;
}
.product-detail .wide-media {
  margin-top: 34px;
}
.product-detail .body-copy {
  margin-bottom: 22px;
}
.production-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.production-grid img{
  border-radius: 8px;
}
.production-grid .image-placeholder {
  height: 180px;
  min-height: 180px;
}

/* 公司介绍、荣誉、时间线 */
.company-text h2 {
  font-size: 36px;
  margin: 26px 0 8px;
}
.company-hero {
  height: 260px;
  margin: 36px 0 56px;
}
.honor-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}
.honor-item {
  text-align: center;
}
.honor-item .image-placeholder {
  height: 220px;
  min-height: 220px;
  margin-bottom: 10px;
}
.honor-item figcaption {
  font-size: 15px;
}
.history-intro {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 32px;
}
.timeline {
  position: relative;
  background: #f7f7f7;
  padding: 48px 28px;
  margin-top: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 28%;
  top: 35px;
  bottom: 35px;
  width: 1px;
  background: #dcdcdc;
}
.timeline-item {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 36px;
  position: relative;
  padding: 21px 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(28% - 4px);
  top: 31px;
  width: 8px;
  height: 8px;
  background: #c8c8c8;
  border-radius: 50%;
}
.timeline-item.is-active::before {
  background: var(--brand);
}
.timeline-year {
  text-align: right;
  font: 700 39px/1 Arial, sans-serif;
  color: #c7c9ca;
}
.timeline-item.is-active .timeline-year {
  color: var(--brand);
}
.timeline-text {
  font-size: 15px;
  color: #777;
  padding-top: 5px;
}

/* 折叠列表 */
.company-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.company-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 18px;
  align-items: center;
  background: #f5f6f7;
  border-left: 2px solid var(--brand);
  border-radius: 6px;
  padding: 15px 18px;
  font-size: 14px;
  color: #666;
}
.company-row summary {
  list-style: none;
  cursor: pointer;
}
.company-row summary::-webkit-details-marker {
  display: none;
}
.company-row .plus {
  font-size: 24px;
  color: var(--brand);
  line-height: 1;
}
.company-row[open] {
  background: #fff8ef;
}
.company-row .company-extra {
  grid-column: 1/-1;
  padding-top: 10px;
  color: #777;
  border-top: 1px solid #eee;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 28px 0;
}
.pagination a {
  padding: 5px 12px;
  border-radius: 5px;
  background: #f1f2f3;
  font-size: 14px;
}
.pagination a:hover,
.pagination a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

/* 投资者、股票面板、报告 */
.investor-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin: 0 0 80px;
}
.stock-panel {
  min-height: 300px;
  border-radius: 9px;
  padding: 26px 40px;
  color: #fff;
  background: linear-gradient(135deg, #5689d8, #8bb3ea);
  position: relative;
  overflow: hidden;
}
.stock-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, #fff2, transparent 35%);
  pointer-events: none;
}
.stock-label {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.stock-number {
  font: 700 56px/1 Montserrat-Bold,Arial, sans-serif;
  margin: 18px 0;
  position: relative;
  z-index: 1;
}
.stock-number small {
  font: 600 15px Montserrat-Bold, Arial, sans-serif;
  margin-left: 6px;
}
.stock-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.stock-metrics dt {
  font-size: 16px;
  opacity: .9;
  margin-top: 12px;
}
.stock-metrics dd {
  font: 600 15px Montserrat-Regular, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-top: 4px;
}
.stock-note {
  position: absolute;
  left: 40px;
  bottom: 24px;
  font-size: 14px;
  opacity: .85;
}
.investor-contact {
  background: #fbf5e8;
  border-radius: 9px;
  padding: 26px 30px;
}
.investor-contact h2 {
  color: var(--brand);
  font-size: 20px;
  margin: 0 0 24px;
}
.investor-contact p {
  font-size: 16px;
  color: #666;
  margin: 12px 0;
}
.report-tabs {
  display: flex;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 25px;
  max-width: 520px;
  margin: 0 auto 26px;
  padding: 3px;
}
.report-tabs a {
  flex: 1;
  text-align: center;
  padding: 8px 14px;
  font-size: 16px;
  border-radius: 20px;
}
.report-tabs a:hover,
.report-tabs a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}
.report-list {
  background: #f7f7f7;
  border-radius: 9px;
  padding: 5px 22px;
}
.report-row {
  display: grid;
  grid-template-columns: 130px 1fr 40px;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}
.report-row:last-child {
  border-bottom: 0;
}
.report-row time {
  font-family: Arial, sans-serif;
  font-weight: 600;
}
.report-row .pdf {
  font-size: 12px;
  color: #888;
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 2px 4px;
  text-align: center;
}

/* 页脚 */










/* ========== 媒体查询 ========== */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 180px 1fr;
    gap: 28px;
  }
  .split-content,
  .split-content.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .investor-top {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 32px);
  }
  .page-banner {
    height: 165px;
    font-size: 16px;
  }
  .subnav {
    padding: 15px 0 5px;
  }
  .subnav a {
    padding: 8px 11px;
    font-size: 12px;
  }
  .page-heading {
    font-size: 28px;
    margin: 13px 0 30px;
  }
  .content-section {
    padding-bottom: 55px;
  }
  .content-section h2 {
    font-size: 24px;
  }
  .body-copy {
    font-size: 14px;
    line-height: 2;
  }
  .wide-media {
    margin: 20px 0 28px;
  }
  .wide-media img,
  .wide-media .image-placeholder {
    height: 235px;
    min-height: 235px;
  }
  .info-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery img,
  .gallery .image-placeholder {
    height: 130px;
    min-height: 130px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature-card {
    min-height: 125px;
    padding: 16px 8px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .side-menu {
    order: 2;
  }
  .product-detail {
    order: 1;
  }
  .product-detail h2 {
    font-size: 27px;
  }
  .production-grid {
    grid-template-columns: 1fr;
  }
  .company-hero {
    height: 190px;
    margin: 25px 0 38px;
  }
  .timeline {
    padding: 26px 14px;
  }
  .timeline::before {
    left: 24%;
  }
  .timeline-item {
    grid-template-columns: 22% 1fr;
    gap: 22px;
    padding: 14px 0;
  }
  .timeline-item::before {
    left: calc(24% - 4px);
    top: 24px;
  }
  .timeline-year {
    font-size: 25px;
  }
  .timeline-text {
    font-size: 13px;
  }
  .honor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
  }
  .honor-item .image-placeholder {
    height: 140px;
    min-height: 140px;
  }
  .honor-item figcaption {
    font-size: 13px;
  }
  .company-row {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    font-size: 13px;
  }
  .company-row .contact {
    grid-column: 1/-1;
    order: 3;
  }
  .stock-panel {
    min-height: 280px;
    padding: 22px;
  }
  .stock-number {
    font-size: 46px;
  }
  .stock-metrics {
    gap: 8px;
  }
  .stock-metrics dd {
    font-size: 16px;
  }
  .stock-note {
    left: 22px;
    bottom: 18px;
  }
  .investor-contact {
    padding: 22px;
  }
  .report-tabs {
    max-width: none;
  }
  .report-tabs a {
    font-size: 12px;
    padding: 7px 5px;
  }
  .report-row {
    grid-template-columns: 88px 1fr 32px;
    gap: 8px;
    font-size: 13px;
    padding: 14px 0;
  }



}

@media (max-width: 680px) {
  .subnav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
  }
  .subnav::-webkit-scrollbar {
    display: none;
  }
  .subnav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  .stock-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }
  .stock-metrics dd {
    white-space: nowrap;
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .stock-note {
    right: 18px;
    white-space: normal;
    line-height: 1.5;
  }
}


/* 内页 Banner 标题：与“联系我们”保持相同字体、字重和响应式字号。 */
.page-banner {
  position: relative;
  isolation: isolate;
}

/* 保证白色标题在浅色占位图或替换后的照片上依然清晰。 */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  pointer-events: none;
}

.page-banner > h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 20px;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 760px) {
  .page-banner > h1 {
    font-size: 32px;
  }
}
