/* Floating action buttons + Voice agent */

/* ===================== FLOATING ACTION BUTTONS ===================== */
.fab-container {
    position: fixed; bottom: 5.5rem; right: 2rem;
    z-index: 1100; display: flex; flex-direction: column; gap: 0.75rem;
    align-items: flex-end;
}
.fab-tooltip {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    background: #fff; color: var(--text); font-size: 0.82rem; font-weight: 600;
    padding: 0.5rem 1rem; border-radius: 8px; white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.fab-btn:hover .fab-tooltip { opacity: 1; }
.fab-btn {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-chat {
    background: var(--red);
    box-shadow: 0 6px 28px rgba(196,30,42,0.5), 0 0 0 3px rgba(255,255,255,0.15);
    animation: fab-pulse 2.5s infinite;
}
.fab-chat svg { width: 26px; height: 26px; fill: #fff; }
#chatbot-root {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 1200 !important;
}
#chatbot-root .cw-fab {
    display: none !important;
}

@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 6px 28px rgba(196,30,42,0.5), 0 0 0 3px rgba(255,255,255,0.15); }
    50% { box-shadow: 0 6px 32px rgba(196,30,42,0.65), 0 0 0 8px rgba(196,30,42,0.15), 0 0 0 3px rgba(255,255,255,0.2); }
}

/* ===================== VOICE AGENT SECTION ===================== */
.voice-agent {
    padding: 5rem 2.5rem;
    background: linear-gradient(135deg, #34608B 0%, #3D6D9A 50%, #4A7DAB 100%);
    position: relative;
    overflow: hidden;
}
.voice-agent::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(196,30,42,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.va-inner {
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center;
}
.va-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem); color: #FFFFFF;
    margin-bottom: 1rem; line-height: 1.15;
}
.va-text h2 em { font-style: normal; color: var(--red-bright); }
.va-text > p { color: var(--text-on-dark-soft); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; }
.va-features { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.va-feat {
    display: flex; align-items: center; gap: 0.6rem;
    color: #FFFFFF; font-size: 0.95rem; font-weight: 500;
}
.va-feat-icon {
    width: 38px; height: 38px; border-radius: 9px;
    background: rgba(196,30,42,0.32);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}

/* Voice Agent Call Card */
.va-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 2.5rem;
    backdrop-filter: blur(8px);
}
.va-card-status {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1.5rem; font-size: 0.82rem; font-weight: 600;
    color: var(--text-on-dark-soft); letter-spacing: 0.06em;
}
.va-live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22C55E;
    animation: live-blink 2s infinite;
}
@keyframes live-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.va-card h3 {
    font-size: 1.5rem; color: #FFFFFF; margin-bottom: 0.5rem;
}
.va-card .va-card-sub {
    color: var(--text-on-dark-soft); font-size: 0.92rem; margin-bottom: 2rem; line-height: 1.6;
}
.va-call-btn {
    width: 100%; padding: 1.1rem; border: none; border-radius: 12px;
    background: var(--red); color: #fff; font-size: 1.05rem;
    font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    transition: all 0.3s;
    position: relative; overflow: hidden;
}
.va-call-btn:hover {
    background: var(--red-dark);
    box-shadow: 0 12px 36px rgba(196,30,42,0.4);
    transform: translateY(-2px);
}
.va-call-btn svg { width: 22px; height: 22px; fill: #fff; }
.va-call-note {
    text-align: center; margin-top: 1rem;
    font-size: 0.8rem; color: var(--text-on-dark-soft);
}
.va-or-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1.5rem 0; color: var(--text-on-dark-soft); font-size: 0.82rem;
}
.va-or-divider::before, .va-or-divider::after {
    content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08);
}
.va-whatsapp-btn {
    width: 100%; padding: 0.95rem; border: 1.5px solid rgba(37,211,102,0.4); border-radius: 12px;
    background: rgba(37,211,102,0.08); color: #25D366; font-size: 0.95rem;
    font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    transition: all 0.3s;
}
.va-whatsapp-btn:hover {
    background: rgba(37,211,102,0.15); border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37,211,102,0.2);
}
.va-whatsapp-btn svg { width: 20px; height: 20px; fill: #25D366; }

@media (max-width: 1024px) {
    .va-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .fab-container { bottom: 6rem; right: 1.25rem; }
    .fab-btn { width: 54px; height: 54px; }
    .fab-tooltip { display: none; }
    .va-features { flex-direction: column; gap: 1rem; }
    .promo-float.hidden ~ .fab-container,
    body.promo-dismissed .fab-container { bottom: 1.25rem; }
}

