/* ============================================================
   contact-redesign.css — 联系我们页重设计（contact.html 专属）
   大图标联系卡 / 表单面板强化 / FAQ 与城市微交互
   ============================================================ */

/* ---------------- 01 联系方式：编辑风列表 + 表单 ---------------- */
.ct-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}
.ct-left .ed-title { margin-bottom: 18px; }

/* 联系方式列表：编号 + 发丝分隔线，去卡片化 */
.ct-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ct-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 17px 2px;
  border-top: 1px solid var(--line);
  transition: background .35s, padding-left .45s cubic-bezier(.22, 1, .36, 1);
}
.ct-list li:first-child { border-top: 0; padding-top: 6px; }
.ct-list li:hover { padding-left: 10px; }
.ct-no {
  flex: none;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #b6c4da;
  padding-top: 3px;
  letter-spacing: .04em;
  transition: color .35s;
}
.ct-list li:hover .ct-no { color: var(--c, #006aff); }
.ct-li-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ct-li-body small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ct-li-body b { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.55; word-break: break-all; transition: color .3s; }
.ct-list li:hover .ct-li-body b { color: var(--c, #006aff); }
.ct-li-body em { font-style: normal; font-size: 12px; line-height: 1.8; color: var(--muted); }
.ct-act {
  flex: none;
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c, #006aff);
  border: 1px solid color-mix(in srgb, var(--c, #006aff) 28%, #fff);
  background: #fff;
  transition: background .4s, color .4s, transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s;
}
.ct-act svg { width: 15px; height: 15px; }
.ct-act:hover {
  background: var(--c, #006aff);
  color: #fff;
  transform: translateX(4px) scale(1.06);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c, #006aff) 34%, transparent);
}

/* 预约流程：三步，竖向刻度 */
.ct-next {
  margin-top: 26px;
  padding: 22px 24px 20px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 209, 104, .07), transparent 46%),
    linear-gradient(135deg, rgba(0, 106, 255, .055), rgba(0, 106, 255, .015));
  border: 1px solid rgba(0, 106, 245, .14);
}
.ct-next__t {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.ct-next ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.ct-next ol li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 34px;
}
.ct-next ol li:last-child { padding-bottom: 2px; }
.ct-next ol li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  font-weight: 800;
  color: #0069f5;
  background: #fff;
  border: 1px solid rgba(0, 106, 245, .3);
  border-radius: 999px;
  padding: 2px 8px;
  box-shadow: 0 3px 10px rgba(0, 106, 245, .12);
}
.ct-next ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 26px;
  bottom: 4px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(0, 106, 245, .3), rgba(0, 106, 245, .08));
}
.ct-next ol li b { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ct-next ol li span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }

/* 收尾注脚 */
.ct-note {
  margin: 22px 2px 0;
  padding: 10px 0 10px 16px;
  border-left: 2.5px solid rgba(0, 209, 104, .55);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* 服务号小卡 */
.ct-follow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 2px 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(10, 25, 60, .05);
}
.ct-follow img {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.ct-follow b { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.ct-follow em { font-style: normal; font-size: 12px; line-height: 1.85; color: var(--muted); display: block; max-width: 34em; }

/* ---------------- 表单面板 ---------------- */
.ct-form {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 25, 60, .07);
  transition: box-shadow .5s, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.ct-form:hover { box-shadow: 0 28px 64px rgba(0, 106, 255, .12); transform: translateY(-4px); }
.ct-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
}
.ct-form__glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 209, 104, .16), transparent 70%);
  pointer-events: none;
  animation: ctGlowFloat 8s ease-in-out infinite alternate;
}
@keyframes ctGlowFloat { to { translate: -30px 24px; } }
.ct-form h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.ct-form .form-hint { font-size: 13px; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }
.ct-form .contact-form .form-group label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ct-form .contact-form input,
.ct-form .contact-form select,
.ct-form .contact-form textarea {
  border-radius: 12px;
  transition: border-color .35s, box-shadow .35s;
}
.ct-form .contact-form input:focus,
.ct-form .contact-form select:focus,
.ct-form .contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 106, 255, .10);
}
.ct-submit {
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  background: var(--grad-brand-135);
  border: 0;
  color: #fff;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 106, 255, .30);
}
.ct-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 106, 255, .38); }

