/* ============================================================
   style-about.css —— 关于我们（ag- 前缀）
   对应设计稿：
     8-关于我们-公司概况.jpg  (1920 × 3345)
     9-关于我们-荣誉资质.jpg  (1920 × 3111)
     10-关于我们-联络我们.jpg (1920 × 3345)
   共享 style2.css + style-product1.css + style-inner.css
   ============================================================ */

/* ---------------- Banner：复用 ic-hero，换图 ---------------- */
.ag-page .ic-hero__bg {
  background-image: url("../images/ag_hero.jpg");
  /* 设计稿原图自带打开下拉菜单，已拼接去掉该区域（1726×475），
     用 100% 100% 避免 cover 裁掉右侧内容 */
  background-size: 100% 100%;
}
.ag-page .ic-hero p { max-width: 680px; }

/* 关于我们 Banner 的左右对半分（ic-hero--split）已统一移至全局 style-inner.css，此处不再重复定义 */

/* 页面标题：44px 纯黑（与设计稿 ink 663–704 对应） */
.ag-page .pc1-title {
  margin: 40px 0 51px;
  font-size: 36px;
  line-height: 1.2;
  color: #000;
}

/* ---------------- 公司概况：两张圆角卡片 ---------------- */
.ag-card {
  padding: 38px 42px 80px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}
.ag-card + .ag-card { margin-top: 41px; }

.ag-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  color: var(--gc-teal);
}
.ag-card__rule {
  display: block;
  height: 1px;
  margin-top: 19px;
  background: #e6e6e6;
}

/* 正文：15px / 行高 30 / #696969，段间距 30 */
.ag-intro { margin-top: 34px; }
.ag-intro p {
  font-size: 14px;
  line-height: 30px;
  color: #696969;
  text-align: justify;
  text-justify: inter-ideograph;
}
.ag-intro p + p { margin-top: 30px; }
/* 轮播图：4 张 467×272、间距 20，容器裁切（第 4 张仅露 39px） */
.ag-gallery {
  margin-top: 50px;
  overflow: hidden;
}
.ag-gallery__track {
  display: flex;
  transition: transform .6s ease;
}
.ag-gallery__slide {
  display: flex;
  gap: 20px;
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
}
.ag-gallery__slide img {
  flex: 0 0 467px;
  width: 467px;
  height: 272px;
  object-fit: cover;
  border-radius: 3px;
}

/* 圆点：21px，未选中为灰边空心，选中为实心青色 */
.ag-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 61px;
}
.ag-dots button {
  width: 21px;
  height: 21px;
  padding: 0;
  border: 2px solid #7f7f7f;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.ag-dots button.is-on {
  border-color: var(--gc-teal);
  background: var(--gc-teal);
}

/* ---------------- 企业文化：左 1 大块 + 右 2×2 ---------------- */
.ag-card--culture { padding-bottom: 63px; }
.ag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 296px);
  gap: 32px;
  margin-top: 63px;
}
.ag-grid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ededed;
  font-size: 42px;
  color: #c4c4c4;
  /* 无原素材时的占位块；替换真实活动图时改为 background-image */
}
.ag-grid__cell--tall { grid-row: span 2; }
.ag-card--culture .ag-dots { margin-top: 33px; }
/* ---------------- 荣誉资质：4 列 × 3 行证书 ---------------- */
.ag-page.ah-page .pc1-body { padding-bottom: 124px; }
.ag-page.ag-company-page .pc1-body { padding-bottom: 268px; }

.ah-page .pc1-title { margin-bottom: 53px; }
.ah-grid {
  display: grid;
  grid-template-columns: repeat(4, 360px);
  column-gap: 45px;
  row-gap: 46px;
}
.ah-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 360 / 507;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .10);
  transition: box-shadow .35s, transform .35s;
}
.ah-grid a:hover img {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
  transform: translateY(-3px);
}

.ah-more {
  display: flex;
  justify-content: center;
  margin-top: 98px;
}
.ah-more a {
  display: block;
  width: 177px;
  height: 52px;
  border-radius: 26px;
  background: var(--gc-teal);
  font-size: 18px;
  line-height: 52px;
  text-align: center;
  color: #fff;
  transition: background .3s;
}
.ah-more a:hover { background: var(--gc-teal-deep); }
/* ---------------- 联络我们：信息条 ---------------- */
.ag-page.ac-page .pc1-body { padding-bottom: 258px; }
.ag-page.ac-page .pc1-title { margin-bottom: 54px; }

