/* ==========================================================
   首页板块样式（两版共用）
   ========================================================== */

/* ---------- 首屏 Banner ---------- */
.hero { position: relative; }
.hero-swiper { height: 100vh; min-height: 100vh; }
.hero .swiper-slide {
  background-size: cover;
  background-position: center;
}
.hero__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 45, 75, 0.72) 20%, rgba(15, 45, 75, 0.28) 68%, rgba(15, 45, 75, 0.12));
}
.hero__copy {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding-left: clamp(24px, 10vw, 190px);
}
.hero__copy h1 {
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.35;
  letter-spacing: 4px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero__copy p {
  margin-top: 18px;
  font-size: clamp(14px, 1.3vw, 21px);
  letter-spacing: 3px;
  opacity: 0.9;
}
.hero .swiper-pagination {
  bottom: 30px !important;
  text-align: left;
  padding-left: clamp(24px, 10vw, 190px);
}
.hero .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: background 0.3s;
}
.hero .swiper-pagination-bullet-active { background: var(--blue); }

/* ---------- 公司介绍 ---------- */
.about { padding: 90px 0 28px; background: var(--white); }
.about__row {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: 0;
  /* 视频与文案卡各自独立高度：视频更高，白卡居中悬浮，形成高差错落 */
  align-items: center;
}
.about__media {
  position: relative;
  grid-column: 1;
  margin-right: -56px;
}
/* 视频后方错落的装饰色块 */
.about__media::before {
  content: "";
  position: absolute;
  top: -18px; left: -18px;
  width: 130px; height: 130px;
  background: linear-gradient(135deg, rgba(46, 124, 192, 0.28), rgba(46, 124, 192, 0.04));
  border-radius: 14px;
}
.about__media::after {
  content: "";
  position: absolute;
  top: -16px; right: -16px;
  width: 78px; height: 78px;
  background: var(--blue);
  opacity: 0.16;
  border-radius: 12px;
}
.about__video {
  display: block;
  width: 100%;
  /* 高度直接定在视频上，保证与文案卡形成高差错落且不留空档 */
  height: clamp(460px, 33vw, 520px);
  object-fit: cover;
  border-radius: 14px;
  background: #0b2239;
  box-shadow: 0 18px 44px rgba(22, 64, 107, 0.18);
}
/* 介绍区内的数字看板（2×2 错落竖条样式） */
.about__stats {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
}
.about__stats > div {
  position: relative;
  padding-left: 14px;
}
.about__stats > div::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.about__stats strong {
  display: flex;
  align-items: baseline;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
}
.about__stats strong i { font-style: normal; font-size: 0.5em; margin-left: 3px; }
.about__stats em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
.about__badge {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: 2px;
}
/* 文案悬浮白卡，叠压在视频之上形成错落感 */
.about__copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  align-self: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(32px, 3.2vw, 52px);
  box-shadow: 0 24px 60px rgba(22, 64, 107, 0.16);
}
.about__copy h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  margin-bottom: 22px;
}
.about__copy > p {
  color: var(--muted);
  text-align: justify;
  margin-bottom: 14px;
}
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 34px;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  font-size: 15px;
  transition: background 0.3s, color 0.3s;
}
.more-btn:hover { background: var(--blue); color: #fff; }
.more-btn i { transition: transform 0.3s; font-style: normal; }
.more-btn:hover i { transform: translateX(5px); }

.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
}
.stats > div {
  padding: 30px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.stats > div:last-child { border-right: 0; }
.stats strong { font-size: clamp(28px, 2.6vw, 44px); font-weight: 700; line-height: 1.2; }
.stats span { font-size: 16px; margin-left: 4px; }
.stats em { display: block; font-style: normal; margin-top: 6px; font-size: clamp(12px, 1vw, 16px); opacity: 0.85; }

/* ---------- 业务板块（第一版：四列横幅，参考图1） ---------- */
.business {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  color: #fff;
}
/* 业务板块标题（在图片外的白底区域，与经典项目一致） */
.business__head { padding-top: 50px; }
.business__bg {
  position: absolute;
  inset: 0;
  background: url("../img/business-bg.jpg") center/cover no-repeat;
}
.business__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 34, 56, 0.35), rgba(12, 34, 56, 0.72));
}
.business__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.biz-col {
  position: relative;
  padding: clamp(56px, 8vw, 120px) clamp(20px, 2.4vw, 40px);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  cursor: pointer;
}
/* 每列独立的深色渐变叠加层，保证文字可读 */
.biz-col::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 34, 56, 0.55), rgba(12, 34, 56, 0.78));
  transition: background 0.4s;
  pointer-events: none;
}
/* 背景图独立层：悬停时盒内放大（与新闻中心一致），不影响布局 */
.biz-col::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.001);
  transition: transform 0.6s;
  pointer-events: none;
}
.biz-col:hover::after { transform: scale(1.06); }
.biz-col > * { position: relative; z-index: 1; }
.biz-col:first-child { border-left: 0; }
.biz-col:hover::before { background: linear-gradient(180deg, rgba(46, 124, 192, 0.38), rgba(46, 124, 192, 0.6)); }
.biz-col__num {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  opacity: 0.9;
}
.biz-col__icon {
  margin: clamp(60px, 10vw, 150px) 0 26px;
  color: #fff;
}
.biz-col__icon svg { width: clamp(40px, 3.6vw, 56px); height: auto; }
.biz-col h3 { font-size: clamp(18px, 1.6vw, 26px); letter-spacing: 2px; }
.biz-col em {
  display: block;
  font-style: normal;
  margin-top: 4px;
  font-size: clamp(12px, 1vw, 15px);
  opacity: 0.8;
  letter-spacing: 1px;
}
.biz-col p {
  margin-top: 16px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  /* 固定占位：悬停仅淡入上浮，不改变列高，避免整行网格被撑高 */
  max-height: 160px;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s;
}
.biz-col:hover p { opacity: 1; transform: none; }
.biz-col__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.45s;
}
.biz-col:hover .biz-col__more { opacity: 1; }
.biz-col__more i { font-style: normal; transition: transform 0.3s; }
.biz-col__more:hover i { transform: translateX(4px); }

