/* 公司简介与制造基地专属样式 — 作用域严格限定于 .gh-about */
.gh-about {
  --about-accent: #b5112a;
  --about-accent-hover: #8e0c20;
  --about-ink: #211a1e;
  --about-muted: #62575e;
  --about-line: #e7dfe2;
  --about-surface: #ffffff;
  --about-canvas: #f7f5f5;
  --about-soft-red: #fdf1f4;
  --about-soft-gray: #f8f5f6;
  --about-shadow: 0 10px 30px rgba(46, 24, 34, .07);

  color: var(--about-ink);
  background: var(--about-canvas);
  font-size: 1rem;
  line-height: 1.7;
  scrollbar-color: #c8bcc1 transparent;
}

.gh-about ::selection {
  color: #ffffff;
  background: var(--about-accent);
}

.gh-about :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--about-accent);
  outline-offset: 4px;
}

.gh-about__wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

/* ---------- 1. Hero 区域 ---------- */
.gh-about__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: #28181e;
}

.gh-about__hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gh-about__hero-img {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.gh-about__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #28181e 28%, rgba(40, 24, 30, .86) 52%, rgba(40, 24, 30, .38) 84%, rgba(40, 24, 30, .25) 100%),
    linear-gradient(180deg, rgba(40, 24, 30, .32) 0%, rgba(40, 24, 30, .58) 100%);
}

.gh-about__hero-inner {
  padding-block: 24px 78px;
}

.gh-about__hero a:focus-visible {
  outline-color: #ffffff;
}

.gh-about__crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #e7d8dd;
  font-size: .875rem;
}

.gh-about__crumb a {
  color: #f6e9ed;
  text-underline-offset: 3px;
}

.gh-about__crumb a:hover {
  text-decoration: underline;
}

.gh-about__intro {
  max-width: 68ch;
  margin-block-start: 28px;
}

.gh-about__intro h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.125rem, 4.4vw, 3.25rem);
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.gh-about__hero-lead {
  margin: 16px 0 0;
  color: #f2e6ea;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.72;
}

.gh-about__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 24px;
}

.gh-about__btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.gh-about__btn--primary {
  background: var(--about-accent);
  color: #ffffff;
}

.gh-about__btn--primary:hover {
  background: var(--about-accent-hover);
  color: #ffffff;
}

.gh-about__btn--light {
  border-color: #957d87;
  background: #3f2933;
  color: #ffffff;
}

.gh-about__btn--light:hover {
  border-color: #e6d4db;
  background: #523643;
  color: #ffffff;
}

.gh-about__subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-block-start: 22px;
  padding-block-start: 16px;
  border-block-start: 1px solid rgba(255, 255, 255, .14);
}

.gh-about__subnav-label {
  color: #dfd0d5;
  font-size: .875rem;
}

.gh-about__subnav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 2px;
  color: #ffffff;
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .36);
  text-underline-offset: 4px;
}

.gh-about__subnav a:hover {
  text-decoration-color: #ffffff;
}

/* ---------- 2. 主体叠层与通用区块节奏 ---------- */
.gh-about__body {
  position: relative;
  margin-block-start: -36px;
  padding-block-end: 64px;
}

.gh-about__section {
  margin-block-start: 56px;
}

.gh-about__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-block-end: 22px;
}

.gh-about__section-head h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 720;
  line-height: 1.28;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.gh-about__section-head p {
  margin: 0;
  max-width: 65ch;
  color: var(--about-muted);
  font-size: .9375rem;
}

/* ---------- 3. 叠层实力总览带 ---------- */
.gh-about__strip {
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: var(--about-surface);
  box-shadow: var(--about-shadow);
  overflow: hidden;
}

.gh-about__strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gh-about__metric {
  padding: 24px 24px 22px;
}

.gh-about__metric + .gh-about__metric {
  border-inline-start: 1px solid var(--about-line);
}

