/* RUGO v066 / Option B / mobile-only CONTACT layout / no Contact footer.
   DOM-anchored rules don't depend on .rugo-v044__shell existing.
   Desktop rules are unchanged. Do not modify intake or privacy scripts. */
@media screen and (max-width:860px) {
  .rugo-v044__shell[data-screen="nosotros"] { z-index:550!important; }
  .rugo-v044__shell[data-screen="lab"] { z-index:600!important; }
  .rugo-v044__shell[data-screen="contact"] .rugo-v044__slot {
    top:42px!important;
    bottom:39px!important;
    padding:0 0 18px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
  }
  body .contact-screen-v086 {
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    box-sizing:border-box!important;
    background:var(--launch-paper,#f2efe7)!important;
  }
  /* Desktop spatial edge controls are replaced by native mobile shell boundaries. */
  body.rugo-v044-ready .contact-screen-v086 > .edge-nav { display:none!important; }
  body .contact-screen-v086 .contact-v086 {
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    row-gap:0!important;
    gap:0!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  body .contact-screen-v086 .contact-v086__hero {
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    flex:0 0 auto!important;
    aspect-ratio:8 / 5!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  body .contact-screen-v086 .contact-v086__hero-image {
    display:block!important;
    width:100%!important;
    height:100%!important;
    position:absolute!important;
    inset:0!important;
    object-fit:cover!important;
    object-position:center 55%!important;
    transform:none!important;
    clip-path:none!important;
  }
  body .contact-screen-v086 .contact-v086__main {
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    gap:0!important;
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    box-sizing:border-box!important;
    padding:0 clamp(12px,4vw,20px)!important;
    margin:0!important;
    overflow:visible!important;
  }
  body .contact-screen-v086 .contact-v086__editorial {
    position:relative!important;
    inset:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:auto!important;
    padding:clamp(14px,4vw,20px) 0 clamp(12px,3.5vw,18px)!important;
    margin:0!important;
    box-sizing:border-box!important;
    gap:0!important;
  }
  body .contact-screen-v086 .contact-v086__kicker {
    margin:0!important;
    padding:0!important;
    font-size:clamp(23px,6.7vw,29px)!important;
    line-height:1.03!important;
    font-weight:750!important;
  }
  body .contact-screen-v086 .contact-v086__headline {
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    margin:clamp(14px,4vw,20px) 0 clamp(12px,3vw,17px)!important;
    padding:0!important;
    font-size:clamp(28px,8vw,36px)!important;
    line-height:.97!important;
    letter-spacing:-.055em!important;
    font-weight:750!important;
    text-wrap:balance;
  }
  body .contact-screen-v086 .contact-v086__headline-line {
    display:block!important;
    width:100%!important;
    overflow-wrap:normal!important;
    white-space:normal!important;
  }
  body .contact-screen-v086 .contact-v086__support {
    position:static!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    font-size:clamp(12px,3.2vw,14px)!important;
    line-height:1.48!important;
  }
  body .contact-screen-v086 .contact-v086__editorial-rule,
  body .contact-screen-v086 .contact-v086__editorial-datum {
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    width:100%!important;
    height:1px!important;
    min-height:0!important;
    margin:10px 0!important;
  }
  body .contact-screen-v086 .contact-v086__editorial-datum { display:none!important; }
  body .contact-screen-v086 .contact-v086__form {
    position:relative!important;
    inset:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 0 20px!important;
    padding:clamp(10px,3vw,16px)!important;
    border:1px solid rgba(17,17,15,.26)!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  body .contact-screen-v086 .contact-v086__sheet-head {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
    padding:0 0 12px!important;
  }
  body .contact-screen-v086 .contact-v086__sheet-title,
  body .contact-screen-v086 .contact-v086__sheet-mark {
    font-size:clamp(10px,2.7vw,12px)!important;
    line-height:1.2!important;
    white-space:normal!important;
  }
  body .contact-screen-v086 .contact-v086__sheet-section,
  body .contact-screen-v086 .contact-v086__field {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    box-sizing:border-box!important;
  }
  body .contact-screen-v086 .contact-v086__row,
  body .contact-screen-v086 .contact-v086__sheet-section--data .contact-v086__row,
  body .contact-screen-v086 .contact-v086__sheet-section--consent .contact-v086__row {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    grid-template-columns:none!important;
    gap:5px!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:11px 0!important;
    border-bottom:1px solid rgba(17,17,15,.12)!important;
  }
  body .contact-screen-v086 .contact-v086__row-label,
  body .contact-screen-v086 .contact-v086__sheet-section--data .contact-v086__row-label,
  body .contact-screen-v086 .contact-v086__sheet-section--consent .contact-v086__row-label {
    display:block!important;
    position:static!important;
    font-size:clamp(12px,3.4vw,15px)!important;
    line-height:1.2!important;
    min-width:0!important;
    width:100%!important;
  }
  body .contact-screen-v086 .contact-v086__row-label em { font-size:10px!important; }
  body .contact-screen-v086 .contact-v086__input,
  body .contact-screen-v086 .contact-v086__sheet-section--data .contact-v086__input {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:42px!important;
    min-height:42px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:7px 0!important;
    font-size:16px!important;
  }
  body .contact-screen-v086 .contact-v086__sheet-section--consent {
    width:100%!important;
    max-width:100%!important;
    margin:14px 0 0!important;
    padding-top:13px!important;
  }
  body .contact-screen-v086 .contact-v086__sheet-section-title {
    display:block!important;
    font-size:10px!important;
    line-height:1.3!important;
    margin:0 0 5px!important;
  }
  body .contact-screen-v086 .contact-v086__consent {
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
    align-items:start!important;
  }
  body .contact-screen-v086 .contact-v086__consent-text {
    font-size:11px!important;
    line-height:1.4!important;
    overflow-wrap:anywhere!important;
  }
  body .contact-screen-v086 .contact-v086__action {
    position:relative!important;
    margin-top:18px!important;
    padding-top:10px!important;
  }
  body .contact-screen-v086 .contact-v086__submit {
    font-size:clamp(25px,7vw,31px)!important;
    max-width:100%!important;
    white-space:normal!important;
  }
  /* Footer is reserved for AFTER NOSOTROS + LAB SPACE, not for CONTACT. */
  body .contact-screen-v086 .contact-v086__footer {
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    max-height:0!important;
  }
  @media(max-width:360px) {
    body .contact-screen-v086 .contact-v086__main { padding:0 9px!important; }
    body .contact-screen-v086 .contact-v086__form { padding:9px!important; }
  }
}