@charset "UTF-8";
/* ============================================================
   板块视觉基线（base）· 当前这套经典商务版用
   深蓝 + 绿强调，稳重排版：首屏、卡片、关于、流程、案例、评价、
   FAQ、新闻、CTA 这些区块的视觉都写在这里。
   以后换一套风格时，把新风格自己的样式表叠在本文件之后加载，
   用来换配色、换圆角、换留白，不用改这里的规则。
   骨架与页头页脚在 assets/css/common/common.css。
   ============================================================ */

/* ---------- 首屏 ----------
   底图 + 蒙层。蒙层透明度在这里统一控制：
   --hero-veil-l 左侧（正文区）遮罩强度，--hero-veil-r 右侧（留白处）遮罩强度。
   现在是「底图透出来」的弱蒙层效果：照片看得见，文字仍然清晰。
   想让照片更通透就把这两个值再调小（如 .55 / .12）。 */
.hero {
  --hero-veil-l: rgba(9, 26, 51, .62);
  --hero-veil-r: rgba(9, 26, 51, .18);
  position: relative;
  padding: 120px 0 104px;
  background-color: #12294d;
  background-image: url("../../img/hero/slide-3.webp");
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  position: absolute; content: ""; inset: 0;
  background:
    linear-gradient(90deg, var(--hero-veil-l) 0%, rgba(9, 26, 51, .42) 42%, var(--hero-veil-r) 100%),
    linear-gradient(180deg, rgba(9, 26, 51, .16) 0%, rgba(9, 26, 51, .52) 100%);
}
.hero .container { position: relative; z-index: 2; }
/* 视频底图：视频铺满首屏，背景图不再显示 */
.hero.has-video { background-image: none; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.35rem); margin-bottom: 22px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: normal; color: var(--accent-green); }
.hero p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 620px; margin-bottom: 30px; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  padding: 6px 15px; border-radius: 30px; font-size: .875rem;
  backdrop-filter: blur(2px);
}
.hero-badges i { color: var(--accent-green); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 56px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats .num { font-size: 2rem; font-weight: 800; color: var(--accent-green); line-height: 1.2; }
.hero-stats .lbl { font-size: .875rem; color: rgba(255, 255, 255, .72); }

/* ---------- 首屏轮播（多屏模式） ---------- */
.hero-slider { padding: 0; background-image: none; }
.hero-slider::before { content: none; }
.hero-slides { position: relative; min-height: 580px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 120px 0 104px;
  background-size: cover; background-position: center 28%; background-repeat: no-repeat;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.hero-slide::before {
  position: absolute; content: ""; inset: 0;
  background:
    linear-gradient(90deg, var(--hero-veil-l) 0%, rgba(9, 26, 51, .42) 42%, var(--hero-veil-r) 100%),
    linear-gradient(180deg, rgba(9, 26, 51, .16) 0%, rgba(9, 26, 51, .52) 100%);
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
/* 圆点按钮：样式直接挂在 .hero-dot 上（hero-slider.js 也按这个类名切换） */
.hero-dot {
  width: 30px; height: 4px; border: 0; border-radius: 3px; padding: 0;
  background: rgba(255, 255, 255, .38); cursor: pointer;
  transition: background .3s ease;
}
.hero-dot.active { background: var(--accent-green); }
.hero-dot:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }

/* ---------- 特色卡片 ---------- */
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); height: 100%; transition: var(--transition);
  border-top: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-top-color: var(--accent-green); }
/* 图标与标题同行，描述另起一行 */
.feature-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.feature-head h4 { font-size: 1.12rem; margin: 0; line-height: 1.45; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex: 0 0 46px; margin-bottom: 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}
.feature-card p { color: var(--muted-text); font-size: .94rem; margin-bottom: 0; }

/* ---------- 服务卡片 ---------- */
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 100%; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; overflow: hidden; height: 190px; background: var(--medium-gray); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb .tag {
  position: absolute; left: 14px; top: 14px; background: var(--accent-green); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: .76rem; font-weight: 600;
}
.service-card .body { padding: 24px; }
.service-card h4 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--muted-text); font-size: .93rem; margin-bottom: 16px; }
.service-card .link { font-weight: 600; color: var(--primary-blue); font-size: .93rem; }
.service-card .link i { transition: var(--transition); }
.service-card:hover .link { color: var(--accent-green-dark); }
.service-card:hover .link i { transform: translateX(5px); }

/* ---------- 服务明细：左图与右侧正文等高 ---------- */
.svc-detail { align-items: stretch; }
.svc-detail > .col-lg-4 { display: flex; }
.svc-detail-media {
  position: relative; flex: 1 1 auto; min-height: 340px; overflow: hidden;
  border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--medium-gray);
}
.svc-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-detail-media .tag {
  position: absolute; left: 14px; top: 14px; background: var(--accent-green); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: .76rem; font-weight: 600;
}
.svc-detail-body { padding-top: 4px; }
.svc-detail-body h3 { font-size: 1.32rem; margin-bottom: 12px; }

/* ---------- 关于 / 图片 ---------- */
.about-visual { position: relative; }
.about-visual .main-img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; right: -18px; bottom: 34px; background: #fff;
  border-radius: 14px; padding: 18px 24px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.about-badge .num { font-size: 2.1rem; font-weight: 800; color: var(--accent-green-dark); line-height: 1; }