.ac-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 200px;
  border: 1px solid #e0e0e0;
  background: #fff;
}
.ac-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 10px 0;
  text-align: center;
}
.ac-info__item + .ac-info__item { border-left: 1px solid #e5e5e5; }
.ac-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
}
.ac-info__icon svg { display: block; height: 42px; width: auto; fill: var(--gc-teal); }
.ac-info__label {
  margin-top: 15px;
  font-size: 20px;
  line-height: 25px;
  color: #a0a0a0;
}
.ac-info__value {
  margin-top: 9px;
  font-size: 16px;
  line-height: 22px;
  color: #333;
}
.ac-info__value a { color: #333; }
.ac-info__value a:hover { color: var(--gc-teal); }

/* 地图：静态截图（不使用第三方 iframe） */
.ac-map { margin-top: 34px; height: 420px; border-radius: 6px; overflow: hidden; position: relative; }
.ac-map__canvas { width: 100%; height: 100%; }

/* 地图常驻地址标签 */
.ac-map__label {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gc-teal, #136e6e);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.4;
  color: #1a1a1a;
}
.ac-map__pin { flex: 0 0 auto; display: block; }
.ac-map__addr { word-break: break-all; }

/* ---------------- 客户留言表单 ---------------- */
.ac-form-title {
  margin-top: 88px;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px;
  color: #333;
}

.ac-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 25px;
  margin-top: 40px;
}
.ac-field {
  display: block;
  width: 100%;
  height: 70px;
  padding: 0 30px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: border-color .3s;
}
.ac-field::placeholder { color: #a0a0a0; }
.ac-field:focus { border-color: var(--gc-teal); }

.ac-textarea {
  grid-column: span 2;
  height: 361px;
  padding: 24px 30px;
  line-height: 1.7;
  resize: none;
}

.ac-row3 {
  display: flex;
  grid-column: span 2;
  align-items: center;
  gap: 14px;
}
.ac-captcha__field { width: 364px; height: 70px; flex: 0 0 364px; }
.ac-captcha__img {
  display: block;
  width: 200px;
  height: 70px;
  object-fit: cover;
  flex: 0 0 200px;
}
.ac-submit {
  width: 140px;
  height: 56px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 36px;
  background: var(--gc-teal);
  font-family: inherit;
  font-size: 17px;
  color: #fff;
  cursor: pointer;
  transition: background .3s;
}
.ac-submit:hover { background: var(--gc-teal-deep); }
/* ---------------- 响应式 ---------------- */
@media (max-width: 1500px) {
  .ag-page .pc1-title { margin: 34px 0 44px; font-size: 40px; }
  .ah-page .pc1-title { margin-bottom: 50px; }
  .ag-card { padding: 32px 34px 66px; }
  .ag-gallery__slide img {
    flex: 0 0 32%;
    width: 32%;
    height: auto;
    aspect-ratio: 467 / 272;
  }
  .ag-grid { grid-template-rows: repeat(2, 240px); gap: 26px; }
  .ah-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 34px; }
  .ah-more { margin-top: 72px; }
  .ac-info { height: 186px; }
  .ac-form-title { margin-top: 72px; }
}

@media (max-width: 1200px) {
  .ah-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .ag-page .ic-hero p br { display: none; }
  .ag-page .ic-hero p { max-width: 100%; }
  .ag-page .pc1-title { margin: 26px 0 32px; font-size: 32px; }
  .ah-page .pc1-title { margin-bottom: 36px; }
  .ag-card { padding: 26px 24px 46px; }
  .ag-card + .ag-card { margin-top: 24px; }
  .ag-gallery__slide img { flex: 0 0 40%; width: 40%; }
  .ag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 200px;
    gap: 20px;
  }
  .ag-card--culture .ag-dots { margin-top: 26px; }
  .ah-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; row-gap: 26px; }
  .ah-more { margin-top: 50px; }
  .ac-info { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; padding-bottom: 24px; }
  .ac-info__item { padding-top: 30px; }
  .ac-info__item:nth-child(3),
  .ac-info__item:nth-child(4) { border-top: 1px solid #e5e5e5; }
  .ac-info__item:nth-child(3) { border-left: 0; }
  .ac-form-title { margin-top: 52px; font-size: 24px; line-height: 30px; }
  .ac-form { grid-template-columns: 1fr; gap: 20px; margin-top: 26px; }
  .ac-textarea,
  .ac-row3 { grid-column: span 1; }
}

@media (max-width: 640px) {
  .ag-page .pc1-title { margin: 20px 0 24px; font-size: 26px; }
  .ag-card { padding: 20px 16px 34px; }
  .ag-card__title { font-size: 22px; line-height: 28px; }
  .ag-intro { margin-top: 20px; }
  .ag-intro p { font-size: 14px; line-height: 26px; }
  .ag-intro p + p { margin-top: 20px; }
  .ag-gallery { margin-top: 30px; }
  .ag-gallery__slide { gap: 12px; }
  .ag-gallery__slide img { flex: 0 0 72%; width: 72%; }
  .ag-dots { margin-top: 30px; }
  .ag-dots button { width: 16px; height: 16px; }
  .ag-grid { grid-template-columns: 1fr; grid-auto-rows: 160px; gap: 14px; margin-top: 28px; }
  .ag-grid__cell { font-size: 24px; }
  .ag-grid__cell--tall { grid-row: span 1; }
  .ag-card--culture .ag-dots { margin-top: 22px; }
  .ah-grid { column-gap: 16px; row-gap: 16px; }
  .ah-more { margin-top: 34px; }
  .ah-more a { width: 150px; height: 46px; border-radius: 23px; font-size: 16px; line-height: 46px; }
  .ac-info { grid-template-columns: 1fr; padding-bottom: 16px; }
  .ac-info__item { padding-top: 22px; }
  .ac-info__item + .ac-info__item { border-left: 0; border-top: 1px solid #e5e5e5; }
  .ac-info__icon { height: 34px; }
  .ac-info__icon svg { height: 34px; }
  .ac-info__label { margin-top: 8px; font-size: 15px; line-height: 22px; }
  .ac-info__value { margin-top: 6px; font-size: 14px; line-height: 22px; }
  .ac-map { margin-top: 20px; height: 300px; }
  .ac-form-title { margin-top: 36px; font-size: 20px; line-height: 26px; }
  .ac-form { gap: 14px; margin-top: 18px; }
  .ac-field { height: 56px; padding: 0 18px; font-size: 15px; }
  .ac-textarea { height: 200px; padding: 16px 18px; }
  .ac-row3 { flex-wrap: wrap; gap: 12px; }
  .ac-captcha__field { flex: 1 1 150px; width: auto; height: 56px; }
  .ac-captcha__img { flex: 0 0 140px; width: 140px; height: 56px; }
  .ac-submit { width: 100%; flex: 1 1 100%; height: 56px; margin-left: 0; border-radius: 28px; font-size: 18px; }
}

