/* 咨询小窗口样式（与 leadai 页一致：右下角浮动、无遮罩、900×640、PC 自适应）*/

.consult-window {
position: fixed;
bottom: calc(20px + env(safe-area-inset-bottom, 0px));
right: calc(20px + env(safe-area-inset-right, 0px));
z-index: 10000;
width: 900px;
max-width: calc(100vw - 40px);
height: 640px;
max-height: calc(100dvh - 40px);
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
opacity: 0;
visibility: hidden;
transform: translateY(30px) scale(0.95);
transform-origin: bottom right;
transition: opacity 200ms ease-out, visibility 200ms ease-out, transform 200ms ease-out;
}
.consult-window.open {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
}
.consult-window iframe {
width: 100%;
height: 100%;
border: none;
display: block;
}
.consult-close {
position: absolute;
top: 6px;
right: 6px;
width: 28px;
height: 28px;
background: rgba(255, 255, 255, 0.9);
color: #555;
border: none;
border-radius: 50%;
font-size: 15px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
transition: transform 200ms ease-out, background 200ms ease-out, color 200ms ease-out;
}
.consult-close:hover {
transform: rotate(90deg);
background: #1565c0;
color: #fff;
}
@media (max-width: 768px) {
.consult-window {
  width: calc(100vw - 24px);
  height: 420px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
}
}






/* ===================================================
   底部 CTA 区块样式（独立文件，可全站通用复用）
   依赖变量：--radius-full / --radius-md / --transition-fast
   （定义于 common.css / style_new.css）
   引用：<link rel="stylesheet" href="/template/default/static/css/cta.css">
   =================================================== */

/* ---------- 主样式 ---------- */
.yq-cta {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  background: url(/static/images/cta-bg.png) center/cover no-repeat;
}

.yq-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.yq-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.yq-cta__col--text {
  text-align: left;
}

.yq-cta__label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.yq-cta__title {
  font-size: clamp(1.8,3.4vw,2.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  line-height: 1.2;
}

.yq-cta__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 46ch;
}

.yq-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* 右侧保障卡片 */
.yq-cta__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.yq-cta__perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md, 12px);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.yq-cta__perk:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.yq-cta__perk-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #9fd0ff;
  background: rgba(0, 82, 204, 0.45);
  border: 1px solid rgba(159,208,255,.35);
}

.yq-cta__perk-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yq-cta__perk-info strong {
  font-size: .95rem;
  font-weight: 700;
  color: white;
}
.yq-cta__perk-info span {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
}

/* ---------- 响应式：767px 平板/手机 ---------- */
@media (max-width: 767px) {
  .yq-cta {
    padding: 56px 0;
  }


  .yq-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .yq-cta__col--text {
    text-align: center;
  }

  .yq-cta__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .yq-cta__actions {
    justify-content: center;
  }

  .yq-cta__title { font-size: 1.5rem; }

  .yq-cta__perks {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 响应式：480px 小屏手机 ---------- */
@media (max-width: 480px) {
  .yq-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .yq-cta__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .yq-cta__perks {
    grid-template-columns: 1fr;
  }
}


