/* ============================================================
   index2.html 专用样式（gc- 前缀，独立于 style.css）
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gc-teal: #219aa3;
  --gc-teal-deep: #17828a;
  --gc-ink: #333;
  --gc-gray: #666;
  --gc-silver: #f4f9f8;
  --gc-line: #e8e8e8;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  color: var(--gc-ink);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color .3s; }
img { display: block; max-width: 100%; }
ul, dl, dd, dt { list-style: none; }

.gc-wrap {
  max-width: 1720px;
  margin: 0 auto;
  padding-left: 100px;
  padding-right: 100px;
}

/* ---------------- 轮播 Banner（滑动式） ---------------- */
.gc-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.gc-banner__track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.5,.1,.2,1);
}
.gc-banner__cell {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.gc-banner__pic {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 6s linear;
}
.gc-banner__cell.is-on .gc-banner__pic { transform: scale(1); }
.gc-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(0,0,0,.55) 8%, rgba(0,0,0,.18) 55%, rgba(0,0,0,0) 100%);
}
.gc-banner__txt {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.gc-banner__txt h2 {
  font-size: 56px;
  color: #9fe3fe;
  letter-spacing: 4px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all .8s .25s;
}
.gc-banner__txt p {
  font-size: 20px;
  color: rgba(255,255,255,.92);
  line-height: 1.85;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all .8s .45s;
}
.gc-banner__btn {
  padding: 10px 36px;
  background: var(--gc-teal);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  border-radius: 30px;
  transform: translateX(-50px);
  transition: all .8s .65s, background .3s;
}
.gc-banner__btn:hover { background: var(--gc-teal-deep); }
.gc-banner__cell.is-on .gc-banner__txt h2,
.gc-banner__cell.is-on .gc-banner__txt p,
.gc-banner__cell.is-on .gc-banner__btn {
  opacity: 1;
  transform: translateX(0);
}

.gc-banner__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(.8);
  width: 52px; height: 52px;
  border: 0;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all .3s;
  z-index: 5;
}
.gc-banner:hover .gc-banner__nav { opacity: 1; transform: translateY(-50%) scale(1); }
.gc-banner__nav:hover { background: var(--gc-teal); }
.gc-banner__nav--l { left: 34px; }
.gc-banner__nav--r { right: 34px; }

.gc-banner__pager {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px;
  z-index: 5;
}
.gc-banner__pager i {
  width: 42px; height: 4px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .3s;
}
.gc-banner__pager i.is-on { background: var(--gc-teal); }

/* ---------------- 通用区块 ---------------- */
.gc-sec { padding: 85px 0; }
.gc-sec--gray {
  background: url('../images/leaf-bg.png') no-repeat right top,
  linear-gradient(180deg, #f5f9f8, #fff);
}
.gc-sec__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}
.gc-sec__title {
  font-size: 30px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}
.gc-sec__title::before {
  content: "";
  width: 12px; height: 36px;
  background: var(--gc-teal);
}
.gc-sec__more { color: var(--gc-teal); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.gc-sec__more:hover { color: var(--gc-teal-deep); }

/* ---------------- 产品介绍（悬浮升起青色名称条） ---------------- */
.gc-prod {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.gc-prod__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /*aspect-ratio: 1 / .9;*/
}
.gc-prod__item--w2 { grid-column: span 2; aspect-ratio: 2 / .9; }
.gc-prod__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}
.gc-prod__item:hover img { transform: scale(1.07); }

/* 悬浮名称条：默认藏在底部之外，悬浮时升起 */
.gc-prod__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  font-size: 18px;
  color: #fff;
  background: rgba(33, 154, 163, .82);
  transform: translateY(101%);
  transition: transform .4s ease;
}
.gc-prod__item:hover figcaption { transform: translateY(0); }

