/* ============================================================
   汇务咨询 - 品牌视觉层（覆盖原 CMS 模板的橙色系）
   主色：深蓝 #123E8C　辅色：金 #E3B23C　底色：#082146
   ============================================================ */
:root {
  --orange: #123E8C;
  --orange-d: #0B2A63;
  --black: #082146;
  --ink: #0B2A63;
  --text: #33445C;
  --gray: #7A889E;
  --line: #DCE4F0;
  --light: #F2F6FC;
  --gold: #E3B23C;
}

html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text); }

/* 首屏：深蓝 + 品牌建筑线稿 */
.hero {
  background: linear-gradient(118deg, rgba(7, 27, 62, .88) 0%, rgba(12, 46, 105, .72) 52%, rgba(18, 76, 156, .60) 100%),
              url("../images/brand-texture.png") center / cover no-repeat fixed;
}
.hero:before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 78% 22%, rgba(227, 178, 60, .16), transparent 46%);
}
.hero-kicker { color: var(--gold); }
.hero-kicker small { color: rgba(255, 255, 255, .88); }
.hero-title { text-shadow: 0 .2rem 2.4rem rgba(0, 0, 0, .28); }
.hero-tags { color: #DCE8FF; }
.hero-dots i.on { background: var(--gold); }
.hero-arrow { border-color: rgba(255, 255, 255, .55) !important; color: #fff; }

/* 导航 / 强调 */
body.is-home .nav-bar.is-stuck { background: #fff !important; }
.nav-bar.is-stuck .head-nav > li > a { color: var(--text) !important; }
.nav-bar.is-stuck .head-nav > li.active > a,
body:not(.is-home) .head-nav > li.active > a { color: var(--orange) !important; border-bottom-color: var(--gold) !important; }
.head-nav > li > a:hover { color: var(--orange) !important; }
/* 首页首屏导航为透明底，文字用白 / 金，避免深蓝字淹没在深蓝背景里 */
body.is-home .nav-bar:not(.is-stuck) .head-nav > li > a { color: #fff !important; }
body.is-home .nav-bar:not(.is-stuck) .head-nav > li.active > a,
body.is-home .nav-bar:not(.is-stuck) .head-nav > li > a:hover { color: var(--gold) !important; border-bottom-color: var(--gold) !important; }
.head-nav_child { border-top: 2px solid var(--gold) !important; }
.nav-bar.is-stuck { box-shadow: 0 .15rem 1.4rem rgba(8, 33, 70, .11); }
.more, .btn, .cf-submit, .service-related a { color: var(--orange); }
.cf-submit { background: var(--orange) !important; color: #fff !important; }
.cf-submit:hover { background: var(--orange-d) !important; }
.sec-title { color: var(--ink); }
.sec-title:after, .sec-sub:after { background: var(--gold); }
.news-tag { background: var(--orange) !important; }

/* 数据带 / 关于 / 联系 背景 */
.stats-band { background-attachment: scroll; }
.stats-band:before { background: rgba(7, 27, 62, .76); }
.stats-band .stat b { color: #fff; }
.stats-band .stat span, .stats-band .stat small { color: rgba(255, 255, 255, .86); }
.about-synopsis:before { background: linear-gradient(90deg, #fff, #fff 30%, rgba(246, 249, 255, .96) 44%, rgba(233, 241, 253, .72) 60%, rgba(233, 241, 253, .12) 84%); }
.contact-map { background: linear-gradient(115deg, rgba(7, 27, 62, .94), rgba(16, 55, 121, .78)), url("../images/brand-texture.png") center / cover no-repeat; }
.contact-map:before { background: rgba(7, 27, 62, .38); }
.contact-map .map-card { border-top: 3px solid var(--gold); }
.footer { background: #082146; }
.foot-left-con, .cfes-link-item h4:after { border-color: rgba(255, 255, 255, .22); }
.cfes-link-item h4:after { background: var(--gold); }
.foot-phone p { color: var(--gold); }

/* 图片尺寸沿用模板 CSS，此处只做悬停与色彩微调 */
.case-card:hover .case-card__info { background: rgba(7, 27, 62, .92) !important; }
.share-card:hover .share-card__info h5 { color: var(--orange); }

/* 流程 / 卡片数字 */
.flow-item b, .equip-item b, .adv-item b, .service-info .idx { color: var(--orange); }
.flow-item:hover b { background: var(--orange); color: #fff; border-color: var(--orange); }
.equip-item { border-top: 2px solid rgba(18, 62, 140, .14); }
.equip-item b { color: var(--gold); }

/* 联系页信息标签不折行 */
.detailed-info p b { display: inline-block; margin-right: .45rem; white-space: nowrap; }
.info-qrcode p { white-space: nowrap; }

/* 覆盖内联橙色（案例详情 CTA 按钮） */
a[style*="background:#ff6600"], a[style*="background: #ff6600"] { background: var(--orange) !important; }
[style*="background:#040000"], [style*="background: #040000"] { background: #082146 !important; }

/* ---- 新增：合作模式 / 五大承诺 ---- */
.hw-section { padding: 5.4rem var(--pad); background: #fff; }
.hw-section.alt { background: var(--light); }
.hw-head { text-align: center; margin-bottom: 3.2rem; }
.hw-head .hw-kicker { display: inline-block; font-size: .8rem; letter-spacing: .22rem; color: var(--gold); margin-bottom: .9rem; }
.hw-head h3 { font-size: 2.35rem; font-weight: 600; color: var(--ink); letter-spacing: .04rem; }
.hw-head p { margin-top: .8rem; font-size: 1rem; color: var(--gray); }
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 78rem; margin: 0 auto; }
.hw-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 2.2rem 1.8rem 2rem; box-shadow: 0 1rem 2.4rem rgba(8, 33, 70, .06); transition: transform .3s ease, box-shadow .3s ease; }
.hw-card:hover { transform: translateY(-6px); box-shadow: 0 1.4rem 3rem rgba(8, 33, 70, .14); }
.hw-card.featured { background: linear-gradient(160deg, #0B2A63, #17458E); border-top-color: var(--gold); color: #fff; }
.hw-card .hw-badge { position: absolute; top: -0.9rem; right: 1.4rem; background: var(--gold); color: #082146; font-size: .72rem; padding: .25rem .8rem; letter-spacing: .08rem; }
.hw-card h4 { font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.hw-card.featured h4 { color: #fff; }
.hw-card .hw-for { font-size: .86rem; color: var(--gray); margin-bottom: 1.4rem; }
.hw-card.featured .hw-for { color: rgba(255, 255, 255, .76); }
.hw-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.hw-card li { position: relative; padding: .48rem 0 .48rem 1.15rem; font-size: .92rem; border-bottom: 1px dashed rgba(18, 62, 140, .14); }
.hw-card li:before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .42rem; height: .42rem; background: var(--gold); transform: rotate(45deg); }
.hw-card.featured li { border-bottom-color: rgba(255, 255, 255, .16); }
.hw-card .hw-tag { display: inline-block; font-size: .8rem; letter-spacing: .08rem; color: var(--orange); background: rgba(18, 62, 140, .07); padding: .35rem .9rem; }
.hw-card.featured .hw-tag { color: var(--gold); background: rgba(255, 255, 255, .12); }
.hw-promise-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; max-width: 82rem; margin: 0 auto; }
.hw-promise { background: #fff; border: 1px solid var(--line); padding: 1.8rem 1.2rem; text-align: center; transition: transform .3s ease, border-color .3s ease; }
.hw-promise:hover { transform: translateY(-5px); border-color: var(--gold); }
.hw-promise b { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: rgba(18, 62, 140, .08); color: var(--orange); font-size: 1.05rem; margin-bottom: 1rem; }
.hw-promise h4 { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: .65rem; }
.hw-promise p { font-size: .84rem; line-height: 1.75; color: var(--gray); }

@media (max-width: 1100px) {
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-promise-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hero { background-attachment: scroll; }
  .hw-section { padding: 3.4rem 1.5rem; }
  .hw-head h3 { font-size: 1.7rem; }
  .hw-grid, .hw-promise-grid { grid-template-columns: 1fr; }
}

body.is-home .nav-bar:not(.is-stuck) .logo-bars { fill: var(--gold) !important; }
.head-nav_child li a:hover { background: var(--orange) !important; }

/* ---- 关于：愿景 / 使命 / 价值观（只留公司介绍 + 三张卡） ---- */
.vmv-section { padding-top: 5.6rem; padding-bottom: 6.2rem; }
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 78rem; margin: 0 auto; }
.vmv-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 2.5rem 2rem 2.3rem; min-height: 15rem; }
.vmv-card:nth-child(2) { border-top-color: var(--gold); }
.vmv-no { display: block; font: 700 .82rem/1 Helvetica, Arial, sans-serif; letter-spacing: .14rem; color: var(--gold); margin-bottom: 1.5rem; }
.vmv-en { position: absolute; right: 1.7rem; top: 2.5rem; font-size: .7rem; letter-spacing: .2rem; color: #B6C5DC; }
.vmv-card h4 { font-size: 1.5rem; font-weight: 600; letter-spacing: .08rem; color: var(--ink); margin-bottom: 1rem; }
.vmv-card p { font-size: .94rem; line-height: 1.95; color: var(--text); }

/* ---- 服务卡：常驻标题条（浅色插画上也能一眼识别服务） ---- */
.case-card__label { position: absolute; left: 0; bottom: 0; width: 100%; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.25rem; background: rgba(255, 255, 255, .95); border-top: 1px solid rgba(18, 62, 140, .09); transition: opacity .3s ease, transform .35s ease; }
.case-card__label b { font: 700 .78rem/1 Helvetica, Arial, sans-serif; letter-spacing: .08rem; color: var(--gold); }
.case-card__label h5 { font-size: 1.05rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-card:hover .case-card__label { opacity: 0; transform: translateY(100%); }
.case-card img, .share-card img, .news-cover, .case-cover, .slides img { background: #F4F8FD; }

@media (max-width: 1100px) { .vmv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .vmv-grid { grid-template-columns: 1fr; }
  .vmv-card { min-height: auto; }
  .case-card__label h5 { font-size: .95rem; }
}

/* ---- 新闻：以图片为主的卡片网格 ---- */
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.8rem; padding-top: .5rem; }
.share-grid.home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 2.4rem; }
.share-card { display: flex; flex-direction: column; margin: 0 !important; width: auto; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.share-card:hover { transform: translateY(-5px); box-shadow: 0 1.2rem 2.6rem rgba(8, 33, 70, .12); border-color: #C9D8EE; }
.share-card img { display: block; width: 100%; height: 13.5rem; object-fit: cover; margin: 0 !important; flex: none; }
.share-grid.home-grid .share-card img { height: 15rem; }
.share-card > div { padding: 0 1.5rem 1.7rem; }
.share-card__date { margin: 1.15rem 0 .8rem !important; font-size: .84rem !important; letter-spacing: .03rem; color: var(--gray) !important; }
.share-card__info h5 { font-size: 1.12rem; line-height: 1.55; font-weight: 600; color: var(--ink); margin-bottom: .65rem; transition: color .3s ease; }
.share-card:hover .share-card__info h5 { color: var(--orange) !important; }
.share-card__info p { font-size: .88rem; line-height: 1.8; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1100px) { .share-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .share-grid, .share-grid.home-grid { grid-template-columns: 1fr; }
  .share-card img, .share-grid.home-grid .share-card img { height: 12rem; }
}

/* ---- 栏目页顶部 BANNER（案例 / 分享 / 服务 / 联系） ---- */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  height: clamp(19rem, 25vw, 24rem);
  background-color: #0B2A63;
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}
/* 多图轮播层：每张独立背景，淡入切换 */
.page-banner__slides { position: absolute; inset: 0; z-index: 0; }
.page-banner__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.page-banner__slide.is-active { opacity: 1; }
.page-banner:before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 27, 62, .94) 0%, rgba(9, 38, 88, .86) 32%, rgba(12, 46, 105, .56) 64%, rgba(12, 46, 105, .20) 100%);
}
.page-banner:after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--gold), rgba(227, 178, 60, 0) 68%);
}
.page-banner__inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad); }
.page-banner__dots { position: absolute; z-index: 3; right: var(--pad); bottom: 2.1rem; display: flex; align-items: center; gap: .55rem; }
.page-banner__dot {
  width: .55rem; height: .55rem; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .8); background: transparent;
  transition: width .3s ease, background .3s ease, border-color .3s ease;
}
.page-banner__dot.is-active { width: 1.5rem; background: var(--gold); border-color: var(--gold); }
.page-banner__en { display: block; font: 600 .78rem/1 Helvetica, Arial, sans-serif; letter-spacing: .3rem; color: var(--gold); margin-bottom: 1.15rem; }
.page-banner__title { font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 600; letter-spacing: .12rem; line-height: 1.3; color: #fff; text-shadow: 0 .2rem 1.6rem rgba(0, 0, 0, .24); }
.page-banner__rule { display: block; width: 3.2rem; height: 2px; background: var(--gold); margin: 1.15rem 0 1rem; }
.page-banner__sub { font-size: 1rem; letter-spacing: .05rem; color: rgba(255, 255, 255, .9); line-height: 1.8; }
.page-banner__crumb { display: flex; align-items: center; gap: .6rem; margin-top: 1.7rem; font-size: .82rem; color: rgba(255, 255, 255, .66); }
.page-banner__crumb a { color: rgba(255, 255, 255, .78); }
.page-banner__crumb a:hover { color: var(--gold); }
.page-banner__crumb i { font-style: normal; color: rgba(255, 255, 255, .4); }

/* banner 之后：正文不再重复大标题，改为轻量引导行 */
.banner-follow { padding-top: 3.1rem; }
.page-lead { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.4rem; border-left: 3px solid var(--gold); padding-left: 1.1rem; margin-bottom: 2.1rem; }
.page-lead h2 { font-size: 1.42rem; font-weight: 600; letter-spacing: .04rem; color: var(--ink); }
.page-lead p { font-size: .92rem; color: var(--gray); }

@media (max-width: 760px) {
  .page-banner { height: 17rem; }
  .page-banner__title { font-size: 1.9rem; }
  .page-banner__sub { font-size: .88rem; }
  .page-banner__crumb { margin-top: 1.1rem; }
  .banner-follow { padding-top: 2.4rem; }
}

/* ---- 首页首屏：后台「栏目 BANNER → 首页」配置的图片 ---- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-bg__slide.is-active { opacity: 1; }
/* 有叠加文案时压暗图片，保证文字可读；只上传整张 BANNER 时保持原图效果 */
.hero--has-text .hero-bg:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(118deg, rgba(7, 27, 62, .90) 0%, rgba(12, 46, 105, .74) 52%, rgba(18, 76, 156, .58) 100%);
}

/* ---- 移动端 LOGO：按导航栏高度自适应，避免超出 / 遮挡菜单按钮 ---- */
@media (max-width: 760px) {
  .nav-bar { gap: .8rem; }
  .head-logo.is-img { max-width: 56vw; min-width: 0; flex: 0 1 auto; }
  .head-logo.is-img .logo-swap { max-width: 100%; }
  .head-logo.is-img .logo-swap img { height: auto !important; max-height: 2.6rem; width: auto; max-width: 100%; }
  .nav-toggle { flex: 0 0 auto; margin-left: auto; }
}
