:root{
    /*apartir de aca nuevo proyecto esto vale */
    --blue:#0033A1;
    --green-ligth:#93D500;
    --white:#FFFFFF;
    --color-WhatsApp:#64E005;
    --color-texto:#1E1E1E;
    --color-carbon:#3E3E3F;
    --gris-oscuro:#AEAEAE;
    --borde-ligth:#D8D8D8;
    --color-gris:#FBFBFB;
    --blue-fuerte:#052F89;
    --text-secondary:#404653;
    --green-fuerte:#42D233;
    --red:#F0080F;
    --gris:#4C4B4B;
    --border-iframe:#C0C0C0;
    --color-icon-wasap:#27CB16;
    --azul-icon:#1D70B3;
    --color-nav:#3A3A3A;
    --Gris-humo-suave:#E8E8E8;
    --Blanco-ahumado:#F9F9F9;
    --check-fill: #1a1a1a;
    --border: #e2e2e2;
    --text-dark: #1a1a1a;
    --border-contacto:#E8E0E0;
}





    /* ===== SWEETALERT CON POPPINS ===== */
    .swal2-popup {
        font-family: 'Poppins', sans-serif !important;
        border-radius: 12px !important;
        padding: 25px !important;
    }
    .swal2-title {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 600 !important;
        font-size: 22px !important;
        color: #1e293b !important;
    }
    .swal2-html-container {
        font-family: 'Poppins', sans-serif !important;
        font-size: 14px !important;
        color: #475569 !important;
        line-height: 1.6 !important;
    }
    .swal2-confirm {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 500 !important;
        padding: 10px 30px !important;
        border-radius: 8px !important;
        border: none !important;
        font-size: 14px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    .swal2-confirm:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    }
    .swal2-icon {
        font-family: 'Poppins', sans-serif !important;
    }
    .swal2-content {
        font-family: 'Poppins', sans-serif !important;
    }




