/* ================= 咨询服务页 ================= */
.page-contact {
  --ct-glass: rgba(255, 255, 255, 0.10);
  --ct-glass-line: rgba(255, 255, 255, 0.24);
  --ct-board-pad: 28px;
}

/* ---------- 面包屑 ---------- */
.page-contact .yb-breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--yb-muted);
}
.page-contact .yb-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}
.page-contact .yb-breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--yb-muted);
}
.page-contact .yb-breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  color: #B7C3D4;
}
.page-contact .yb-breadcrumb a {
  color: var(--yb-bright);
  text-decoration: none;
}
.page-contact .yb-breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- 首屏 ---------- */
.page-contact .ct-hero {
  padding: 20px 0 32px;
}
.page-contact .ct-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-contact .ct-hero__title {
  margin: 12px 0 0;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yb-deep);
}
.page-contact .ct-hero__body .yb-lead {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--yb-muted);
}
.page-contact .ct-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-contact .ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-contact .ct-hero__art {
  margin: 0;
  border-radius: var(--yb-r-lg);
  overflow: hidden;
  aspect-ratio: 9 / 7;
  background: linear-gradient(145deg, var(--yb-ice), var(--yb-teal-soft));
  box-shadow: var(--yb-shadow-soft);
}
.page-contact .ct-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 页面节间距 ---------- */
.page-contact .yb-section {
  padding: 40px 0;
}
.page-contact .ct-topics-sec {
  padding-bottom: 72px;
}

/* ---------- 问题分类 ---------- */
.page-contact .ct-routes__art {
  margin: 0 0 32px;
  border-radius: var(--yb-r-lg);
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: var(--yb-ice);
}
.page-contact .ct-routes__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-contact .ct-routes {
  display: grid;
  gap: 24px;
}
.page-contact .ct-route {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border-radius: var(--yb-r-lg);
  background: var(--yb-white);
  border: 1px solid var(--yb-line);
  box-shadow: var(--yb-shadow-line);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.page-contact .ct-route:hover,
.page-contact .ct-route:focus-within {
  border-color: var(--yb-orange);
  box-shadow: 0 14px 34px rgba(239, 135, 34, .16);
}
.page-contact .ct-route__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--yb-ice);
  color: var(--yb-blue);
}
.page-contact .ct-route__icon--teal {
  background: var(--yb-teal-soft);
  color: var(--yb-teal);
}
.page-contact .ct-route__icon--warm {
  background: var(--yb-orange-soft);
  color: var(--yb-orange);
}
.page-contact .ct-route h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--yb-deep);
}
.page-contact .ct-route p {
  flex: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--yb-muted);
}
.page-contact .ct-route__link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--yb-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.page-contact .ct-route__link:hover {
  color: var(--yb-bright);
  border-bottom-color: currentColor;
}

/* ---------- 联系面板 ---------- */
.page-contact .ct-board {
  position: relative;
  overflow: hidden;
  border-radius: var(--yb-r-lg);
  padding: var(--ct-board-pad) 20px;
  background: linear-gradient(158deg, #0F2F5C 0%, #1B4B8F 58%, #135A85 100%);
  color: #FFFFFF;
  box-shadow: 0 26px 60px rgba(15, 47, 92, .24);
}
.page-contact .ct-board::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 158, 143, .55), transparent 68%);
  pointer-events: none;
}
.page-contact .ct-board__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}
.page-contact .ct-board__title {
  margin: 0 0 20px;
  padding-bottom: 14px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.page-contact .ct-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-contact .ct-line {
  min-width: 0;
  padding: 18px;
  border-radius: var(--yb-r-sm);
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.page-contact .ct-line__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .68);
}
.page-contact .ct-copy {
  display: inline-block;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px dashed rgba(255, 255, 255, .42);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #FFFFFF;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
  cursor: text;
}
.page-contact .ct-line__value {
  display: block;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  color: #FFFFFF;
  overflow-wrap: anywhere;
}
.page-contact .ct-line__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}
.page-contact .ct-board__foot {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: var(--yb-r-sm);
  background: rgba(14, 158, 143, .22);
  border-left: 3px solid var(--yb-teal);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}

/* ---------- 服务时段刻度 ---------- */
.page-contact .ct-hours {
  display: grid;
  gap: 6px;
}
.page-contact .ct-hours__caption {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
}
.page-contact .ct-hours__wrap {
  position: relative;
  padding-bottom: 36px;
}
.page-contact .ct-hours__bar {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}
.page-contact .ct-hours__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9.09%;
  width: 81.82%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yb-teal) 0%, #3FC7B4 100%);
}
.page-contact .ct-hours__tip {
  position: absolute;
  left: 9.09%;
  bottom: 6px;
  max-width: calc(100% - 12px);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  color: var(--yb-deep);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(15, 47, 92, .3);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.page-contact .ct-hours__wrap:hover .ct-hours__tip,
.page-contact .ct-hours__wrap:focus-within .ct-hours__tip {
  opacity: 1;
  transform: translateY(0);
}
.page-contact .ct-hours__ticks {
  position: relative;
  height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}
.page-contact .ct-hours__ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.page-contact .ct-hours__ticks span:nth-child(1) { left: 9.09%; }
.page-contact .ct-hours__ticks span:nth-child(2) { left: 36.36%; }
.page-contact .ct-hours__ticks span:nth-child(3) { left: 63.64%; }
.page-contact .ct-hours__ticks span:nth-child(4) { left: 90.91%; }
.page-contact .ct-hours__note {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
}

/* ---------- 事前准备 ---------- */
.page-contact .ct-prep {
  list-style: none;
  counter-reset: ctprep;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-contact .ct-prep li {
  counter-increment: ctprep;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--yb-r-sm);
  background: var(--yb-white);
  border: 1px solid var(--yb-line);
  border-left: 3px solid var(--yb-teal);
  font-size: 15px;
  line-height: 1.72;
  color: var(--yb-ink);
}
.page-contact .ct-prep li::before {
  content: counter(ctprep, decimal-leading-zero);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--yb-teal);
  font-variant-numeric: tabular-nums;
}

/* ---------- 常见咨询主题 ---------- */
.page-contact .ct-topics {
  display: grid;
  gap: 14px;
}
.page-contact .ct-topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 16px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: var(--yb-r-sm);
  background: var(--yb-ice);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.page-contact .ct-topic:hover,
.page-contact .ct-topic:focus-visible {
  background: var(--yb-white);
  border-color: var(--yb-bright);
}
.page-contact .ct-topic__t {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--yb-deep);
}
.page-contact .ct-topic__d {
  grid-column: 1;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.68;
  color: var(--yb-muted);
}
.page-contact .ct-topic__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 18px;
  color: var(--yb-bright);
  transition: color .18s ease;
}
.page-contact .ct-topic:hover .ct-topic__arrow,
.page-contact .ct-topic:focus-visible .ct-topic__arrow {
  color: var(--yb-orange);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-contact .ct-board {
    padding: 40px;
  }
  .page-contact .ct-prep {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .page-contact .ct-routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-contact .ct-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 940px) {
  .page-contact .ct-hero {
    padding: 28px 0 40px;
  }
  .page-contact .ct-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 48px;
  }
  .page-contact .yb-section {
    padding: 56px 0;
  }
  .page-contact .ct-topics-sec {
    padding-bottom: 72px;
  }
}

@media (min-width: 960px) {
  .page-contact .ct-board {
    padding: 48px;
  }
  .page-contact .ct-board__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact *,
  .page-contact *::before,
  .page-contact *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .page-contact .ct-hours__tip {
    transform: none;
  }
}