/* 青色图标卡片：图标右上，内容左下，按钮右下 */
.gc-prod__card {
  position: relative;
  aspect-ratio: 1 / .9;
  background: var(--gc-teal);
  color: #fff;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
}
.gc-prod__card .gc-prod__icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 100px;
}
.gc-prod__card h4 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.gc-prod__card p { font-size: 13px; opacity: .9; }
.gc-prod__card a {
  align-self: flex-end;
  margin-top: 16px;
  padding: 4px 16px;
  border: 2px solid rgba(255,255,255,1);
  border-radius: 20px;
  font-size: 13px;
  transition: all .3s;
  display: flex;
}
.gc-prod__card a svg{

}
.gc-prod__card a:hover { background: #fff; color: var(--gc-teal); }
.gc-prod__card a:hover svg path{ fill: var(--gc-teal); }

/* ---------------- 项目案例（多页轮播） ---------------- */
.gc-case { position: relative; }
.gc-case__page {
  display: none;
  grid-template-columns: 1fr 2.07fr;   /* 左大图 550 : 右侧 2×2 区 1138 */
  gap: 34px;
}
.gc-case__page.is-on {
  display: grid;
  animation: gcPageIn .55s ease;
}
@keyframes gcPageIn {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: none; }
}

/* 案例图片通用：悬浮出现青色遮罩（文字在顶部） */
.gc-case__left {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 550 / 1034;   /* 设计稿左大图比例，由它撑起整页高度 */
}
.gc-case__left > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .65s;
}
.gc-case__left:hover > img { transform: scale(1.05); }

.gc-case__veil {
  position: absolute;
  inset: 0;
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* 文字内容位于容器顶部 */
  align-items: flex-start;
  color: #fff;
  background: rgba(33, 154, 163, .86);
  opacity: 0;
  transition: opacity .45s ease;
}
.gc-case__veil h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
  transform: translateY(20px);
  transition: transform .5s .05s;
}
.gc-case__veil p {
  font-size: 14px;
  line-height: 1.85;
  opacity: .95;
  margin-bottom: 22px;
  transform: translateY(20px);
  transition: transform .5s .15s;
}
.gc-case__veil a {
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 20px;
  font-size: 13px;
  transform: translateY(20px);
  transition: all .5s .25s;
}
.gc-case__left:hover .gc-case__veil,
.gc-case__sm:hover .gc-case__veil { opacity: 1; }
.gc-case__left:hover .gc-case__veil h4,
.gc-case__left:hover .gc-case__veil p,
.gc-case__left:hover .gc-case__veil a,
.gc-case__sm:hover .gc-case__veil h4,
.gc-case__sm:hover .gc-case__veil p,
.gc-case__sm:hover .gc-case__veil a { transform: translateY(0); }
.gc-case__veil a:hover { background: #fff; color: var(--gc-teal); }

/* 右侧 2×2 图片网格（默认只显示图，悬浮出现青色遮罩） */
.gc-case__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 34px;
  min-height: 0;
}

.gc-case__sm {
  position: relative;
  overflow: hidden;
}
.gc-case__sm img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gc-case__sm:hover img { transform: scale(1.06); }
/* 网格图遮罩字号（格子约 552×500） */
.gc-case__grid .gc-case__veil { padding: 30px 32px; }
.gc-case__grid .gc-case__veil h4 { font-size: 20px; margin-bottom: 12px; }
.gc-case__grid .gc-case__veil p { font-size: 13px; margin-bottom: 16px; }
.gc-case__grid .gc-case__veil a { padding: 7px 18px; font-size: 12px; }

/* 分页指示点（切换项目案例分页） */
.gc-case__pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.gc-case__pager i {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
  transition: all .3s;
}
.gc-case__pager i.is-on { background: var(--gc-teal); }

