/* ============================================================
   page-lianxi-women.css — 联系我们 · Apple 极简支持中心布局
   ============================================================ */

html.theme-apple-minimal #home-nav {
  position: sticky;
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#page-lianxi p a,
#page-lianxi .ct-route-card .text-xs a,
#page-lianxi .ct-faq-card a {
  color: #2997ff;
  font-weight: 500;
  text-underline-offset: 3px;
}

#page-lianxi p a:hover,
#page-lianxi .ct-route-card .text-xs a:hover,
#page-lianxi .ct-faq-card a:hover {
  text-decoration: underline;
}

/* —— Hero —— */
.ct-hero {
  position: relative;
  padding: 4rem 0 0;
  overflow: hidden;
}

.ct-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .ct-hero__actions {
    flex-direction: row;
    gap: 16px;
  }
}

.ct-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .ct-hero__btn {
    width: auto;
  }
}

.ct-hero__btn--primary {
  background: #1d1d1f;
  color: #fff;
}

.ct-hero__btn--primary:hover {
  background: #000;
  text-decoration: none;
  color: #fff;
}

.ct-hero__btn--secondary {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid #e5e5ea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ct-hero__btn--secondary:hover {
  border-color: #86868b;
  background: #fafafa;
  text-decoration: none;
  color: #1d1d1f;
}

/* —— 渠道区 —— */
.ct-channels {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
  padding: 0 0 4rem;
}

.ct-channels__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ct-channels__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* —— 渠道卡片 —— */
.ct-channel-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
}

.ct-channel-card--primary {
  background: #1d1d1f;
  border-color: transparent;
}

.ct-channel-card--primary:hover {
  background: #000;
  color: inherit;
}

.ct-channel-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.ct-channel-card__cta--dark {
  color: #1d1d1f;
}

.ct-channel-card__cta svg {
  width: 16px;
  height: 16px;
}

/* —— SLA —— */
.ct-sla {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid #e5e5ea;
}

.ct-sla-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ct-sla-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.ct-sla-item {
  padding: 20px 24px;
  background: #f5f5f7;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #ebebed;
}

.ct-sla-item__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
}

.ct-sla-item__value {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.ct-sla__note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 12px;
  color: #86868b;
  line-height: 1.5;
}

/* —— 语言支持 —— */
.ct-langs {
  padding: 24px 28px;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: 20px;
}

.ct-langs__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.ct-langs__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.ct-langs__sub {
  margin: 0;
  font-size: 13px;
  color: #86868b;
  line-height: 1.45;
}

.ct-langs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-lang-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  background: #fff;
  border: 1px solid #e5e5ea;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* —— 工单步骤 —— */
.ct-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-step {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5ea;
}

.ct-step:first-child {
  padding-top: 0;
}

.ct-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ct-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
}

/* —— 场景分流 —— */
.ct-route-card {
  padding: 24px;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-route-card:hover {
  border-color: #d1d1d6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ct-route-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ct-route-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e5ea;
}

.ct-route-card__icon svg {
  width: 18px;
  height: 18px;
  color: #1d1d1f;
}

.ct-route-card__tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: #1d1d1f;
}

.ct-route-card__tag--mail {
  background: #f5f5f7;
  color: #515154;
  border: 1px solid #e5e5ea;
}

/* —— 准备清单 —— */
.ct-prep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-prep-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
}

.ct-prep-item__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1d1d1f;
  color: #fff;
}

.ct-prep-item__check svg {
  width: 14px;
  height: 14px;
}

.ct-prep-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.ct-prep-item span {
  display: block;
  font-size: 13px;
  color: #86868b;
  line-height: 1.45;
}

/* —— FAQ —— */
.ct-faq-card {
  padding: 24px;
  background: #f5f5f7;
  border-radius: 20px;
  border: 1px solid #e5e5ea;
}

/* —— 相关入口 —— */
.ct-more-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-more-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
}

.ct-more-tile svg {
  width: 20px;
  height: 20px;
  color: #1d1d1f;
}

.ct-more-tile strong {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
}

.ct-more-tile span {
  font-size: 12px;
  color: #86868b;
}

.ct-more-tile--dark {
  background: #1d1d1f;
  border-color: transparent;
}

.ct-more-tile--dark:hover {
  background: #000;
}

.ct-more-tile--dark svg,
.ct-more-tile--dark strong {
  color: #fff;
}

.ct-more-tile--dark span {
  color: rgba(255, 255, 255, 0.55);
}

/* —— 双栏工单区 —— */
.ct-ticket-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ct-ticket-split {
    grid-template-columns: 1fr 1fr;
  }
}

.ct-prep-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ct-prep-split {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— scroll margin —— */
#ct-ticket,
#ct-routing,
#ct-prep,
#ct-faq {
  scroll-margin-top: 5rem;
}

@media (max-width: 600px) {
  .ct-hero {
    padding: 2.5rem 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-channel-card:hover,
  .ct-more-tile:hover {
    transform: none;
  }
}
