﻿.cc-chat-promo {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    width: min(420px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(0, 100, 125, 0.18);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(18, 57, 72, 0.18);
    color: #172127;
    font-family: "Manrope", Arial, sans-serif;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.company-chat-cta-row {
    margin-top: 16px;
}

.company-chat-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 100, 125, 0.28);
    border-radius: 12px;
    color: #ffffff;
    background: #1e2937;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(30, 41, 55, 0.18);
    animation: companyChatPulse 2.8s ease-in-out infinite;
    transition: transform 0.2s ease, background 0.2s ease;
}

    .company-chat-link::before {
        content: "";
        position: absolute;
        inset: 0;
        width: 46%;
        background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 50%, transparent 100%);
        transform: translateX(-150%) skewX(-16deg);
        transition: transform 0.55s ease;
    }

    .company-chat-link:hover {
        color: #ffffff;
        background: #334155;
        text-decoration: none;
        transform: translateY(-2px);
    }

        .company-chat-link:hover::before {
            transform: translateX(245%) skewX(-16deg);
        }

    .company-chat-link i,
    .company-chat-link span {
        position: relative;
        z-index: 1;
    }

@keyframes companyChatPulse {
    0%, 100% {
        box-shadow: 0 12px 24px rgba(30, 41, 55, 0.18), 0 0 0 0 rgba(0, 100, 125, 0.2);
    }

    50% {
        box-shadow: 0 16px 30px rgba(30, 41, 55, 0.22), 0 0 0 6px rgba(0, 100, 125, 0.08);
    }
}

.cc-chat-promo.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cc-chat-promo__close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #eef5f8;
    color: #53646d;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

    .cc-chat-promo__close:hover {
        background: #dff2f9;
        color: #00647d;
    }

.cc-chat-promo__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #00647d;
    background: linear-gradient(135deg, #e1f5fe 0%, #b8eaff 100%);
    font-size: 20px;
}

.cc-chat-promo__body {
    padding-right: 18px;
}

.cc-chat-promo__eyebrow {
    display: inline-flex;
    margin-bottom: 6px;
    color: #00647d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cc-chat-promo h3 {
    margin: 0 0 7px;
    color: #172127;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.cc-chat-promo p {
    margin: 0 0 14px;
    color: #53646d;
    font-size: 13px;
    line-height: 1.55;
}

.cc-chat-promo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cc-chat-promo__primary,
.cc-chat-promo__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.cc-chat-promo__primary {
    border: 1px solid #1e2937;
    background: #1e2937;
    color: #ffffff;
}

    .cc-chat-promo__primary:hover {
        color: #ffffff;
        background: #334155;
        text-decoration: none;
    }

.cc-chat-promo__secondary {
    border: 1px solid #dce5ea;
    background: #ffffff;
    color: #00647d;
}

    .cc-chat-promo__secondary:hover {
        border-color: #b8dce9;
        background: #f5fbfe;
    }

@media (max-width: 620px) {
    .cc-chat-promo {
        right: 16px;
        bottom: 16px;
        grid-template-columns: 1fr;
    }

    .cc-chat-promo__icon {
        width: 42px;
        height: 42px;
    }

    .cc-chat-promo__body {
        padding-right: 0;
    }

    .cc-chat-promo__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cc-chat-promo__primary,
    .cc-chat-promo__secondary {
        width: 100%;
    }
}
