
/*
  Contact form inside hero
  The contact page now matches the login/register hero pattern with the form integrated on the right.
*/

html body main.container:has(.uc-contact-hero){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

html body .uc-contact-hero{
  position:relative!important;
  width:100vw!important;
  max-width:none!important;
  margin:0!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  min-height:calc(100vh - 72px)!important;
  overflow:hidden!important;
  padding:
    clamp(92px,8vw,132px)
    max(28px,calc((100vw - 1280px)/2))
    clamp(70px,7vw,108px)!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 74% 18%,rgba(92,129,255,.25),transparent 25rem),
    radial-gradient(circle at 90% 76%,rgba(255,36,78,.18),transparent 34rem),
    radial-gradient(circle at 0% 0%,rgba(139,32,255,.10),transparent 26rem),
    linear-gradient(180deg,#080013 0%,#090017 64%,#050c17 100%)!important;
}

html body .uc-contact-hero::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-1px!important;
  height:170px!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(5,12,23,0),rgba(5,12,23,.72) 76%,#050c17)!important;
}

html body .uc-contact-hero-bg{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

html body .uc-contact-ribbon{
  position:absolute!important;
  display:block!important;
  width:115vw!important;
  height:90px!important;
  right:-28vw!important;
  top:50%!important;
  border-radius:999px!important;
  transform:rotate(-15deg)!important;
  background:linear-gradient(90deg,transparent,rgba(255,36,78,.58),rgba(139,32,255,.42),transparent)!important;
  opacity:.70!important;
  mix-blend-mode:screen!important;
}

html body .uc-contact-ribbon-two{
  top:63%!important;
  right:-18vw!important;
  height:56px!important;
  opacity:.38!important;
  transform:rotate(-10deg)!important;
}

html body .uc-contact-orb{
  position:absolute!important;
  right:18%!important;
  top:18%!important;
  width:320px!important;
  height:320px!important;
  border-radius:999px!important;
  background:radial-gradient(circle at 42% 34%,rgba(255,255,255,.46),rgba(57,121,255,.28) 34%,rgba(139,32,255,.16) 56%,transparent 70%)!important;
  opacity:.78!important;
}

html body .uc-contact-hero-inner{
  position:relative!important;
  z-index:3!important;
  width:min(1280px,100%)!important;
  margin:0 auto!important;
  min-height:600px!important;
  display:grid!important;
  grid-template-columns:minmax(0,630px) minmax(420px,560px)!important;
  gap:clamp(44px,6vw,86px)!important;
  align-items:center!important;
}

html body .uc-contact-copy{
  max-width:680px!important;
}

html body .uc-contact-copy .uc-overline{
  margin-bottom:26px!important;
}

html body .uc-contact-copy h1{
  margin:0!important;
  max-width:10.4ch!important;
  color:#fff!important;
  font-size:clamp(3.55rem,5.9vw,6.9rem)!important;
  line-height:.94!important;
  letter-spacing:-.075em!important;
  font-weight:540!important;
}

html body .uc-contact-copy .uc-lead{
  margin-top:28px!important;
  max-width:630px!important;
  color:#eee8f9!important;
  font-size:clamp(1.05rem,1.2vw,1.22rem)!important;
  line-height:1.68!important;
}

html body .uc-contact-feature-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  margin-top:clamp(38px,5vw,62px)!important;
  max-width:680px!important;
}

html body .uc-contact-feature-list div{
  position:relative!important;
  padding:16px 0 16px 20px!important;
}

html body .uc-contact-feature-list div::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:17px!important;
  bottom:17px!important;
  width:2px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#8b20ff,#198cff)!important;
}

html body .uc-contact-feature-list div::after{
  content:""!important;
  position:absolute!important;
  left:-6px!important;
  top:26px!important;
  width:14px!important;
  height:14px!important;
  border-radius:999px!important;
  background:radial-gradient(circle,#fff 0 2px,#8b20ff 3px,#198cff 6px,transparent 7px)!important;
}

html body .uc-contact-feature-list span{
  display:block!important;
  color:#a99dbf!important;
  font-size:.76rem!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.09em!important;
}

html body .uc-contact-feature-list strong{
  display:block!important;
  margin-top:8px!important;
  color:#fff!important;
  font-size:1.05rem!important;
  line-height:1.25!important;
  letter-spacing:-.02em!important;
}

html body .uc-contact-panel{
  position:relative!important;
  width:100%!important;
  padding:clamp(26px,3vw,36px)!important;
  border-radius:26px!important;
  border:0!important;
  outline:0!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(25,140,255,.10),transparent 170px),
    linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.040))!important;
  box-shadow:0 34px 90px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(18px) saturate(132%)!important;
}

