/* ============================================================
   内页样式层（专题 / 栏目 / 列表 / 详情 / 单页 / 联系）
   依赖 site.css 的主题变量（--brand / --ink / --line ...）
   用途：补齐 page-banner / section / container / prose 等内页通用类
   ============================================================ */

/* ---------- 通用容器（与 .y-container 对齐） ---------- */
.container {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--maxw) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 内页横幅 ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, #0A4368 0%, #0E5C8A 52%, #14689A 100%);
  color: #fff;
  padding: 58px 0 54px;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; right: -80px; top: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,151,78,.20), transparent 68%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 2; }
.pb-eyebrow {
  display: inline-block;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.page-banner h1 {
  margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; letter-spacing: .01em; line-height: 1.3;
}
.page-banner .crumbs {
  font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.9;
}
.page-banner .crumbs a { color: rgba(255,255,255,.88); }
.page-banner .crumbs a:hover { color: #fff; }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.section.soft { background: var(--brand-mist); }
.col-list { padding-top: 52px; }

/* ---------- 列表页通用文字 ---------- */
.col-intro {
  font-size: 15.5px; line-height: 1.95; color: var(--ink-2);
  max-width: 860px; margin: 0 0 30px;
}

/* ---------- 分类筛选条 ---------- */
.prod-filter, .cats-bar {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.pf-btn {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 18px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2);
  background: var(--bg-3); border: 1px solid transparent;
  transition: all .18s;
}
.pf-btn:hover { color: var(--brand); background: var(--brand-soft); }
.pf-btn.active {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500;
}

/* ---------- 空状态 ---------- */
.empty-box {
  text-align: center; padding: 66px 24px;
  background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: var(--r-md);
}
.empty-box-ic {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; color: var(--brand); display: grid; place-items: center;
  box-shadow: var(--sh-1);
}
.empty-box h3 { font-size: 18px; color: var(--ink); margin: 0 0 10px; }
.empty-box p { font-size: 14px; color: var(--ink-3); line-height: 1.8; margin: 0; }
.empty-tip { text-align: center; color: var(--ink-3); font-size: 14px; padding: 40px 0; }

/* ---------- 按钮（内页通用） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; padding: 0 22px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; border: 1px solid transparent;
  transition: all .2s; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--line-2); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.hs-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 22px; border-radius: var(--r-sm);
  font-size: 14px; background: var(--brand-soft); color: var(--brand);
  transition: all .2s;
}
.hs-btn:hover { background: var(--brand); color: #fff; }
.hs-btn-gold { background: var(--gold); color: #fff; }
.hs-btn-gold:hover { background: #B0853F; }

/* ---------- 单页 / 富文本 ---------- */
.col-page { padding: 60px 0 76px; }
.col-two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.col-main { min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.col-rich, .prose, .y-rich {
  font-size: 15.5px; line-height: 2.05; color: var(--ink-2); word-break: break-word;
}
.col-rich > *:first-child, .prose > *:first-child, .y-rich > *:first-child { margin-top: 0; }
.col-rich h2, .prose h2, .y-rich h2 {
  font-size: 22px; color: var(--ink); margin: 34px 0 14px; font-weight: 700;
  padding-left: 14px; border-left: 3px solid var(--brand);
}
.col-rich h3, .prose h3, .y-rich h3 { font-size: 18px; color: var(--ink); margin: 26px 0 12px; font-weight: 600; }
.col-rich h4, .prose h4, .y-rich h4 { font-size: 16px; color: var(--ink); margin: 20px 0 10px; font-weight: 600; }
.col-rich p, .prose p, .y-rich p { margin: 0 0 16px; }
.col-rich img, .prose img, .y-rich img {
  max-width: 100%; height: auto; border-radius: var(--r-md); margin: 18px 0;
}
.col-rich ul, .col-rich ol, .prose ul, .prose ol, .y-rich ul, .y-rich ol {
  margin: 0 0 16px; padding-left: 22px;
}
.col-rich li, .prose li, .y-rich li { margin-bottom: 8px; }
.col-rich blockquote, .prose blockquote, .y-rich blockquote {
  margin: 20px 0; padding: 14px 20px; background: var(--brand-mist);
  border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-2); font-size: 15px;
}
.col-rich table, .prose table, .y-rich table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px;
}
.col-rich th, .prose th, .y-rich th {
  background: var(--bg-3); color: var(--ink); font-weight: 600;
  padding: 11px 14px; border: 1px solid var(--line); text-align: left;
}
.col-rich td, .prose td, .y-rich td {
  padding: 11px 14px; border: 1px solid var(--line); color: var(--ink-2);
}
.col-rich a, .prose a, .y-rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* 侧栏卡片 */
.col-side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 20px; box-shadow: var(--sh-1);
}
.col-side-card h4 {
  font-size: 15px; color: var(--ink); margin: 0 0 14px; font-weight: 600;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.col-side-card a, .col-side-card p {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 0 0 10px;
}
.col-side-card a:hover { color: var(--brand); }
.col-side-card svg { color: var(--brand); flex: 0 0 auto; margin-top: 3px; }

/* ---------- 新闻列表 ---------- */
.news-list-v8 { display: flex; flex-direction: column; gap: 0; }
.nl-item {
  display: grid; grid-template-columns: 254px minmax(0, 1fr); gap: 26px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.nl-item:first-child { padding-top: 0; }
.nl-thumb {
  display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-3);
}
.nl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nl-item:hover .nl-thumb img { transform: scale(1.05); }
.nl-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink-4); }
.nl-ph-ic { display: grid; place-items: center; }
.nl-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.nl-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.nl-cat {
  font-size: 11.5px; color: var(--brand); background: var(--brand-soft);
  padding: 3px 10px; border-radius: 5px; font-weight: 500;
}
.nl-date { font-size: 12.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.nl-body h3 { margin: 0 0 10px; font-size: 17.5px; line-height: 1.55; font-weight: 600; }
.nl-body h3 a { color: var(--ink); }
.nl-item:hover .nl-body h3 a { color: var(--brand); }
.nl-body p {
  font-size: 14px; line-height: 1.85; color: var(--ink-3); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nl-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--brand); font-weight: 500;
}

