/* =========================================================
   FULFILIX CONTACT — HOTFIX
   Fixes class mismatch between current contact-us.php markup
   and contact-home.css. Load this file LAST.
   ========================================================= */

body.home-v2.contact-home-page {
  overflow-x: hidden;
}

/* ---------------------------------------------------------
   Keep page proportions aligned with homepage
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-hero {
  padding: 176px 0 34px !important;
  min-height: 0 !important;
  background: transparent !important;
}

body.home-v2.contact-home-page .ffc-contact {
  padding: 0 0 82px !important;
  background: transparent !important;
}

body.home-v2.contact-home-page .ffc-shell {
  width: min(1380px, calc(100% - 48px)) !important;
  max-width: 1380px !important;
  margin-inline: auto !important;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 230px !important;
  gap: 70px !important;
  align-items: end !important;
}

body.home-v2.contact-home-page .ffc-hero-copy {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.home-v2.contact-home-page .ffc-eyebrow {
  margin: 0 0 15px !important;
  color: #be89ff !important;
  font: 700 10px/1 'JetBrains Mono', monospace !important;
  letter-spacing: .14em !important;
}

body.home-v2.contact-home-page .ffc-hero h1 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: #fff !important;
  font: 800 clamp(44px, 4vw, 64px)/1.03 'Poppins', sans-serif !important;
  letter-spacing: -.05em !important;
  text-wrap: initial !important;
}

@media (min-width: 1100px) {
  body.home-v2.contact-home-page .ffc-hero h1 {
    white-space: nowrap !important;
  }
}

body.home-v2.contact-home-page .ffc-hero h1 span {
  display: inline !important;
  background: linear-gradient(92deg, #a95cff 0%, #9b5cff 46%, #dc4fb9 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.home-v2.contact-home-page .ffc-hero-copy > p {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  margin: 17px 0 0 !important;
  color: #aaa2b8 !important;
  font: 400 15px/1.7 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-hero-note {
  min-height: 88px !important;
  padding-left: 24px !important;
  border-left: 1px solid rgba(173,132,236,.20) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  color: #8d849b !important;
  font: 500 11px/1.55 'Inter', sans-serif !important;
}

/* ---------------------------------------------------------
   CONTACT GRID / PANELS
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

body.home-v2.contact-home-page .ffc-panel,
body.home-v2.contact-home-page .ffc-info-card {
  min-width: 0 !important;
  border: 1px solid rgba(155,111,255,.16) !important;
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(124,58,237,.07), transparent 70%),
    linear-gradient(145deg, rgba(18,13,34,.90), rgba(8,7,14,.88)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 30px 55px -46px rgba(0,0,0,.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.home-v2.contact-home-page .ffc-form-card {
  padding: 28px !important;
  border-radius: 22px !important;
  overflow: visible !important;
}

body.home-v2.contact-home-page .ffc-direct-card,
body.home-v2.contact-home-page .ffc-reasons-card {
  padding: 22px !important;
  border-radius: 22px !important;
}

/* ---------------------------------------------------------
   CRITICAL ICON FIX
   Current PHP uses ffc-* icon classes.
   Previous V3 CSS expected different contact-* icon classes,
   which is why SVGs expanded to huge panel-sized artwork.
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-card-heading {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 20px !important;
}

body.home-v2.contact-home-page .ffc-heading-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  flex: 0 0 46px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(155,111,255,.20) !important;
  border-radius: 13px !important;
  color: #c18bff !important;
  background: linear-gradient(145deg, rgba(124,58,237,.22), rgba(62,28,116,.20)) !important;
}

body.home-v2.contact-home-page .ffc-heading-icon svg {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  min-height: 21px !important;
  max-width: 21px !important;
  max-height: 21px !important;
  display: block !important;
  flex: none !important;
  stroke: currentColor !important;
  transform: none !important;
}

body.home-v2.contact-home-page .ffc-card-heading h2 {
  margin: 0 !important;
  color: #fff !important;
  font: 700 20px/1.2 'Poppins', sans-serif !important;
  letter-spacing: -.025em !important;
}

body.home-v2.contact-home-page .ffc-card-heading p {
  margin: 4px 0 0 !important;
  color: #8c8399 !important;
  font: 500 11px/1.45 'Inter', sans-serif !important;
}

/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 17px 18px !important;
}

body.home-v2.contact-home-page .ffc-fields .ffc-span,
body.home-v2.contact-home-page .ffc-fields .fx-span {
  grid-column: 1 / -1 !important;
}

body.home-v2.contact-home-page .fx-field {
  min-width: 0 !important;
}

body.home-v2.contact-home-page .fx-label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #eeeaf4 !important;
  font: 650 12px/1.3 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .fx-label span {
  color: #cb71ff !important;
}

body.home-v2.contact-home-page .fx-input,
body.home-v2.contact-home-page .fx-select,
body.home-v2.contact-home-page .fx-textarea {
  width: 100% !important;
  margin: 0 !important;
  color: #f7f4fb !important;
  border: 1px solid rgba(168,130,230,.20) !important;
  outline: none !important;
  background: linear-gradient(180deg, rgba(20,15,36,.94), rgba(13,10,24,.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
  font: 500 13px/1.5 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .fx-input,
body.home-v2.contact-home-page .fx-select {
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 15px !important;
  border-radius: 13px !important;
}

body.home-v2.contact-home-page .fx-textarea {
  min-height: 145px !important;
  padding: 15px !important;
  border-radius: 13px !important;
  resize: vertical !important;
}

body.home-v2.contact-home-page .fx-input::placeholder,
body.home-v2.contact-home-page .fx-textarea::placeholder {
  color: #726a80 !important;
  opacity: 1 !important;
}

body.home-v2.contact-home-page .fx-input:focus,
body.home-v2.contact-home-page .fx-select:focus,
body.home-v2.contact-home-page .fx-textarea:focus {
  border-color: rgba(155,92,255,.72) !important;
  box-shadow: 0 0 0 4px rgba(124,58,237,.09) !important;
}

/* Prevent browser autofill from making fields white */
body.home-v2.contact-home-page input.fx-input:-webkit-autofill,
body.home-v2.contact-home-page input.fx-input:-webkit-autofill:hover,
body.home-v2.contact-home-page input.fx-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f7f4fb !important;
  caret-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #141020 inset !important;
  box-shadow: 0 0 0 1000px #141020 inset !important;
  transition: background-color 9999s ease-out 0s !important;
}

