/*
 * REALPRO STUDIOS
 * FINAL VISUAL REFINEMENT R3.2
 *
 * 01 Contact hero refinement
 * 02 Mobile header message removal
 * 03 Privacy launcher removal
 */


/* ==========================================================
   01 · CONTACT HERO
   ========================================================== */

html body.rp-page-contact
main#main
> section.rp-contact-hero[data-rp-surface="dark"]{
  box-sizing:border-box !important;
  width:100% !important;
  height:clamp(380px,48svh,540px) !important;
  min-height:clamp(380px,48svh,540px) !important;
  max-height:540px !important;
  margin:0 !important;
  padding:
    clamp(86px,9svh,112px)
    0
    clamp(30px,4svh,48px)
    !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:flex-end !important;
}


html body.rp-page-contact
.rp-contact-hero__media{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
}


html body.rp-page-contact
.rp-contact-hero__media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 43% !important;
  transform:none !important;
  filter:
    saturate(.97)
    contrast(1.04)
    brightness(.80)
    !important;
}


html body.rp-page-contact
.rp-contact-hero__shade{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  background:
    linear-gradient(
      90deg,
      rgba(5,14,27,.94) 0%,
      rgba(5,14,27,.82) 30%,
      rgba(5,14,27,.55) 52%,
      rgba(5,14,27,.24) 78%,
      rgba(5,14,27,.12) 100%
    )
    !important;
}


html body.rp-page-contact
.rp-contact-hero__content{
  position:relative !important;
  z-index:3 !important;
  box-sizing:border-box !important;
  width:min(88vw,1440px) !important;
  max-width:1440px !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-end !important;
  transform:none !important;
}


html body.rp-page-contact
.rp-contact-hero
.rp-contact-eyebrow{
  margin:
    0
    0
    clamp(10px,1.2svh,15px)
    !important;
  font-size:
    clamp(10px,.72vw,12px)
    !important;
  letter-spacing:.22em !important;
}


html body.rp-page-contact
.rp-contact-title-final,

html body.rp-page-contact
h1#rp-contact-title{
  width:min(100%,720px) !important;
  max-width:720px !important;
  margin:0 !important;
  font-size:
    clamp(40px,3.8vw,66px)
    !important;
  line-height:.91 !important;
  letter-spacing:-.045em !important;
}


html body.rp-page-contact
.rp-contact-title-final
.rp-contact-line{
  white-space:normal !important;
}


html body.rp-page-contact
.rp-contact-hero__content
> p:not(.eyebrow){
  width:min(100%,720px) !important;
  max-width:720px !important;
  margin:
    clamp(16px,2svh,23px)
    0
    0
    !important;
  font-size:
    clamp(15px,1.05vw,18px)
    !important;
  line-height:1.5 !important;
}


/* ==========================================================
   02 · MOBILE HEADER
   Logo + menu only
   ========================================================== */

@media (max-width:760px){

  html body
  .site-header
  .rp-header-statement,

  html body
  .site-header
  [data-rp-header-statement],

  html body
  .site-header
  .rp-client-header-message,

  html body
  .site-header
  .rp-header-union-message{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
    width:0 !important;
    max-width:0 !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }


  html body.rp-page-contact
  main#main
  > section.rp-contact-hero[data-rp-surface="dark"]{
    height:
      clamp(420px,58svh,510px)
      !important;
    min-height:
      clamp(420px,58svh,510px)
      !important;
    max-height:510px !important;
    padding:
      88px
      0
      28px
      !important;
  }


  html body.rp-page-contact
  .rp-contact-hero__content{
    width:
      calc(100% - 36px)
      !important;
    max-width:none !important;
    min-height:0 !important;
    height:auto !important;
    justify-content:flex-end !important;
  }


  html body.rp-page-contact
  .rp-contact-title-final,

  html body.rp-page-contact
  h1#rp-contact-title{
    width:100% !important;
    max-width:12ch !important;
    font-size:
      clamp(34px,10.2vw,47px)
      !important;
    line-height:.94 !important;
  }


  html body.rp-page-contact
  .rp-contact-hero__media img{
    object-position:59% center !important;
  }


  html body.rp-page-contact
  .rp-contact-hero__shade{
    background:
      linear-gradient(
        90deg,
        rgba(5,14,27,.92) 0%,
        rgba(5,14,27,.73) 54%,
        rgba(5,14,27,.35) 100%
      )
      !important;
  }


  html body.rp-page-contact
  .rp-contact-hero__content
  > p:not(.eyebrow){
    max-width:34ch !important;
    margin-top:14px !important;
    font-size:14px !important;
    line-height:1.45 !important;
  }

}


/* ==========================================================
   03 · PRIVACY
   Existing consent engine remains intact.
   Only remove persistent floating reopen control.
   ========================================================== */

html body #rp-consent-reopen,
html body .rp-consent-reopen{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