.gh-about__metric-val {
  display: block;
  color: var(--about-accent);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.gh-about__metric-label {
  display: block;
  margin-block-start: 7px;
  color: var(--about-ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.gh-about__metric-sub {
  display: block;
  margin-block-start: 3px;
  color: var(--about-muted);
  font-size: .8125rem;
  line-height: 1.5;
}

/* ---------- 4. 企业定位与国家级高新技术企业证书 ---------- */
.gh-about__profile {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gh-about__story {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: var(--about-surface);
}

.gh-about__story h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 720;
  line-height: 1.32;
}

.gh-about__story p {
  margin: 14px 0 0;
  color: var(--about-ink);
  font-size: .95rem;
  line-height: 1.75;
}

.gh-about__motto {
  margin: 20px 0 0;
  padding: 15px 18px;
  border: 1px solid #ecd5dc;
  border-radius: 10px;
  background: var(--about-soft-red);
  color: var(--about-ink);
  font-size: .9375rem;
}

.gh-about__motto strong {
  color: var(--about-accent-hover);
}

.gh-about__facts {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid var(--about-line);
  border-radius: 12px;
  background: var(--about-soft-gray);
}

.gh-about__fact-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px 12px;
  font-size: .875rem;
  line-height: 1.58;
}

.gh-about__fact-row dt {
  color: var(--about-muted);
  font-weight: 600;
}

.gh-about__fact-row dd {
  margin: 0;
  color: var(--about-ink);
  font-variant-numeric: tabular-nums;
}

.gh-about__hightech-card {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid #dfd3d7;
  border-radius: 12px;
  background: var(--about-surface);
}

.gh-about__hightech-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-block-end: 14px;
}

.gh-about__hightech-head h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: 1.1875rem;
  font-weight: 700;
}

.gh-about__hightech-code {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--about-soft-red);
  color: var(--about-accent-hover);
  font-size: .8125rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.gh-about__cert-preview {
  display: block;
  border: 1px solid var(--about-line);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.gh-about__cert-preview:hover {
  border-color: #d5aeb7;
  box-shadow: 0 8px 24px rgba(181, 17, 42, .10);
}

.gh-about__cert-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 911;
  object-fit: contain;
  display: block;
}

.gh-about__cert-meta {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-block-start: 14px;
  border-block-start: 1px solid var(--about-line);
}

.gh-about__cert-meta-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  font-size: .875rem;
  line-height: 1.55;
}

.gh-about__cert-meta-row dt {
  color: var(--about-muted);
  font-weight: 600;
}

.gh-about__cert-meta-row dd {
  margin: 0;
  color: var(--about-ink);
  font-variant-numeric: tabular-nums;
}

.gh-about__cert-tip {
  margin: 12px 0 0;
  color: var(--about-accent-hover);
  font-size: .8125rem;
  font-weight: 600;
}

/* ---------- 5. CRCC 与三体系认证表 + 标准与专利 ---------- */
.gh-about__table-panel {
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: var(--about-surface);
  overflow: hidden;
}

.gh-about__table-wrap {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(560px, 78vh);
  container-type: inline-size;
  scrollbar-width: thin;
}

.gh-about__table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  --col-1: "认证项目";
  --col-2: "证书编号";
  --col-3: "执行标准";
  --col-4: "有效期";
}

.gh-about__table th,
.gh-about__table td {
  padding: 13px 18px;
  border-block-end: 1px solid var(--about-line);
  text-align: left;
  vertical-align: top;
  font-size: .9375rem;
  line-height: 1.58;
}

.gh-about__table thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #f3eeef;
  color: var(--about-ink);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}

.gh-about__table tbody th[scope="row"] {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--about-surface);
  color: var(--about-ink);
  font-weight: 650;
}

.gh-about__table tbody td:nth-child(2),
.gh-about__table tbody td:nth-child(4) {
  font-variant-numeric: tabular-nums;
}

.gh-about__table tbody tr:last-child :is(th, td) {
  border-block-end: 0;
}

.gh-about__table tbody tr:hover :is(th, td) {
  background: #fdf9fa;
}

