/* ========== 基础变量 ========== */
:root{
  --primary:#003B8E;
  --primary2:#0A5BD6;
  --accent:#00A84F;
  --text:#0B1220;
  --muted:#5C6F8B;
  --line:#E6ECF5;
  --card:#FFFFFF;
}

/* ✅ 只在首页启用，避免影响其他页面 */
body.gh-home{
  margin:0;
  padding:0;
  color:#1a2433;
  background-color:#f6f8fc;
  line-height:1.7;
  overflow-x:hidden;
  font-family:'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
}

body.gh-home *{ box-sizing:border-box; }
body.gh-home a{ color:inherit; text-decoration:none; }
body.gh-home ul{ list-style:none; margin:0; padding:0; }
body.gh-home img{ max-width:100%; height:auto; display:block; }

/* ✅ 首页容器：保持 1200 内居中（你说的“缩放不会铺满”核心就在这里） */

}

/* ✅ WP 自定义 Logo（只影响首页） */


/* =========================
   ❗注意：顶部导航相关样式已移出 home.css
   统一放到 /assets/css/nav.css 全站共用
   ========================= */


/* ========== Hero ========== */
body.gh-home .hero-section{
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  color:#fff;
  padding:180px 0 120px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

body.gh-home .hero-section:before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:72px 72px;
  opacity:.25;
  pointer-events:none;
  -webkit-mask-image: radial-gradient(700px 380px at 50% 25%, #000 55%, transparent 100%);
  mask-image: radial-gradient(700px 380px at 50% 25%, #000 55%, transparent 100%);
}

body.gh-home .hero-content{
  max-width:860px;
  margin:0 auto;
  position:relative;
}

body.gh-home .hero-title{
  font-size:48px;
  font-weight:900;
  margin-bottom:22px;
  line-height:1.15;
  text-shadow:0 2px 14px rgba(0,0,0,0.35);
  letter-spacing:.2px;
  color:#fff;
}

body.gh-home .hero-subtitle{
  font-size:18px;
  margin-bottom:28px;
  opacity:0.92;
  max-width:680px;
  margin-left:auto;
  margin-right:auto;
  color:rgba(255,255,255,.88);
}

body.gh-home .hero-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:14px;
}

body.gh-home .hero-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 26px;
  border-radius:999px;
  font-weight:800;
  transition:all .25s ease;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  background:rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
body.gh-home .hero-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}
body.gh-home .hero-btn.primary{
  border:none;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 16px 40px rgba(0,59,142,.30);
}
body.gh-home .hero-btn.primary:hover{
  box-shadow: 0 18px 48px rgba(0,59,142,.38);
}

body.gh-home .hero-stats{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:38px;
  margin-top:52px;
}
body.gh-home .stat-item{ text-align:center; }
body.gh-home .stat-number{
  font-size:40px;
  font-weight:900;
  color:var(--accent);
  margin-bottom:8px;
}
body.gh-home .stat-label{
  font-size:15px;
  opacity:0.9;
  color:rgba(255,255,255,.92);
}

/* ========== 通用标题 ========== */
body.gh-home .section-title{
  font-size:34px;
  text-align:center;
  margin-bottom:18px;
  color:var(--text);
  position:relative;
  letter-spacing:.2px;
}
body.gh-home .section-title:after{
  content:'';
  position:absolute;
  width:88px;
  height:4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  bottom:-14px;
  left:50%;
  transform: translateX(-50%);
  border-radius:999px;
}
body.gh-home .section-subtitle{
  font-size:16px;
  text-align:center;
  color:var(--muted);
  max-width:760px;
  margin:0 auto 56px;
}

/* ========== 品牌理念 ========== */
body.gh-home .brand-section{
  padding:96px 0;
  background:#fff;
}
body.gh-home .brand-values{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:26px;
  margin-top:50px;
}
body.gh-home .value-card{
  text-align:center;
  padding:36px 28px;
  border-radius:14px;
  background:#f7f9fd;
  border:1px solid var(--line);
  transition:all .28s;
}
body.gh-home .value-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,22,60,0.10);
  background:#fff;
}
body.gh-home .value-icon{
  font-size:46px;
  color:var(--primary);
  margin-bottom:18px;
}
body.gh-home .value-title{
  font-size:22px;
  margin-bottom:14px;
  color:var(--text);
  font-weight:900;
}
body.gh-home .value-description{ color:var(--muted); }

