/* Elements are inserted only after phone detection, so desktop DOM/layout is unchanged. */
.mobile-contact-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  max-width:100%;
}
.phone-contact-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:0;
  box-sizing:border-box;
  flex:0 0 auto;
  padding:0 12px;
  border:2px solid #70588a;
  border-radius:999px;
  background:#f7f2fa;
  color:#543669;
  font:600 16px/1.4 "Rubik",Arial,sans-serif;
  text-align:center;
  max-width:100%;
}
.phone-contact-button svg {
  width:22px;
  height:22px;
  flex:0 0 22px;
  fill:currentColor;
}
.phone-contact-button:hover { background:#eee5f2; }
.phone-contact-button:focus-visible { outline:3px solid #b177d6; outline-offset:4px; }
.contact-links .phone-contact-button { border:2px solid #70588a; padding:0 12px; color:#543669; }
.mobile-floating-contacts {
  position:fixed;
  left:22px;
  bottom:calc(22px + env(safe-area-inset-bottom, 0px));
  z-index:29;
  display:flex;
  direction:ltr;
  align-items:center;
  flex-direction:column-reverse;
  gap:8px;
  max-width:calc(100vw - 110px);
}
.mobile-floating-contacts .floating-contact { position:static; flex-shrink:0; }
/* Match the icon-only WhatsApp circle while retaining the requested phone label. */
.mobile-floating-contacts .phone-contact-button {
  min-width:0;
  padding:3px;
  gap:2px;
  font-size:11px;
  line-height:1.25;
  box-shadow:0 8px 24px rgba(49,38,66,.18);
}
.mobile-floating-contacts .phone-contact-button svg {
  width:14px;
  height:14px;
  flex-basis:14px;
}
.mobile-floating-contacts .phone-contact-button span { min-width:0; }
/* Floating contact controls overlay the page and must not create an empty band below the footer. */
/* Keep contact controls behind expanded navigation/accessibility panels. */
body:has(.mobile-nav-toggle[aria-expanded="true"]) .mobile-floating-contacts,
body:has(.a11y-panel:not([hidden])) .mobile-floating-contacts { visibility:hidden; }
@media (max-width:600px) {
  .mobile-floating-contacts { left:15px; bottom:calc(15px + env(safe-area-inset-bottom, 0px)); max-width:calc(100vw - 94px); }
}
@media (max-width:380px) {
  .mobile-contact-actions { flex-direction:column; align-items:center; }
}

/* Center the desktop number in the space between navigation and the contact CTA. */
.site-header > .desktop-header-phone { display:none; }
@media (min-width:901px) {
  .site-header > .desktop-header-phone.phone-contact-button {
    display:inline-flex;
    align-items:center;
    align-self:center;
    flex:0 0 auto;
    width:auto;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#c14a5c;
    gap:6px;
    font:700 20px/1.3 "Rubik",Arial,sans-serif;
    direction:ltr;
    unicode-bidi:isolate;
    user-select:text;
    white-space:nowrap;
    text-decoration:none;
    box-shadow:none;
  }
  .site-header > .desktop-header-phone.phone-contact-button .desktop-header-phone-icon {
    width:19px;
    height:19px;
    flex:0 0 19px;
    fill:none;
    stroke:currentColor;
  }
  .site-header > .desktop-header-phone.phone-contact-button:hover {
    background:transparent;
    color:#a8364b;
    text-decoration:none;
    box-shadow:none;
  }
  .site-header > .desktop-header-phone.phone-contact-button:focus-visible {
    outline:3px solid #c14a5c;
    outline-offset:4px;
  }
}
@media (min-width:901px) and (max-width:1100px) {
  .site-header { padding-inline:18px; }
  .site-header .brand { gap:8px; white-space:nowrap; }
  .site-header .brand-mark { width:38px; height:38px; }
  .site-header .brand strong { font-size:14px; }
  .site-header .brand small { font-size:10px; }
  .site-header .desktop-nav { gap:8px; font-size:12px; }
  .site-header .header-cta, .site-header .header-link {
    padding:10px 12px;
    font-size:12px;
    white-space:nowrap;
  }
  .site-header > .desktop-header-phone.phone-contact-button { font-size:17px; }
}
.non-desktop-device .site-header > .desktop-header-phone.phone-contact-button { display:none; }