/* ---------- 案例网格 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.scene-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.scene-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px -24px rgba(8, 50, 77, .45);
  border-color: rgba(14, 92, 138, .22);
}
.sc-img {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-3);
  border-radius: 14px 14px 0 0;
}
.sc-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s; }
.scene-card:hover .sc-img img { transform: scale(1.05); }
.sc-count {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(8, 50, 77, .78); color: #fff;
  font-size: 11px; padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.no-img-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--ink-4); background: linear-gradient(135deg, #EDF3F7, #F7FAFC);
}
.sc-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.sc-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 9px; }
.sc-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-4); }
.sc-body h3 { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0 0 9px; font-weight: 600;
  word-break: break-word; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2em; }
.sc-body h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.sc-body h3 a:hover, .scene-card:hover .sc-body h3 a { color: var(--brand); }
.sc-body p,
.sc-body .sc-sum {
  font-size: 13.5px; line-height: 1.8; color: var(--ink-3); margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-view {
  margin-top: auto; font-size: 13px; color: var(--brand); font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; text-decoration: none; transition: gap .2s;
}
.sc-view:hover { gap: 9px; text-decoration: underline; }

/* ---------- 产品卡网格 ---------- */
.lp-grid, .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 17px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block; align-self: flex-start; font-size: 11.5px;
  color: var(--brand); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 5px; margin-bottom: 9px;
}
.card-body h3 { font-size: 15.5px; line-height: 1.55; color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.card-body p { font-size: 13px; line-height: 1.75; color: var(--ink-3); margin: 0; }

/* ---------- 详情页布局 ---------- */
.y-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.y-detail-main { min-width: 0; }
.y-detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.y-detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px 30px; box-shadow: var(--sh-1);
}
.y-detail-sum {
  font-size: 15px; line-height: 1.9; color: var(--ink-2);
  background: var(--brand-mist); padding: 15px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: 3px solid var(--brand);
  margin: 0 0 24px;
}
.news-meta {
  display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--ink-4);
  padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.case-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px; margin: 0 0 26px;
}
.case-facts > div {
  background: var(--bg-2); border-radius: var(--r-sm); padding: 13px 15px;
}
.case-facts b { display: block; font-size: 12px; color: var(--ink-4); font-weight: 500; margin-bottom: 4px; }
.case-facts span { font-size: 14px; color: var(--ink); font-weight: 500; }
.case-rel { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-rel h3 { font-size: 17px; color: var(--ink); margin: 0 0 18px; }
.case-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 40px; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 22px; transition: box-shadow .25s, transform .25s;
}
.contact-item:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.contact-item .icon-box {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 14px;
}
.ci-main { font-size: 15px; color: var(--ink); font-weight: 600; margin: 0 0 5px; line-height: 1.6; }
.ci-sub { font-size: 12.5px; color: var(--ink-4); margin: 0; }
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px; box-shadow: var(--sh-1);
}

