/* ============================================================
   page-lianxi-women.css — 联系我们 · 晶格浅域 (zc-*)
   与首页同系视觉，左右分栏首屏布局
   ============================================================ */

html.theme-pearl-elegance .zt-contact {
  --zt-bg: #f4f8fc;
  --zt-bg-alt: #ffffff;
  --zt-surface: #ffffff;
  --zt-ink: #0c1222;
  --zt-muted: #5a6a85;
  --zt-border: rgba(14, 165, 233, 0.18);
  --zt-border-strong: rgba(14, 165, 233, 0.35);
  --zt-cyan: #06b6d4;
  --zt-blue: #0ea5e9;
  --zt-blue-dark: #0284c7;
  --zt-glow: rgba(6, 182, 212, 0.15);
  --zt-shadow: 0 4px 20px -4px rgba(14, 165, 233, 0.12);
  --zt-shadow-lg: 0 20px 50px -12px rgba(14, 165, 233, 0.2);
  --zt-radius: 10px;
  --zt-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --zt-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-family: var(--zt-sans);
  background: var(--zt-bg);
  color: var(--zt-ink);
}

html.theme-pearl-elegance:has(#page-lianxi) body {
  background: var(--zt-bg);
  background-image: none;
}

html.theme-pearl-elegance:has(#page-lianxi) body::after {
  display: none;
}

.zt-contact .container {
  max-width: 1180px;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* —— 分栏首屏 —— */
.zc-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding: calc(var(--nav-height) + clamp(40px, 7vw, 72px)) 0 clamp(48px, 7vw, 72px);
}

.zc-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  animation: zc-grid-drift 28s linear infinite;
}

@keyframes zc-grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

.zc-hero__glow {
  position: absolute;
  width: 55%;
  height: 70%;
  pointer-events: none;
}

.zc-hero__glow--left {
  top: -15%;
  left: -15%;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0%, transparent 68%);
}

.zc-hero__glow--right {
  top: 5%;
  right: -12%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.1) 0%, transparent 65%);
}

.zc-hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 48px);
  align-items: center;
}

.zc-hero__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.zc-hero__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--zt-muted);
}

.zc-hero__lead strong {
  color: var(--zt-ink);
}

.zc-hero__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.zc-hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--zt-surface);
  border: 1px solid var(--zt-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zc-hero__features li:hover {
  border-color: var(--zt-border-strong);
  box-shadow: var(--zt-shadow);
}

.zc-hero__feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.zc-hero__feat-icon i {
  width: 16px;
  height: 16px;
  color: var(--zt-blue-dark);
}

.zc-hero__feat-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--zt-muted);
}

.zc-hero__feat-text strong {
  display: block;
  font-size: 13px;
  color: var(--zt-ink);
}

.zc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* —— SLA 面板 —— */
.zc-sla {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--zt-radius);
  background: var(--zt-surface);
  border: 1px solid var(--zt-border-strong);
  box-shadow: var(--zt-shadow-lg);
}

.zc-sla__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--zt-border);
}

.zc-sla__head i {
  width: 22px;
  height: 22px;
  color: var(--zt-blue);
}

.zc-sla__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.zc-sla__list {
  margin: 0 0 16px;
}

.zc-sla__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
}

.zc-sla__row:last-child {
  border-bottom: none;
}

.zc-sla__row--feat {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.06), rgba(6, 182, 212, 0.04));
  border-radius: 8px;
  border-bottom: none;
  margin-bottom: 4px;
}

.zc-sla__row dt {
  font-size: 13px;
  color: var(--zt-muted);
}

.zc-sla__row dd {
  margin: 0;
  font-family: var(--zt-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--zt-blue-dark);
  text-align: right;
}

.zc-sla__note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--zt-border);
  font-size: 12px;
  line-height: 1.55;
  color: var(--zt-muted);
}

@media (max-width: 900px) {
  .zc-hero__shell {
    grid-template-columns: 1fr;
  }

  .zc-hero__panel {
    max-width: 480px;
  }
}

@media (max-width: 520px) {
  .zc-hero__features {
    grid-template-columns: 1fr;
  }
}

/* —— 工单 CTA 条 —— */
.zc-ticket-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(36px, 5vw, 48px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--zt-radius);
  background: linear-gradient(135deg, #0c1222 0%, #1a2744 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: var(--zt-shadow-lg);
}

.zc-ticket-cta__copy {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}

.zc-ticket-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.zc-ticket-cta__icon i {
  width: 24px;
  height: 24px;
  color: var(--zt-cyan);
}

.zc-ticket-cta__copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.zc-ticket-cta__copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
}

.zc-ticket-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.zc-ticket-cta__actions .zt-link {
  color: var(--zt-cyan);
}

/* —— 补充渠道 —— */
.zc-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.zc-channel {
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--zt-radius);
  background: var(--zt-surface);
  border: 1px solid var(--zt-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zc-channel:hover {
  border-color: var(--zt-cyan);
  box-shadow: var(--zt-shadow);
}

.zc-channel--accent {
  border-color: var(--zt-border-strong);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, #fff 100%);
  box-shadow: var(--zt-shadow);
}

.zc-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.zc-channel__icon i {
  width: 22px;
  height: 22px;
  color: var(--zt-blue-dark);
}

.zc-channel h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.zc-channel p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--zt-muted);
}

.zc-channel__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--zt-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.zc-channel__link:hover {
  color: var(--zt-blue-dark);
}

.zc-channel__link i {
  width: 15px;
  height: 15px;
}

.zc-channel__hint {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--zt-border);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--zt-muted);
}

@media (max-width: 700px) {
  .zc-channels {
    grid-template-columns: 1fr;
  }
}

/* —— 工单流程三列适配 —— */
.zt-contact .zt-flow {
  grid-template-columns: repeat(3, 1fr);
}

.zt-contact .zt-flow::before {
  left: 16%;
  right: 16%;
}

@media (max-width: 800px) {
  .zt-contact .zt-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .zt-contact .zt-flow::before {
    display: none;
  }
}

/* —— fade-in —— */
.zt-contact .fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.zt-contact .fade-in.visible {
  opacity: 1;
  transform: none;
}

.zt-contact .zc-hero.fade-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .zt-contact .fade-in,
  .zt-contact .zt-stagger > *,
  .zc-hero__grid-bg,
  .zc-hero__glow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
