/* ========================================
   MÓDULO DOCUMENTOS - PORTADA
   ======================================== */

/* Cards de documentos */
.documentos-cards {
    margin-bottom: 2rem;
}

.documento-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.documento-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.documento-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.documento-card:hover .documento-icono svg {
    transform: scale(1.1);
    stroke: var(--color-secondary);
}

/* Icono del documento */
.documento-icono {
    margin-bottom: 1.5rem;
}

.documento-icono svg {
    width: 64px;
    height: 64px;
    stroke: var(--color-primary);
    transition: all 0.3s ease;
}

/* Nombre de la categoría */
.documento-nombre {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.documento-card:hover .documento-nombre {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .documento-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }
    
    .documento-icono svg {
        width: 56px;
        height: 56px;
    }
    
    .documento-nombre {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .documento-card {
        padding: 1.5rem 1rem;
        min-height: 160px;
    }
    
    .documento-icono svg {
        width: 48px;
        height: 48px;
    }
    
    .documento-nombre {
        font-size: 1rem;
    }
}