/* ---------- 数据统计 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.stats-grid .stat {
  text-align: center; padding: 26px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.stats-grid .stat b { display: block; font-size: 34px; color: var(--brand); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stats-grid .stat span { font-size: 13px; color: var(--ink-3); }
.stats-grid-light .stat { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.stats-grid-light .stat b { color: #fff; }
.stats-grid-light .stat span { color: rgba(255,255,255,.72); }

/* ---------- 分页 ---------- */
.pagination, .pager {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px;
}
.pagination a, .pagination span, .pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); transition: all .18s;
}
.pagination a:hover, .pager a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active, .pagination .current, .pager .active, .pager .current {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.pagination .disabled, .pager .disabled { opacity: .4; pointer-events: none; }

/* ---------- 动画占位（避免未触发时不可见） ---------- */
.hs-reveal.in, .y-fade.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .col-two { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .y-detail { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
  .lp-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .section { padding: 48px 0; }
  .page-banner { padding: 44px 0 40px; }
  .col-two { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .y-detail { grid-template-columns: 1fr; }
  .y-detail-side { position: static; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-rel-grid, .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-item { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
  .y-detail-card { padding: 24px 20px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 38px 0; }
  .page-banner { padding: 34px 0 32px; }
  .page-banner h1 { font-size: 22px; }
  .lp-grid, .grid-3, .scene-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-item { grid-template-columns: 1fr; gap: 13px; }
  .nl-thumb { aspect-ratio: 16 / 9; }
  .nl-body h3 { font-size: 16px; }
  .case-rel-grid, .case-facts { grid-template-columns: 1fr; }
  .contact-form-wrap, .y-detail-card { padding: 20px 16px; }
  .prod-filter { gap: 8px; }
  .pf-btn { height: 33px; padding: 0 14px; font-size: 12.5px; }
}

/* ============ 内页原生表单（无 class 的 input/select/textarea） ============ */
.contact-form-wrap form,
.y-form-panel form > div,
.cf-form { display: block; }

.contact-form-wrap label,
.y-form-panel label {
  display: block; font-size: 13.5px; color: var(--ink-2);
  font-weight: 500; margin-bottom: 7px;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="number"],
.contact-form-wrap input[type="date"],
.contact-form-wrap input[type="month"],
.contact-form-wrap select,
.contact-form-wrap textarea,
.y-form-panel input[type="text"],
.y-form-panel input[type="tel"],
.y-form-panel input[type="email"],
.y-form-panel input[type="number"],
.y-form-panel input[type="date"],
.y-form-panel input[type="month"],
.y-form-panel select,
.y-form-panel textarea {
  box-sizing: border-box;
  width: 100%; max-width: 100%;
  min-height: 44px; padding: 10px 14px;
  font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus,
.y-form-panel input:focus,
.y-form-panel select:focus,
.y-form-panel textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 92, 138, .10);
}
.contact-form-wrap textarea, .y-form-panel textarea { min-height: 110px; resize: vertical; line-height: 1.75; }
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder,
.y-form-panel input::placeholder,
.y-form-panel textarea::placeholder { color: var(--ink-4); }

/* 表单栅格：两列自适应 */
.contact-form-wrap form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px; align-items: start;
}
.contact-form-wrap form > div { min-width: 0; }
.contact-form-wrap form > div:has(textarea),
.contact-form-wrap form > div:has(button),
.contact-form-wrap form > .full { grid-column: 1 / -1; }
.contact-form-wrap form button[type="submit"],
.contact-form-wrap form .cf-submit {
  grid-column: 1 / -1; width: auto; min-width: 180px;
  height: 46px; padding: 0 32px; border: 0; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background .2s;
}
.contact-form-wrap form button[type="submit"]:hover,
.contact-form-wrap form .cf-submit:hover { background: var(--brand-dark); }

/* 单选 / 复选组 */
.contact-form-wrap .cf-radios,
.y-form-panel .cf-radios { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 4px; }
.contact-form-wrap .cf-radios label,
.y-form-panel .cf-radios label {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 400; margin: 0; cursor: pointer;
}
.contact-form-wrap input[type="radio"],
.contact-form-wrap input[type="checkbox"],
.y-form-panel input[type="radio"],
.y-form-panel input[type="checkbox"] {
  width: 16px; height: 16px; min-height: 0; margin: 0;
  accent-color: var(--brand); cursor: pointer;
}

/* 表单字段单元 */
.cf-item { display: block; }
.cf-label {
  display: block; font-size: 13.5px; color: var(--ink-2);
  font-weight: 500; margin-bottom: 7px;
}
.cf-label .req { color: #C0392B; margin-left: 3px; }
.cf-input, .cf-select, .cf-textarea {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 14px;
  font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.cf-textarea { min-height: 110px; resize: vertical; line-height: 1.75; }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 92, 138, .10);
}
.cf-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 46px; padding: 0 30px; border: 0; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background .2s;
}
.cf-submit:hover { background: var(--brand-dark); }

@media (max-width: 640px) {
  .contact-form-wrap form { grid-template-columns: 1fr; }
}

/* ============ 自定义表单真实结构修正（.cf-grid / .form-group） ============ */
.contact-form-wrap form.custom-form,
.y-form-panel form.custom-form,
form.form-card.custom-form {
  display: block !important;
  background: transparent; border: 0; padding: 0; box-shadow: none;
}
.cf-title {
  font-size: 18px; color: var(--ink); font-weight: 650;
  margin: 0 0 8px; padding: 0;
}
.cf-desc {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.8;
  margin: 0 0 22px; padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.cf-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px; align-items: start;
}
.cf-grid .form-group { min-width: 0; }
.cf-grid .form-group.full,
.cf-grid .form-group:has(textarea),
.cf-grid .form-group:has(input[type="file"]) { grid-column: 1 / -1; }
.cf-grid .form-group > label {
  display: block; font-size: 13.5px; color: var(--ink-2);
  font-weight: 500; margin-bottom: 7px;
}
.cf-grid .req { color: #C0392B; margin-left: 3px; }
.cf-grid input[type="text"],
.cf-grid input[type="tel"],
.cf-grid input[type="email"],
.cf-grid input[type="number"],
.cf-grid input[type="date"],
.cf-grid input[type="month"],
.cf-grid input[type="file"],
.cf-grid select,
.cf-grid textarea {
  box-sizing: border-box; display: block;
  width: 100% !important; max-width: 100%;
  min-height: 44px; padding: 10px 14px;
  font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.cf-grid select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C8894' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.cf-grid textarea { min-height: 118px; resize: vertical; line-height: 1.78; }
.cf-grid input:focus, .cf-grid select:focus, .cf-grid textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 92, 138, .10);
}
.cf-grid input::placeholder, .cf-grid textarea::placeholder { color: var(--ink-4); }
.cf-grid input[type="radio"], .cf-grid input[type="checkbox"] {
  width: 16px !important; height: 16px; min-height: 0;
  margin: 0 6px 0 0; accent-color: var(--brand); display: inline-block;
}
.cf-radios { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 6px; }
.cf-radios label { display: inline-flex; align-items: center; margin: 0; font-weight: 400; cursor: pointer; }

form.custom-form > .cf-submit,
form.custom-form > button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 22px; height: 46px; padding: 0 34px;
  border: 0; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background .2s, transform .1s;
}
form.custom-form > .cf-submit:hover,
form.custom-form > button[type="submit"]:hover { background: var(--brand-dark); }
form.custom-form > .cf-submit:active { transform: translateY(1px); }

/* 提交反馈 */
.form-msg { font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1E7A46; background: #EDF9F1; border: 1px solid #C6E9D3; padding: 10px 14px; border-radius: var(--r-sm); }
.form-msg.err { color: #B03A2E; background: #FDF1EF; border: 1px solid #F2CDC7; padding: 10px 14px; border-radius: var(--r-sm); }

@media (max-width: 640px) {
  .cf-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   会议 / 案例 卡片（lp-*）
   —— 统一图片比例、圆角、按钮样式，图片与标题均可点击进详情
   ============================================================ */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 26px;
  align-items: stretch;
}

.lp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E6EEF5;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.lp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 92, 138, .22);
  box-shadow: 0 20px 42px -24px rgba(8, 50, 77, .45);
}

/* 图片区：固定 16:10 + 圆角裁切，杜绝大小不一 */
.lp-card .lp-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, #EAF2F8, #D8E6F0);
  border-radius: 14px 14px 0 0;
}
.lp-card .lp-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.lp-card:hover .lp-img img { transform: scale(1.045); }
.lp-card .lp-img.no-img { display: grid; place-items: center; }
.lp-card .no-img-mark { color: var(--brand); opacity: .5; }

