/* Shared WhatsApp contact. Address remains editable in the contact settings. */
.b-contact-dock{position:fixed;inset-inline-start:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:75;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.b-contact-dock--header{display:none}
.b-back-top-label{display:none}
.b-contact-dock .b-whatsapp{position:relative;inset:auto;display:grid;place-items:center;width:54px;height:54px;min-height:54px;padding:12px;border:1px solid #fff;border-radius:50%;background:#007f3e;color:#fff;box-shadow:0 4px 16px #003e7026;text-decoration:none;transition:background-color .18s}
.b-whatsapp>svg{display:block;width:28px;height:28px}.b-contact-dock .b-whatsapp:hover{background:#006b34;color:#fff}.b-whatsapp:focus-visible{outline:3px solid #0091d0;outline-offset:4px}
.b-whatsapp-note{position:relative;width:min(276px,calc(100vw - 48px));padding:20px 20px 18px;background:#fff;color:#004b87;border:1px solid #dce9ee;border-radius:14px;box-shadow:0 8px 30px #003e701c;animation:b-contact-note .36s cubic-bezier(.2,.75,.25,1) both}
.b-whatsapp-note:after{content:'';position:absolute;bottom:-7px;inset-inline-start:20px;width:12px;height:12px;transform:rotate(45deg);background:#fff;border-inline-end:1px solid #dce9ee;border-bottom:1px solid #dce9ee}
.b-whatsapp-note-close{position:absolute;top:4px;inset-inline-end:4px;display:grid;place-items:center;width:44px;height:44px;padding:14px;border:0;background:transparent;color:#496777;border-radius:6px}.b-whatsapp-note-close:hover{background:#eef5f8}
.b-whatsapp-note-link{display:grid;gap:6px;padding-inline-end:24px;color:#004b87;line-height:1.6}.b-whatsapp-note-link strong{font-size:18px;font-weight:700}.b-whatsapp-note-link span{font-size:15px;font-weight:400;color:#496777}.b-whatsapp-note-link:hover{color:#007f3e}
body:has(.b-header.nav-open) .b-contact-dock,body:has(dialog[open]) .b-contact-dock,html.amwal-intro-pending .b-contact-dock{visibility:hidden}
@keyframes b-contact-note{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:640px){.b-contact-dock{inset-inline-start:18px;bottom:max(18px,env(safe-area-inset-bottom))}.b-contact-dock .b-whatsapp{width:50px;height:50px;min-height:50px;padding:12px}.b-whatsapp-note{width:260px;padding:18px}.b-whatsapp-note-link strong{font-size:17px}.b-whatsapp-note-link span{font-size:15px}}
@media(prefers-reduced-motion:reduce){.b-whatsapp-note{animation:none}.b-whatsapp{transition:none}}

/* Phone controls belong to the header/footer, never over a reading column. */
.b-social svg{width:20px;height:20px;display:block;fill:currentColor;stroke:none}
@media(max-width:640px){
  .b-contact-dock--floating{display:none}
  .b-header-actions .b-contact-dock--header{position:relative;inset:auto;display:flex;flex:none;gap:0;z-index:80}
  .b-header-actions .b-contact-dock--header .b-whatsapp{width:44px;height:44px;min-height:44px;padding:10px;border:0;box-shadow:none;background:transparent;color:#007f3e}
  .b-header-actions .b-contact-dock--header .b-whatsapp>svg{width:24px;height:24px}
  .b-header-actions .b-contact-dock--header .b-whatsapp:hover{background:#e8f4ed;color:#006b34}
  .b-home-preview .b-header .b-contact-dock--header .b-whatsapp{color:#fff}
  .b-home-preview .b-header .b-contact-dock--header .b-whatsapp:hover{background:#ffffff16;color:#fff}
  .b-contact-dock--header .b-whatsapp-note{position:absolute;top:calc(100% + 14px);bottom:auto;inset-inline-end:0;width:min(260px,calc(100vw - 40px));margin:0}
  .b-contact-dock--header .b-whatsapp-note:after{top:-7px;bottom:auto;inset-inline-start:auto;inset-inline-end:16px;transform:rotate(225deg)}
  body .b-back-top{position:static;inset:auto;display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;max-width:calc(100% - 40px);height:auto;min-height:44px;padding:10px 20px;margin:20px auto calc(20px + env(safe-area-inset-bottom));border-radius:6px;box-shadow:none;font-size:15px}
  .b-back-top-label{display:inline}
}
@media(max-width:380px){.brand-site .b-header .b-header-actions{gap:4px}.brand-site .b-header .b-header-inner{gap:8px}.b-header .b-language{padding-inline:4px}}
@media(max-width:340px){.brand-site .b-header .b-logo img{width:80px;height:51px}.b-header .b-header-actions>:is(.b-icon-button,.b-language){width:44px;min-width:44px;height:44px;min-height:44px}}