/* ---------- 经典项目（参考图2） ---------- */
.projects { padding: 90px 0; background: var(--paper); }
.projects .swiper { padding-bottom: 56px; }
.proj-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(22, 64, 107, 0.12);
  background: #fff;
}
.proj-card img {
  width: 100%;
  aspect-ratio: 16 / 10.4;
  object-fit: cover;
  transition: transform 0.5s;
}
.proj-card:hover img { transform: scale(1.05); }
.proj-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  color: #fff;
  font-size: clamp(14px, 1.1vw, 17px);
  background: linear-gradient(transparent, rgba(12, 34, 56, 0.78));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proj-card figcaption b {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.projects .swiper-pagination {
  bottom: 8px !important;
  text-align: center;
}
.projects .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: #c3ccd6;
  opacity: 1;
}
.projects .swiper-pagination-bullet-active { background: var(--blue); }
.swiper-nav-btn {
  position: absolute;
  top: 42%;
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(22, 64, 107, 0.14);
  transition: background 0.3s, color 0.3s;
}
.swiper-nav-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.swiper-prev { left: -14px; }
.swiper-next { right: -14px; }
/* 首屏 banner 箭头：深色底上用白色半透明样式，收进画面内 */
.hero .swiper-nav-btn {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(10, 30, 50, 0.32);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero .swiper-nav-btn:hover { background: var(--blue); border-color: var(--blue); }
.hero .swiper-prev { left: 28px; }
.hero .swiper-next { right: 28px; }
@media (max-width: 1400px) {
  .swiper-prev { left: 8px; }
  .swiper-next { right: 8px; }
}

/* ---------- 新闻中心（参考图3：集团要闻 / 招采信息） ---------- */
.news { padding: 90px 0 100px; background: var(--white); }
.news__head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
}
.news__head .sec-head { margin-bottom: 0; }
.tabs { display: flex; gap: 14px; }
.tab {
  padding: 10px 30px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.news__more {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news__more:hover { color: var(--blue); }

.news__grid .tab-panel { display: none; }
.news__grid .tab-panel--grid.is-on { display: contents; }
.news__grid .tab-panel.is-on:not(.tab-panel--grid) { display: block; }

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover {
  box-shadow: 0 14px 34px rgba(22, 64, 107, 0.14);
  transform: translateY(-4px);
}
.news-card__media { overflow: hidden; }
.news-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 20px 22px 14px; }
.news-card h3 {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.5;
  height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card h3:hover { color: var(--blue); }
.news-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  height: 3.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.news-card__foot b {
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.news-card__foot b i { font-style: normal; transition: transform 0.3s; }
.news-card:hover .news-card__foot b { color: var(--blue); }
.news-card:hover .news-card__foot b i { transform: translateX(4px); }
.news-card__foot--hl b { color: var(--blue); }
.news-card__foot--hl b i { color: #c8102e; }

/* 招采信息列表 */
.zc-list { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 8px; }
.zc-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.zc-list li:last-child { border-bottom: 0; }
.zc-list li:hover { background: var(--blue-tint); }
.zc-list .zc-title { flex: 1; color: var(--ink); }
.zc-list li:hover .zc-title { color: var(--blue); }
.zc-badge {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.zc-badge--on { background: var(--blue-tint); color: var(--blue); border: 1px solid var(--blue); }
.zc-badge--off { background: #f0f1f3; color: #98a1ab; border: 1px solid #d8dde2; }
.zc-date { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ---------- 业务与案例一板切换（第二版） ---------- */
.bizboard { margin-top: 50px; padding: 90px 0; background: var(--paper); }

/* 竖条业务墙（参考汉阳市政官网） */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: clamp(360px, 36vw, 520px);
}
.strip__col {
  position: relative;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
}
.strip__col::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 34, 56, 0.5);
  transition: background 0.35s;
}
.strip__col:hover::before { background: rgba(46, 124, 192, 0.35); }
.strip__col::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.001);
  transition: transform 0.6s;
}
.strip__col:hover::after { transform: scale(1.06); }
.strip__label {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(15px, 1.2vw, 19px);
  letter-spacing: 2px;
}
.strip__label svg {
  width: 44px; height: 44px;
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-sizing: border-box;
}
.strip__col em {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1px;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.35s;
}
.strip__col:hover em { opacity: 1; transform: none; }

/* 全屏业务案例弹窗（参考汉阳市政官网） */
.biz-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.biz-overlay.is-open { display: block; }
.biz-overlay__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(0.9);
}
.biz-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 42, 0.45);
}
.biz-overlay__close {
  position: absolute;
  top: 26px; right: 34px;
  z-index: 3;
  width: 44px; height: 44px;
  border: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  transition: transform 0.3s, color 0.3s;
}
.biz-overlay__close:hover { transform: rotate(90deg); color: var(--blue); }
.biz-overlay__title {
  position: absolute;
  top: 34px; left: 44px;
  z-index: 3;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 3px;
}
.biz-overlay__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 40px 50px;
}
.biz-overlay__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 25vw));
  gap: 30px;
}
.biz-overlay__card {
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.biz-overlay__card img {
  width: 100%;
  aspect-ratio: 4 / 2.6;
  object-fit: cover;
  display: block;
}
.biz-overlay__card h4 {
  text-align: center;
  font-size: clamp(14px, 1.05vw, 17px);
  padding: 14px 16px 0;
  color: var(--ink);
}
.biz-overlay__card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  padding: 6px 16px 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-overlay__more {
  margin-top: 44px;
  padding: 13px 52px;
  background: #c8102e;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  border: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.biz-overlay__more:hover { background: #a50d26; }
body.no-scroll { overflow: hidden; }

@keyframes overlayIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.biz-overlay.is-open .biz-overlay__card { animation: overlayIn 0.5s both; }
.biz-overlay.is-open .biz-overlay__card:nth-child(2) { animation-delay: 0.08s; }
.biz-overlay.is-open .biz-overlay__card:nth-child(3) { animation-delay: 0.16s; }

/* ==========================================================
   滚动浮现动画
   ========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .proj-card img, .news-card__media img, .case-card img { transition: none; }
  .biz-overlay.is-open .biz-overlay__card { animation: none; opacity: 1; }
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1080px) {
  .about__row { grid-template-columns: 1fr; }
  .about__media { margin-right: 0; }
  .about__video { height: 440px; }
  .about__copy { grid-column: auto; margin: -64px 24px 0; }
  .about__media::before { width: 96px; height: 96px; }
  .about__media::after { width: 56px; height: 56px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .business__inner { grid-template-columns: repeat(2, 1fr); }
  .biz-col { border-top: 1px solid rgba(255, 255, 255, 0.25); }
  .biz-col p { max-height: 200px; opacity: 1; transform: none; }
  .biz-col__more { opacity: 1; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .strip__col { min-height: 260px; }
  .biz-overlay__cards { grid-template-columns: minmax(280px, 400px); }
  .biz-overlay__body { padding: 90px 20px 40px; overflow-y: auto; }
}
@media (max-width: 700px) {
  .hero-swiper { height: 440px; }
  .about { padding: 56px 0 40px; }
  .about__video { height: 320px; }
  .about__copy { margin: -48px 14px 0; padding: 22px 18px; }
  .projects, .news, .bizboard { padding: 56px 0; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .news__head { flex-wrap: wrap; gap: 16px; }
  .news__grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .biz-overlay__title { left: 20px; }
}