:root {
    --teal: #2dd4bf;
    --teal2: #0ea5e9;
    --red: #f87171;
    --red2: #ef4444;
    --grad: linear-gradient(135deg, #2dd4bf 0%, #0ea5e9 40%, #f87171 100%);
    --grad2: linear-gradient(135deg, #14b8a6 0%, #3b82f6 50%, #ef4444 100%);
    --dark: #0f172a;
    --dark2: #1e293b;
    --mid: #334155;
    --muted: #94a3b8;
    --white: #ffffff;
    --surface: #f8fafc;
    --card: #ffffff;
}

/* ══════════════════════════════════════════
   FLOATING CONTACT PANEL
══════════════════════════════════════════ */
#float-contact-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 300;
}
.contact-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 99px;
    font-family: "Lexend", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    background: var(--grad2);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.4);
    transition: transform 0.2s;
    position: relative;
}
.contact-trigger::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 99px;
    background: var(--grad);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.contact-trigger:hover::before {
    opacity: 1;
}
.contact-trigger:hover {
    transform: scale(1.03);
}

#float-panel {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 290;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    padding: 1.5rem;
    width: 260px;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: popUp 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
#float-panel.open {
    display: flex;
}
@keyframes popUp {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.panel-title {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.25rem;
}
.panel-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s;
}
.panel-link:hover {
    transform: translateX(4px);
}
.panel-link.zalo {
    background: rgba(0, 104, 255, 0.2);
    border: 1px solid rgba(0, 104, 255, 0.3);
}
.panel-link.fb {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.3);
}
.panel-link.tg {
    background: rgba(34, 158, 217, 0.2);
    border: 1px solid rgba(34, 158, 217, 0.3);
}
.panel-icon {
    font-size: 1.2rem;
}
/* ══════════════════════════════════════════
   FLOATING PHONE BUTTON
══════════════════════════════════════════ */
#float-phone {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 300;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e, #fb923c, #facc15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.5);
    cursor: pointer;
    text-decoration: none;
    animation: phonePulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
@keyframes phonePulse {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(244, 63, 94, 0.5);
    }
    50% {
        box-shadow:
            0 4px 40px rgba(244, 63, 94, 0.8),
            0 0 0 8px rgba(244, 63, 94, 0.15);
    }
}
#float-phone svg {
    width: 28px;
    height: 28px;
    animation: wiggle 0.15s infinite;
}
@keyframes wiggle {
    0%,
    100% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(8deg);
    }
}
