/* ============================================================
   lianxi-women.css — 联系与工单（重设计版）
   依赖：body.home-light.page-contact + forest-pages.css
   ============================================================ */

/* ── 关键帧 ── */
@keyframes lx-nav-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lx-hero-enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lx-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  60%       { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

@keyframes lx-scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  50%       { transform: translateX(-50%) translateY(5px); opacity: 0.85; }
}

@keyframes lx-title-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: -200% center; }
}

/* ── 导航入场 ── */
.page-contact #main-nav {
  animation: lx-nav-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── 滚动显现 ── */
.lx-reveal {
  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);
}
.lx-reveal.lx-in-view {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.lx-page {
  overflow-x: hidden;
  color: #111827;
  padding-bottom: 24px;
}

.lx-hero {
  position: relative;
  padding: calc(var(--nav-height, 68px) + 64px) 0 88px;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.lx-hero__aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  background:
    radial-gradient(ellipse 55% 48% at 22% 22%, rgba(16, 185, 129, 0.07), transparent 58%),
    radial-gradient(ellipse 42% 38% at 80% 18%, rgba(16, 185, 129, 0.05), transparent 52%),
    radial-gradient(ellipse 35% 42% at 50% 65%, rgba(16, 185, 129, 0.04), transparent 60%);
  pointer-events: none;
  will-change: transform;
}

.lx-hero__gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.062;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 68% at 50% 0%, #000 18%, transparent 76%);
  pointer-events: none;
}

.lx-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

/* Hero content entrance */
.lx-hero__inner > * {
  animation: lx-hero-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lx-eyebrow    { animation-delay: 0.1s; }
.lx-title      { animation-delay: 0.2s; }
.lx-lead       { animation-delay: 0.32s; }
.lx-status     { animation-delay: 0.44s; }

/* Eyebrow */
.lx-eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #10b981;
}

/* Title */
.lx-title {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #111827;
}

.lx-title__accent {
  display: block;
  background: linear-gradient(105deg, #059669 0%, #10b981 35%, #34d399 50%, #059669 65%, #10b981 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lx-title-shimmer 6s linear infinite;
}

/* Lead */
.lx-lead {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.7;
  color: #6b7280;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* Status badge */
.lx-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: #ecfdf5;
  font-size: 13px;
  font-weight: 700;
  color: #059669;
}

.lx-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  animation: lx-pulse 2.4s ease-out infinite;
}

/* Scroll hint */
.lx-hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(16, 185, 129, 0.5);
  animation: lx-scroll-bob 2s 2s ease-in-out infinite;
  line-height: 1;
}

/* ══════════════════════════════════════════
   BODY
══════════════════════════════════════════ */
.lx-body {
  padding-top: 56px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.lx-section-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #111827;
}

.lx-section-sub {
  margin: 0 0 28px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   关键事实横排
══════════════════════════════════════════ */
.lx-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.lx-fact {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 20px;
}

.lx-fact__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  background: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 4px;
}

.lx-fact__value {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.01em;
}

.lx-fact__label {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
}

.lx-fact__sep {
  width: 1px;
  height: 50px;
  background: #e5e7eb;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .lx-facts {
    padding: 20px 16px;
  }
  .lx-fact__sep {
    display: none;
  }
  .lx-fact {
    flex: 1 1 100%;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .lx-fact:last-child {
    border-bottom: none;
  }
}

/* ══════════════════════════════════════════
   主工单卡片（全宽）
══════════════════════════════════════════ */
.lx-ticket {
  border-radius: 22px;
  padding: 36px 40px 40px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: #ffffff;
  box-shadow: 0 4px 20px -8px rgba(15,23,42,0.08);
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .lx-ticket {
    padding: 24px 20px 28px;
  }
}

.lx-ticket::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.lx-ticket__header {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e5e7eb;
}

.lx-ticket__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 12px;
}

.lx-ticket__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.03em;
}

.lx-ticket__lead {
  margin: 0;
  font-size: clamp(15px, 1.8vw, 16px);
  line-height: 1.68;
  color: #6b7280;
  max-width: 62ch;
}

/* ── 横排三步卡片 ── */
.lx-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  gap: 0;
}

.lx-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 22px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  position: relative;
  margin-right: 36px;
  transition: border-color 0.2s ease;
}

.lx-step:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.lx-step:last-child {
  margin-right: 0;
}

/* 步骤间连接箭头 */
.lx-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -25px;
  top: 20px;
  font-size: 17px;
  color: rgba(16, 185, 129, 0.5);
  pointer-events: none;
  line-height: 1;
}

.lx-step__num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #059669;
  background: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
  margin-bottom: 14px;
}

.lx-step__body strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.lx-step__body > span {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b7280;
}

/* 响应式：窄屏恢复竖排 */
@media (max-width: 680px) {
  .lx-steps {
    flex-direction: column;
    gap: 10px;
  }
  .lx-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 16px 18px;
    margin-right: 0;
  }
  .lx-step:not(:last-child)::after {
    display: none;
  }
  .lx-step__num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* Footer CTA */
.lx-ticket__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.lx-ticket__cta {
  text-decoration: none;
}

.lx-ticket__alt {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lx-ticket__hint {
  width: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #9ca3af;
  max-width: 64ch;
}

.lx-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #374151;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lx-ghost:hover {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.35);
}

/* ══════════════════════════════════════════
   RESOURCES SECTION
══════════════════════════════════════════ */
.lx-res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.lx-res-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px 26px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.lx-res-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: #f0fdf4;
  transform: translateY(-3px);
}

.lx-res-card__ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #10b981;
  background: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.lx-res-card__body {
  flex: 1;
}

.lx-res-card__title {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.lx-res-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: #6b7280;
}

.lx-res-card__arrow {
  color: rgba(16, 185, 129, 0.5);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
  align-self: flex-end;
}

.lx-res-card:hover .lx-res-card__arrow {
  transform: translateX(4px);
  color: #059669;
}

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .lx-title__accent,
  .lx-status__dot,
  .lx-hero__scroll,
  .lx-hero__inner > * {
    animation: none;
  }
  .lx-title__accent {
    background-size: 100% auto;
  }
  .lx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lx-res-card:hover,
  .lx-tile:hover {
    transform: none;
  }
}
