/* ============================================
   ESTILOS PARA SECCIÓN DE EQUIPO
   ============================================ */

.team-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 188, 212, 0.25);
}

.team-card .w-20 {
    transition: transform 0.3s ease;
}

.team-card:hover .w-20 {
    transform: scale(1.1);
}

/* Gradientes únicos para cada miembro del equipo */
.team-card:nth-child(1) .h-2 { background: linear-gradient(90deg, #00bcd4, #0891b2); }
.team-card:nth-child(2) .h-2 { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.team-card:nth-child(3) .h-2 { background: linear-gradient(90deg, #10b981, #14b8a6); }
.team-card:nth-child(4) .h-2 { background: linear-gradient(90deg, #f97316, #ef4444); }
.team-card:nth-child(5) .h-2 { background: linear-gradient(90deg, #6366f1, #3b82f6); }
.team-card:nth-child(6) .h-2 { background: linear-gradient(90deg, #eab308, #f97316); }
.team-card:nth-child(7) .h-2 { background: linear-gradient(90deg, #ec4899, #f43f5e); }
.team-card:nth-child(8) .h-2 { background: linear-gradient(90deg, #06b6d4, #3b82f6); }

/* ============================================
   ESTILOS PARA BOTÓN WHATSAPP FLOTANTE
   Khipoo Analitik
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   BOTÓN VOLVER ARRIBA
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00bcd4 0%, #0891b2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 85px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   AVISO DE COOKIES
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    max-width: 600px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #00bcd4;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #0891b2;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00bcd4 0%, #0891b2 100%);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
}

.cookie-btn-reject {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .cookie-banner p {
        font-size: 13px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}