.zw-top-contacts {
    align-items: center;
    gap: clamp(12px, 1.65vw, 24px);
    margin-inline-start: auto;
    white-space: nowrap;
}

.zw-top-contacts .zw-contact-short { display: none; }
.zw-site .zw-top-contacts a { display: inline-flex; align-items: center; min-height: 32px; }
.zw-site .zw-top-contacts a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.zw-site .zw-top-contacts .zw-contact-link-team { font-weight: 700; color: #fff; }
.zw-footer-contacts a { width: fit-content; max-width: 100%; }
.zw-footer-contacts .zw-contact-link-team { font-weight: 700; color: #fff; }

@media (max-width: 860px) {
    .zw-topbar > .zw-wrap > span { display: none; }
    .zw-top-contacts { display: flex; }
}

@media (max-width: 600px) {
    .zw-top-contacts {
        width: 100%;
        justify-content: space-between;
        gap: 7px;
        font-size: 11px;
    }
    .zw-top-contacts :is(.zw-contact-link-phone, .zw-contact-link-email) .zw-contact-value { display: none; }
    .zw-top-contacts .zw-contact-short { display: inline; }
}

.zw-contact-dock {
    position: fixed;
    z-index: 45;
    right: 22px;
    bottom: max(32px, 9vh);
    width: 60px;
    padding-bottom: 54px;
    font-family: var(--zw-body-font, inherit);
    color: #172f42;
}
.zw-contact-dock:not([open]) { width: 0; padding: 0; }
.zw-contact-panel {
    padding: 7px;
    background: #fffffff7;
    border: 1px solid #dce3e9;
    border-radius: 19px;
    box-shadow: 0 9px 30px #152e4317, 0 2px 5px #152e4308;
}
.zw-site .zw-contact-option {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 51px;
    border-radius: 12px;
    background: transparent;
    color: #17384f;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease;
}
.zw-contact-option + .zw-contact-option::before { content: ""; position: absolute; top: -1px; inset-inline: 10px; height: 1px; background: #e9eef2; }
.zw-site .zw-contact-whatsapp { color: #18754b; }
.zw-contact-dock svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.zw-site .zw-contact-option:is(:hover, :focus-visible) { color: #b62436; background: #f9edf0; }
.zw-site .zw-contact-whatsapp:is(:hover, :focus-visible) { color: #147246; background: #eaf6ef; }
.zw-contact-label {
    position: absolute;
    right: calc(100% + 17px);
    top: 50%;
    width: max-content;
    max-width: calc(100vw - 120px);
    padding: 12px 16px;
    border: 1px solid #e0e6eb;
    border-radius: 11px;
    background: #fff;
    color: #173247;
    box-shadow: 0 5px 20px #142c4012;
    opacity: 0;
    visibility: hidden;
    transform: translate(6px, -50%);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.zw-contact-label strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.5; }
.zw-contact-label small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: #637788; overflow-wrap: anywhere; }
.zw-contact-option:is(:hover, :focus-visible) .zw-contact-label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.zw-contact-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #51677b;
    border-radius: 24px;
    background: #173247;
    box-shadow: 0 4px 18px #152e4338;
    color: #fff;
    cursor: pointer;
    list-style: none;
    user-select: none;
    white-space: nowrap;
}
.zw-contact-toggle::-webkit-details-marker { display: none; }
.zw-contact-toggle svg { width: 20px; height: 20px; }
.zw-contact-toggle-label { font-size: 12px; font-weight: 700; }
.zw-contact-dock:not([open]) :is(.zw-contact-close-icon, .zw-contact-hide-label),
.zw-contact-dock[open] :is(.zw-contact-open-icon, .zw-contact-show-label) { display: none; }
.zw-contact-dock[open] .zw-contact-close-icon { display: block; }
.zw-contact-toggle:hover { background: #254965; }
.zw-contact-dock :is(a, summary):focus-visible { outline: 2px solid #b62436; outline-offset: 3px; }
.zw-site:has(.zw-navigation.is-open) .zw-contact-dock,
.zw-image-viewer-open .zw-contact-dock { visibility: hidden; }
@media (width > 1320px) and (hover: hover) {
    .zw-contact-dock[open] .zw-contact-toggle { right: 8px; width: 44px; padding: 0; }
    .zw-contact-dock[open] .zw-contact-hide-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
}
@media (max-width: 1320px), (hover: none) {
    .zw-contact-dock { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
    .zw-contact-dock[open] { width: min(280px, calc(100vw - 32px)); }
    .zw-contact-panel { max-height: calc(100dvh - 94px); overflow-y: auto; padding: 8px; border-radius: 16px; }
    .zw-site .zw-contact-option { display: flex; justify-content: flex-start; gap: 12px; padding: 9px 12px; min-height: 54px; }
    .zw-contact-option svg { flex-shrink: 0; }
    .zw-contact-label, .zw-contact-option:is(:hover, :focus-visible) .zw-contact-label { position: static; width: auto; max-width: none; padding: 0; border: 0; box-shadow: none; background: transparent; color: inherit; opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 600px) {
    .zw-site:has(.zw-core-form :is(input, textarea):focus) .zw-contact-dock { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
    .zw-contact-dock[open] .zw-contact-panel { animation: zw-contact-arrive 200ms var(--zw-ease); }
    .zw-contact-toggle { transition: background-color var(--zw-motion); }
    @keyframes zw-contact-arrive {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .zw-contact-option, .zw-contact-label { transition: none; }
}
