/* ============================================================
   Acreditación: imagen mini en header con modal hover
   ============================================================ */

/* Imagen mini al lado del logo */
.acred-hover {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
    cursor: pointer;
}

.acred-mini {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acred-hover:hover .acred-mini {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

/* Modal overlay (oculto por defecto) */
.acred-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.acred-modal.activo {
    display: flex;
    opacity: 1;
}

.acred-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}