/* ========== 服务 ========== */
body.gh-home .services-section{
  padding:96px 0;
  background:#f2f6fd;
}
body.gh-home .services-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap:22px;
  margin-top:56px;
}
body.gh-home .service-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 12px 28px rgba(0,22,60,0.06);
  transition:all .32s;
}
body.gh-home .service-card:hover{
  transform: translateY(-10px);
  box-shadow:0 20px 44px rgba(0,22,60,0.12);
}
body.gh-home .service-image{ height:220px; overflow:hidden; }
body.gh-home .service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .5s;
}
body.gh-home .service-card:hover .service-image img{ transform: scale(1.05); }
body.gh-home .service-content{ padding:26px; }
body.gh-home .service-title{
  font-size:20px;
  margin-bottom:10px;
  color:var(--text);
  font-weight:900;
}
body.gh-home .service-description{ color:var(--muted); margin-bottom:16px; }
body.gh-home .service-features li{
  padding:8px 0;
  color:#3d4d66;
  border-bottom:1px solid #eff3fb;
  font-size:14px;
}
body.gh-home .service-features li:last-child{ border-bottom:none; }
body.gh-home .service-features i{ color:var(--accent); margin-right:10px; }

/* ========== 合作伙伴 ========== */
body.gh-home .partners-section{
  padding:80px 0;
  background:#fff;
}

/* 原 partners-grid */
body.gh-home .partners-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap:18px;
  margin-top:56px;
}

/* 原 partner-logo */
body.gh-home .partner-logo{
  background:#f7f9fd;
  padding:26px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all .25s;
  border:1px solid var(--line);
  min-height:92px;
  color:var(--muted);
  font-weight:800;
}
body.gh-home .partner-logo:hover{
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(0,22,60,0.08);
  background:#fff;
  color:var(--primary);
}

/* ========== 评价 ========== */
body.gh-home .testimonials-section{
  padding:96px 0;
  background: linear-gradient(135deg, #0b1220 0%, #111b2e 100%);
  color:#fff;
  text-align:center;
}
body.gh-home .testimonials-section .section-title{ color:#fff; }
body.gh-home .testimonials-section .section-subtitle{ color:rgba(255,255,255,.75); }
body.gh-home .testimonials-slider{
  max-width:860px;
  margin:56px auto 0;
  position:relative;
}
body.gh-home .testimonial-card{
  background: rgba(255,255,255,0.08);
  border-radius:14px;
  padding:38px;
  margin:0 18px;
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.10);
}
body.gh-home .testimonial-text{
  font-size:17px;
  font-style:italic;
  margin-bottom:26px;
  line-height:1.8;
  color: rgba(255,255,255,.9);
}
body.gh-home .testimonial-author{
  display:flex;
  align-items:center;
  justify-content:center;
}
body.gh-home .author-avatar{
  width:58px; height:58px;
  border-radius:50%;
  overflow:hidden;
  margin-right:14px;
  border:3px solid var(--accent);
}
body.gh-home .author-info h4{ font-size:17px; margin-bottom:4px; color:#fff; }
body.gh-home .author-info p{ font-size:13px; opacity:0.75; color:#fff; }

/* ========== CTA ========== */
body.gh-home .cta-section{
  padding:92px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #062B63 60%, #051D3E 100%);
  color:#fff;
  text-align:center;
  position:relative;
  overflow:hidden;
}
body.gh-home .cta-section:before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(520px 220px at 18% 25%, rgba(0,168,79,.25), transparent 60%);
  pointer-events:none;
}
body.gh-home .cta-title{
  font-size:34px;
  margin-bottom:18px;
  font-weight:900;
  position:relative;
  color:#fff;
}
body.gh-home .cta-subtitle{
  font-size:16px;
  max-width:680px;
  margin:0 auto 34px;
  opacity:0.9;
  position:relative;
  color:rgba(255,255,255,.9);
}
body.gh-home .cta-buttons{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  position:relative;
}
body.gh-home .cta-button{
  background:#fff;
  color:var(--primary);
  padding:14px 30px;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  transition:all .25s;
  display:inline-block;
  border:1px solid rgba(255,255,255,.2);
}
body.gh-home .cta-button:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}
body.gh-home .cta-button-secondary{
  background: transparent;
  color:#fff;
  border:1.8px solid rgba(255,255,255,.75);
}
body.gh-home .cta-button-secondary:hover{ background: rgba(255,255,255,0.10); }

/* ========== 页脚 ========== */
body.gh-home footer{
  background:#0b1220;
  color:rgba(255,255,255,.65);
  padding:74px 0 28px;
}
body.gh-home .footer-content{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:46px;
  margin-bottom:46px;
}
body.gh-home .footer-logo{
  font-size:22px;
  font-weight:900;
  color:#fff;
  margin-bottom:16px;
}
body.gh-home .footer-column h3{
  color:#fff;
  font-size:18px;
  margin-bottom:20px;
  position:relative;
  padding-bottom:10px;
  font-weight:900;
}
body.gh-home .footer-column h3:after{
  content:'';
  position:absolute;
  width:46px;
  height:3px;
  background: linear-gradient(90deg, var(--accent), var(--primary2));
  bottom:0;
  left:0;
  border-radius:999px;
}
body.gh-home .footer-links li{ margin-bottom:10px; }
body.gh-home .footer-links a{
  color:rgba(255,255,255,.65);
  transition: all .25s;
}
body.gh-home .footer-links a:hover{ color:var(--accent); padding-left:5px; }
body.gh-home .contact-info li{
  margin-bottom:14px;
  display:flex;
  align-items:flex-start;
}
body.gh-home .contact-info i{
  color:var(--accent);
  margin-right:10px;
  margin-top:5px;
}
body.gh-home .social-links{
  display:flex;
  gap:12px;
  margin-top:18px;
}
body.gh-home .social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  color:#fff;
  transition: all .25s;
}
body.gh-home .social-link:hover{
  background: rgba(0,168,79,.22);
  transform: translateY(-3px);
  border-color: rgba(0,168,79,.35);
}
body.gh-home .footer-bottom{
  text-align:center;
  padding-top:26px;
  border-top:1px solid rgba(255,255,255,.10);
  font-size:13px;
}