/* Phone field */
body.home-v2.contact-home-page .ffc-phone-wrap {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0,1fr) !important;
  overflow: hidden !important;
  border: 1px solid rgba(168,130,230,.20) !important;
  border-radius: 13px !important;
  background: linear-gradient(180deg, rgba(20,15,36,.94), rgba(13,10,24,.98)) !important;
}

body.home-v2.contact-home-page .ffc-phone-prefix {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #d9d2e2 !important;
  border-right: 1px solid rgba(168,130,230,.16) !important;
  font: 600 12px/1 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-phone-wrap .ffc-phone-input {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* select options less jarring when native dropdown opens */
body.home-v2.contact-home-page .fx-select option {
  color: #f4effa !important;
  background: #100c1d !important;
}

/* ---------------------------------------------------------
   ALERT / CONSENT / SUBMIT — CRITICAL BUTTON SVG FIX
   --------------------------------------------------------- */
body.home-v2.contact-home-page .fx-alert {
  margin: 0 0 18px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(155,111,255,.20) !important;
  border-radius: 12px !important;
  color: #d8cfe6 !important;
  background: rgba(124,58,237,.08) !important;
  font: 600 11px/1.45 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .fx-alert svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
}

body.home-v2.contact-home-page .ffc-consent {
  margin-top: 16px !important;
}

body.home-v2.contact-home-page .fx-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  color: #9d94aa !important;
  font: 500 10.5px/1.5 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .fx-check input {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  margin: 0 !important;
  accent-color: #8d4cff !important;
}

body.home-v2.contact-home-page .fx-form-actions {
  margin-top: 18px !important;
}

body.home-v2.contact-home-page .ffc-submit {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  color: #fff !important;
  background: linear-gradient(100deg, #6d28d9, #8b3dff 58%, #b44ee1) !important;
  box-shadow:
    0 17px 34px -23px rgba(124,58,237,.92),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
  font: 700 13px/1 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-submit svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  flex: 0 0 17px !important;
  display: block !important;
  transform: none !important;
}

/* ---------------------------------------------------------
   RIGHT CONTACT ROWS — CRITICAL ICON FIX
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-side {
  display: grid !important;
  gap: 14px !important;
}

body.home-v2.contact-home-page .ffc-contact-row {
  width: 100% !important;
  min-height: 70px !important;
  margin: 9px 0 0 !important;
  padding: 10px 11px !important;
  display: grid !important;
  grid-template-columns: 40px minmax(0,1fr) 118px 27px !important;
  gap: 11px !important;
  align-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(155,111,255,.12) !important;
  border-radius: 14px !important;
  color: inherit !important;
  background: rgba(255,255,255,.018) !important;
  text-decoration: none !important;
}

body.home-v2.contact-home-page .ffc-row-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  flex: 0 0 40px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(155,111,255,.18) !important;
  border-radius: 11px !important;
  color: #b777ff !important;
  background: rgba(124,58,237,.10) !important;
}

body.home-v2.contact-home-page .ffc-row-icon svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
  flex: none !important;
  transform: none !important;
}

body.home-v2.contact-home-page .ffc-row-main {
  min-width: 0 !important;
}

body.home-v2.contact-home-page .ffc-row-main b {
  display: block !important;
  color: #f5f0f8 !important;
  font: 650 12px/1.25 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-row-main small {
  display: block !important;
  margin-top: 4px !important;
  color: #92889f !important;
  font: 500 10px/1.3 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-row-note {
  color: #786f85 !important;
  font: 500 9px/1.4 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-row-arrow {
  width: 27px !important;
  height: 27px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #b8a8c8 !important;
  background: rgba(255,255,255,.025) !important;
}

/* Why list */
body.home-v2.contact-home-page .ffc-check-list {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 11px !important;
  list-style: none !important;
}

body.home-v2.contact-home-page .ffc-check-list li {
  position: relative !important;
  padding-left: 27px !important;
  color: #afa6ba !important;
  font: 500 11px/1.5 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-check-list li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 1px !important;
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(145deg, #7040ee, #9f4cff) !important;
  font: 700 10px/1 'Inter', sans-serif !important;
}

/* ---------------------------------------------------------
   BOTTOM INFO CARDS — CRITICAL ICON FIX
   --------------------------------------------------------- */
body.home-v2.contact-home-page .ffc-info-grid {
  margin-top: 18px !important;
  display: grid !important;
  grid-template-columns: 1.32fr 1fr 1fr !important;
  gap: 14px !important;
}

body.home-v2.contact-home-page .ffc-info-card {
  min-height: 116px !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0,1fr) !important;
  gap: 13px !important;
  align-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px !important;
}

body.home-v2.contact-home-page .ffc-info-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(155,111,255,.18) !important;
  border-radius: 12px !important;
  color: #b777ff !important;
  background: rgba(124,58,237,.10) !important;
}

body.home-v2.contact-home-page .ffc-info-icon svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
  transform: none !important;
}

body.home-v2.contact-home-page .ffc-info-copy h3 {
  margin: 0 0 7px !important;
  color: #fff !important;
  font: 650 12px/1.25 'Inter', sans-serif !important;
}

body.home-v2.contact-home-page .ffc-info-copy p {
  margin: 0 !important;
  color: #8c8298 !important;
  font: 500 10px/1.55 'Inter', sans-serif !important;
}

/* Small decorative office art only */
body.home-v2.contact-home-page .ffc-office-art {
  position: absolute !important;
  right: 10px !important;
  bottom: -3px !important;
  width: 98px !important;
  height: 82px !important;
  max-width: 98px !important;
  max-height: 82px !important;
  opacity: .58 !important;
  pointer-events: none !important;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */
@media (max-width: 1050px) {
  body.home-v2.contact-home-page .ffc-shell {
    width: min(920px, calc(100% - 34px)) !important;
  }

  body.home-v2.contact-home-page .ffc-hero {
    padding-top: 144px !important;
  }

  body.home-v2.contact-home-page .ffc-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.home-v2.contact-home-page .ffc-hero-note {
    display: none !important;
  }

  body.home-v2.contact-home-page .ffc-contact-grid {
    grid-template-columns: 1fr !important;
  }

  body.home-v2.contact-home-page .ffc-side {
    grid-template-columns: 1fr 1fr !important;
  }

  body.home-v2.contact-home-page .ffc-info-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  body.home-v2.contact-home-page .ffc-office-card {
    grid-column: 1 / -1 !important;
  }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */
@media (max-width: 700px) {
  body.home-v2.contact-home-page .ffc-shell {
    width: calc(100% - 24px) !important;
  }

  body.home-v2.contact-home-page .ffc-hero {
    padding: 108px 0 30px !important;
  }

  body.home-v2.contact-home-page .ffc-hero-copy {
    text-align: center !important;
  }

  body.home-v2.contact-home-page .ffc-eyebrow {
    text-align: center !important;
  }

  body.home-v2.contact-home-page .ffc-hero h1 {
    font-size: clamp(33px, 9.5vw, 44px) !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.home-v2.contact-home-page .ffc-hero-copy > p {
    margin-inline: auto !important;
    font-size: 13.5px !important;
    text-align: center !important;
  }

  body.home-v2.contact-home-page .ffc-form-card,
  body.home-v2.contact-home-page .ffc-direct-card,
  body.home-v2.contact-home-page .ffc-reasons-card {
    padding: 17px !important;
    border-radius: 18px !important;
  }

  body.home-v2.contact-home-page .ffc-fields {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.home-v2.contact-home-page .ffc-fields .ffc-span,
  body.home-v2.contact-home-page .ffc-fields .fx-span {
    grid-column: auto !important;
  }

  body.home-v2.contact-home-page .ffc-side {
    grid-template-columns: 1fr !important;
  }

  body.home-v2.contact-home-page .ffc-contact-row {
    grid-template-columns: 40px minmax(0,1fr) 27px !important;
  }

  body.home-v2.contact-home-page .ffc-row-note {
    display: none !important;
  }

  body.home-v2.contact-home-page .ffc-info-grid {
    grid-template-columns: 1fr !important;
  }

  body.home-v2.contact-home-page .ffc-office-card {
    grid-column: auto !important;
  }
}

@media (max-width: 390px) {
  body.home-v2.contact-home-page .ffc-shell {
    width: calc(100% - 20px) !important;
  }

  body.home-v2.contact-home-page .ffc-hero h1 {
    font-size: 31px !important;
  }

  body.home-v2.contact-home-page .ffc-heading-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-basis: 40px !important;
  }

  body.home-v2.contact-home-page .ffc-card-heading h2 {
    font-size: 17px !important;
  }

  body.home-v2.contact-home-page .ffc-office-art {
    display: none !important;
  }
}