/* 图上分类角标 */
.lp-card .lp-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(8, 50, 77, .14);
}

.lp-card .lp-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.lp-card .lp-meta { margin-bottom: 8px; }
.lp-card .lp-model,
.lp-card .lp-cat {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  background: #F0F6FB;
  color: var(--brand);
  font-size: 12px;
  line-height: 1.7;
}

.lp-card h3 {
  margin: 0 0 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #12324A;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2em;
}
.lp-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.lp-card h3 a:hover { color: var(--brand); }

.lp-card .lp-body > p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #6E8494;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 按钮组：统一高度、圆角、对齐，永远贴在卡片底部 */
.lp-card .lp-btns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F0F4F8;
}
.lp-card .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid #CFDDE9;
  border-radius: 7px;
  background: #fff;
  color: #3D5A6E;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}
.lp-card .lp-btn span { display: inline; }
.lp-card .lp-btn .icon { flex: 0 0 auto; }
.lp-card .lp-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #F5FAFD;
}
.lp-card .lp-btn-detail {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.lp-card .lp-btn-detail:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}
.lp-card .lp-btn.is-disabled {
  color: #AEBFCC;
  background: #F7FAFC;
  border-color: #EDF2F6;
  cursor: not-allowed;
  pointer-events: none;
}

/* 响应式：平板两列、手机一列 */
@media (max-width: 1024px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
}
@media (max-width: 640px) {
  .lp-grid { grid-template-columns: 1fr; gap: 18px; }
  .lp-card h3 { font-size: 15px; }
  .lp-card .lp-body { padding: 15px 16px 17px; }
  /* 移动端按钮三列过挤，改为等分但缩小图标间距 */
  .lp-card .lp-btns { gap: 6px; }
  .lp-card .lp-btn { font-size: 12.5px; gap: 4px; padding: 0 3px; }
  .lp-card .lp-btn .icon { width: 13px; height: 13px; }
}

