.rtg-contact {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
}

.rtg-launcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: white;
    cursor: pointer;
    box-shadow: 0 16px 50px rgba(15,23,42,.16);
    transition: 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rtg-launcher:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-6px) scale(1.04);
}

.rtg-launcher-icon {
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.rtg-launcher-text {
    font-weight: 600;
    font-size: 15px;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.rtg-launcher {
    animation: floating 4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 184, 212, 0.35);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(26, 184, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 184, 212, 0);
    }
}

.rtg-launcher::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    animation: pulse 3.5s infinite;
}

.rtg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s;
}

.rtg-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rtg-panel {
    position: absolute;
    right: 0;
    bottom: -20px;
    width: 390px;
    max-height: 600px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow: 0 16px 50px rgba(15,23,42,.16);
    overflow: hidden;
    transform: translateY(30px) scale(0.94);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
}

.rtg-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.rtg-cp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(
        135deg,
        #2c77e7 0%,

        #1ab8d4 100%
    );

    color: white;
}

.rtg-cp-header h3 {
    font-size: 18px;
    margin: 0;
}

.rtg-cp-header p {
    opacity: 0.8;
    font-size: 14px;
}

.rtg-close {
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: 0.3s;
    justify-items: center;
    z-index: 1;
}

.rtg-close:hover {
    transform: rotate(90deg);

    background: white;

    color: var(--primary);
}

.rtg-greeting {
    display: flex;
    gap: 18px;
    padding: 8px 12px;
    background: var(--gray-100);
}

.rtg-greeting-icon {
    font-size: 32px;
}

.rtg-actions {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rtg-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px;
    text-decoration: none;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.35s;
    box-shadow: var(--card-shadow);
}

.rtg-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--card-shadow-hover);
}

.rtg-card.whatsapp {
    border: 2px solid rgba(37, 211, 102, 0.18);
    background: white;
}

.rtg-card.whatsapp .rtg-card-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.rtg-card.whatsapp:hover .rtg-card-icon {
    background: #25D366;
    color:white;
}

.rtg-card.meeting {
    background: rgba(44,119,231,.05);
}

.rtg-card.email {
    background: var(--gray-100);
}

.rtg-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(44, 119, 231, 0.08);
    color: var(--primary);
    font-size: 24px;
}

.rtg-card-icon:hover {
    background: var(--primary);
    color: white;
}

.rtg-card-content h5, .rtg-greeting h4 {
    font-size: 14px;
    text-align: start;
}

.rtg-card-content p, .rtg-greeting p {
    font-size: 13px;
}

.rtg-arrow {
    margin-left: auto;
    transition: 0.35s;
    color: var(--primary);
}

.rtg-card:hover .rtg-arrow {
    transform: translateX(5px) rotate(-10deg);
}

.rtg-divider {
    font-weight: 600;
    color: #2E2E2E;
    font-size: 14px;
}

.rtg-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rtg-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #deefff;
    color: var(--primary);
    transition: 0.35s;
    text-decoration: none;
    font-size: 20px;
}

.rtg-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-5px) rotate(8deg);
}

.rtg-cp-footer {
    padding: 12px;
    margin-top: 8px
    background: linear-gradient(180deg, white, var(--gray-100));
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .rtg-panel {
        width: 365px;
    }
}

@media (max-width: 576px) {
    .rtg-contact {
        right: 16px;
        bottom: 16px;
    }

    .rtg-panel {
        width: 350px;
        right: 0;
        bottom: 0;
    }

    .rtg-launcher {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 365px) {
    .rtg-panel {
        width: 330px;
    }
}

.rtg-cp-header {
    position: relative;
    overflow: hidden;
}

.rtg-cp-header::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.rtg-cp-header::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    left: -40px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.rtg-tooltip {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    padding: 6px 9px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.35s;
    white-space: nowrap;
}

.rtg-tooltip.show {
    opacity: 1;

    transform: translateY(0);
}

.rtg-launcher.compact {
    padding: 16px;
}

.rtg-launcher.compact .rtg-launcher-text {
    width: 0;
    opacity: 0;
    overflow: hidden;
    display: none;
}

.rtg-cp-header,
.rtg-greeting,
.rtg-actions,
.rtg-divider,
.rtg-social,
.rtg-cp-footer {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s, transform 0.45s;
}

.rtg-panel.active .rtg-cp-header {
    opacity: 1;
    transform: none;
    transition-delay: 0.05s;
}

.rtg-panel.active .rtg-greeting {
    opacity: 1;
    transform: none;
    transition-delay: 0.12s;
}

.rtg-panel.active .rtg-actions {
    opacity: 1;
    transform: none;
    transition-delay: 0.18s;
}

.rtg-panel.active .rtg-divider {
    opacity: 1;
    transform: none;
    transition-delay: 0.26s;
}

.rtg-panel.active .rtg-social {
    opacity: 1;
    transform: none;
    transition-delay: 0.32s;
}

.rtg-panel.active .rtg-cp-footer {
    opacity: 1;
    transform: none;
    transition-delay: 0.38s;
}

.rtg-card {
    position: relative;
    overflow: hidden;
}

.rtg-card::before {
    content: "";
    position: absolute;
    left: -150%;
    top: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    transition: 1s;
}

.rtg-card:hover::before {
    left: 170%;
}
