.sc-contact {
    position: fixed;
    bottom: calc(var(--sc-bottom) + env(safe-area-inset-bottom, 0px));
    z-index: 89;
    display: grid;
    gap: 8px;
}
.sc-contact a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 12px #0003;
}
.sc-contact .sc-messenger { background: #1555ce; }
.sc-contact .sc-phone { background: #193e43; }
.sc-contact svg { width: 23px; height: 23px; fill: white; }
.sc-contact a:is(:hover,:focus-visible), .sc-intro-call:focus-visible { outline: 3px solid #bd8a42; outline-offset: 2px; }
.e9r-wrap:has(> .sc-studio-card) { gap: 0; align-items: center; }
.e9r-wrap .sc-studio-card {
    position: relative;
    z-index: 1;
    margin-inline-start: clamp(-96px,-6vw,-36px);
    padding: clamp(26px,4vw,64px);
    background: #fff;
    box-shadow: 0 10px 40px #1d272014;
}
.sc-studio-card .e9r-link { margin-inline-end: 18px; }
.sc-studio-card .sc-intro-call {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    margin-top: 12px;
    background: #263c35;
    color: white;
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 800px) {
    .sc-contact { bottom: max(calc(80px + env(safe-area-inset-bottom, 0px)),calc(var(--sc-bottom) + 56px + env(safe-area-inset-bottom, 0px))); }
    .e9r-wrap:has(> .sc-studio-card) { grid-template-columns: minmax(0,1fr); }
    .e9r-wrap .sc-studio-card { margin: -22px 12px 0; padding: 24px 20px; }
}

/* The native link provides the accessible name and the device visibility settings. */
body a.e9-whatsapp {
    box-sizing: border-box;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 0 !important;
    line-height: 0;
    letter-spacing: 0;
    overflow: hidden;
}
body a.e9-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("whatsapp.svg") center / 27px 27px no-repeat;
}
body a.e9-whatsapp:focus-visible {
    outline: 3px solid #bd8a42;
    outline-offset: 2px;
}