/* ========== 响应式（首页自身内容） ========== */
@media (max-width: 992px){
  body.gh-home .hero-title{ font-size:40px; }
}
@media (max-width: 768px){
  body.gh-home .hero-title{ font-size:32px; }
  body.gh-home .hero-subtitle{ font-size:16px; }
  body.gh-home .section-title{ font-size:28px; }
  body.gh-home .services-grid,
  body.gh-home .brand-values{ grid-template-columns: 1fr; }
  body.gh-home .hero-stats{ gap:28px; }
  body.gh-home .stat-number{ font-size:32px; }
  body.gh-home .cta-buttons{ flex-direction:column; align-items:center; }
  body.gh-home .cta-button{ width:100%; max-width:320px; text-align:center; }
  body.gh-home .hero-section{ background-attachment: scroll; }
}
@media (max-width: 480px){
  body.gh-home .hero-title{ font-size:28px; }
  body.gh-home .hero-subtitle{ font-size:15px; }
  body.gh-home .section-title{ font-size:24px; }
  body.gh-home .testimonial-card{ padding:24px; }
}

/* =========================
   Partners（合作伙伴）增强：更高卡片 + 背景图
   ✅ 加上 body.gh-home 前缀，避免影响 blog
   ========================= */
body.gh-home .partners-section .partners-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 992px){
  body.gh-home .partners-section .partners-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px){
  body.gh-home .partners-section .partners-grid{
    grid-template-columns: 1fr;
  }
}

/* 卡片本体 */
body.gh-home .partner-card{
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.gh-home .partner-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

/* 有背景图时的表现 */
body.gh-home .partner-card.has-bg{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 背景遮罩：让文字永远清晰 */
body.gh-home .partner-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.70) 100%
  );
  pointer-events: none;
}

body.gh-home .partner-card-inner{
  position: relative;
  width: 100%;
  padding: 14px 14px;
}

body.gh-home .partner-name{
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* 如果没有背景图（纯文字）也给质感 */
body.gh-home .partner-card:not(.has-bg){
  background: radial-gradient(1200px 320px at 10% 10%, rgba(58,141,255,.20), rgba(255,255,255,0) 55%),
              radial-gradient(900px 320px at 90% 20%, rgba(0,209,178,.16), rgba(255,255,255,0) 55%),
              rgba(255,255,255,.05);
}