/* 首页样式：全幅轮播海报 + 分段式版面 */

/* ---------- 全幅轮播海报 ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #0a1a45;
  aspect-ratio: 1920 / 800;
  max-height: 86vh;
}
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide.is-active img { animation: hero-zoom 9s ease-out forwards; }
@keyframes hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(12, 33, 90, 0.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.25s ease;
}
.hero-slider:hover .hero-slider__nav,
.hero-slider:focus-within .hero-slider__nav { opacity: 1; }
.hero-slider__nav:hover { background: rgba(12, 33, 90, 0.78); border-color: #fff; }
.hero-slider__nav--prev { left: 22px; }
.hero-slider__nav--next { right: 22px; }

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-slider__dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-slider__dots button:hover { background: rgba(255, 255, 255, 0.8); }
.hero-slider__dots button.is-active { width: 52px; background: #fff; }

.hero-slider__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
}
.hero-slider__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

@media (max-width: 820px) {
  .hero-slider { aspect-ratio: 16 / 9; }
  .hero-slider__nav { display: none; }
  .hero-slider__dots { bottom: 12px; gap: 8px; }
  .hero-slider__dots button { width: 22px; }
  .hero-slider__dots button.is-active { width: 34px; }
}

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.2s linear; }
  .hero-slide.is-active img { animation: none; }
}

/* ---------- 数字条 ---------- */
.band-stats {
  position: relative;
  padding: 46px 0;
  background: #0a1a45 url("../img/bg-stats.jpg") center center / cover no-repeat;
  color: #fff;
}
.band-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 69, 0.9), rgba(10, 26, 69, 0.66));
}
.band-stats .wrap { position: relative; }
.band-stats ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.band-stats li { text-align: center; padding: 4px 12px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.band-stats li:first-child { border-left: 0; }
.band-stats strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.band-stats span { display: block; margin-top: 6px; color: #b9cae6; font-size: 14px; }

/* ---------- 通用区块标题 ---------- */
.sec-head { margin-bottom: 34px; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-head h2 { margin: 6px 0 8px; font-size: 1.75rem; }
.sec-head p { margin: 0; color: var(--muted); max-width: 66ch; }
.sec-head .eyebrow { margin-bottom: 0; }

/* ---------- 业务范围 ---------- */
.sec-services { position: relative; padding: 68px 0; background: var(--bg); overflow: hidden; }
.sec-services .wrap { position: relative; }
.svc-box { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc-card2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.svc-card2:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card2 .no { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); }
.svc-card2 h3 { margin: 0; font-size: 1.15rem; }
.svc-card2 p { margin: 0; color: var(--muted); font-size: 14.2px; line-height: 1.65; }
.svc-card2 .link-more { margin-top: 6px; font-size: 14px; }
.svc-visual { position: relative; }
.svc-visual img { width: 100%; border-radius: var(--radius); box-shadow: 0 22px 48px -34px rgba(12, 33, 90, 0.6); }

/* ---------- 政府项目申报 ---------- */
.sec-gov {
  position: relative;
  padding: 72px 0;
  background: #f2f5f9 url("../img/bg-wave.webp") center center / cover no-repeat;
}
.sec-gov .sec-head { color: var(--ink); }
.gov-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gov-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 20px 22px;
  background: var(--brand);
  color: #dbe4f4;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.gov-card:hover { background: var(--brand-2); transform: translateY(-4px); box-shadow: 0 20px 34px -24px rgba(12, 33, 90, 0.9); color: #fff; }
.gov-card img { width: 42px; height: 42px; filter: brightness(1.15); }
.gov-card h3 { margin: 0; color: #fff; font-size: 1.0625rem; }
.gov-card p { margin: 0; font-size: 13.6px; line-height: 1.6; color: #c4d3ea; }
.gov-card:hover p { color: #e4edfa; }
.gov-card .link-more { margin-top: auto; color: #fff; font-size: 13.5px; }

/* ---------- 公司简介 ---------- */
.sec-about { padding: 72px 0; background: var(--bg); }
.about-two { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.about-two__media { position: relative; }
.about-two__media img { width: 100%; border-radius: var(--radius); }
.about-two__badge {
  position: absolute;
  left: -16px;
  bottom: 20px;
  padding: 14px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-two__badge strong { display: block; font-size: 1.4rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.about-two__badge span { font-size: 12.5px; color: #b9cae6; letter-spacing: 0.05em; }
.about-two p { color: var(--text); }
.about-two .tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.about-two .tags li { padding: 6px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--brand); }

/* ---------- 服务优势（深色底，突出醒目） ---------- */
.sec-adv {
  position: relative;
  padding: 66px 0;
  background: var(--brand);
  background-image: radial-gradient(circle at 12% 18%, rgba(3, 95, 161, 0.55), transparent 58%), radial-gradient(circle at 88% 82%, rgba(0, 155, 76, 0.28), transparent 52%);
  color: #dbe4f4;
}
.sec-adv .sec-head .eyebrow { color: #8fd6b1; }
.sec-adv .sec-head h2 { color: #fff; }
.sec-adv .sec-head p { color: #b9cae6; }
.sec-adv .adv-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.sec-adv .adv-item::before { color: rgba(255, 255, 255, 0.38); }
.sec-adv .adv-item h3 { color: #fff; }
.sec-adv .adv-item p { color: #c4d3ea; }
.sec-adv .adv-item:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.75);
}
.sec-adv .adv-item:hover::before { color: var(--brand-2); }
.sec-adv .adv-item:hover h3 { color: var(--ink); }
.sec-adv .adv-item:hover p { color: var(--muted); }

/* ---------- 合作客户（两排滚动，每排 5 个） ---------- */
.sec-clients { padding: 62px 0 74px; background: var(--bg); --logo-w: 216px; --logo-gap: 16px; }
.logo-marquee { display: grid; gap: 16px; }
.logo-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.logo-track {
  display: flex;
  align-items: stretch;
  gap: var(--logo-gap);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: logo-scroll 42s linear infinite;
  will-change: transform;
}
.logo-row--reverse .logo-track { animation-direction: reverse; }
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-track li {
  flex: 0 0 var(--logo-w);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 158px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.logo-track li:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.logo-track img { width: 100%; height: 100%; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-row { overflow-x: auto; }
}

/* ---------- 最新资讯（带封面） ---------- */
.sec-news { padding: 68px 0; background: var(--bg-soft); }
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.news-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card__thumb { display: block; overflow: hidden; background: var(--bg-soft); }
.news-card__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.35s ease; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
.news-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.news-card time { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.news-card h3 { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.news-card a { color: inherit; }
.news-card:hover h3 { color: var(--brand-2); }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
  .news-card:hover .news-card__thumb img { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .gov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sec-clients { --logo-w: 192px; }
  .svc-box { grid-template-columns: 1fr; gap: 28px; }
  .svc-visual { order: -1; }
}

@media (max-width: 900px) {
  .band-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .band-stats li:nth-child(3) { border-left: 0; }
  .about-two { grid-template-columns: 1fr; gap: 28px; }
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-clients { --logo-w: 172px; }
  .logo-track li { height: 128px; }
  .sec-head h2 { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .svc-cards { grid-template-columns: 1fr; }
  .gov-grid { grid-template-columns: 1fr; }
  .news-cards { grid-template-columns: 1fr; }
  .sec-clients { --logo-w: 150px; --logo-gap: 12px; }
  .logo-track li { height: 112px; padding: 8px 10px; }
  .band-stats strong { font-size: 2rem; }
  .sec-services, .sec-gov, .sec-about, .sec-news, .sec-clients, .sec-adv { padding: 46px 0; }
}

/* 轮播进度条与暂停态 */
.hero-slider__bar span { animation: hero-bar 6s linear forwards; }
@keyframes hero-bar { from { width: 0; } to { width: 100%; } }
.hero-slider.is-paused .hero-slider__bar span { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero-slider__bar span { animation: none; width: 100%; }
}

/* 海报下的信息条（页面主标题） */
.hero-strip { background: var(--brand); color: #fff; }
.hero-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.hero-strip h1 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.hero-strip__side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-strip__tel { display: inline-flex; align-items: baseline; gap: 8px; color: #cfdcf1; font-size: 13.5px; }
.hero-strip__tel a { color: #fff; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.hero-strip__tel a:hover { color: #a9c6ee; }
.hero-strip .btn--sm { padding: 8px 18px; }

@media (max-width: 720px) {
  .hero-strip h1 { font-size: 1.02rem; }
  .hero-strip .wrap { justify-content: flex-start; }
}

/* ---------- 服务直达（三条服务线 + 五类项目申报） ---------- */
.quick-nav { background: #fff; border-bottom: 1px solid var(--line); }
.quick-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.quick-nav__label {
  margin: 0;
  padding-right: 16px;
  border-right: 1px solid var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.quick-nav__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0; }
.quick-nav__group-name { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.quick-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.quick-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.quick-nav a:hover,
.quick-nav a:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.quick-nav a.is-primary { border-color: rgba(3, 95, 161, 0.45); color: var(--brand-2); font-weight: 600; }
.quick-nav a.is-primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }

@media (max-width: 820px) {
  .quick-nav .wrap { gap: 10px 18px; }
  .quick-nav__label { display: none; }
  .quick-nav__group-name { width: 100%; }
}

/* ---------- 最新实务文章：分类标签 ---------- */
.news-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  color: var(--brand-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.news-card__cat::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.sec-news .sec-head__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.sec-news .sec-head__links .link-more { font-size: 14.5px; }
