/* ============================================================
   lianxi-women.css — 工单支持 / 联系官方（仅工单通道）
   ============================================================ */

body.page-contact {
  background-color: #f4f2fa;
}

.lx-main {
  padding-bottom: 24px;
}

.lx-eyebrow {
  justify-content: center;
}

.lx-hero-sub {
  margin: 16px auto 0;
  text-align: center;
  max-width: 640px;
  line-height: 1.7;
}

.contact-hero {
  text-align: center;
  padding: 140px 0 52px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 40px;
  margin-bottom: 72px;
  align-items: start;
}

.contact-grid:has(.lx-ticket-shell) {
  perspective: 1180px;
}

/* —— 左侧信息卡 —— */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.18);
  }
}

.ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ci-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.ci-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
}

.contact-info-card .ci-value a {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .contact-info-card .ci-value a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* —— 右侧：工单引导外壳（信封造型） —— */
.lx-ticket-shell {
  position: relative;
  z-index: 1;
  padding: 0 6px 12px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(168deg, #e2dcf2 0%, #ebe6f5 38%, #ddd7ef 100%);
  border: 1px solid rgba(91, 33, 182, 0.14);
  box-shadow:
    0 22px 56px rgba(91, 66, 180, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease,
    z-index 0s linear 0.55s;
}

.lx-ticket-flap {
  height: 38px;
  width: min(82%, 320px);
  margin: 0 auto -2px;
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #cfc6e8 0%, #ddd7ef 55%, #e8e2f4 100%);
  clip-path: polygon(5% 100%, 50% 0, 95% 100%);
  box-shadow: 0 6px 16px rgba(91, 66, 180, 0.08);
  transform-origin: 50% 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lx-ticket-flap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 40%);
  width: 36%;
  height: 10px;
  background: linear-gradient(180deg, rgba(91, 33, 182, 0.12), transparent);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.lx-ticket-inner {
  position: relative;
  z-index: 2;
  margin-top: -4px;
  background: linear-gradient(180deg, #fefeff 0%, #faf9ff 100%);
  border-radius: 18px;
  padding: 28px 28px 30px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lx-ticket-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.12), transparent);
  pointer-events: none;
}

.lx-ticket-title {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.lx-ticket-lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 22px;
}

.lx-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lx-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.lx-step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.1));
  border: 1.5px solid rgba(99, 102, 241, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  box-sizing: border-box;
}

.lx-step strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}

/* 仅描述文案，勿用 .lx-step span 以免命中 .lx-step-num 破坏序号居中 */
.lx-step > div > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.lx-cta-main {
  width: 100%;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.lx-ticket-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 18px;
  line-height: 1.5;
}

.lx-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.lx-ticket-title,
.lx-cta-main {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .lx-ticket-shell:hover {
    transform: translateY(-14px) scale(1.01) rotateX(3.5deg);
    box-shadow:
      0 36px 72px rgba(91, 66, 180, 0.16),
      0 14px 36px rgba(15, 23, 42, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 5;
    transition:
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.55s ease,
      z-index 0s linear 0s;
  }

  .lx-ticket-shell:hover .lx-ticket-flap {
    transform: translateY(-6px) rotateX(-14deg);
  }

  .lx-ticket-shell:hover .lx-ticket-inner {
    transform: translateY(-10px);
  }

  .lx-ticket-shell:hover .lx-ticket-title {
    transform: translateY(-4px);
  }

  .lx-ticket-shell:hover .lx-cta-main {
    transform: translateY(-3px);
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lx-ticket-shell {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-grid:has(.lx-ticket-shell) {
    perspective: none;
  }

  .contact-info-card {
    transition: none;
  }

  .contact-info-card:hover {
    transform: none;
  }

  .lx-ticket-shell,
  .lx-ticket-flap,
  .lx-ticket-inner,
  .lx-ticket-title,
  .lx-cta-main {
    transition: none !important;
  }

  .lx-ticket-shell:hover,
  .lx-ticket-shell:hover .lx-ticket-flap,
  .lx-ticket-shell:hover .lx-ticket-inner,
  .lx-ticket-shell:hover .lx-ticket-title,
  .lx-ticket-shell:hover .lx-cta-main {
    transform: none !important;
  }
}
