/* ============================================================
   luyong-zhengshu.css —— 证书价值与用途页专属布局
   ============================================================ */

/* ---------- 首屏 ---------- */
.ly-hero{
  position:relative; min-height:560px; display:flex; align-items:center;
  color:#fff; overflow:hidden;
}
.ly-hero .ph-bg{ position:absolute; inset:0; z-index:0; }
.ly-hero .ph-bg img{ width:100%; height:100%; object-fit:cover; display:block; }
.ly-hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(21,50,56,.3) 0%, rgba(21,50,56,.55) 55%, rgba(21,50,56,.82) 100%);
}
.ly-hero .container{ position:relative; z-index:3; }
.ly-hero .crumbs{ color:rgba(255,255,255,.82); margin-bottom:18px; }
.ly-hero .crumbs a{ color:#D7EEE2; }
.ly-hero h1{ font-size:clamp(28px,5vw,48px); line-height:1.18; margin:6px 0 16px; max-width:20ch; }
.ly-hero .ph-desc{ color:rgba(255,255,255,.92); font-size:17px; line-height:1.9; max-width:640px; }
.ly-hero .ph-actions{ margin-top:26px; display:flex; gap:14px; flex-wrap:wrap; }
.ly-hero .hero-lineart{ position:absolute; left:0; right:0; bottom:0; z-index:2; width:100%; height:52%; }

/* ---------- 折线分割 ---------- */
.split{ line-height:0; }
.split svg{ display:block; width:100%; height:52px; }
.split.flip svg{ transform:scaleY(-1); }

/* ---------- 价值卡 ---------- */
.ly-card{ padding:26px 24px; margin-top:20px; }
.ly-card h3{ margin:14px 0 10px; font-size:19px; color:var(--ink-900); }
.ly-card p{ color:var(--ink-700); line-height:1.9; font-size:15px; }

/* ---------- 场景卡 ---------- */
.scene-card{ overflow:hidden; padding:0; margin-top:20px; }
.scene-card img{ width:100%; height:200px; object-fit:cover; display:block; }
.scene-body{ padding:20px 22px 24px; }
.scene-body h3{ margin:0 0 10px; font-size:18px; color:var(--ink-900); }
.scene-body p{ margin:0; color:var(--ink-700); line-height:1.85; font-size:15px; }

/* ---------- 本地意义段 ---------- */
.body-note{ color:var(--ink-700); line-height:1.95; margin-bottom:14px; max-width:860px; }

/* ---------- 链接卡 ---------- */
.link-grid{ margin-top:30px; }
.link-card{ display:block; padding:22px 24px; transition:transform .2s ease; }
.link-card:hover{ transform:translateY(-4px); }
.link-card h3{ margin:0 0 8px; font-size:18px; color:var(--ink-900); }
.link-card p{ margin:0; color:var(--ink-500); font-size:14px; line-height:1.7; }

/* ---------- CTA ---------- */
.ly-cta{ background:linear-gradient(135deg,#EAF6EF 0%,#FFF7DC 100%); }
.center-box{ text-align:center; max-width:760px; margin:0 auto; }
.center-box h2{ font-size:clamp(24px,3.4vw,34px); color:var(--ink-900); margin-bottom:14px; }
.center-box p{ color:var(--ink-700); line-height:1.9; }
.center-box .ph-actions{ margin-top:24px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- 平板 / 手机 ---------- */
@media (max-width:768px){
  .ly-hero{ min-height:480px; }
  .scene-card img{ height:170px; }
}
@media (max-width:375px){
  .ly-hero{ min-height:440px; }
  .split svg{ height:38px; }
  .center-box .ph-actions .btn{ width:100%; }
}

/* 首屏大标题强制白色，压在实景照片上可读 */
.ly-hero .hero-title, .ly-hero .hero-title .line, .ly-hero .hero-title .line > span{
  color:#fff !important;
  text-shadow:0 2px 16px rgba(0,0,0,.5);
}

/* 首屏标题：覆盖渐变文字，强制纯白不透明 */
.ly-hero .hero-title, .ly-hero .hero-title .line, .ly-hero .hero-title .line > span{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:none !important;
  opacity:1 !important;
  transform:none !important;
  text-shadow:0 2px 18px rgba(0,0,0,.55);
}

@media (max-width:375px){
  .ly-hero .ph-actions{ flex-direction:column; align-items:stretch; }
  .ly-hero .ph-actions .btn{ width:100%; }
}

@media (max-width:640px){
  .ly-hero .ph-actions{ flex-direction:column !important; align-items:stretch !important; }
  .ly-hero .ph-actions .btn{ width:100% !important; }
}