.marca-emptyM,.servicio-empty,.sector-empty,.capacitacion-empty{

        font-family: Arial, Helvetica, sans-serif;
}



   /* Contenedor principal */
    .whatsapp-floating-container {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 9999;
        font-family: Arial, Helvetica, sans-serif;
    }

    /* ============================================================
       BOTÓN WHATSAPP ÚNICO
    ============================================================ */

    .whatsapp-single-button {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background-color: #22c55e;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .whatsapp-single-button:hover {
        background-color: #16a34a;
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .whatsapp-single-button i {
        font-size: 30px;
        transition: transform 0.3s ease;
    }

    .whatsapp-single-button:hover i {
        transform: scale(1.1);
    }


    /* ============================================================
       CONTENEDOR MÚLTIPLES WHATSAPP
    ============================================================ */

    .whatsapp-multiple-wrapper {
        position: relative;
    }


    /* ============================================================
       BOTÓN PRINCIPAL
    ============================================================ */

    .whatsapp-main-button {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 20px 8px 12px;
        background-color: #22c55e;
        color: #ffffff;
        border: none;
        border-radius: 999px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        font-family: inherit;
    }

    .whatsapp-main-button:hover {
        background-color: #16a34a;
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    /* Icono circular interno */
    .whatsapp-main-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    .whatsapp-main-button:hover .whatsapp-main-icon {
        background-color: rgba(255, 255, 255, 0.3);
    }

    .whatsapp-main-icon i {
        font-size: 21px;
    }

    .whatsapp-main-text {
        font-size: 14px;
        font-weight: 500;
    }

    .whatsapp-chevron {
        font-size: 11px;
        margin-left: 4px;
        transition: transform 0.3s ease;
    }

    .whatsapp-main-button.active .whatsapp-chevron {
        transform: rotate(180deg);
    }


    /* ============================================================
       POPUP
    ============================================================ */

    .whatsapp-popup {
        position: absolute;
        bottom: 64px;
        right: 0;
        width: 240px;
        max-width: 300px;
        background-color: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid #e5e7eb;
        padding: 12px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.95);
        transition: all 0.2s ease;
    }

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


    /* ============================================================
       HEADER POPUP
    ============================================================ */

    .whatsapp-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        padding: 0 8px 8px;
        border-bottom: 1px solid #f3f4f6;
    }

    .whatsapp-popup-title {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #374151;
        font-size: 14px;
        font-weight: 600;
    }

    .whatsapp-popup-title i {
        color: #22c55e;
        font-size: 16px;
    }

    .whatsapp-close-button {
        border: none;
        background: transparent;
        color: #9ca3af;
        cursor: pointer;
        padding: 4px;
        transition: color 0.2s ease;
    }

    .whatsapp-close-button:hover {
        color: #4b5563;
    }


    /* ============================================================
       LISTA DE WHATSAPP
    ============================================================ */

    .whatsapp-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        max-height: 300px;
        overflow-y: auto;
    }


    /* ============================================================
       ITEM INDIVIDUAL
    ============================================================ */

    .whatsapp-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        text-decoration: none;
        border-radius: 12px;
        transition: background-color 0.2s ease;
    }

    .whatsapp-item:hover {
        background-color: #f9fafb;
    }


    /* ============================================================
       AVATAR
    ============================================================ */

    .whatsapp-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #dcfce7;
        overflow: hidden;
    }

    .whatsapp-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #bbf7d0;
    }

    .whatsapp-avatar i {
        color: #22c55e;
        font-size: 20px;
    }


    /* ============================================================
       INFORMACIÓN DEL CONTACTO
    ============================================================ */

    .whatsapp-info {
        flex: 1;
        min-width: 0;
    }

    .whatsapp-name {
        margin: 0;
        color: #1f2937;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .whatsapp-number {
        margin: 3px 0 0;
        color: #9ca3af;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* ============================================================
       FLECHA
    ============================================================ */

    .whatsapp-item-arrow {
        color: #d1d5db;
        font-size: 11px;
        transition: color 0.2s ease;
    }

    .whatsapp-item:hover .whatsapp-item-arrow {
        color: #14b8a6;
    }


    /* ============================================================
       RESPONSIVE
    ============================================================ */

    @media (max-width: 480px) {

        .whatsapp-floating-container {
            bottom: 16px;
            right: 16px;
        }

        .whatsapp-popup {
            width: 230px;
        }

        .whatsapp-main-text {
            display: none;
        }

        .whatsapp-main-button {
            padding: 8px;
        }

        .whatsapp-main-icon {
            width: 40px;
            height: 40px;
        }
    }






    /* ============================================================ */
/* SECCIÓN DE VIDEO - ESTILOS GENERALES */
/* ============================================================ */

.video-section {
    width: 100%;
    padding: 20px 0;
    background: #f8fafc;
}

.video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

/* ============================================================ */
/* VIDEO MP4 (etiqueta <video>) */
/* ============================================================ */

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

/* ============================================================ */
/* IFRAME (YouTube, TikTok, Vimeo, etc.) */
/* ============================================================ */

.video-iframe,
.tiktok-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    display: block;
}

.video-container{
    margin-bottom:40px;
}
/* Contenedor específico para iframes */
.video-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

/* ============================================================ */
/* CONTENEDOR PARA TIKTOK (si necesita ajuste especial) */
/* ============================================================ */

.tiktok-container {
    aspect-ratio: 9 / 16;
    max-width: 400px;
    margin: 0 auto;
    background: #000;
}

/* ============================================================ */
/* RESPONSIVE */
/* ============================================================ */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .video-container {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .tiktok-container {
        max-width: 350px;
        aspect-ratio: 9 / 16;
    }
}

/* Móviles y pantallas pequeñas */
@media (max-width: 768px) {
    .video-section {
        padding: 15px 0;
    }

    .video-container {
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        padding: 0 10px;
    }

    .tiktok-container {
        max-width: 280px;
        aspect-ratio: 9 / 16;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 10px 0;
    }

    .video-container {
        aspect-ratio: 16 / 9;
        border-radius: 6px;
        padding: 0 5px;
    }

    .tiktok-container {
        max-width: 220px;
        aspect-ratio: 9 / 16;
    }
}

/* ============================================================ */
/* OPCIONAL: FONDO OSCURO PARA MEJOR VISUALIZACIÓN */
/* ============================================================ */

.video-container.dark-bg {
    background: #0a0a0a;
}

.video-container.light-bg {
    background: #f1f5f9;
}

/* ============================================================ */
/* OPCIONAL: SOMBRAS Y BORDES */
/* ============================================================ */

.video-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}
