/* ============================================================
   CONTACT PAGE VISIBILITY FIX v3.2.10
   Final high-contrast layer loaded after all global theme CSS.
============================================================ */

body .wx-contact-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #faf9ff !important;
  color: #29243d !important;
}

/* Hero */
body .wx-contact-page .wx-contact-hero,
body .wx-contact-page .wx-info-hero.wx-contact-hero {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 42px 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(239,91,120,.13), transparent 25rem),
    radial-gradient(circle at 8% 100%, rgba(35,159,145,.12), transparent 24rem),
    linear-gradient(135deg, #f0ecff 0%, #fff6f9 58%, #eefaf8 100%) !important;
  color: #29243d !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(62,48,120,.14) !important;
  box-shadow: none !important;
}

body .wx-contact-page .wx-contact-hero::before,
body .wx-contact-page .wx-contact-hero::after {
  display: none !important;
  content: none !important;
}

body .wx-contact-page .wx-info-container {
  width: min(1480px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .wx-contact-page .wx-info-hero-grid,
body .wx-contact-page .wx-contact-hero .wx-info-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 450px) !important;
  align-items: center !important;
  gap: 34px !important;
  background: transparent !important;
  color: #29243d !important;
}

/* Force all hero copy to readable dark colors */
body .wx-contact-page .wx-contact-hero-copy,
body .wx-contact-page .wx-contact-hero-copy * {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  text-shadow: none !important;
}

body .wx-contact-page .wx-info-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  margin: 0 0 16px !important;
  padding: 0 14px !important;
  background: #fff0f4 !important;
  color: #c63d60 !important;
  -webkit-text-fill-color: #c63d60 !important;
  border: 1px solid rgba(239,91,120,.34) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body .wx-contact-page .wx-contact-hero h1,
body .wx-contact-page .wx-info-hero.wx-contact-hero h1 {
  max-width: 960px !important;
  margin: 0 0 16px !important;
  color: #382b82 !important;
  -webkit-text-fill-color: #382b82 !important;
  font-size: clamp(2.55rem, 4.4vw, 4.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

body .wx-contact-page .wx-contact-hero p,
body .wx-contact-page .wx-info-hero.wx-contact-hero p {
  max-width: 920px !important;
  margin: 0 !important;
  color: #5d576e !important;
  -webkit-text-fill-color: #5d576e !important;
  font-size: clamp(15px, 1.35vw, 18px) !important;
  line-height: 1.65 !important;
  opacity: 1 !important;
}

body .wx-contact-page .wx-contact-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin-top: 20px !important;
}

body .wx-contact-page .wx-contact-meta span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  background: rgba(255,255,255,.82) !important;
  color: #49435c !important;
  -webkit-text-fill-color: #49435c !important;
  border: 1px solid rgba(89,70,200,.16) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(55,42,118,.05) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Contact method card */
body .wx-contact-page .wx-contact-hero-card {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  background: rgba(255,255,255,.92) !important;
  background-image: none !important;
  color: #29243d !important;
  border: 1px solid rgba(89,70,200,.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 54px rgba(55,42,118,.13) !important;
  backdrop-filter: blur(10px) !important;
}

body .wx-contact-page .wx-contact-method {
  display: grid !important;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 62px !important;
  padding: 12px 15px !important;
  background: #faf9ff !important;
  color: #29243d !important;
  border: 1px solid rgba(62,48,120,.12) !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, background .2s ease !important;
}

body .wx-contact-page .wx-contact-method:hover {
  transform: translateY(-1px) !important;
  background: #f2efff !important;
  border-color: rgba(89,70,200,.30) !important;
}

body .wx-contact-page .wx-contact-method strong {
  color: #382b82 !important;
  -webkit-text-fill-color: #382b82 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body .wx-contact-page .wx-contact-method span {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #625d72 !important;
  -webkit-text-fill-color: #625d72 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

/* Main contact body */
body .wx-contact-page .wx-contact-body {
  padding: 30px 0 42px !important;
  background: #faf9ff !important;
}

body .wx-contact-page .wx-contact-layout {
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 22px !important;
}

body .wx-contact-page .wx-contact-panel,
body .wx-contact-page .wx-contact-support-strip,
body .wx-contact-page .wx-info-side-card {
  background: #ffffff !important;
  color: #29243d !important;
  border: 1px solid rgba(62,48,120,.12) !important;
  box-shadow: 0 14px 36px rgba(55,42,118,.07) !important;
}

body .wx-contact-page .wx-contact-section-head h2,
body .wx-contact-page .wx-contact-support-strip h2,
body .wx-contact-page .wx-info-side-card h3 {
  color: #382b82 !important;
  -webkit-text-fill-color: #382b82 !important;
}

body .wx-contact-page .wx-contact-section-head p,
body .wx-contact-page .wx-info-side-card p {
  color: #625d72 !important;
  -webkit-text-fill-color: #625d72 !important;
}

body .wx-contact-page .wx-field label {
  color: #29243d !important;
  -webkit-text-fill-color: #29243d !important;
}

body .wx-contact-page .wx-field input,
body .wx-contact-page .wx-field select,
body .wx-contact-page .wx-field textarea {
  background: #faf9ff !important;
  color: #29243d !important;
  -webkit-text-fill-color: #29243d !important;
  border-color: rgba(62,48,120,.18) !important;
}

body .wx-contact-page .wx-field input::placeholder,
body .wx-contact-page .wx-field textarea::placeholder {
  color: #8a8496 !important;
  -webkit-text-fill-color: #8a8496 !important;
  opacity: 1 !important;
}

body .wx-contact-page .wx-contact-submit {
  background: linear-gradient(135deg, #ef5b78, #e74589) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(239,91,120,.24) !important;
}

/* Responsive */
@media (max-width: 980px) {
  body .wx-contact-page .wx-info-hero-grid,
  body .wx-contact-page .wx-contact-hero .wx-info-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body .wx-contact-page .wx-contact-hero-card {
    max-width: none !important;
  }

  body .wx-contact-page .wx-contact-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  body .wx-contact-page .wx-info-container {
    width: min(100%, calc(100% - 28px)) !important;
  }

  body .wx-contact-page .wx-contact-hero {
    padding: 30px 0 !important;
  }

  body .wx-contact-page .wx-contact-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.25rem) !important;
  }

  body .wx-contact-page .wx-contact-method {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  body .wx-contact-page .wx-contact-meta span {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 440px) {
  body .wx-contact-page .wx-contact-hero h1 {
    font-size: 2.15rem !important;
  }

  body .wx-contact-page .wx-contact-hero-card {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body .wx-contact-page .wx-contact-method {
    min-height: 58px !important;
    padding: 11px 12px !important;
  }
}
