.catalogo {
    background-color: #ffffff;
    text-align: center;
    margin: clamp(15px, 3vw, 20px) 0;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.descargas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.descargas-btn {
    display: inline-block;
    padding: clamp(8px, 2vw, 10px) clamp(16px, 4vw, 20px);
    margin: clamp(5px, 1.5vw, 10px);
    font-size: clamp(14px, 2.5vw, 16px);
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    background-color: #494848;
    border: none;
    border-radius: clamp(10px, 2vw, 15px);
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.descargas-btn:hover {
    background-color: #4CAF50;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.descargas-btn:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.descargas-btn:focus:not(:focus-visible) {
    outline: none;
}

/* ===============================
   MEDIA QUERY ÚNICO < 800px
   =============================== */
@media screen and (max-width: 800px) {
    .catalogo {
        margin: clamp(10px, 2vw, 15px) 0;
        padding: clamp(0.75rem, 2vw, 1rem);
    }
    
    .descargas-container {
        gap: clamp(8px, 2vw, 15px);
        flex-direction: column;
        width: 100%;
    }
    
    .descargas-btn {
        width: clamp(200px, 80vw, 300px);
        margin: clamp(4px, 1vw, 8px);
        padding: clamp(10px, 3vw, 12px) clamp(20px, 5vw, 24px);
        font-size: clamp(15px, 3vw, 16px);
    }
    
    /* Optimizaciones táctiles */
    .descargas-btn:hover {
        transform: scale(1.02);
        box-shadow: 0 3px 6px rgba(76, 175, 80, 0.25);
    }
    
    .descargas-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
        background-color: #45a049;
    }
    
    .descargas-btn:focus {
        outline-width: 3px;
    }
}

/* ===============================
   ACCESIBILIDAD
   =============================== */
@media (prefers-reduced-motion: reduce) {
    .descargas-btn {
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }
    
    .descargas-btn:hover,
    .descargas-btn:active {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .descargas-btn {
        border: 2px solid #ffffff;
    }
    
    .descargas-btn:focus {
        outline-width: 3px;
        outline-style: solid;
    }
}