@container (width < 640px) {
  .gh-about__table-wrap {
    max-block-size: none;
    overflow: visible;
    padding: 14px;
    background: var(--about-soft-gray);
  }

  .gh-about__table,
  .gh-about__table thead,
  .gh-about__table tbody,
  .gh-about__table tr,
  .gh-about__table th,
  .gh-about__table td {
    display: block;
    width: 100%;
  }

  .gh-about__table thead {
    display: none;
  }

  .gh-about__table tbody tr {
    margin-block-end: 12px;
    border: 1px solid var(--about-line);
    border-radius: 12px;
    background: var(--about-surface);
    overflow: hidden;
  }

  .gh-about__table tbody tr:last-child {
    margin-block-end: 0;
  }

  .gh-about__table tbody th[scope="row"] {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    padding: 12px 16px;
    border-block-end: 1px solid var(--about-line);
    background: #f5eff1;
  }

  .gh-about__table tbody td {
    padding: 9px 16px;
    border-block-end: 1px solid #f2ecef;
  }

  .gh-about__table tbody td:last-child {
    border-block-end: 0;
  }

  .gh-about__table tbody td:nth-child(2)::before {
    content: var(--col-2) "：";
    color: var(--about-muted);
    font-weight: 600;
    margin-inline-end: 6px;
  }

  .gh-about__table tbody td:nth-child(3)::before {
    content: var(--col-3) "：";
    color: var(--about-muted);
    font-weight: 600;
    margin-inline-end: 6px;
  }

  .gh-about__table tbody td:nth-child(4)::before {
    content: var(--col-4) "：";
    color: var(--about-muted);
    font-weight: 600;
    margin-inline-end: 6px;
  }
}

.gh-about__pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block-start: 18px;
}

.gh-about__pillar {
  padding: 22px 24px;
  border: 1px solid var(--about-line);
  border-radius: 14px;
  background: var(--about-surface);
}

.gh-about__pillar h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: 1.0625rem;
  font-weight: 700;
}

.gh-about__pillar p {
  margin: 10px 0 0;
  color: var(--about-muted);
  font-size: .9375rem;
  line-height: 1.68;
}

.gh-about__links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-block-start: 16px;
}

.gh-about__inline-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--about-accent-hover);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gh-about__inline-link .icon {
  width: 16px;
  height: 16px;
}

.gh-about__inline-link:hover {
  color: var(--about-accent);
}

/* ---------- 6. 四步闭环与实景画廊 ---------- */
.gh-about__process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-block-end: 20px;
}

.gh-about__step {
  padding: 18px;
  border: 1px solid var(--about-line);
  border-radius: 12px;
  background: var(--about-surface);
}

.gh-about__step strong {
  display: block;
  color: var(--about-ink);
  font-size: .95rem;
  font-weight: 700;
}

.gh-about__step span {
  display: block;
  margin-block-start: 6px;
  color: var(--about-muted);
  font-size: .8125rem;
  line-height: 1.58;
}

.gh-about__gallery-shell {
  padding: 20px;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: var(--about-surface);
}

.gh-about__filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-block-end: 18px;
  padding-block-end: 16px;
  border-block-end: 1px solid var(--about-line);
}

.gh-about__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gh-about__filter-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid #d9cfd4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--about-ink);
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.gh-about__filter-btn:hover {
  border-color: var(--about-accent);
  color: var(--about-accent-hover);
}

.gh-about__filter-btn[aria-pressed="true"] {
  border-color: var(--about-accent);
  background: var(--about-accent);
  color: #ffffff;
}

