/* HYDD multilingual standalone forms.
   Inherit original HYDD type and section composition, while making input
   controls readable and accessible without the Squarespace form renderer. */
.hydd-localized-form{width:100%;max-width:780px;margin:0 auto;color:inherit;text-align:start;font:inherit}
.hydd-localized-form *{box-sizing:border-box}
.hydd-localized-form .hydd-name-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.hydd-localized-form .hydd-field{margin:0 0 20px;min-width:0}
.hydd-localized-form .hydd-field-label{display:block;margin:0 0 9px;font:inherit;font-size:clamp(15px,1.2vw,18px);line-height:1.4}
.hydd-localized-form .hydd-required{color:inherit}
.hydd-localized-form .hydd-field-input{
 display:block;width:100%;max-width:100%;min-width:0;min-height:48px;
 padding:12px 15px;margin:0;border:1px solid rgba(20,20,20,.3);
 border-radius:3px;outline:none;background:transparent;color:inherit;
 font:inherit;font-size:16px;line-height:1.4;box-shadow:none;
}
.hydd-localized-form .hydd-field-input::placeholder{color:#777;opacity:1}
.hydd-localized-form .hydd-field-input:focus{
 border-color:#333;box-shadow:0 0 0 1px #333
}
.hydd-localized-form .hydd-message{min-height:135px;resize:vertical}
.hydd-localized-form .hydd-service-group{
 border:0;padding:0;margin:0 0 23px;min-inline-size:0
}
.hydd-localized-form .hydd-service-choices{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:9px 16px
}
.hydd-localized-form .hydd-service-choice,
.hydd-localized-form .hydd-consent{
 display:flex;gap:11px;align-items:flex-start;cursor:pointer;
 font-size:clamp(14px,1.1vw,17px);line-height:1.55;
}
.hydd-localized-form .hydd-service-choice input,
.hydd-localized-form .hydd-consent input{
 width:18px;height:18px;flex:0 0 18px;margin:3px 0 0;
 accent-color:#171717;
}
.hydd-localized-form .hydd-consent{margin:9px 0 23px}
.hydd-localized-form .hydd-form-submit{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:49px;padding:11px 29px;
 border:1px solid #191919;border-radius:3px;
 background:#191919;color:#fff;
 font:inherit;font-size:clamp(15px,1.2vw,18px);
 cursor:pointer;text-align:center;transition:background .15s;
}
.hydd-localized-form .hydd-form-submit:hover{background:#373737}
.hydd-localized-form .hydd-form-submit:focus-visible{
 outline:2px solid #111;outline-offset:3px
}
.hydd-localized-form .hydd-form-submit:disabled{opacity:.6;cursor:wait}
.hydd-localized-form .hydd-form-status{
 margin:14px 0 0;font-size:15px;line-height:1.5;min-height:1.2em
}
.hydd-localized-form .hydd-form-error{color:#a12b2b}
.hydd-localized-form .hydd-form-success{color:#176339}
.hydd-localized-form .hydd-form-mailto{
 text-decoration:underline;color:inherit
}
.hydd-localized-form .hydd-honeypot{
 position:absolute!important;width:1px!important;height:1px!important;
 overflow:hidden!important;opacity:0!important;pointer-events:none!important
}
.hydd-localized-form[dir="rtl"]{text-align:right;direction:rtl}
.hydd-localized-form[dir="rtl"] .hydd-field-input{text-align:right}
.hydd-localized-form[dir="rtl"] input[dir="ltr"]{text-align:left;direction:ltr}
.hydd-localized-form[dir="rtl"] .hydd-form-status{text-align:right}
@media(max-width:600px){
 .hydd-localized-form .hydd-name-row,
 .hydd-localized-form .hydd-service-choices{
  grid-template-columns:1fr
 }
 .hydd-localized-form .hydd-field{margin-bottom:16px}
 .hydd-localized-form .hydd-field-input{min-height:46px}
}

/* Keep the floating WhatsApp shortcut from obscuring localized form controls. */
@media(max-width:767px){
 body:has(.hydd-localized-form) #hydd-live-whatsapp{
  right:12px!important;bottom:12px!important;
  width:52px!important;min-width:52px!important;
  height:52px!important;min-height:52px!important;
  padding:11px!important;justify-content:center!important;
  border-radius:50%!important;
 }
 body:has(.hydd-localized-form) #hydd-live-whatsapp span{display:none!important}
 body:has(.hydd-localized-form:focus-within) #hydd-live-whatsapp{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 }
 .hydd-localized-form{padding-bottom:72px}
}
