.catalogo {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.247);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: left;
    justify-content: space-between;
    flex: 1 1 300px;
    max-width: 350px;
}


.card figure {
    height: 200px;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card p {
    margin: 10px;
    font-size: 0.8em;
}

.card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card {
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
    cursor: pointer;
}

.catalogo:hover .card {
    filter: blur(4px);
    opacity: 0.6;
    transform: scale(0.95);
}

.catalogo .card:hover {
    filter: blur(0);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.card h2 {
    font-size: 1.2rem;
    color: #333;
    height: 2.5em;
    display: flex;
    text-align: center;
    margin: 0 20px;
}

.bloque-contenido {
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
}