.gh-about__gallery-count {
  margin: 0;
  color: var(--about-muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.gh-about__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gh-about__photo-card {
  margin: 0;
  border: 1px solid var(--about-line);
  border-radius: 12px;
  background: var(--about-soft-gray);
  overflow: hidden;
}

.gh-about__photo-card[hidden] {
  display: none;
}

.gh-about__photo-link {
  display: block;
  cursor: zoom-in;
  color: inherit;
  text-decoration: none;
}

.gh-about__photo-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gh-about__photo-card figcaption {
  padding: 11px 14px;
  border-block-start: 1px solid var(--about-line);
  background: #ffffff;
  color: var(--about-ink);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.48;
}

.gh-about__equip-note {
  margin: 16px 0 0;
  color: var(--about-muted);
  font-size: .875rem;
}

/* ---------- 7. 全国路局与施工单位覆盖 ---------- */
.gh-about__coverage-box {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: var(--about-surface);
}

.gh-about__coverage-lead {
  margin: 0;
  color: var(--about-ink);
  font-size: .95rem;
  line-height: 1.72;
}

.gh-about__chips-group {
  margin-block-start: 18px;
}

.gh-about__chips-title {
  margin: 0 0 10px;
  color: var(--about-muted);
  font-size: .8125rem;
  font-weight: 700;
}

.gh-about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gh-about__chips li {
  padding: 6px 13px;
  border: 1px solid var(--about-line);
  border-radius: 8px;
  background: var(--about-soft-gray);
  color: var(--about-ink);
  font-size: .875rem;
  font-weight: 550;
}

/* ---------- 8. 底部转化横幅 ---------- */
.gh-about__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-block-start: 52px;
  padding: clamp(24px, 3.2vw, 36px);
  border-radius: 16px;
  background: #28181e;
  color: #ffffff;
}

.gh-about__cta-copy {
  max-width: 60ch;
}

.gh-about__cta-copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.32;
}

.gh-about__cta-copy p {
  margin: 8px 0 0;
  color: #f0e2e7;
  font-size: .9375rem;
}

.gh-about__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 9. 原生 <dialog> 实景大图预览（遵循 modern-web-guidance dialog & light-dismiss） ---------- */
dialog.gh-about__dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--about-line);
  border-radius: 14px;
  background: var(--about-surface);
  color: var(--about-ink);
  box-shadow: 0 24px 70px rgba(25, 12, 18, .34);
}

dialog.gh-about__dialog:modal {
  overscroll-behavior: contain;
}

dialog.gh-about__dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(25, 12, 18, .74);
}

.gh-about__dialog-inner {
  padding: clamp(16px, 3vw, 24px);
}

.gh-about__dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 14px;
}

.gh-about__dialog-head h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.gh-about__dialog-close {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--about-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--about-accent-hover);
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}

.gh-about__dialog-close:hover {
  border-color: var(--about-accent);
  background: var(--about-soft-red);
}

.gh-about__dialog-media {
  border: 1px solid var(--about-line);
  border-radius: 10px;
  background: #f8f6f7;
  overflow: hidden;
}

.gh-about__dialog-media img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  margin-inline: auto;
}

/* ---------- 10. 响应式断点 ---------- */
@media (min-width: 1200px) {
  .gh-about__hero-inner {
    padding-block-start: calc(var(--header-height, 80px) + 28px);
  }
}

@media (max-width: 1020px) {
  .gh-about__strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gh-about__metric:nth-child(odd) {
    border-inline-start: 0;
  }

  .gh-about__metric:nth-child(n+3) {
    border-block-start: 1px solid var(--about-line);
  }

  .gh-about__profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .gh-about__process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gh-about__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .gh-about__wrap {
    width: calc(100% - 40px);
  }

  .gh-about__hero-img {
    width: 100%;
    opacity: .68;
  }

  .gh-about__hero-media::after {
    background: linear-gradient(180deg, rgba(40, 24, 30, .74) 0%, #28181e 95%);
  }

  .gh-about__hero-inner {
    padding-block: 22px 62px;
  }

  .gh-about__body {
    margin-block-start: -24px;
    padding-block-end: 44px;
  }

  .gh-about__pillars {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 580px) {
  .gh-about__wrap {
    width: calc(100% - 32px);
  }

  .gh-about__metric {
    padding: 18px 16px;
  }

  .gh-about__metric-val {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .gh-about__fact-row,
  .gh-about__cert-meta-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .gh-about__process,
  .gh-about__gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gh-about *,
  .gh-about *::before,
  .gh-about *::after {
    transition: none;
  }
}
