/* AZO 5.78: form-led contact section, compact channels card, footer socials */
/* Keep contact form as the visual priority on desktop, while the title and caption stay prominent. */
#contact .contact-layout{
  display:grid!important;
  grid-template-columns:minmax(0,.73fr) minmax(0,1.27fr)!important;
  grid-template-areas:"intro form" "channels form"!important;
  grid-template-rows:auto min-content!important;
  column-gap:clamp(24px,4.2vw,68px)!important;
  row-gap:clamp(15px,2vw,24px)!important;
  align-items:start!important;
}
#contact .contact-copy{grid-area:intro!important;align-self:start!important;min-width:0;}
#contact .contact-form{grid-area:form!important;min-width:0;width:100%;max-width:100%;justify-self:stretch!important;box-sizing:border-box;}
html body #contact .azo-contact-card{
  grid-area:channels!important;align-self:start!important;justify-self:start!important;
  max-width:340px!important;width:min(100%,340px)!important;
  margin:0!important;padding:clamp(13px,1.4vw,19px)!important;
  gap:clamp(9px,1.1vw,12px)!important;border-radius:20px!important;
  box-sizing:border-box;
  box-shadow:inset 0 1px rgba(255,255,255,.26),0 9px 28px rgba(112,52,14,.075)!important;
}
html body #contact .azo-contact-card-top{padding-bottom:7px!important;}
html body #contact .azo-contact-card-tag{font-size:clamp(.82rem,1vw,.95rem)!important;}
#contact .azo-contact-place{font-size:.73rem!important;}
#contact .azo-contact-methods{gap:5px!important;}
#contact .azo-contact-method{
  min-height:0!important;padding:6px 9px!important;gap:3px!important;
  background:transparent!important;border:none!important;border-radius:9px!important;
}
#contact .azo-contact-method+.azo-contact-method{border-top:1px solid rgba(255,255,255,.15)!important;border-radius:0!important;}
#contact .azo-contact-method-label{font-size:.74rem!important;}
#contact .azo-contact-method-value{font-size:clamp(.85rem,1vw,.96rem)!important;line-height:1.35!important;}
html body #contact .azo-contact-card .contact-whatsapp-link{
  min-height:42px!important;padding:8px 12px!important;
  font-size:clamp(.84rem,1vw,.95rem)!important;
}
html body #contact .azo-contact-card .contact-whatsapp-link svg{width:18px;height:18px;}
html body #contact .azo-contact-card .contact-whatsapp-link:hover{background:rgba(255,255,255,.26)!important;}
#contact .contact-copy .section-heading{margin-bottom:clamp(13px,1.8vw,22px)!important;}
#contact .contact-copy p{font-size:clamp(.92rem,1.12vw,1.08rem)!important;line-height:1.75!important;}
/* V5.79 — keep the country-code field visible and selectable alongside the WhatsApp number.
   This only restores the form control; the compact contact card and footer layout remain unchanged. */
#contact .azo-phone-row{
  display:flex!important;align-items:stretch!important;direction:ltr!important;
  gap:clamp(6px,1vw,10px)!important;min-width:0!important;width:100%!important;
}
#contact .azo-phone-row .azo-phone-country{
  display:block!important;visibility:visible!important;opacity:1!important;
  flex:0 0 clamp(108px,10.5vw,145px)!important;
  width:clamp(108px,10.5vw,145px)!important;
  min-width:0!important;max-width:145px!important;
  direction:ltr!important;text-align:left!important;
  box-sizing:border-box!important;cursor:pointer!important;
}
#contact .azo-phone-row .azo-phone-input{
  flex:1 1 0!important;width:auto!important;min-width:0!important;
}
#contact .azo-phone-row .azo-phone-input input{
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
@media(max-width:440px){
  #contact .azo-phone-row .azo-phone-country{
    flex:0 0 108px!important;width:108px!important;max-width:108px!important;
    font-size:12px!important;padding-inline:8px 4px!important;
  }
  #contact .azo-phone-row{gap:7px!important;}
}
@media(max-width:350px){
  #contact .azo-phone-row .azo-phone-country{
    flex:0 0 98px!important;width:98px!important;max-width:98px!important;
    font-size:11px!important;padding-inline:5px 2px!important;
  }
}
/* Bottommost footer rail is the sole home of social icons, all four pages. */
.footer .footer-bottom{display:flex!important;align-items:center;justify-content:space-between;gap:12px 20px;}
.footer .azo-footer-social-placement{display:flex;flex:0 0 auto;align-items:center;min-width:0;}
.footer .azo-footer-social-placement .footer-social{display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap;margin:0!important;}
.footer .azo-footer-social-placement .footer-social a{
 display:grid;place-items:center;width:34px!important;height:34px!important;
 border-radius:50%;border:1px solid rgba(255,255,255,.36);
 background:rgba(255,255,255,.065);transition:background .2s,border-color .2s;
}
.footer .azo-footer-social-placement .footer-social a:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.65);}
.footer .azo-footer-social-placement .footer-social svg{width:17px!important;height:17px!important;}
@media(max-width:920px){
 #contact .contact-layout{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:"intro" "form" "channels"!important;
  grid-template-rows:auto auto auto!important;
  row-gap:clamp(17px,3.3vw,26px)!important;
 }
 #contact .contact-copy{max-width:590px;}
 html body #contact .azo-contact-card{width:min(100%,340px)!important;max-width:340px!important;justify-self:start!important;}
}
@media(max-width:760px){
 #contact .contact-layout{row-gap:17px!important;}
 #contact .contact-copy{max-width:100%!important;}
 #contact .contact-copy .section-heading{margin-bottom:9px!important;}
 #contact .contact-copy p{margin-bottom:0!important;line-height:1.68!important;}
 #contact .contact-form{padding:clamp(17px,4.3vw,24px)!important;}
 html body #contact .azo-contact-card{
  max-width:310px!important;width:min(100%,310px)!important;
  padding:12px 14px!important;gap:9px!important;justify-self:center!important;
  margin:1px auto 0!important;border-radius:18px!important;
 }
 html body #contact .azo-contact-card-top{padding-bottom:6px!important;}
 #contact .azo-contact-method{padding:5px 6px!important;}
 html body #contact .azo-contact-card .contact-whatsapp-link{min-height:40px!important;padding:6px 11px!important;}
 .footer .footer-bottom{justify-content:center!important;align-items:center!important;flex-direction:column!important;gap:12px!important;text-align:center;}
 .footer .azo-footer-social-placement{order:0;justify-content:center;width:100%;}
 .footer .footer-bottom>span{order:1;}
 .footer .azo-footer-social-placement .footer-social{gap:12px!important;justify-content:center!important;}
}
@media(max-width:360px){
 html body #contact .azo-contact-card{padding:11px 12px!important;width:min(100%,310px)!important;}
 #contact .azo-contact-method-value{font-size:.84rem!important;}
}
@media(prefers-reduced-motion:reduce){.footer .azo-footer-social-placement .footer-social a{transition:none!important;}}
