#am-contact-topbar,
#am-contact-footer,
#am-contact-float {
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.6;
}
#am-contact-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 16px;
    padding: 10px 18px;
    color: #fff;
    background: #123757;
    font-size: 14px;
    text-align: center;
}
#am-contact-topbar a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
    font-weight: 600;
    max-width: 100%;
}
#am-contact-topbar a:hover {
    text-decoration: underline;
}
#am-contact-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 24px;
    padding: 22px 20px;
    background: #f1f5f9;
    color: #123757;
    border-top: 1px solid #d9e3ed;
    font-size: 15px;
    text-align: center;
}
#am-contact-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: 100%;
    color: #123757;
    text-decoration: none;
    overflow-wrap: anywhere;
}
#am-contact-footer .am-contact-icon {
    filter: brightness(0) saturate(100%);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
#am-contact-float {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 0;
}
#am-contact-float .am-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 54px;
    min-height: 54px;
    box-sizing: border-box;
    padding: 12px 17px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #123757;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .2);
    transition: transform .15s ease, box-shadow .15s ease;
}
#am-contact-float .am-contact-whatsapp {
    color: #06351b;
    background: #25d366;
}
#am-contact-float .am-contact-email {
    color: #123757;
    background: #fff;
    border-color: #d8e4ef;
}
#am-contact-float .am-contact-email .am-contact-icon {
    filter: brightness(0) saturate(100%);
}
#am-contact-float .am-contact-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
    margin: 0;
    padding: 0;
}
#am-contact-float .am-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(15, 23, 42, .28);
}
#am-contact-topbar a:focus-visible,
#am-contact-footer a:focus-visible,
#am-contact-float a:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
}
/* The two image filenames identify the original site-specific floating links. */
body a:is([href^="tel:"], [href^="https://wa.me/"], [href^="https://api.whatsapp.com/"]):has(img[src*="phone_altaiecontracting.png"]),
body a:is([href^="tel:"], [href^="https://wa.me/"], [href^="https://api.whatsapp.com/"]):has(img[src*="whatsapp-altaiecontracting.png"]) {
    display: none !important;
}
@media (max-width: 600px) {
    #am-contact-float .am-contact-button {
        width: 54px;
        height: 54px;
        padding: 11px;
    }
    #am-contact-float .am-contact-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    #am-contact-footer {
        padding-bottom: 90px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #am-contact-float .am-contact-button {
        transition: none;
    }
}
@media print {
    #am-contact-float {
        display: none;
    }
}
