/* ============================================================
   瀚海星辰 · 定制覆盖样式（基于 Arkana 模板）
   中文字体 / 缺失背景重建 / Logo / 头像 / 企业标识
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:ital,wght@1,600;1,700;1,900&family=ZCOOL+QingKe+HuangYou&display=swap');

:root {
  --brand: #4F46E5;
  --brand-2: #7C3AED;
  --accent: #F59E0B;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --font-art: "ZCOOL QingKe HuangYou", "Noto Serif SC", "Noto Sans SC", "STKaiti", serif;
  --font-serif: "Noto Serif SC", "Noto Sans SC", "PingFang SC", serif;
  --font-core-title: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

/* ---------- 中文字体 ---------- */
body,
.btn, .nav-link, .navbar, p, span, a, input, textarea, button, label, li {
  font-family: var(--font-body) !important;
}
body { letter-spacing: .2px; }
body.sc-loading [data-sc-dynamic] { opacity: 0; }
body.sc-ready [data-sc-dynamic] { opacity: 1; transition: opacity .25s ease; }

/* 大标题使用艺术字（庆科黄油体），更具设计感、非普通黑体 */
.hero-title,
.display-font,
h1, h2 {
  font-family: var(--font-art) !important;
  font-weight: 400 !important;
  letter-spacing: 2px;
}
/* 数据统计数字保持清晰字体 */
.stat-num, .stat-num count-up { font-family: var(--font-body) !important; font-weight: 800 !important; }
/* 中小标题用宋体加粗，区别于正文又保证可读 */
h3, h4, h5, h6 {
  font-family: var(--font-serif) !important;
  font-weight: 700 !important;
  letter-spacing: .5px;
}

/* ---------- 缺失光晕背景重建（替代 blur-red / blur-blue 图片） ---------- */
.hero-banner:before,
section.testimonials:before,
section.sc-breadcrumb:before {
  background-image: radial-gradient(circle at center, rgba(124, 58, 237, 0.45), rgba(124, 58, 237, 0) 60%) !important;
  border-radius: 50%;
}
.hero-banner:after,
section.testimonials:after,
section.sc-breadcrumb:after {
  background-image: radial-gradient(circle at center, rgba(79, 70, 229, 0.4), rgba(245, 158, 11, 0.18) 35%, rgba(79, 70, 229, 0) 60%) !important;
  border-radius: 50%;
}