/* ---------------- 关于格润（全宽：图片贴左边缘） ---------------- */
.gc-about-sec { padding: 0px 0; background: #f5f9f8; }
.gc-about {
  display: grid;
  grid-template-columns: 47% 1fr;
  gap: 80px;
  align-items: center;
}
.gc-about__pic { overflow: hidden; }
.gc-about__pic img { width: 100%; transition: transform .6s; }
.gc-about__pic:hover img { transform: scale(1.03); }
.gc-about__body {
  padding-right: max(40px, calc((100vw - 1520px) / 2));
}
.gc-about__body .gc-sec__title { margin-bottom: 24px; }
.gc-about__name {
  font-size: 20px;
  color: var(--gc-teal);
  font-weight: 500;
  margin-bottom: 18px;
}
.gc-about__body p {
  color: var(--gc-gray);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
}
.gc-about__foot { text-align: right; margin-top: 18px; }
.gc-about__btn {
  display: inline-block;
  padding: 2px 20px;
  border: 2px solid var(--gc-teal);
  border-radius: 22px;
  color: var(--gc-teal);
  transition: all .3s;
}
.gc-about__btn:hover { background: var(--gc-teal); color: #fff; }

/* ---------------- 新闻中心 ---------------- */
.gc-news {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
}
.gc-news__pic { overflow: hidden; }
.gc-news__pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gc-news__pic:hover img { transform: scale(1.05); }
.gc-news__list { display: flex; flex-direction: column; }
.gc-news__row {
  position: relative;
  padding: 26px 40px 26px 0;
  border-bottom: 2px solid var(--gc-line);
}
.gc-news__row:first-child { padding-top: 0; }
/*.gc-news__row:last-child { border-bottom: 0; }*/
.gc-news__row time { font-size: 13px; color: #9a9a9a; display: inline-block; }
.gc-news__row h5 { font-size: 18px; font-weight: 500; margin: 6px 0; }
/* 行内文字统一用 transform 位移，所有行（含第一条）悬浮都会向右滑动 */
.gc-news__row time,
.gc-news__row h5,
.gc-news__row p { transition: transform .3s ease, color .3s; }
.gc-news__row:hover time,
.gc-news__row:hover h5,
.gc-news__row:hover p { transform: translateX(14px); }
.gc-news__row p {
  font-size: 13px;
  color: var(--gc-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-news__arrow {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 22px;
  transition: all .3s;
}
.gc-news__row:hover h5 { color: var(--gc-teal); }
.gc-news__row:hover .gc-news__arrow { color: var(--gc-teal); right: 0; }
/* 第一条新闻高亮样式（参考效果图） */
.gc-news__row:first-child h5 { color: var(--gc-teal); }
.gc-news__row:first-child .gc-news__arrow { color: var(--gc-teal); }
.gc-news__row:first-child { border-bottom: 2px solid var(--gc-teal); }

/* ---------------- 右侧悬浮（效果图样式：灰色圆角按钮贴右边缘） ---------------- */
.gc-side {
  position: fixed;
  right: 0;
  bottom: 120px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.gc-side__btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  background: #b5b5b5;
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  transition: width .35s ease, background .3s;
}
.gc-side__btn svg { width: 20px; height: 20px; flex: none; }
.gc-side__btn:hover { width: 140px; background: #a2a2a2; }
/* 文字默认 max-width 收起（不占位，保证图标绝对居中），悬浮展开 */
.gc-side__btn span {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity .3s .1s, max-width .35s ease, margin .35s;
}
.gc-side__btn:hover span { max-width: 160px; opacity: 1; margin-left: 10px; }
/* 电话按钮：悬浮向左展开为青色长条 */
.gc-side__btn--tel:hover { width: 140px; background: var(--gc-teal); }
/* 二维码：不展开，悬浮只弹大图 */
.gc-side__btn--qr:hover,
.gc-side__btn--top:hover { width: 40px; }
/* TOP：图标在上文字在下，文字常显 */
.gc-side__btn--top { flex-direction: column; gap: 2px; font-size: 11px; letter-spacing: 1px; }
.gc-side__btn--top span { max-width: none; opacity: 1; }
.gc-side__btn--top:hover span { margin-left: 0; }

/* 二维码悬浮大图（挂在按钮外层容器，避免被 overflow 裁剪） */
.gc-side__qr { position: relative; }
.gc-side__qrbox {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%) translateX(12px);
  width: 122px;
  padding: 10px 10px 6px;
  background: #fff;
  border: 1px solid var(--gc-line);
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
}
.gc-side__qrbox em {
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.gc-side__qr:hover .gc-side__qrbox {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1440px) {
  .gc-wrap { padding-left: 40px; padding-right: 40px; }
  .gc-banner__txt h2 { font-size: 44px; }
}
@media (max-width: 1024px) {
  .gc-prod { grid-template-columns: repeat(2, 1fr); }
  .gc-prod__item--w2 { grid-column: span 2; }
  .gc-case__page { grid-template-columns: 1fr; }
  .gc-case__left { aspect-ratio: 4 / 3; }
  .gc-case__grid { min-height: 320px; }
  .gc-about, .gc-news { grid-template-columns: 1fr; gap: 40px; }
}