/* 长串（含全角括号 / 英文缩写）防溢出兜底 */
.lp-card h3, .lp-card .lp-body > p,
.sc-body h3, .sc-body p,
.mt-card h3, .mt-card .mt-meta span,
.card h3, .card p {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 移动端：为右侧固定悬浮客服留出安全区，避免按钮被遮挡 */
@media (max-width: 768px) {
  /* 右侧固定悬浮客服宽 46px + right:6px，为它预留 52px 安全区 */
  .lp-grid, .scene-grid { padding-right: 52px; }
  .lp-card .lp-btns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 更小屏：按钮改为两行，避免挤压 */
@media (max-width: 420px) {
  .lp-grid, .scene-grid { padding-right: 50px; }
  .lp-card .lp-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-card .lp-btn-case { grid-column: 1 / -1; }
}

/* 咨询表单：带入的会议主题提示条 */
.cf-topic-tip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid #D6E6F2;
  background: #F2F8FD;
  border-radius: 9px;
  font-size: 13.5px;
  color: #46647A;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
.cf-topic-tip .icon { flex: 0 0 auto; color: var(--brand); }
.cf-topic-tip b { color: var(--brand-dark, #12496B); font-weight: 600; }
@media (max-width: 560px) {
  .cf-topic-tip { font-size: 12.5px; padding: 9px 11px; gap: 6px; }
}
