/* 首页专属样式 */
body.home-page {
  background: #f7fafc;
}

/* 首页透明导航 */
.home-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.home-page .site-header .nav a {
  color: rgba(255, 255, 255, 0.92);
}

.home-page .site-header .nav a:hover,
.home-page .site-header .nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.home-page .site-header .logo img {
  filter: brightness(0) invert(1);
}

.home-page .site-header .nav-toggle span {
  background: #fff;
}

.home-page .site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.home-page .site-header.scrolled .nav a {
  color: var(--text);
}

.home-page .site-header.scrolled .nav a:hover,
.home-page .site-header.scrolled .nav a.active {
  color: var(--primary);
  background: var(--sky);
}

.home-page .site-header.scrolled .logo img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(78%) saturate(1200%) hue-rotate(185deg) brightness(0.85);
}

.home-page .site-header.scrolled .nav-toggle span {
  background: var(--primary);
}

/* ========== Hero 全屏大图 ========== */
.hero-visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 38, 72, 0.92) 0%, rgba(6, 58, 107, 0.78) 42%, rgba(10, 77, 140, 0.55) 70%, rgba(26, 107, 181, 0.35) 100%),
    linear-gradient(0deg, rgba(4, 38, 72, 0.4) 0%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 60px) 0 120px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-text .hero-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4fc3f7;
  border-radius: 50%;
  box-shadow: 0 0 12px #4fc3f7;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-text .hero-slogan {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: #7ec8f7;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-text .hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.hero-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-card .mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card .mini-stat strong {
  display: block;
  font-size: 1.5rem;
  color: #7ec8f7;
  font-weight: 700;
}

.hero-card .mini-stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f7fafc' d='M0,50 C240,90 480,10 720,50 C960,90 1200,10 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}

/* 信任条 */
.trust-bar {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(10, 77, 140, 0.04);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.trust-item .ti-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sky), var(--sky-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.trust-item strong {
  display: block;
  color: var(--primary-dark);
  font-size: 14px;
}

/* ========== 关于我们 图文 ========== */
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 77, 140, 0.18);
}

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-img-badge .badge-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-img-badge .badge-num small {
  font-size: 1rem;
}

.about-img-badge div:last-child strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
  margin-bottom: 2px;
}

.about-img-badge div:last-child span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-content h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.85;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.about-pill {
  padding: 8px 16px;
  background: var(--sky);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* 四大特许 - 图片卡片 */
.policy-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.policy-visual-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
}

.policy-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.policy-visual-card .pvc-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-light));
}

.policy-visual-card:nth-child(1) .pvc-bg { background: linear-gradient(160deg, #063a6b, #1a6bb5); }
.policy-visual-card:nth-child(2) .pvc-bg { background: linear-gradient(160deg, #0a4d8c, #2b8fd9); }
.policy-visual-card:nth-child(3) .pvc-bg { background: linear-gradient(160deg, #084a82, #3a9ee0); }
.policy-visual-card:nth-child(4) .pvc-bg { background: linear-gradient(160deg, #052f57, #1a7bc4); }

.policy-visual-card .pvc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.policy-visual-card .pvc-body {
  position: relative;
  z-index: 1;
  padding: 28px 22px;
  background: linear-gradient(0deg, rgba(4, 38, 72, 0.85) 0%, transparent 100%);
}

.policy-visual-card .pvc-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.policy-visual-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.policy-visual-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.55;
}

/* ========== 成果展示 ========== */
.achieve-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.achieve-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
  border-radius: 20px;
  overflow: hidden;
}

.achieve-gallery .ag-main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
}

.achieve-gallery .ag-main img,
.achieve-gallery .ag-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.achieve-gallery .ag-main:hover img,
.achieve-gallery .ag-sub:hover img {
  transform: scale(1.06);
}

.achieve-gallery .ag-sub {
  overflow: hidden;
  position: relative;
}

.achieve-gallery .ag-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(4, 38, 72, 0.8), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.achieve-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.achieve-stat-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.achieve-stat-row:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.achieve-stat-row .as-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 90px;
}

.achieve-stat-row .as-num span {
  font-size: 1rem;
}

.achieve-stat-row h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.achieve-stat-row p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.policy-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.policy-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-banner .pb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 38, 72, 0.92) 0%, rgba(10, 77, 140, 0.75) 60%, rgba(10, 77, 140, 0.5) 100%);
}

.policy-banner .pb-content {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  color: #fff;
  max-width: 680px;
}

.policy-banner h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.policy-banner p {
  font-size: 14px;
  opacity: 0.88;
  line-height: 1.7;
}

.policy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.policy-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 12px;
}

/* ========== 服务 图片卡片 ========== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-img-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}

.svc-img-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(10, 77, 140, 0.2);
}

.svc-img-card .sic-bg {
  position: absolute;
  inset: 0;
}

.svc-img-card .sic-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.svc-img-card:hover .sic-bg img {
  transform: scale(1.08);
}

.svc-img-card .sic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 38, 72, 0.92) 0%, rgba(4, 38, 72, 0.4) 50%, rgba(4, 38, 72, 0.15) 100%);
}

.svc-img-card .sic-body {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
}

.svc-img-card .sic-num {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #7ec8f7;
  margin-bottom: 12px;
}

.svc-img-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.svc-img-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.svc-img-card .sic-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ec8f7;
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s;
}

.svc-img-card:hover .sic-link {
  gap: 10px;
}

/* ========== 使命愿景 ========== */
.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.mission-strip-item {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.mission-strip-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.mission-strip-item .msi-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.mission-strip-item h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.mission-strip-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========== CTA 大图 ========== */
.cta-visual {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-visual .cta-bg {
  position: absolute;
  inset: 0;
}

.cta-visual .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-visual .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 38, 72, 0.9), rgba(10, 77, 140, 0.82));
}

.cta-visual .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.cta-visual h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  font-weight: 700;
}

.cta-visual p {
  opacity: 0.88;
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-visual .cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ========== 联系预览 ========== */
.contact-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-preview-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-preview-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-preview-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cpl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cpl-item .cpl-icon {
  width: 42px;
  height: 42px;
  background: var(--sky);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.cpl-item strong {
  display: block;
  font-size: 13px;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.cpl-item span,
.cpl-item a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.cpl-item a:hover {
  color: var(--primary);
}

.contact-preview-map {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.contact-preview-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.contact-preview-map .cpm-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 38, 72, 0.75), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.contact-preview-map .cpm-overlay p {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-card {
    max-width: 480px;
  }

  .about-visual,
  .achieve-showcase,
  .contact-preview {
    grid-template-columns: 1fr;
  }

  .policy-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-strip {
    grid-template-columns: 1fr;
  }

  .mission-strip-item:not(:last-child)::after {
    display: none;
  }

  .mission-strip-item {
    border-bottom: 1px solid var(--border);
  }

  .mission-strip-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding-bottom: 100px;
  }

  .hero-card .mini-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-card .mini-stat strong {
    font-size: 1.2rem;
  }

  .about-img-wrap img {
    height: 280px;
  }

  .achieve-gallery {
    grid-template-rows: 160px 160px;
  }

  .policy-visual-grid,
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .policy-banner .pb-content {
    padding: 28px 24px;
  }

  .trust-inner {
    gap: 20px;
  }

  .home-page .site-header .nav.open {
    background: rgba(6, 58, 107, 0.98);
  }

  .home-page .site-header .nav.open a {
    color: #fff;
  }

  .home-page .site-header.scrolled .nav.open a {
    color: var(--text);
  }
}