.about-badge .lbl { font-size: .85rem; color: var(--muted-text); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .96rem; }
.check-list i { color: var(--accent-green); margin-top: 5px; }

/* ---------- 为什么选择我们 ---------- */
.why-item { display: flex; gap: 20px; padding: 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; transition: var(--transition); }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-num {
  flex: 0 0 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.why-item h4 { font-size: 1.08rem; margin-bottom: 8px; }
.why-item p { color: var(--muted-text); font-size: .93rem; margin: 0; }

/* ---------- 流程 ---------- */
.process-step { position: relative; text-align: center; padding: 0 12px; }
.process-step .circle {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--accent-green); color: var(--primary-blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800;
  box-shadow: var(--shadow); position: relative; z-index: 2;
}
.process-step h5 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--muted-text); font-size: .9rem; margin: 0; }
.process-line { position: relative; }
.process-line::before {
  content: ""; position: absolute; top: 37px; left: 12%; right: 12%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--accent-green) 0 10px, transparent 10px 20px);
}

/* ---------- 案例 ---------- */
.case-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; color: inherit; text-decoration: none; }
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: inherit; }
.case-card:focus-visible { outline: 3px solid var(--accent-green); outline-offset: 3px; }
.case-thumb { position: relative; overflow: hidden; }
.case-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.case-ext { position: absolute; right: 14px; top: 14px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .78rem; padding: 5px 12px; border-radius: 999px; opacity: 0; transition: var(--transition); }
.case-card:hover .case-ext, .case-card:focus-visible .case-ext { opacity: 1; }
.case-card .body { padding: 22px; }
.case-card h5 { font-size: 1.05rem; margin-bottom: 8px; }
.case-card .meta { font-size: .82rem; color: var(--muted-text); display: flex; gap: 14px; flex-wrap: wrap; }
.case-card p { color: var(--muted-text); font-size: .92rem; margin: 10px 0 0; }

/* ---------- 评价 ---------- */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); height: 100%; position: relative; }
.testimonial-card::before {
  content: "\201C"; position: absolute; top: 8px; right: 24px;
  font-size: 4.6rem; color: var(--medium-gray); font-family: Georgia, serif; line-height: 1;
}
.testimonial-card p { color: #4a4a4a; font-size: .96rem; position: relative; z-index: 2; }
.testimonial-user { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-user .name { font-weight: 700; color: var(--primary-blue); font-size: .95rem; }
.testimonial-user .role { font-size: .8rem; color: var(--muted-text); }
.stars { color: #f5a623; font-size: .88rem; margin-bottom: 8px; }

/* ---------- 客户评价（左文右像） ---------- */
.testimonial-split {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 22px; padding: 28px 30px; height: 100%;
}
.testimonial-split .ts-quote { flex: 1 1 auto; min-width: 0; }
.testimonial-split .ts-quote p { color: #4a4a4a; font-size: .96rem; line-height: 1.7; margin: 0; }
.testimonial-split .ts-person { flex: 0 0 auto; width: 128px; text-align: center; }
.testimonial-split .ts-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #f1f5f9; }
.testimonial-split .ts-person .name { font-weight: 700; color: var(--primary-blue); font-size: .95rem; margin-top: .5rem; }
.testimonial-split .ts-person .role { font-size: .8rem; color: var(--muted-text); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 26px; font-weight: 600; color: var(--primary-blue); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { transition: var(--transition); color: var(--accent-green); flex: 0 0 auto; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 26px 22px; color: var(--muted-text); font-size: .95rem; }

/* ---------- 新闻 ---------- */
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { font-size: .8rem; color: var(--muted-text); display: flex; gap: 14px; margin-bottom: 10px; }
.news-card h5 { font-size: 1.04rem; margin-bottom: 10px; }
.news-card h5 a:hover { color: var(--accent-green-dark); }
.news-card p { color: var(--muted-text); font-size: .92rem; margin-bottom: 16px; flex: 1; }
.news-card .more { font-weight: 600; color: var(--primary-blue); font-size: .9rem; }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 20px; padding: 54px 46px; color: #fff; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(46, 204, 113, .18);
}
.cta-box h2 { color: #fff; margin-bottom: 12px; }
.cta-box p { color: rgba(255, 255, 255, .82); margin-bottom: 24px; position: relative; z-index: 2; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .hero { padding: 76px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { padding: 0; }
  .hero-slides { min-height: 470px; }
  .hero-slide { padding: 76px 0 92px; }
  .hero-dots { bottom: 26px; }
  .about-badge { position: static; margin-top: 18px; }
  .cta-box { padding: 38px 26px; }
  .process-line::before { display: none; }
  .svc-detail > .col-lg-4 { display: block; }
  .svc-detail-media { min-height: 240px; }
  .testimonial-split { flex-direction: column; text-align: center; }
  .testimonial-split .ts-quote { order: 2; }
  .testimonial-split .ts-person { order: 1; width: auto; }
}

@media (max-width: 575px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-stats .num { font-size: 1.5rem; }
}