/* ---------- Logo ---------- */
.header-logo { height: 36px; width: auto; }
.offcanvas-img { height: 36px; width: auto; }
.footer-logo { height: 52px; width: auto; }
.brand-name { font-size: 18px; font-weight: 900; color: #1E1B4B; margin-left: 8px; line-height: 1.15; }
.brand-name small { display: block; font-size: 10px; letter-spacing: 2px; color: var(--brand); font-weight: 700; }

/* ---------- 首屏图 ---------- */
.hero-banner .hero-img { filter: drop-shadow(0 30px 60px rgba(79, 70, 229, 0.18)); }

/* ---------- 通用区块圆角图片 ---------- */
.rounded-img { border-radius: 24px; box-shadow: 0 30px 70px rgba(30, 27, 75, 0.12); }

/* ---------- 服务/特性图标 ---------- */
.card-feature .icon,
.value-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.card-feature .icon svg, .value-icon svg { width: 28px; height: 28px; }
.svg-ic { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 数据统计计数颜色 ---------- */
.stat-num { color: var(--brand); }

/* ---------- 客户评价头像（首字母代替缺失照片） ---------- */
.avatar-initial {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.avatar-initial.c2 { background: linear-gradient(135deg, #0EA5E9, var(--brand)); }
.avatar-initial.c3 { background: linear-gradient(135deg, var(--accent), #EF4444); }
.avatar-initial.c4 { background: linear-gradient(135deg, #10B981, #0EA5E9); }

/* ---------- 合作企业 / 覆盖城市 标签（代替缺失 logo 图） ---------- */
.partner-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 50px; background: #fff;
  border: 1px solid #ECEAFE; color: #4B5563; font-weight: 600; font-size: 16px;
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.05);
  white-space: nowrap;
}
.partner-chip svg { color: var(--brand); }
.cities-section__title {
  font-family: var(--font-core-title) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  color: #101840;
  letter-spacing: 0.08em;
}
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.city-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e7f0;
  color: #1E1B4B;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.city-chip:hover {
  background: #f5f7ff;
  border-color: #c7d2fe;
  color: #312e81;
  box-shadow: 0 6px 16px rgba(30, 27, 75, .08);
}

/* ---------- 资讯卡片 ---------- */
.news-card { background:#fff; border:1px solid #ECEAFE; border-radius:20px; overflow:hidden; transition:all .4s ease; height:100%; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(30,27,75,.12); }
.news-thumb { height: 200px; position: relative; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.news-thumb svg { width: 64px; height: 64px; color: rgba(255,255,255,.9); }
.news-card .news-body { padding: 26px; }
.news-card .news-date { color: var(--brand); font-weight: 700; font-size: 14px; }
.news-card h4 { margin: 8px 0 10px; line-height: 1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-card p { color:#4B5563; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* 渐变封面 */
.cover-1 { background: linear-gradient(135deg,#4F46E5,#7C3AED); }
.cover-2 { background: linear-gradient(135deg,#0EA5E9,#4F46E5); }
.cover-3 { background: linear-gradient(135deg,#F59E0B,#EF4444); }
.cover-4 { background: linear-gradient(135deg,#10B981,#0EA5E9); }
.cover-5 { background: linear-gradient(135deg,#7C3AED,#EC4899); }
.cover-6 { background: linear-gradient(135deg,#4F46E5,#0EA5E9); }

/* ---------- 关于页价值卡 ---------- */
.value-card { background:#fff; border:1px solid #ECEAFE; border-radius:18px; padding:26px 22px; height:100%; transition:all .4s ease; }
.value-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(30,27,75,.1); }

/* ---------- 页脚：紧凑 + 文字清晰 + 圆形 Logo ---------- */
.footer { background: #14122E; padding-top: 48px !important; }
.footer .footer-cta { padding-bottom: 36px !important; }
.footer .footer-content { padding-top: 36px !important; padding-bottom: 36px !important; }
.footer .footer-content.pt-5 { padding-top: 36px !important; }
.footer .footer-content .row.gy-5 { --bs-gutter-y: 1.25rem; }
.footer .footer-content h5 { margin-bottom: 0.65rem !important; font-size: 1rem !important; }
.footer .footer-logo { width: auto !important; max-width: none; }
.footer .footer-logo-round {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.footer .footer-desc {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1 !important;
  font-size: 0.9rem !important;
  line-height: 1.65;
  margin-bottom: 0.75rem !important;
}
.footer .footer-links { gap: 0.5rem !important; }
.footer .footer-links a,
.footer .footer-link {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
  text-decoration: none;
  font-size: 0.9rem !important;
  transition: color 0.2s ease;
}
.footer .footer-links a:hover,
.footer .footer-link:hover { color: #fff !important; }
.footer .footer-contact li {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem !important;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer .footer-contact a { color: rgba(255, 255, 255, 0.95) !important; font-weight: 600; }
.footer .footer-contact .bi { color: var(--accent); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer .copyright { padding: 14px 0 !important; }
.footer .copyright span {
  color: rgba(255, 255, 255, 0.72) !important;
  opacity: 1 !important;
  font-size: 0.82rem !important;
}
.footer p, .footer a, .footer span, .footer li { font-size: 0.9rem !important; }
.footer .text-warning { color: var(--accent) !important; }
.footer .footer-cta h2.fs-1 { font-size: 1.75rem !important; margin-bottom: 0.5rem !important; }
.footer .footer-cta p.fs-5 { font-size: 1rem !important; }
.footer .footer-cta .btn-lg { font-size: 0.95rem; padding: 0.5rem 1.25rem; }
.copyright-text { color: rgba(255, 255, 255, 0.72) !important; }

/* ---------- 隐藏自定义鼠标光标（避免在普通页面干扰） ---------- */
.custom-cursor { mix-blend-mode: normal; }

/* ---------- 联系信息卡 ---------- */
.contact-card { background:#fff; border:1px solid #ECEAFE; border-radius:16px; padding:18px 20px; display:flex; gap:14px; align-items:flex-start; transition:all .3s ease; }
.contact-card h6 { font-size: 0.9rem; }
.contact-card span { font-size: 0.92rem; }
.card-contact .form-control-lg { font-size: 0.95rem !important; padding: 0.65rem 1rem !important; }
.card-contact h3 { font-size: 1.25rem !important; }
.card-contact { border-radius: 20px !important; }
.card-contact .card-body { padding: 1.5rem 1.75rem !important; }
main section.py-5 .container.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.contact-card:hover { box-shadow: 0 18px 40px rgba(30,27,75,.1); transform: translateY(-4px); }
.contact-card .ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.contact-card .ic svg{width:24px;height:24px;}

/* ============================================================
   全宽首屏轮播大图（图片为底层 / 文字浮于顶层）
   ============================================================ */
.hero-slider-section { width: 100%; overflow: hidden; }
.hero-slider, .hero-slide { width: 100%; }
.hero-slide {
  position: relative;
  min-height: 80vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
/* 图层：渐变遮罩压暗，保证文字可读（文字在其上层） */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,12,41,.86) 0%, rgba(15,12,41,.62) 38%, rgba(15,12,41,.18) 72%, rgba(15,12,41,.05) 100%),
    linear-gradient(180deg, rgba(15,12,41,.35) 0%, rgba(15,12,41,0) 30%, rgba(15,12,41,.25) 100%);
}
/* 文字内容（最顶层） */
.hero-slide-inner { position: relative; z-index: 3; width: 100%; padding-top: 76px; }
.hero-text { max-width: 660px; color: #fff; }
.hero-text .hero-eyebrow {
  display: inline-block; font-size: 0.88rem; font-weight: 700; letter-spacing: 1.5px;
  color: #C7D2FE; padding: 6px 14px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px; margin-bottom: 16px; backdrop-filter: blur(4px);
}
.hero-text .hero-title {
  font-size: calc(2.35rem + 1.2vw); line-height: 1.2; font-weight: 900;
  color: #fff; margin: 0 0 12px; text-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.hero-text .hero-sub {
  font-size: calc(0.95rem + .35vw); font-weight: 700; color: #FBBF24;
  margin: 0 0 14px; text-shadow: 0 4px 18px rgba(0,0,0,.3);
}
.hero-text .hero-desc {
  font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,.88);
  max-width: 520px; margin: 0 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-outline-light { border-width: 2px; font-weight: 700; }

/* 进入动画 */
.hero-slide .hero-text > * { opacity: 0; transform: translateY(28px); }
.hero-slider .swiper-slide-active .hero-text > * { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-slider .swiper-slide-active .hero-text > *:nth-child(1){ animation-delay:.15s; }
.hero-slider .swiper-slide-active .hero-text > *:nth-child(2){ animation-delay:.30s; }
.hero-slider .swiper-slide-active .hero-text > *:nth-child(3){ animation-delay:.45s; }
.hero-slider .swiper-slide-active .hero-text > *:nth-child(4){ animation-delay:.60s; }
.hero-slider .swiper-slide-active .hero-text > *:nth-child(5){ animation-delay:.75s; }
@keyframes heroIn { to { opacity:1; transform:translateY(0); } }

/* 分页圆点 */
.hero-pagination { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 5; text-align: center; }
.hero-pagination .swiper-pagination-bullet {
  width: 12px; height: 12px; background: #fff; opacity: .45; margin: 0 6px !important; transition: all .3s ease;
}
.hero-pagination .swiper-pagination-bullet-active { opacity: 1; width: 34px; border-radius: 6px; background: #fff; }

/* 左右箭头 */
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px); transition: all .3s ease;
}
.hero-nav:hover { background: var(--brand); border-color: var(--brand); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* 响应式 */
@media (max-width: 991px){
  .hero-slide { min-height: 78vh; }
  .hero-nav { display: none; }
  .hero-text .hero-desc { font-size: 16px; }
}
@media (max-width: 575px){
  .hero-slide { min-height: 70vh; }
  .hero-slide-inner { padding-top: 70px; }
  .hero-text { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-text .hero-desc { margin-left:auto; margin-right:auto; }
}

/* ---------- 信赖之选条 ---------- */
.trusted-strip { padding: 36px 0; background: #fff; border-bottom: 1px solid #F1F0FB; }

/* ---------- 整站满屏适配 ---------- */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

/* ---------- 在线咨询悬浮按钮（官方浅色 · 紧凑） ---------- */
.float-consult {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 900;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #1E1B4B;
  background: #fff;
  border: 1px solid #e4e7f0;
  box-shadow: 0 6px 18px rgba(30, 27, 75, .1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.float-consult:hover {
  transform: translateY(-2px);
  color: #1E1B4B;
  border-color: #c7d2fe;
  box-shadow: 0 10px 24px rgba(30, 27, 75, .12);
}
.float-consult .bi {
  font-size: 17px;
  line-height: 1;
  color: var(--brand);
  flex-shrink: 0;
}
.float-consult span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .float-consult {
    right: 14px;
    bottom: 88px;
    padding: 8px 12px;
    gap: 6px;
  }
  .float-consult span { font-size: 12px; }
  .float-consult .bi { font-size: 16px; }
}

/* ---------- 隐藏自定义鼠标光标（避免在普通页面干扰） ---------- */
.custom-cursor { display: none !important; }

/* ============================================================
   官方高级化：统一图标 + 精致动效
   ============================================================ */

/* —— 统一图标：去除彩虹色块，改为品牌描边 + 浅底，hover 填充渐变 —— */
.card-feature .icon,
.value-icon {
  width: 66px; height: 66px; border-radius: 18px;
  background: rgba(79, 70, 229, .09) !important;
  color: var(--brand) !important;
  box-shadow: none !important;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), background .45s ease, color .45s ease, box-shadow .45s ease;
}
.card-feature .icon svg,
.value-icon svg { width: 30px; height: 30px; }
.card-feature:hover .icon,
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(79, 70, 229, .32) !important;
  transform: translateY(-3px);
}

/* 为什么选择我们：图标统一成品牌色磁贴 */
.card-benefits .card-icon {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79, 70, 229, .09);
  color: var(--brand) !important;
  padding: 0 !important; margin-right: 22px !important;
  transition: all .45s cubic-bezier(.22,.61,.36,1);
}
.card-benefits .card-icon svg { width: 30px; height: 30px; }
.card-benefits:hover .card-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(79, 70, 229, .32);
}

/* ---------- 关于我们 · 典型案例（6 项 · 两行三列） ---------- */
.about-case-row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}
.about-case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 14px 40px rgba(30, 27, 75, .08);
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
}
.about-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(30, 27, 75, .12);
}
.about-case-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.about-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.about-case-card:hover .about-case-card__media img {
  transform: scale(1.04);
}
.about-case-card__tag {
  display: inline-block;
  margin: 18px 22px 0;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: rgba(79, 70, 229, .08);
  border-radius: 6px;
}
.about-case-card__tag--global {
  color: #0d9488;
  background: rgba(13, 148, 136, .1);
}
.about-case-card__title {
  font-family: var(--font-core-title) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: 1.2rem;
  line-height: 1.45;
  color: #101840;
  letter-spacing: 0.06em;
  margin: 12px 22px 10px;
}
.about-case-card__desc {
  padding: 0 22px 22px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4b5563;
}
@media (min-width: 1200px) {
  .about-case-card__media { aspect-ratio: 16 / 9; }
  .about-case-card__title { font-size: 1.28rem; }
}
@media (max-width: 767px) {
  .about-case-row { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
}

/* 核心服务（双板块 · 大号无框卡片） */
.benefits--core .container {
  max-width: 1140px;
}
.benefits--core .core-service-row {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
}
.core-service-panel {
  padding: 44px 48px 48px;
  border-radius: 24px;
  border: none;
  background: #fff;
  box-shadow: 0 18px 50px rgba(30, 27, 75, .08);
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
}
.core-service-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(79, 70, 229, .12);
}
.core-service-panel__title {
  font-family: var(--font-core-title) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  margin-bottom: 1.75rem;
  padding: 0;
  border: none;
  color: #101840;
  letter-spacing: 0.12em;
  text-shadow: none;
}
.core-service-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.85;
  color: #4b5563;
}
.core-service-list li:last-child { margin-bottom: 0; }
.core-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.core-service-list strong {
  display: inline;
  color: #1E1B4B;
  font-weight: 700;
  font-size: 1.05em;
}
@media (max-width: 991px) {
  .core-service-panel { padding: 36px 32px 38px; }
  .core-service-list li { margin-bottom: 1.25rem; }
}
@media (max-width: 575px) {
  .benefits--core .core-service-row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
  }
  .core-service-panel { padding: 28px 24px 30px; border-radius: 20px; }
}

/* 联系卡图标统一（已为品牌渐变，hover 时强化） */
.contact-card:hover .ic { box-shadow: 0 16px 30px rgba(79, 70, 229, .3); }

/* —— 卡片悬浮动效（统一顺滑上浮） —— */
.card-feature,
.card-benefits,
.value-card,
.contact-card,
.news-card {
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease, border-color .45s ease;
  will-change: transform;
}
.card-feature:hover,
.card-benefits:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(30, 27, 75, .12);
}

/* ============================================================
   按钮组件库风格（参考 UI Buttons / ui-buttons.web.app）
   Slide Reveal 渐变滑入 + Shine 光泽扫过 + Fill 描边填充
   ============================================================ */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, color .35s ease, border-color .35s ease;
}

/* 主按钮：底色 + 悬停渐变从左滑入 */
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--brand-2), var(--brand) 70%);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover::after { transform: translateX(0); }
/* 主按钮：光泽扫过 */
.btn-primary::before {
  content: "";
  position: absolute; top: 0; left: -130%; width: 55%; height: 100%; z-index: 1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-22deg);
  transition: left .65s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 150%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(79, 70, 229, .45); color: #fff; }

/* 次/浅色/描边按钮：悬停品牌色从左填充、文字转白 */
.btn-light::after,
.btn-outline-light::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--brand), var(--brand-2) 80%);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.btn-light:hover::after,
.btn-outline-light:hover::after { transform: translateX(0); }
.btn-light:hover,
.btn-outline-light:hover { color: #fff !important; border-color: var(--brand); transform: translateY(-3px); }

/* —— 关于区块照片：高级化 —— */
.rounded-img { transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease; }
.rounded-img:hover { transform: translateY(-4px) scale(1.005); box-shadow: 0 40px 80px rgba(30, 27, 75, .18); }

/* —— 标签 chip 悬浮 —— */
.partner-chip { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.partner-chip:hover { transform: translateY(-3px); border-color: #C7D2FE; box-shadow: 0 12px 26px rgba(79, 70, 229, .12); }

/* —— 资讯封面图标精致化（缩小、半透明，去“卡通”感） —— */
.news-thumb svg { width: 48px; height: 48px; opacity: .75; }
.news-thumb { transition: transform .5s ease; }
.news-card:hover .news-thumb { transform: scale(1.04); }

/* —— 数据统计：品牌渐变描字 —— */
.stat-num count-up {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* —— 预加载：清爽品牌环形（替换跳动球） —— */
#preloader .double-bounce2 { display: none !important; }
#preloader .double-bounce1 {
  background: transparent !important;
  border: 4px solid rgba(79, 70, 229, .15);
  border-top-color: var(--brand);
  border-radius: 50%;
  opacity: 1 !important;
  animation: hh-spin .9s linear infinite !important;
}
@keyframes hh-spin { to { transform: rotate(360deg); } }

/* —— 区块小标题前置短线，增强官方层次感 —— */
.text-primary.fw-semibold.d-block::before,
.fw-bold.text-primary[data-aos]::before {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--brand); vertical-align: middle; margin-right: 10px;
  border-radius: 2px;
}

/* ============================================================
   全站基准：略紧凑（rem 联动缩小约 10%）
   ============================================================ */
html { font-size: 15px; }
@media (min-width: 1400px){ html { font-size: 16px; } }
@media (min-width: 1700px){ html { font-size: 17px; } }
@media (min-width: 2000px){ html { font-size: 18px; } }
@media (min-width: 2400px){ html { font-size: 19px; } }
@media (max-width: 991px){  html { font-size: 14.5px; } }
@media (max-width: 575px){  html { font-size: 14px; } }

@media (min-width: 1400px){ .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1180px; } }
@media (min-width: 1700px){ .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1320px; } }
@media (min-width: 2000px){ .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1480px; } }

/* —— 导航栏：白底栏，确保深色字清晰可读 —— */
.header { background: #ffffff; box-shadow: 0 2px 24px rgba(30, 27, 75, .06); }
body.scrolled .header { background: #ffffff; box-shadow: 0 8px 30px rgba(79, 70, 229, .12); }
.header .nav .nav-link { color: #1E1B4B !important; }
.header .nav .nav-link.active,
.header .nav .nav-link:hover { color: var(--brand) !important; }
/* 首屏大图给白底导航留出空间 */
.hero-slide-inner { padding-top: 76px !important; }

/* —— 官方 Bootstrap Icons 尺寸适配 —— */
.card-feature .icon .bi,
.value-icon .bi,
.card-benefits .card-icon .bi {
  font-size: 26px;
  line-height: 1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-card .ic .bi { font-size: 24px; line-height: 1; }
.btn-scroll-up .bi { font-size: 18px; }
.hero-nav .bi { font-size: 24px; }
.news-thumb .bi { font-size: 50px; color: rgba(255,255,255,.92); opacity: .85; }
.footer .bi { font-size: 20px; }
.testimonials .bi-star-fill { font-size: 20px; }

/* —— 导航栏：紧凑高度 + 适中字号 —— */
.header {
  height: 68px !important;
  min-height: 68px;
}
body.scrolled .header {
  height: 60px !important;
  min-height: 60px;
}
.header .container {
  height: 100%;
}
.header .nav .nav-link {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 0.35rem 0.85rem !important;
}
.header .brand-name { font-size: 1.15rem; margin-left: 10px; }
.header .brand-name small { font-size: 0.62rem; letter-spacing: 2px; }
.header a[href^="tel:"],
.header .header-phone { font-size: 0.95rem !important; font-weight: 600 !important; }
.header .btn-sm {
  font-size: 0.88rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}
.header-logo { height: 36px !important; width: auto !important; }
@media (min-width: 1700px){
  .header { height: 72px !important; min-height: 72px; }
  body.scrolled .header { height: 64px !important; min-height: 64px; }
  .header .nav .nav-link { font-size: 1rem !important; }
  .header-logo { height: 38px !important; }
}

/* —— 正文 / 标题：适中略紧凑 —— */
.hero-text .hero-desc { font-size: 1.05rem; line-height: 1.75; }
.hero-text .hero-eyebrow { font-size: 0.92rem; }
section p.fs-5, .fs-5 { font-size: 1.05rem !important; line-height: 1.75 !important; }
h2.fs-1, .fs-1 { font-size: calc(1.65rem + 0.9vw) !important; line-height: 1.25 !important; }
.card-feature p, .card-benefits p, .value-card p, .news-card p { font-size: 0.95rem; line-height: 1.75; }
.card-feature h4, .card-benefits h4, .value-card h4 { font-size: 1.15rem; }
.accordion-button .fs-5 { font-size: 1.05rem !important; }
.partner-chip { font-size: 0.92rem; padding: 10px 22px !important; }

.hero-text .hero-title { font-size: calc(2.35rem + 1.2vw); line-height: 1.2; }
@media (min-width: 1700px){ .hero-text .hero-title { font-size: 3.6rem; } }

/* ---------- 关于我们 · 实拍图库（两行 6 张 + 自动轮播） ---------- */
.about-gallery-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 12px;
}
.about-gallery-intro {
  max-width: 820px;
  font-size: 0.95rem;
  line-height: 1.75;
}
.about-gallery-slider {
  padding: 0 52px 40px;
}
.about-gallery-swiper {
  overflow: hidden;
  border-radius: 4px;
  padding-bottom: 40px;
}
.about-gallery-swiper .swiper-slide {
  height: auto;
}
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
}
.about-gallery-grid--tail {
  grid-template-columns: repeat(3, 1fr);
}
/* 动态内容：条目增多时保持原站间距与换行 */
.sc-auto-grid {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}
.sc-auto-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.sc-auto-grid .card-feature,
.sc-auto-grid .ent-card,
.sc-auto-grid .news-card,
.sc-auto-grid .about-case-card,
.sc-auto-grid .value-card,
.sc-auto-grid .core-service-panel {
  flex: 1;
}
@media (min-width: 1200px) {
  .sc-auto-grid.sc-auto-grid--dense {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
  }
}
.about-gallery-card {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(30, 27, 75, .12);
  background: #fff;
}
.about-gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.about-gallery-card figcaption {
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E1B4B;
  text-align: center;
  background: #fff;
}
.about-gallery-pagination {
  bottom: 0 !important;
}
.about-gallery-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--brand);
  opacity: .35;
}
.about-gallery-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 6px;
}
.about-gallery-slider .about-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 22px rgba(30, 27, 75, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-gallery-slider .about-gallery-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 28px rgba(79, 70, 229, .22);
}
.about-gallery-slider .about-gallery-prev { left: 0; }
.about-gallery-slider .about-gallery-next { right: 0; }
@media (min-width: 1400px) {
  .about-gallery-card img { height: 320px; }
  .about-gallery-grid { gap: 32px 40px; }
}
@media (max-width: 991px) {
  .about-gallery-wrap { max-width: 100%; }
  .about-gallery-slider { padding: 0 44px 36px; }
  .about-gallery-grid { gap: 22px 28px; }
  .about-gallery-card img { height: 220px; }
}
@media (max-width: 767px) {
  .about-gallery-slider { padding: 0 0 36px; }
  .about-gallery-slider .about-gallery-nav { display: none; }
  .about-gallery-grid,
  .about-gallery-grid--tail {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
  }
  .about-gallery-card img { height: 190px; }
}
@media (max-width: 575px) {
  .about-gallery-grid { gap: 14px 18px; }
  .about-gallery-card img { height: 165px; }
  .about-gallery-card figcaption { font-size: 0.88rem; padding: 10px 12px; }
}

/* ---------- 资讯封面实拍图 ---------- */
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.news-card:hover .news-thumb img { transform: scale(1.06); }

/* ============================================================
   走进标杆企业 · 实拍网格（参考海外版"推荐参访企业"布局）
   ============================================================ */
.enterprise { padding: 0 0 30px; }
.ent-card {
  position: relative; display: block; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 3; text-decoration: none;
  box-shadow: 0 14px 40px rgba(30, 27, 75, .1);
}
.ent-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.ent-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,12,41,0) 40%, rgba(15,12,41,.2) 60%, rgba(15,12,41,.85) 100%);
  transition: background .4s ease;
}
.ent-card:hover img { transform: scale(1.07); }
.ent-card .ent-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 24px; color: #fff;
}
.ent-card .ent-name { font-size: 1.35rem; font-weight: 700; margin: 0; }
.ent-card .ent-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: .95rem; color: #fff; opacity: 0; transform: translateY(8px);
  transition: all .4s ease;
}
.ent-card:hover .ent-tag { opacity: 1; transform: translateY(0); }
.ent-card .ent-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 14px; border-radius: 50px; font-size: .85rem; font-weight: 700;
  color: #fff; background: rgba(79, 70, 229, .85); backdrop-filter: blur(4px);
}

/* —— 区块纵向间距整体收紧 —— */
section.about-us { padding-top: 88px !important; }
section.features,
section.benefits,
section.integrations,
section.testimonials,
section.faq,
section.news,
section.enterprise,
section.about-us-2 {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}
section.sc-breadcrumb {
  padding-top: 148px !important;
  padding-bottom: 56px !important;
}
section .pb-5.mb-sm-5,
section .mb-3.pb-5.mb-sm-5 { margin-bottom: 2rem !important; padding-bottom: 2rem !important; }
.btn-lg { font-size: 0.95rem !important; padding: 0.55rem 1.35rem !important; }
.news-card .news-body { padding: 18px; }
.ent-card .ent-meta { padding: 16px 18px; }
.ent-card .ent-name { font-size: 1.1rem; }

@media (max-width: 767px) {
  section.about-us,
  section.features,
  section.benefits,
  section.integrations,
  section.testimonials,
  section.faq,
  section.news { padding-top: 56px !important; padding-bottom: 56px !important; }
  section.sc-breadcrumb { padding-top: 120px !important; padding-bottom: 40px !important; }
  .hero-slide { min-height: 72vh; }
}

/* ---------- 响应式微调 ---------- */
@media (max-width: 991px){
  .header { height: 60px !important; min-height: 60px; }
  .header-logo{ height: 32px !important; }
  .header .nav .nav-link{ font-size: 0.92rem !important; }
  .hero-slide-inner { padding-top: 64px !important; }
}