/* ---------------- FAQ 微交互 ---------------- */
/* 卡片式 FAQ 已由 redesign.css 统一定义，这里只保留圆角一致性 */
.ct-faq details { border-radius: 14px; }

/* ---------------- 服务网络：城市徽章 ---------------- */
.ct-cities span {
  position: relative;
  transition: color .35s, background .35s, border-color .35s, transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
}
.ct-cities span:hover {
  color: var(--blue);
  background: var(--blue-lighter);
  border-color: rgba(0, 106, 255, .35);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 106, 255, .12);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1060px) {
  .ct-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct-next { padding: 18px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-list li, .ct-act, .ct-form, .ct-cities span, .ct-form__glow { transition: none !important; animation: none !important; }
  .ct-act:hover, .ct-form:hover, .ct-cities span:hover { transform: none; }
  .ct-list li:hover { padding-left: 2px; }
}

/* ============================================================
   cnh-hero — 联系我们页专属 Banner（纸飞机航线主题）
   晨间信笺浅色 + 三条虚线航线 + 纸飞机巡航 + 航站卡片
   ============================================================ */
.cnh-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 110px;
  color: var(--ink);
  background:
    radial-gradient(ellipse 42% 52% at 84% 18%, rgba(0, 209, 104, .08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 6% 96%, rgba(0, 106, 255, .09), transparent 62%),
    linear-gradient(158deg, #f5faff 0%, #eef4ff 46%, #e8effc 74%, #e4ecfa 100%);
}
.cnh-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 106, 255, .12) 1.2px, transparent 1.6px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(ellipse 84% 90% at 38% 40%, #000 22%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 90% at 38% 40%, #000 22%, transparent 100%);
}
/* 航线 */
.cnh-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cnh-path {
  fill: none;
  stroke: rgba(0, 106, 255, .22);
  stroke-width: 1.6;
  stroke-dasharray: 3 11;
  stroke-linecap: round;
  animation: cnhDash 26s linear infinite;
}
.cnh-path--b { stroke: rgba(0, 209, 104, .28); animation-duration: 34s; animation-direction: reverse; }
.cnh-path--c { stroke: rgba(0, 106, 255, .13); animation-duration: 42s; }
@keyframes cnhDash { to { stroke-dashoffset: -560; } }
/* 纸飞机沿主航线巡航 */
.cnh-plane {
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 40px;
  color: #0069f5;
  filter: drop-shadow(0 8px 18px rgba(0, 106, 255, .3));
  offset-path: path("M -40 430 C 320 300, 620 470, 900 330 S 1360 180, 1520 240");
  offset-rotate: auto;
  animation: cnhFly 15s linear infinite;
  pointer-events: none;
}
.cnh-plane svg { width: 100%; height: 100%; }
@keyframes cnhFly {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
/* 幽灵字 */
.cnh-ghost {
  position: absolute;
  top: 26px; right: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(110px, 14vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 106, 255, .13);
  pointer-events: none;
  user-select: none;
  translate: calc(var(--hx, 0) * -26px) calc(var(--hy, 0) * -16px);
  transition: translate .35s ease-out;
  animation: cnhIn 1.3s cubic-bezier(.22, 1, .36, 1) .1s backwards;
}
@keyframes cnhIn { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
/* 航站卡片（悬浮玻璃） */
.cnh-stations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cnh-station {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px 11px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 106, 245, .16);
  box-shadow: 0 12px 32px rgba(16, 42, 90, .1);
  backdrop-filter: blur(4px);
  translate: calc(var(--hx, 0) * var(--gp, 22px)) calc(var(--hy, 0) * var(--gp, 16px));
  transition: translate .35s ease-out;
  animation: cnhFloat 6.5s ease-in-out infinite alternate;
}
.cnh-station svg { width: 17px; height: 17px; color: #0069f5; }
.cnh-station--a { top: 24%; right: 27%; --gp: 34px; }
.cnh-station--a svg { color: #00d168; }
.cnh-station--b { top: 55%; right: 20%; --gp: 24px; animation-delay: -2.4s; }
.cnh-station--b svg { color: #00a851; }
.cnh-station--c { top: 12%; right: 11%; --gp: 18px; animation-delay: -4.2s; font-size: 12.5px; letter-spacing: .06em; }
@keyframes cnhFloat { from { margin-top: 0; } to { margin-top: -14px; } }
/* 文案配色（浅底墨字） */
.cnh-hero .ph-crumbs a, .cnh-hero .ph-crumbs span { color: rgba(20, 36, 63, .78); }
.cnh-hero .ph-crumbs i { color: rgba(20, 36, 63, .4); }
.cnh-hero h1 { color: var(--ink); animation: cnhIn .9s cubic-bezier(.22, 1, .36, 1) .15s backwards; }
.cnh-hero .ph-lead { color: rgba(20, 36, 63, .78); animation: cnhIn .8s ease .45s backwards; }
.cnh-hero .ph-meta div {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(0, 106, 245, .16);
  box-shadow: 0 8px 22px rgba(16, 42, 90, .07);
  transition: background .35s, border-color .35s, transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
}
.cnh-hero .ph-meta div:hover {
  background: #fff;
  border-color: rgba(0, 106, 245, .35);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 106, 255, .13);
}
.cnh-hero .ph-meta span { color: rgba(20, 36, 63, .55); font-size: 11px; letter-spacing: .14em; display: block; }
.cnh-hero .ph-meta b { color: var(--ink); font-size: 16px; }

@media (max-width: 1060px) {
  .cnh-ghost { font-size: 100px; }
  .cnh-station--a, .cnh-station--b { display: none; }
}
@media (max-width: 640px) {
  .cnh-hero { padding: 120px 0 80px; }
  .cnh-plane { width: 28px; height: 28px; }
  .cnh-stations, .cnh-route { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cnh-ghost, .cnh-path, .cnh-plane, .cnh-station,
  .cnh-hero h1, .cnh-hero .ph-lead { animation: none !important; }
}

/* ============================================================
   bk-form — 完整预约表单（分区结构版）
   ============================================================ */
.bk-head { margin-bottom: 22px; }
.bk-head h3 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.bk-head .form-hint { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0 0 14px; }
.bk-head .form-hint .req { color: #e5484d; font-style: normal; }
.bk-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-badges span {
  position: relative;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0069f5;
  background: rgba(0, 106, 245, .07);
  border: 1px solid rgba(0, 106, 245, .18);
  overflow: hidden;
}
.bk-badges span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 13px 5px 11px; }
.bk-badges span::before {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #0069f5 no-repeat center / 8px 8px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.bk-badges span:nth-child(2) { color: #00994d; background: rgba(0, 209, 104, .08); border-color: rgba(0, 209, 104, .22); }
.bk-badges span:nth-child(2)::before {
  background-color: #00a851;
}
.bk-badges span:nth-child(3)::before { background-color: #7c5cd6; }
.bk-badges span:nth-child(3) { color: #7c5cd6; background: rgba(124, 92, 214, .08); border-color: rgba(124, 92, 214, .22); }
.bk-badges span::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  animation: bkBadgeShine 4s ease infinite;
}
.bk-badges span:nth-child(2)::after { animation-delay: 1.3s; }
.bk-badges span:nth-child(3)::after { animation-delay: 2.6s; }
@keyframes bkBadgeShine { 0% { left: -80%; } 45%, 100% { left: 130%; } }

/* 分区：编号胶囊 + 分区名 + 渐隐发丝线（结构感取代原先的淡蓝小点） */
.bk-sec {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 46, 96, .075);
}
.bk-sec:first-of-type { margin-top: 6px; padding-top: 0; border-top: 0; }
.bk-sec-t {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}
.bk-sec-no {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0069f5;
  background: rgba(0, 106, 245, .08);
  border: 1px solid rgba(0, 106, 245, .18);
}
.bk-sec-name {
  flex: none;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
}
.bk-sec-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 46, 96, .13), rgba(20, 46, 96, .02));
}
.bk-sec-dot { display: none; }
.bk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.bk-grid .bk-full { grid-column: 1 / -1; }
.bk-form .form-group { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bk-form label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.bk-form label .req,
.bk-label .req { color: #e5484d; font-style: normal; font-weight: 800; margin-right: 1px; }
.bk-form label .opt {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(20, 36, 63, .06);
}
/* —— 输入控件：大厂风（48px 高、浅灰底、聚焦白底蓝环、错误红、成功绿勾） —— */
.bk-form input[type="text"],
.bk-form input[type="tel"],
.bk-form select,
.bk-form textarea {
  width: 100%;
  padding: 0 15px;
  height: 48px;
  font-size: 14.5px;
  color: var(--ink);
  background: #f6f8fc;
  border: 1.5px solid #e4eaf4;
  border-radius: 12px;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.bk-form textarea { height: auto; min-height: 84px; padding: 13px 15px; line-height: 1.8; }
.bk-form input:hover, .bk-form select:hover, .bk-form textarea:hover { border-color: #c6d6ee; }
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus {
  border-color: #0069f5;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 105, 245, .1);
}
.bk-form input::placeholder, .bk-form textarea::placeholder { color: #a7b3c7; font-size: 13.5px; }
.bk-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.bk-form textarea { resize: vertical; }

/* 手机号：成功绿勾 / 错误红描边 + 错误提示 */
.bk-field { position: relative; display: flex; align-items: center; }
.bk-field input { flex: 1; min-width: 0; padding-right: 40px; }
.bk-field__ok {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  color: #00b864;
  transform: translateY(-50%) scale(.4);
  opacity: 0;
  transition: opacity .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
}
.bk-field.is-ok { }
.bk-field.is-ok .bk-field__ok { opacity: 1; transform: translateY(-50%) scale(1); }
.bk-form .is-error input, .bk-form .is-error select { border-color: #e5484d; background: #fff6f6; }
.bk-form .is-error input:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
/* 提示位：默认灰色说明，出错时原地换红字——高度固定，不顶动下方内容 */
.bk-msg {
  display: flex;
  align-items: center;
  min-height: 16px;
  margin-top: 6px;
}
.bk-msg > em { margin: 0; }
.bk-hint {
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.5;
  color: #9aa7bd;
}
.bk-err {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 0;
  font-size: 12px;
  font-weight: 600;
  color: #e5484d;
  animation: bkErrIn .25s ease;
}
.bk-err::before { content: "!"; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; font-style: normal; }
@keyframes bkErrIn { from { opacity: 0; transform: translateY(-4px); } }

/* 短信验证码：输入 + 按钮合为一个分段控件（类似微信/支付宝验证码输入） */
.bk-code {
  display: flex;
  align-items: stretch;
  height: 48px;
  background: #f6f8fc;
  border: 1.5px solid #e4eaf4;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.bk-code:hover { border-color: #c6d6ee; }
.bk-code:focus-within {
  border-color: #0069f5;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 105, 245, .1);
}
.bk-code input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 6px 0 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  letter-spacing: .22em;
  font-variant-numeric: tabular-nums;
}
.bk-code input[type="text"]:focus { border: 0; background: transparent; box-shadow: none; }
.bk-code input[type="text"]::placeholder { letter-spacing: 0; }
.bk-code__btn {
  position: static;
  flex: none;
  height: 100%;
  padding: 0 17px;
  border: 0;
  border-left: 1px solid #e4eaf4;
  border-radius: 0;
  background: #fff;
  color: #0069f5;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.bk-code__btn:hover:not(:disabled) { background: #eef5ff; }
.bk-code__btn:active:not(:disabled) { background: #e3eeff; }
.bk-code__btn:disabled { color: #a9b5c7; background: #f6f8fc; cursor: not-allowed; }
.bk-code__tip { font-size: 11.5px; font-weight: 600; color: #00994d; }
.bk-code__tip.is-err { color: #e5484d; }

/* 微信同号复选：与验证码同排（右侧格），高度对齐输入框 */
.bk-same, .bk-agree {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}
/* 「同手机号」胶囊开关：固定在微信号 label 右端，不再作为网格项飘移 */
.bk-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  flex-wrap: wrap;
  min-height: 21px;
  height: 21px;
}
.bk-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 21px;
  color: var(--ink);
}
.bk-same-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 21px;
  padding: 0 9px 0 5px;
  border-radius: 999px;
  line-height: 21px;
  font-size: 11.5px;
  font-weight: 700;
  color: #6b7c96;
  background: #fff;
  border: 1px solid #e2e9f5;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color .25s, border-color .25s, background .25s;
}
.bk-form .bk-same-pill { font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.bk-same-pill:hover { color: #0069f5; border-color: rgba(0, 106, 245, .38); }
.bk-same-pill input { position: absolute; opacity: 0; pointer-events: none; }
.bk-same-pill .bk-same-box { flex: none; width: 13px; height: 13px; border-radius: 4px; border-width: 1.4px; }
.bk-same-pill .bk-same-box svg { width: 9px; height: 9px; }
.bk-same-pill input:checked + .bk-same-box {
  background: var(--grad-brand, linear-gradient(135deg, #006AFF, #00D168));
  border-color: transparent;
  transform: none;
}
.bk-same-pill input:checked + .bk-same-box svg { opacity: 1; transform: scale(1); }
.bk-same-pill input:focus-visible + .bk-same-box { box-shadow: 0 0 0 3px rgba(0, 106, 245, .22); }
.bk-same-pill input:checked ~ span:last-child { color: #0069f5; }
.bk-same-pill:has(input:checked) { background: rgba(0, 106, 245, .07); border-color: rgba(0, 106, 245, .3); }
.bk-same input, .bk-agree input { position: absolute; opacity: 0; pointer-events: none; }
.bk-same-box {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #b8c6dd;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s, transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.bk-same-box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.bk-same:hover .bk-same-box, .bk-agree:hover .bk-same-box { border-color: #0069f5; }
.bk-same input:checked + .bk-same-box, .bk-agree input:checked + .bk-same-box {
  background: var(--grad-brand, linear-gradient(135deg, #006AFF, #00D168));
  border-color: transparent;
  transform: scale(1.05);
}
.bk-same input:checked + .bk-same-box svg, .bk-agree input:checked + .bk-same-box svg { opacity: 1; transform: scale(1); }
.bk-agree { margin-top: 18px; font-size: 12.5px; line-height: 1.9; font-weight: 500; color: var(--muted); }
.bk-agree span { color: var(--muted); }

/* 提交按钮：整宽 + 按钮下常驻信任说明 */
.bk-form .ct-submit {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  padding: 0 24px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .03em;
  justify-content: center;
  gap: 10px;
  background: var(--grad-brand, linear-gradient(135deg, #006AFF, #00D168));
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(0, 106, 245, .3);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}
.bk-form .ct-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 106, 245, .42); }
.bk-form .ct-submit:active { transform: translateY(0) scale(.995); }
.bk-form .bk-subnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.bk-form .bk-subnote svg { flex: none; width: 14px; height: 14px; color: #00a851; }

/* ============================================================
   bk-city — 省/市/区 三级联动 + IP 定位
   ============================================================ */
.bk-citywrap { position: relative; }
.bk-city {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #f8fafd;
  border: 1.5px solid var(--line, #e3eaf5);
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.bk-city:hover { border-color: #b9d0f5; }
.bk-city:focus, .bk-city.is-open { border-color: #0069f5; background: #fff; box-shadow: 0 0 0 3.5px rgba(0, 105, 245, .12); }
.bk-city__val { font-size: 14px; }
.bk-city__val.is-empty { color: #9aa7bd; font-size: 13.5px; }
.bk-city__val.is-loc { color: #00994d; }
.bk-city__chev { flex: none; width: 16px; height: 16px; color: #64748b; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.bk-city.is-open .bk-city__chev { transform: rotate(180deg); }
.bk-city__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  /* 面板宽度 = 整个双列表单行（输入框占一半列宽，加列间距），
     避免面板被压窄导致省名竖排换行 */
  width: calc(200% + 16px);
  min-width: 320px;
  z-index: 60;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3eaf5;
  box-shadow: 0 24px 60px rgba(16, 35, 80, .18), 0 4px 14px rgba(16, 35, 80, .08);
  overflow: hidden;
  animation: bkPanelIn .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes bkPanelIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.bk-city__cols {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
  height: 268px;
}
.bk-city__col {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border-right: 1px solid #eef3fa;
  scrollbar-width: thin;
}
.bk-city__col:last-child { border-right: none; }
.bk-city__col::-webkit-scrollbar { width: 5px; }
.bk-city__col::-webkit-scrollbar-thumb { background: #d5dfef; border-radius: 4px; }
.bk-city__col li {
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink, #14243f);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: background .2s, color .2s;
  user-select: none;
}
.bk-city__col li:hover { background: rgba(0, 106, 245, .07); color: #0069f5; }
.bk-city__col li.is-on { background: rgba(0, 106, 245, .1); color: #0069f5; font-weight: 700; }
.bk-city__col li.is-on::after { content: "✓"; font-size: 12px; }
.bk-city__col li.is-more::after { content: "›"; color: #9aa7bd; font-weight: 400; }
.bk-city__col li.is-empty-tip { color: #9aa7bd; cursor: default; font-size: 12.5px; }
.bk-city__col li.is-empty-tip:hover { background: none; color: #9aa7bd; }
.bk-city__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 12.5px;
  color: var(--muted, #64748b);
  background: #f6f9fe;
  border-top: 1px solid #eef3fa;
}
.bk-city__loc .loc-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #40b6ff;
  box-shadow: 0 0 0 0 rgba(64, 182, 255, .5);
  animation: bkLocPulse 1.8s ease-out infinite;
}
@keyframes bkLocPulse {
  0% { box-shadow: 0 0 0 0 rgba(64, 182, 255, .5); }
  100% { box-shadow: 0 0 0 9px rgba(64, 182, 255, 0); }
}
.bk-city__loc.is-done .loc-dot { background: #00c26a; animation-name: bkLocDone; }
@keyframes bkLocDone { 0% { box-shadow: 0 0 0 0 rgba(0, 194, 106, .45); } 100% { box-shadow: 0 0 0 9px rgba(0, 194, 106, 0); } }
.bk-city__loc.is-fail { cursor: pointer; color: #8a94a6; }
.bk-city__loc.is-fail .loc-dot { background: #c8d1de; animation: none; }
.bk-city__loc.is-fail:hover { background: #eef4fd; color: #0069f5; }
.bk-city__loc.is-fail:hover .loc-dot { background: #0069f5; }

@media (max-width: 640px) {
  .bk-grid { grid-template-columns: 1fr; }
  .bk-city__panel { width: 100%; min-width: 0; }
  .bk-city__cols { grid-template-columns: 1fr 1fr; height: 230px; }
  .bk-city__col:nth-child(3) { display: none; }
}

/* 勾选「微信与手机同号」后隐藏微信号输入框 */
.bk-wechat[hidden] { display: none !important; }
.bk-grid .bk-phonewrap.is-full { grid-column: 1 / -1; }

/* ---------------- 协议链接 + 弹窗 ---------------- */
.ag-link {
  color: #0069f5;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 106, 245, .4);
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.ag-link:hover { color: #0047b3; border-bottom-style: solid; border-color: #0047b3; }
/* 弹窗打开时冻结背景滚动（position fixed + 负 top） */
body.ag-lock {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
.ag-modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; }
.ag-modal[hidden] { display: none; }
.ag-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 34, .58);
  backdrop-filter: blur(6px);
  animation: agFade .3s ease;
}
@keyframes agFade { from { opacity: 0; } }
.ag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, calc(100vw - 40px));
  height: min(78vh, 720px);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(4, 10, 30, .4);
  overflow: hidden;
  animation: agCard .4s cubic-bezier(.22, 1, .36, 1);
}
@keyframes agCard { from { opacity: 0; transform: translateY(28px) scale(.97); } }
.ag-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px 16px;
  border-bottom: 1px solid #eef3fa;
}
.ag-head b { font-size: 17px; color: var(--ink); }
.ag-close {
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 36, 63, .06);
  color: var(--ink-2);
  font-size: 19px;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.ag-close:hover { background: rgba(20, 36, 63, .13); transform: rotate(90deg); }
.ag-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  scrollbar-width: thin;
}
.ag-body::-webkit-scrollbar { width: 6px; }
.ag-body::-webkit-scrollbar-thumb { background: #d5dfef; border-radius: 4px; }
.ag-body h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  padding-left: 10px;
  border-left: 3px solid #0069f5;
}
.ag-body h3:first-child { margin-top: 0; }
.ag-body p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--ink-2);
  text-align: justify;
}
.ag-foot {
  flex: none;
  padding: 14px 26px 18px;
  border-top: 1px solid #eef3fa;
  display: flex;
  justify-content: center;
}
.ag-ok {
  min-width: 160px;
  padding: 11px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--grad-brand, linear-gradient(135deg, #006AFF, #00D168));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 106, 245, .28);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}
.ag-ok:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 106, 245, .36); }
@media (max-width: 640px) {
  .ag-card { height: 86vh; }
  .ag-body { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-badges span::after, .bk-city__panel, .bk-city__loc .loc-dot { animation: none !important; }
}

/* 左栏联系方式行：彩色图标 chip（替换编号，消除纯黑单调感） */
.ct-ico2 {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--c, #006aff) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--c, #006aff) 24%, #fff);
  color: var(--c, #006aff);
  transition: background .4s, color .4s, transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s, border-color .4s;
}
.ct-ico2 svg { width: 20px; height: 20px; }
.ct-list li:hover .ct-ico2 {
  background: linear-gradient(135deg, var(--c, #006aff), color-mix(in srgb, var(--c, #006aff) 55%, #00d168));
  color: #fff;
  border-color: transparent;
  transform: rotate(-7deg) scale(1.08);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--c, #006aff) 34%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .ct-ico2 { transition: none !important; }
  .ct-list li:hover .ct-ico2 { transform: none; }
}

/* 勾选「同手机号」后：微信号输入框置灰只读（不隐藏，列宽与行高保持不变） */
.bk-wechat input:disabled {
  background: #eef2f8;
  color: #8c9bb2;
  cursor: not-allowed;
  border-style: dashed;
  border-color: #dbe4f2;
}

/* 验证码独占整行 */
.bk-grid .bk-codewrap { grid-column: 1 / -1; }
/* 左栏「微信服务号」小卡：二维码加安静区与统一描边 */
.ct-follow { align-items: center; }
.ct-follow img {
  width: 76px;
  height: 76px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 6px 16px rgba(21, 80, 190, .1);
  transition: transform .45s var(--spring, cubic-bezier(.34,1.56,.64,1)), box-shadow .4s;
}
.ct-follow:hover img { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 26px rgba(21, 80, 190, .16); }
.ct-follow > div { min-width: 0; }

/* 提交成功态 */
.bk-success {
  margin-top: 8px;
  padding: 26px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eefaf2, #f2f8ff);
  border: 1px solid rgba(0, 168, 81, .28);
  text-align: left;
}
.bk-success b { display: block; font-size: 17px; font-weight: 800; color: #0a7b43; margin-bottom: 8px; }
.bk-success p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.bk-success__no { font-size: 12.5px !important; color: var(--muted) !important; }

/* 验证码输入错误态（错误类直接加在 input 上） */
.bk-code input.is-error { background: #fff6f6; }
.bk-code:has(input.is-error) { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .08); }

/* 提示位防御：灰提示与红错误占同一格，任何情况下都不并排挤压 */
[hidden] { display: none !important; }
.bk-msg { display: grid; }
.bk-msg > * { grid-area: 1 / 1; align-self: center; }
