.fixed-chat-icon {
    position: fixed;
    right: 28px;
    bottom: 30px;
    z-index: 70;
    width: 64px;
    height: 64px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, #14c9ad 0%, #08a88f 100%);
    box-shadow:
        0 14px 28px rgba(8, 191, 162, .28),
        inset 0 1px 0 rgba(255, 255, 255, .36);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    color: #fff;
}

.fixed-chat-icon:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, #16d4b7 0%, #079d86 100%);
    box-shadow:
        0 16px 32px rgba(8, 191, 162, .34),
        inset 0 1px 0 rgba(255, 255, 255, .42);
    transform: translateY(-2px);
}

.fixed-chat-icon:focus-visible {
    outline: 3px solid rgba(206, 255, 125, .9);
    outline-offset: 3px;
}

.fixed-chat-icon svg {
    width: 43px;
    height: 43px;
    display: block;
    flex: 0 0 auto;
}

.fixed-chat-icon-fill {
    fill: #fff;
}

.fixed-chat-icon-fill-soft {
    fill: rgba(255, 255, 255, .22);
}

.fixed-chat-icon-line,
.fixed-chat-icon-face {
    fill: none;
    stroke: #fff;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fixed-chat-icon-face {
    stroke-width: 3.1;
}

.fixed-chat-icon span {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.fixed-chat-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    display: grid !important;
    gap: 4px;
    transform: translateY(-50%) translateX(6px);
    width: 178px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(17, 24, 39, .94);
    color: #fff;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.fixed-chat-tooltip strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.fixed-chat-tooltip small {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.fixed-chat-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + 5px);
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    background: rgba(15, 23, 42, .92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility .16s ease;
}

.fixed-chat-icon:hover::before,
.fixed-chat-icon:focus-visible::before,
.fixed-chat-icon:hover .fixed-chat-tooltip,
.fixed-chat-icon:focus-visible .fixed-chat-tooltip {
    opacity: 1;
    visibility: visible;
}

.fixed-chat-icon:hover .fixed-chat-tooltip,
.fixed-chat-icon:focus-visible .fixed-chat-tooltip {
    transform: translateY(-50%) translateX(0);
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    place-items: center;
    padding: 22px;
}

.contact-modal.is-open {
    display: grid;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
}

.contact-modal-content {
    position: relative;
    width: min(430px, 92vw, calc((100dvh - 44px) * 1063 / 1542));
    aspect-ratio: 1063 / 1542;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 78px rgba(15, 23, 42, .28);
    overflow: hidden;
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.contact-modal-close:hover {
    background: #e2e8f0;
}

#contactModalImage {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 18px;
}

html.site-zoom-transform .fixed-chat-icon {
    right: calc(28px / var(--site-page-zoom, 1));
    bottom: calc(30px / var(--site-page-zoom, 1));
}

html.site-zoom-transform .contact-modal {
    width: calc(100vw / var(--site-page-zoom, 1));
    height: calc(100vh / var(--site-page-zoom, 1));
}

@media (max-width: 640px) {
    .fixed-chat-icon {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .fixed-chat-icon svg {
        width: 39px;
        height: 39px;
    }

    .fixed-chat-icon span {
        font-size: 10px;
    }

    .fixed-chat-icon::before,
    .fixed-chat-tooltip {
        display: none;
    }

    html.site-zoom-transform .fixed-chat-icon {
        right: calc(18px / var(--site-page-zoom, 1));
        bottom: calc(18px / var(--site-page-zoom, 1));
    }
}
