
      
      
      
      .infographic-desk {
            position: relative;
            max-width: 1200px;
            width: 100%;
            background-color: #ffffff;
            /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
            border-radius: 12px;
           /*  display: inline-flex;
            align-items: center;
            align-content: center;*/
            margin: auto; 
           /*  text-align: center; */
            /* overflow: hidden; */
        }

        /* La imagen base escala automáticamente manteniendo su proporción */
        .base-image {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Estilos compartidos para las áreas interactivas (hotspots) */
        .hotspot {
            position: absolute;
            cursor: pointer;
            border-radius: 10px;
            transition: background-color 0.3s ease;
        }

        /* Color sutil al pasar el mouse para indicar que es clickeable */
        .hotspot:hover {
            background-color: rgba(67, 160, 42, 0.15);
        }

        /* Estructura visual del tooltip */
        .tooltip {
            position: absolute;
            visibility: hidden;
            opacity: 0;
            background-color: #00338d;
            /* Azul oscuro */
            color: #ffffff;
            width: 280px;
            padding: 15px;
            border-radius: 8px;
            font-size: 14px;
            line-height: 1.5;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
            transition: all 0.3s ease;
            z-index: 100;
            pointer-events: none;
            /* Evita que el tooltip parpadee si el mouse pasa sobre él */
            text-align: left;
        }

        .tooltip strong {
            display: block;
            color: #a5d6a7;
            /* Verde claro */
            font-size: 15px;
            margin-bottom: 8px;
        }

        /* Flecha del tooltip */
        .tooltip::after {
            content: '';
            position: absolute;
            border-width: 8px;
            border-style: solid;
        }

        /* Mostrar el tooltip al pasar el mouse por el hotspot */
        .hotspot:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }

        /* ---------------------------------------------------
           POSICIONES DE LOS HOTSPOTS Y SUS TOOLTIPS
           --------------------------------------------------- */

        /* 1. C.I. - Apertura */
        .hs-ci-apertura {
            top: 22%;
            left: 6%;
            width: 14%;
            height: 22%;
        }

        .hs-ci-apertura .tooltip {
            bottom: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-ci-apertura .tooltip::after {
            top: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: #00338d transparent transparent transparent;
        }

        /* 2. C.I. - Software */
        .hs-ci-software {
            top: 20%;
            left: 21%;
            width: 14%;
            height: 24%;
        }

        .hs-ci-software .tooltip {
            bottom: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-ci-software .tooltip::after {
            top: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: #00338d transparent transparent transparent;
        }

        /* 3. P.V. - Apertura */
        .hs-pv-apertura {
            top: 22%;
            left: 64%;
            width: 14%;
            height: 22%;
        }

        .hs-pv-apertura .tooltip {
            bottom: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-pv-apertura .tooltip::after {
            top: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: #00338d transparent transparent transparent;
        }

        /* 4. P.V. - Software */
        .hs-pv-software {
            top: 20%;
            left: 80%;
            width: 14%;
            height: 24%;
        }

        .hs-pv-software .tooltip {
            bottom: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-pv-software .tooltip::after {
            top: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: #00338d transparent transparent transparent;
        }

        /* 5. Logística de Importación */
        .hs-log-imp {
            top: 54%;
            left: 8%;
            width: 30%;
            height: 25%;
        }

        .hs-log-imp .tooltip {
            top: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-log-imp .tooltip::after {
            bottom: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: transparent transparent #00338d transparent;
        }

        /* 6. Logística de Exportación */
        .hs-log-exp {
            top: 54%;
            left: 62%;
            width: 30%;
            height: 25%;
        }

        .hs-log-exp .tooltip {
            top: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-log-exp .tooltip::after {
            bottom: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: transparent transparent #00338d transparent;
        }

        /* 7. Cambiario */
        .hs-cambiario {
            top: 73%;
            left: 38%;
            width: 24%;
            height: 22%;
        }

        .hs-cambiario .tooltip {
            bottom: 110%;
            left: 50%;
            transform: translateX(-50%);
        }

        .hs-cambiario .tooltip::after {
            top: 100%;
            left: 50%;
            margin-left: -8px;
            border-color: #00338d transparent transparent transparent;
        }

                   /* Media Query para pantallas pequeñas */
                   @media (max-width: 768px) {
                    /*768px*/   
                    .infographic-desk {
                      display: none !important  ;
                    }   
                    .tooltip {
                           width: 220px;
                           font-size: 12px;
                           padding: 10px;
                       }
                   }



/* ==========================================
   TOOLTIPS PARA INFOGRAFÍA MÓVIL (TARJETAS)
   ========================================== */
@media (max-width: 480px) {/*991*/
    /* 1. Preparar la tarjeta para recibir toques */
    .hotspot-cel {
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 2. Estilo del Tooltip superpuesto */
    .tooltip-mobile {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        background-color: #0a234f;
        color: #ffffff;
        text-align: left;
        padding: 20px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1.4;
        z-index: 1055 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        transition: opacity 0.2s ease;
    }

    /* 3. Activador de visibilidad */
    .hotspot-cel.activo-movil .tooltip-mobile {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    /* 4. Backdrop invisible que bloquea el resto de la página */
    .tooltip-mobile-backdrop {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 1050; /* Por debajo del tooltip, por encima del sitio */
        display: none;
        background: rgba(0,0,0,0.4); /* Fondo semi-oscuro */
        backdrop-filter: blur(2px); /* Efecto difuminado moderno */
    }

    .tooltip-mobile-backdrop.activo {
        display: block;
    }
}


/* ==========================================
   TOOLTIPS PARA INFOGRAFÍA MÓVIL (TARJETAS)
   ========================================== */
@media (max-width:480px) {/*991*/




    /* 1. Preparar la tarjeta para recibir toques */
    .hotspot-cel {
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* 2. Estilo del Tooltip superpuesto */
    .tooltip-mobile {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        background-color: #0a234f;
        color: #ffffff;
        text-align: left;
        padding: 20px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1.4;
        z-index: 1055 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: opacity 0.2s ease;
    }

    /* 3. Activador de visibilidad */
    .hotspot-cel.activo-movil .tooltip-mobile {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    /* 4. Backdrop invisible que bloquea el resto de la página */
    .tooltip-mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        /* Por debajo del tooltip, por encima del sitio */
        display: none;
        background: rgba(0, 0, 0, 0.4);
        /* Fondo semi-oscuro */
        backdrop-filter: blur(2px);
        /* Efecto difuminado moderno */
    }

    .tooltip-mobile-backdrop.activo {
        display: block;
    }
}