html body .uc-contact-panel::before{
  content:""!important;
  position:absolute!important;
  left:28px!important;
  top:0!important;
  width:64px!important;
  height:3px!important;
  border-radius:0 0 999px 999px!important;
  background:linear-gradient(90deg,#8b20ff,#198cff)!important;
}

html body .uc-contact-panel-head{
  margin-bottom:22px!important;
}

html body .uc-contact-panel-head span{
  display:block!important;
  color:#88d8ff!important;
  font-size:.76rem!important;
  font-weight:880!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  margin-bottom:8px!important;
}

html body .uc-contact-panel-head h2{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(1.7rem,2.2vw,2.3rem)!important;
  letter-spacing:-.055em!important;
  line-height:1.05!important;
}

html body .uc-contact-form{
  display:grid!important;
  gap:15px!important;
}

html body .uc-contact-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

html body .uc-contact-form .field{
  display:grid!important;
  gap:8px!important;
  color:#cdd8ea!important;
  font-size:.86rem!important;
  font-weight:760!important;
}

html body .uc-contact-form input,
html body .uc-contact-form select,
html body .uc-contact-form textarea{
  width:100%!important;
  border:0!important;
  outline:0!important;
  border-radius:12px!important;
  background:rgba(3,10,22,.56)!important;
  color:#fff!important;
  padding:0 14px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)!important;
}

html body .uc-contact-form input,
html body .uc-contact-form select{
  height:48px!important;
}

html body .uc-contact-form textarea{
  min-height:130px!important;
  padding-top:13px!important;
  resize:vertical!important;
}

html body .uc-contact-form input:focus,
html body .uc-contact-form select:focus,
html body .uc-contact-form textarea:focus{
  box-shadow:inset 0 0 0 1px rgba(25,140,255,.66),0 0 0 4px rgba(25,140,255,.12)!important;
}

html body .uc-contact-form .btn.primary{
  min-height:48px!important;
  width:100%!important;
  border-radius:12px!important;
  margin-top:4px!important;
}

html body .uc-contact-check{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  color:#cdd8ea!important;
  line-height:1.5!important;
}

html body .uc-contact-check input{
  width:18px!important;
  height:18px!important;
  flex:0 0 auto!important;
  margin-top:2px!important;
}

html body .uc-contact-muted{
  color:#b7c3d6!important;
  line-height:1.62!important;
  margin:0!important;
}

html body .uc-contact-muted a{
  color:#9bddff!important;
  font-weight:780!important;
}

html body .uc-contact-success p{
  color:#dbe7f7!important;
  line-height:1.68!important;
  margin:0 0 20px!important;
}

html body .uc-contact-actions{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}

html body .contact-support-section{
  width:min(1280px,calc(100% - 56px))!important;
  margin:0 auto!important;
  padding:clamp(60px,7vw,100px) 0 clamp(80px,8vw,120px)!important;
}

html body .contact-support-head{
  display:grid!important;
  grid-template-columns:180px minmax(0,560px) minmax(280px,1fr)!important;
  gap:32px!important;
  align-items:end!important;
  margin-bottom:30px!important;
}

html body .contact-support-head h2{
  margin:0!important;
  color:#f7fbff!important;
  font-size:clamp(2.4rem,4vw,4.4rem)!important;
  line-height:1.02!important;
  letter-spacing:-.065em!important;
}

html body .contact-support-head p{
  margin:0!important;
  color:#aebdd2!important;
  line-height:1.72!important;
}

html body .contact-support-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

html body .contact-support-grid article{
  position:relative!important;
  min-height:230px!important;
  padding:24px!important;
  border:0!important;
  outline:0!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022))!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

html body .contact-support-grid article::before{
  content:""!important;
  position:absolute!important;
  left:24px!important;
  top:0!important;
  width:54px!important;
  height:3px!important;
  border-radius:0 0 999px 999px!important;
  background:linear-gradient(90deg,#8b20ff,#198cff)!important;
}

html body .contact-support-grid article > span{
  display:block!important;
  color:#88d8ff!important;
  font-size:.76rem!important;
  font-weight:880!important;
  text-transform:uppercase!important;
  letter-spacing:.11em!important;
  margin-bottom:13px!important;
}

html body .contact-support-grid h3{
  margin:0!important;
  color:#fff!important;
  font-size:1.35rem!important;
  letter-spacing:-.035em!important;
}

html body .contact-support-grid p{
  color:#aebdd2!important;
  line-height:1.65!important;
}

html body .contact-support-grid small{
  color:#899bb4!important;
}

/* Hide older contact layout if it remains from cache or template fragments. */
html body main.container:has(.uc-contact-hero) .contact-layout{
  display:none!important;
}

@media(max-width:1120px){
  html body .uc-contact-hero-inner{
    grid-template-columns:1fr!important;
    min-height:auto!important;
  }

  html body .uc-contact-copy h1{
    max-width:12ch!important;
  }

  html body .uc-contact-panel{
    max-width:680px!important;
  }

  html body .contact-support-head{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:900px){
  html body .contact-support-grid{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:760px){
  html body .uc-contact-hero{
    min-height:auto!important;
    padding:92px 24px 60px!important;
  }

  html body .uc-contact-copy h1{
    font-size:clamp(3rem,14vw,4.45rem)!important;
  }

  html body .uc-contact-feature-list{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }

  html body .uc-contact-panel{
    padding:22px!important;
    border-radius:22px!important;
  }

  html body .uc-contact-form-grid{
    grid-template-columns:1fr!important;
  }

  html body .contact-support-section{
    width:min(100% - 24px,1280px)!important;
  }
}
