/* ============================================================
   首页专属样式 home.css
   ============================================================ */

/* ---------- 主视觉 Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  max-height: 880px;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #062a45 0%, #0a3d62 50%, #134d77 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* 城市天际线剪影（纯CSS） */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(200,164,94,.16) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(30,90,138,.5) 0%, transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 40%, black);
}
/* 装饰性建筑色块 */
.hero-buildings {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0;
  opacity: .22;
}
.hero-buildings .b {
  flex: 1;
  background: linear-gradient(to top, rgba(255,255,255,.5), rgba(255,255,255,.05));
  border-right: 1px solid rgba(10,61,98,.3);
}
.hero-buildings .b:nth-child(1){height:42%}
.hero-buildings .b:nth-child(2){height:68%}
.hero-buildings .b:nth-child(3){height:54%}
.hero-buildings .b:nth-child(4){height:88%}
.hero-buildings .b:nth-child(5){height:48%}
.hero-buildings .b:nth-child(6){height:76%}
.hero-buildings .b:nth-child(7){height:60%}
.hero-buildings .b:nth-child(8){height:94%}
.hero-buildings .b:nth-child(9){height:52%}
.hero-buildings .b:nth-child(10){height:72%}
.hero-buildings .b:nth-child(11){height:46%}
.hero-buildings .b:nth-child(12){height:82%}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-content .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(200,164,94,.15);
  border: 1px solid rgba(200,164,94,.4);
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFade .8s ease .2s forwards;
}
.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFade .8s ease .4s forwards;
}
.hero-content h1 .hl { color: var(--accent); }
.hero-content .desc {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 620px;
  line-height: 1.9;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFade .8s ease .6s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFade .8s ease .8s forwards;
}
@keyframes heroFade {
  to { opacity: 1; transform: translateY(0); }
}
.hero-content .tag,
.hero-content h1,
.hero-content .desc,
.hero-actions { transform: translateY(20px); }

/* 向下滚动提示 */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
  animation: heroFade .8s ease 1.2s forwards;
  opacity: 0;
}
.hero-scroll .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  margin: 0 auto 10px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 7px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* ---------- 数据条（Hero下方悬浮） ---------- */
.hero-stats {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  margin-bottom: 0;
}
.hero-stats-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.hero-stats .stat {
  padding: 38px 30px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}
.hero-stats .stat .num .suffix {
  font-size: 20px;
  color: var(--accent);
  margin-left: 2px;
}
.hero-stats .stat .label {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 12px;
  letter-spacing: .5px;
}

/* ---------- 服务概览卡片 ---------- */
.service-card {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .s-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10,61,98,.08), rgba(30,90,138,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all .35s;
}
.service-card .s-icon svg { width: 32px; height: 32px; color: var(--primary); transition: all .35s; }
.service-card:hover .s-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.service-card:hover .s-icon svg { color: #fff; }
.service-card h3 {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 20px;
}
.service-card .more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s;
}
.service-card:hover .more { gap: 12px; color: var(--accent); }

/* ---------- 关于引导区 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 460px;
}
.about-visual .main-block {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual .main-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(200,164,94,.25) 0%, transparent 50%);
}
.about-visual .main-block .big-initial {
  position: absolute;
  right: -20px; bottom: -40px;
  font-size: 280px;
  font-weight: 800;
  color: rgba(255,255,255,.07);
  line-height: 1;
}
.about-visual .main-block .vtext {
  position: absolute;
  top: 48px; left: 44px;
  color: #fff;
}
.about-visual .main-block .vtext .yr {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}
.about-visual .main-block .vtext .yr-label {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-top: 8px;
  letter-spacing: 2px;
}
.about-visual .float-card {
  position: absolute;
  right: -24px; bottom: 40px;
  background: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 220px;
}
.about-visual .float-card .fc-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.about-visual .float-card .fc-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 8px;
}

.about-text .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}
.about-text h2 {
  font-size: 34px;
  color: var(--primary);
  font-weight: 700;
  margin: 14px 0 24px;
  line-height: 1.35;
}
.about-text > p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.95;
  margin-bottom: 20px;
}
.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 30px 0 34px;
}
.about-feats li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.about-feats .ck {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(200,164,94,.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}
.about-feats .ft-t { font-size: 15px; font-weight: 600; color: var(--text-main); }
.about-feats .ft-d { font-size: 13px; color: var(--text-light); }

/* ---------- 业务板块（深色） ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.biz-item {
  background: var(--primary-dark);
  padding: 40px 34px;
  transition: all .35s;
  cursor: default;
}
.biz-item:hover {
  background: var(--primary);
}
.biz-item .bi-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.biz-item .bi-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(200,164,94,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.biz-item .bi-icon svg { width: 26px; height: 26px; color: var(--accent); }
.biz-item .bi-num {
  font-size: 14px;
  color: rgba(255,255,255,.3);
  font-weight: 700;
}
.biz-item h3 {
  font-size: 19px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.biz-item p {
  font-size: 13.5px;
  color: #9fb3c8;
  line-height: 1.85;
}

/* ---------- 新闻区 ---------- */
.news-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}
.news-main {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.news-main:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-main .nm-cover {
  height: 280px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
}
.news-main .nm-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(200,164,94,.25), transparent 55%);
}
.news-main .nm-cover .cat {
  position: relative;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 1px;
}
.news-main .nm-body { padding: 26px 28px 30px; }
.news-main .nm-date { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.news-main .nm-body h3 {
  font-size: 21px;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
}
.news-main:hover .nm-body h3 { color: var(--primary); }
.news-main .nm-body p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.85;
}
.news-list-side { display: flex; flex-direction: column; gap: 20px; }
.news-side-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.news-side-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-side-item .ns-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
}
.news-side-item .ns-date .d {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.news-side-item .ns-date .m {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.news-side-item .ns-content h4 {
  font-size: 15.5px;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 8px;
  transition: color .25s;
}
.news-side-item:hover .ns-content h4 { color: var(--primary); }
.news-side-item .ns-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* ---------- 合作伙伴/优势带 ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item {
  text-align: center;
  padding: 20px;
}
.trust-item .ti-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.trust-item:hover .ti-icon { background: var(--primary); }
.trust-item .ti-icon svg { width: 34px; height: 34px; color: var(--primary); transition: all .3s; }
.trust-item:hover .ti-icon svg { color: #fff; }
.trust-item h4 { font-size: 17px; color: var(--text-main); font-weight: 700; margin-bottom: 10px; }
.trust-item p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 42px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: none; }
  .about-intro { grid-template-columns: 1fr; gap: 80px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .news-feature { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { min-height: 540px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content .desc { font-size: 16px; }
  .hero-stats { margin-top: -40px; }
  .hero-stats .stat { padding: 26px 16px; }
  .hero-stats .stat .num { font-size: 32px; }
  .about-feats { grid-template-columns: 1fr; }
  .about-visual { height: 360px; }
  .about-visual .float-card { right: 16px; }
  .biz-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; gap: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-text h2 { font-size: 26px; }
}
